Doc fix, BPMN objects
[dia.git] / ChangeLog
blob9671971ee811fd797ffe9202ab9dd298cbfa9933
1 2006-10-12  Lars Clausen  <lars@raeder.dk>
3         * shapes/Makefile.am (SUBDIRS): 
4         * configure.in: 
5         * shapes/BPMN/*
6         * sheets/BPMN.sheet.in: 
7         * sheets/Makefile.am (sheet_in_files): New shape set BPMN for
8         Business Process Modelling from anthonym@overture.com.
10         * doc/en/dia.dbk: Correctly describing connections.
12         * objects/standard/box.c: Patch from Michael Duelli
13         <m.duelli@web.de>: Set line attributes before drawing anything.
15 2006-10-08  Lars Clausen  <lars@raeder.dk>
17         * configure.in: Allow compiling without freetype on Unix systems.
18         The effect of changes to non-freetype parts of the code can now be
19         tested, and I have no excuse to not fix them anymore:(
21 2006-10-01  Lars Clausen  <lars@raeder.dk>
23         * app/modify_tool.c (modify_motion): Don't use null-ness of
24         connectionpoint to skip snap-to-grid for non-connectable handles.
25         Fixes bug #350246.
27         * shapes/flowchart/predefdproc.shape: Fixed midpoint.
29 2006-09-27  Steffen Macke <sdteffen@gmail.com>
31         * shapes/flowchart/datasource.png:
32         * shapes/flowchart/datasource.shape:
33         * shapes/flowchart/Makefile.am: 
34         * sheets/Flowchart.sheet.in:
35         * installer/win32/dia.nsi: Added new "Data source" shape
37 2006-09-24  Hans Breuer  <hans@breuer.org>
39         * lib/diagdkrenderer.c : I'm going to rip out all the Freetype
40         code the next time the GDK only compile breaks
41         
42 2006-09-23  Hans Breuer  <hans@breuer.org>
44         * app/commands.c app/create_object.c app/disp_callbacks.c : add
45         missing #include "lib/parent.h"
47         * lib/makefile.msc : build textline.obj
48         
49         * objects/makefile.msc : don't build newgroup.obj
50         * objects/misc/libmisc.c : with newgroup gone to app/ newgroup_type can 
51         not be registered from the module any longer - at least not on win32
53         * plug-ins/python/makefile.msc : removed obsolete references to 
54         Python 1.5, also removed misleading link to Python 2.2 debug build
56         * app/diagram.[ch] app/app_procs.c : don't use C++ keyword 'virtual' 
57         as variable name: s/virtual/is_default/
58         
59         * plug-ins/python/*.c : don't mix PyObject_NEW() with PyMem_DEL()
60         Newer versions of Python (2.5) are not tolerant about this anymore.
61         
62 2006-09-11  Lars Clausen  <lars@raeder.dk>
64         * lib/diasvgrenderer.c (draw_text_line): First stab at making svg
65         text line renderer, doesn't work yet.
67         * lib/textline.c (text_line_draw): Removed #define.
69         * lib/diagdkrenderer.c (draw_text_line): Slight cleanups.
71 2006-09-11  Steffen Macke <sdteffen@gmail.com>
73         * plug-ins/vdx/vdx-export.c:
74         * plug-ins/vdx/vdx-import.c:
75         * plug-ins/vdx/vdx-xml.c:
76         * plug-ins/vdx/vdx.h:
77         * plug-ins/vdx/visio-types.h: Update to version 0.5 (from 0.4) of
78         Visio import, thanks to Ian Redfern, who states: 
79         
80         This is the first version to support export to VDX - for now, just 
81         straight lines and text, but I'm working on the more complex bits. 
82         It currently writes Visio 2002 VDX as a lowest common denominator, 
83         but that won't handle Beziers, so when I get round to converting them 
84         to NURBS, only Visio 2003 users will be able to import them.
86         There are also several improvements to import, both to fix the layout 
87         and clean up the code, and it can now import embedded bitmaps - as Dia
88         needs them to be separate files, it puts them in /tmp (or wherever 
89         tempnam() goes to on your system). Alternative suggestions are welcome. 
90         NURBS import still doesn't work, but everything else seems pretty 
91         reliable.
92         
93         In addition, two small adjustments to compile on Windows
95 2006-09-08  Steffen Macke <sdteffen@gmail.com>
97         * app/makefile.msc:
98         * app/Makefile.am:
99         * app/dia-win-remote.c:
100         * installer/win32/dia.nsi: From Windows Explorer, open .dia files in the 
101         running Dia instance (if possible). Fixes bug #70718
103 2006-09-05  Lars Clausen  <lars@raeder.dk>
105         * lib/diatypes.h: 
106         * lib/Makefile.am (libdia_la_SOURCES): 
107         * lib/diarenderer.[ch]: 
108         * lib/font.[ch]: 
109         * lib/diagdkrenderer.c: 
110         * lib/textline.[ch]: TextLine now ready for commit.  Rendering
111         with it is much faster and significantly more precise than
112         without.  All renderers should implement a good definitions for
113         this (though there is a default one that uses draw_string), as it
114         can tell the expected width of a string.
115         
116         * lib/libdia.def: Newly defined functions.      
118 2006-08-29  Lars Clausen  <lars@raeder.dk>
120         * lib/textline.[ch]: New text rendering level: A self-contained
121         single-line text object that allows safer caching and hopefully
122         more accurate rendering at various zooms.  Using a PangoMatrix
123         didn't seem to help. 
125         * lib/font.c: Removing out-deffed layout cache code, it'll never
126         work.  Also a couple support functions for my quest of good zoom.
128 2006-08-20  Hans Breuer  <hans@breuer.org>
130         * plug-ins/cairo/diacairo.c : get rid of c++ coment
131         * app/diagram.h app/diagram.c app/modify_tool.c app/select.c 
132           app/undo.c : reverted 'Shortened diagram_unselect'. It broke
133         plug-ins/python, but more iomportant made one function fromm
134         app/diagram.h asymmetric with all the others. We should not leave
135         the common C OO-pattern of passing an explicit "this pointer" just
136         because that can also be deduced from the other object.
138 2006-08-18  Lars Clausen  <lars@raeder.dk>
140         * lib/render.[ch]: Finally removed unused render files now known
141         as diarenderer.[ch].
143 2006-08-17  Steffen Macke <sdteffen@gmail.com>
145         * installer/win32/dia-diagram.ico:
146         * installer/win32/dia.nsi: Assign icon to *.dia files
148 2006-08-16  Lars Clausen  <lars@raeder.dk>
150         * app/diagram.c (diagram_load): 
151         * lib/object.c (dia_object_is_selectable): Two silly null-pointer
152         errors detected by Michael Duelli <m.duelli@web.de>
154 2006-08-16  Steffen Macke <sdteffen@gmail.com>
156         * app/modify_tool.c:
157         * app/undo.c: Include parent.h
158         * lib/libdia.def: Include dia_object_is_selectable()
160 2006-08-13  Lars Clausen  <lars@raeder.dk>
162         * objects/Misc/libmisc.c:
163         * {app,objects/Misc}/Makefile.am:
164         * objects/Misc/newgroup.c:
165         * app/newgroup.c: Moved newgroup.
166         
167         * app/diagram.[ch]:
168         * app/undo.c: 
169         * app/modify_tool.c: 
170         * app/select.c: Trim diagram_unselect_object() to the one required
171         argument. 
173         * app/app_procs.c:
174         * app/interface.c (dia_dnd_file_drag_data_received): 
175         * app/recent_files.c (open_recent_file_callback): 
176         * app/filedlg.c (file_open_response_callback): 
177         * app/diagram.c (diagram_load): 
178         Make the diagram created at start-up be a virtual diagram that
179         if unchanged is filled in by the first opened diagram, like Gnumeric.
181 2006-08-11  Lars Clausen  <lars@raeder.dk>
183         * app/properties.c (properties_give_focus): Give focus to first
184         thing in a properties dialog.  Still need our own compound widgets
185         to get focus right.
187 2006-08-06  Lars Clausen  <lars@raeder.dk>
189         * objects/Misc/newgroup.c: 
190         * lib/diagramdata.c: 
191         * app/diagram.[ch]: 
192         * app/select.c: 
193         * app/modify_tool.c: 
194         * lib/object.[ch]: Work towards a more reasonable definition of
195         Groups. 
196         
197 2006-08-06  Steffen Macke <sdteffen@gmail.com>
199         * installer/win32/dia.nsi: Save diagrams by default in "My Pictures";
200         fixes bug #344247
202 2006-08-04  Steffen Macke <sdteffen@gmail.com>
204         * installer/win32/dia.nsi: Added vdx.dll, analog_clock.xpm 
205         newgroup.xpm , *ui.xml files
207 2006-08-03  Lars Clausen  <lars@raeder.dk>
209         * sheets/Makefile.am: EML sheet taken out since it's been empty
210         for five years anyway.  Fixes bug #347894.
212         * doc/eu/dia.dbk: 
213         * doc/en/dia.dbk: 
214         * doc/en/usage-layers.xml: Fixed obsolete references to
215         export-to-format.  Fixes bug #346510.
217 2006-08-02  Lars Clausen  <lars@raeder.dk>
219         * plug-ins/vdx/visio-types.h: 
220         * plug-ins/vdx/vdx.h: 
221         * plug-ins/vdx/vdx-xml.c: 
222         * plug-ins/vdx/vdx-import.c: 
223         * plug-ins/vdx/vdx-common.c: Update to version 0.4 (from 0.2) of
224         Visio import, thanks to Ian Redfern, who states: 
226         Version 0.4 does a passable job with curves, and has the first
227         implementation of Masters. It also handles XForm1D, and fixes a
228         potential crash. It gets some layers in the wrong order and still
229         has some major positioning and sizing issues. 
231         Version 0.3 gets object layout correct, and does a better job of
232         text, lines, arrows, layers etc. Some diagrams (that don't contain
233         curves) now render pretty much correctly. 
235 2006-07-16  Hans Breuer  <hans@breuer.org>
237         * app/cut_n_paste.[hc] : maintain a generation counter to count
238         how many times the stored object list is used
239         * app/commands.c : use the generation for paste placement. The
240         first one after cut is not moved at all: a nice way to move objects
241         between layers without changing their lateral position.
242         Also sprinkled some diagram_update_extents()
243         
244         * shapes/Civil/civil_rotor.shape : had inverted fg/bg colors, bug #347080
245         
246         * app/recent_files.c : don't g_return_if_fail() on common use case,
247         here an empty recent file list
248         
249         * lib/dia_image.c(dia_image_draw) : don't try to draw anything if
250         width or height is smaller than 1 pixel
251         
252         * plug-ins/cairo/diacairo.c : allow to export to svg if available 
253         with cairo. Some tweaking of surface sizes.
254         
255 2006-07-12  Lars Clausen  <lars@raeder.dk>
257         * {tests,test/exports,data,plug-ins/vdx}/.cvsignore: Added.
259 2006-06-28  Lars Clausen  <lars@raeder.dk>
261         * plug-ins/vdx/vdx-import.c: Removed create_standard_group which
262         is in create.c.
264 2006-06-25  Hans Breuer  <hans@breuer.org>
266         * app/display.c : avoid to call gettext on parameters for ngettext()
267         Should finally really fix bug #344896
268         
269         * data/ui/display-ui.xml data/ui/popup-ui.xml data/ui/toolbox-ui.xml :
270         removed expand="yes" because otherwise the files can't be read with
271         gtk+-2.6.x which follows Dia can't start. Fixes bug #344895
272         * app/menus.c app/Makefile.am : also find the ui files when run from
273         app/run_dia.sh
275 2006-06-17  Gintautas Miliauskas  <gintas@akl.lt>
277         * configure.in: Added lt to ALL_LINGUAS.
279 2006-06-15  Hans Breuer  <hans@breuer.org>
281         * app/display.c : use ngettext() for possible plural variations.
282         (Bug #344896, tokul@users.sourceforge.net)
284         * objects/UML/class.c : use g_list_append() rather than prepend
285         when copying attributes, operations, formalparams. Fixes bug #342902
286         Also removed some superfluous outcommented code and fixed a warning.
288         * objects/UML/class.c : dont break reading comment_line_length
289         by misguide compatibility code. Fixes bug #341887
291         * plug-ins/vdx/vdx-xml.c : added file missing from 0.3 
292         version commit. Fixes bug #344804
293         
294         * lib/create.h : add create_standard_group() prototype
295         * lib/libdia.def lib/makefile.msc objects/makefile.msc 
296           plug-ins/makefile.msc : added missing (files|exports)
298 2006-06-13  Lars Clausen  <lars@raeder.dk>
300         * plug-ins/vdx/*: Version 0.3 of Visio import filters, thanks
301         again to Ian Redfern.
303 2006-06-12  Elijah Newren  <newren gmail com>
305         * autogen.sh: Run configure by default, allow it to be skipped if
306         NOCONFIGURE is set in the environment.  #344574.
308 2006-06-12  Elijah Newren  <newren gmail com>
310         Pair of build fixes.  #344357
312         * Makefile.am: avoid cp errors when $(srcdir) == .
314         * objects/Misc/newgroup.c: include pixmaps/newgroup.xpm instead of
315         pixmaps/group.xpm as the latter doesn't exist.
317 2006-06-12  Hans Breuer  <hans@breuer.org>
319         * plug-ins/python/codegen.py : applied patch from Thomas D Ahle
320         which adds support for Java and inheritance. Closes bug #344187
321         
322 2006-05-28  Lars Clausen  <lars@raeder.dk>
324         * sheets/Misc.sheet.in: 
325         * objects/Misc/Makefile.am (EXTRA_DIST): 
326         * objects/Misc/pixmaps/newgroup.xpm: 
327         * objects/Misc/newgroup.c: 
328         * objects/Misc/libmisc.c: Start of new group model, with "visible"
329         object to test with.  This object will later become the default
330         group object and thus (mostly) invisible.
332         * lib/parent.c (parent_handle_move_in_check): 
333         * app/create_object.c (create_object_button_press): 
334         * app/diagram.c (diagram_unparent_children_selected): 
335         * app/disp_callbacks.c (ddisplay_drop_object): 
336         * app/load_save.c (write_objects): 
337         * objects/network/radiocell.c (radiocell_create): 
338         * objects/AADL/aadlbox.c (aadlbox_create): 
339         * objects/UML/large_package.c (largepackage_create): 
340         * objects/UML/component.c (component_create): 
341         * lib/object.[ch]: DiaObject API change: DiaObject now has gint
342         flags rather than gboolean can_parent, and utility function
343         object_flags_set.  Uses of can_parent changed to call to function.
345         * doc/en/dia.dbk: Removal of obsolete epsi references.
347 2006-05-27  Hans Breuer  <hans@breuer.org>
349         * app/menus.c : listen to Gtk-WARNING **: Unable to parse accelerator 
350         '<control>+': it wants '<control>plus', same for minus.
352         * tests/exports/cgm/* : cvs admin -kb *.cgm
353           tests/exports/png/* tests/exports/png-libart/* 
354           tests/exports/shape/* : cvs admin -kb *.png
355           tests/exports/wpg/* : cvs admin -kb *.wpg
356         mark binary files as such to not get them broken on platforms which
357         insist on replacing line-ends.
359         * app/app_procs.c app/display.c app/filedlg.c app/interface.c
360           app/load_save.c app/sheets.c lib/dia_image.c lib/message.c
361           plug-ins/python/diamodule.c plug-ins/python/pydia-error.c
362           plug-ins/wmf/wmf.cpp : fixed format string vulnerability on HEAD
363         as well. Patch from Hans de Goede, bug #342111
365 2006-05-27  Rob Staudinger <robert.staudinger@gmail.com>
367         * Makefile.am: 
368         * app/Makefile.am:
369         * app/diagram.c: 
370         * lib/Makefile.am:
371         * objects/standard/Makefile.am:
372         * plug-ins/python/Makefile.am:
373         Fix out of tree build (#340115).        
375 2006-05-25  Hans Breuer  <hans@breuer.org>
377         * app/interface.[hc] app/menus.c : rename ToolButton::menu_item
378         to action_name. Don't mark action names for translation. It is not
379         needed and some languages don't support CamelCase. Fixes bug #342895
380         
381         * app/menus.c : re-added a bunch of accelerators lost in translation
382         to the GtkAction framework. Use GTK_STOCK_FULLSCREEN conditionally
383         it was not available with gtk+-2-6-x.
384         Use dia_get_data_directory() instead of hardcoded UIDATADIR.
385         * app/dia_embedd.c : explain instead of out-comment
386         
387         * app/menu.c lib/autoroute.c lib/color.c lib/diagramdata.c 
388           lib/properties.h dia_xml.c : warningectomy
389           
390         * lib/create.h : create_standard_group()
391         * lib/libdia.def lib/makefile.msc : reflect moved stuff
392         
393 2006-05-25  Lars Clausen  <lars@raeder.dk>
395         * tests/exports/*.dia: A set of test diagrams for export
396         plug-ins.  The intention is to use these for regression tests by
397         ensuring that they don't change when code is altered, or if they
398         change that a manual inspection proves them ok.  The fact that an
399         export plug-in passes these tests doesn't mean it's perfect, just
400         that is hasn't degraded.
401         
402         * plug-ins/xfig/xfig-import.c: 
403         * plug-ins/vdx/vdx-import.c: 
404         * lib/create.[ch]: Functions taken from xfig to create some
405         standard objects easily.  Uses of them updated, no longer need to
406         take DiagramData.
408         * plug-ins/vdx/*: First draft of VDX (Visio XML) plug-in from Ian
409         Redfern <Ian Redfern <Ian.Redfern@LogicaCMG.com>.  Also a bunch of
410         samples for the purpose from the vdxtosvg project.
412 2006-05-21  Hans Breuer  <hans@breuer.org>
414         * app/interface.[hc] app/disp_callbacks.c : removed unused
415         global variable popup_shell
416         
417         * app/pagesetup.c app/diapagelayout.c : restrict every page margin
418         to a little less than half of the page. This guarantees margins
419         leaving some useable page area and thus avoids crashing on negative
420         page sizes. Fixes bug #339562 (also applied to dia-0-95 branch)
421         
422 2006-05-20  Hans Breuer  <hans@breuer.org>
424         Patch from Robert Staudinger to base dia menus on GtkAction framework
425         instead on deprecated GtkItemFactory. Tracked in bug #340352. 
426         En passant fixes bug #171397
427         * configure.in : placementof ui files added data/Makefile to AC_OUTPUT
428         * Makefile.am : added data dir
429         * app/Makefile.am : added $(uidatadir)
430         * app/commands.c app/commands.h app/dia_embedd.c app/diagram.c
431           app/diagram_tree_window.c app/diagram_tree_window.h
432           app/disp_callbacks.c app/display.c app/display.h
433           app/interface.c app/menus.c app/menus.h app/recent_files.c :
434         changed a bunch of callback signatures to take GtkAction
435         * app/pixmaps/Makefile.am 
436         * data/Makefile.am data/display-ui.xml data/toolbox-ui.xml
437           data/popup-ui.xml : new files containing the menu structure
438         * lib/filter.c lib/filter.h lib/plug-ins.h : callback filter
439           registration change to be more appropriate for actions
440         * lib/libdia.def : updated externals
441         * plug-ins/python/debug_objects.py plug-ins/python/diamodule.c
442           plug-ins/python/group_props.py plug-ins/python/gtkcons.py 
443           plug-ins/python/otypes.py plug-ins/python/pydiadoc.py 
444           plug-ins/python/scascale.py plug-ins/python/select_by.py :
445         adapted to API change dia.register_callback to dia.register.action
447         * app/authors.h : added Robert to the authors
448         * app/commands.c : got rid of compiler warnings
450 2006-05-14  Hans Breuer  <hans@breuer.org>
452         * plug-ins/python/python.c : protect the plug-in against 
453         initializing if Python already is initialized. This PyDia extensions
454         is designed for embedding Python.
455         
456         * plug-ins/python/pydia-property.c : LineStyle.dash may be either
457         Float or Integer.
458         
459         * plug-ins/python/diasvg_import.py : remove FontSize debug spew
460         
461         * lib/font.c : GDK_WINDOWING_WIN32: if called with a display already
462         setup use the pango context matching the display. Otherwise fallback
463         to a context from PangoWin32 (matches only for gtk+-2-6, not the one
464         used since gtk+-2-8 using cairo.
465         
466 2006-05-13  Hans Breuer  <hans@breuer.org>
468         [ also applied to branch dia-0-95 ]
469         * objects/UML/umloperationc: add "query" to umloperation_offsets.
470         Patch from Peter Allin, fixes bug #338336
472         [ also applied to branch dia-0-95 ]
473         * app/diagram.c(diagram_ungroup_selected) : operate on a copy
474         of data-Selected cause the original is modified during use.
475         Patch from Victor Stinner, fixes bug #334771
477         * configure.in config.h.win32 : development started again so 095+cvs.
478         Critical bugfixes may go on the dia-0-95 branch (may lead to 0.95.1 
479         if necessary)
480         
481         * app/diagram.c : removed long-time outcommented code
482         
483         * lib/diagramdata.h lib/filter.h lib/geometry.h lib/plug-ins.h
484           lib/properties.h : C++ aware by G_BEGIN_DECLS, G_END_DECLS
485         
486         * objects/UML/class.c : don't dia_assert_true(attr->comment != NULL)
487         it is handled everywhere else just fine.
488         
489 2006-04-19  Lars Clausen  <lars@raeder.dk>
491         * installer/win32/dia.nsi: 
492         * doc/en/dia.xml: 
493         * doc/eu/dia.xml: 
494         * doc/pl/dia.xml: 
495         * config.h.win32: 
496         * configure.in: 
497         * NEWS: Release 0.95
499         * shapes/Gane_and_Sarson/process.shape: Connectionpoint update
500         from Nick Moore <shiny.nickel@gmail.com>.
502 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
504         * configure.in: Remove obsolete entry for no_NO
505         * po/no.po: And the translation.
507 2006-04-12  Lars Clausen  <lars@raeder.dk>
509         * installer/win32/dia.nsi: 
510         * doc/en/dia.xml: 
511         * doc/eu/dia.xml: 
512         * doc/pl/dia.xml: 
513         * config.h.win32: 
514         * configure.in: 
515         * NEWS: -pre9
517         * configure.in: Check for xgettext.  Apparently
518         AM_GLIB_GNU_GETTEXT notices it's missing but doesn't abort.
520 2006-04-04  Steffen Macke <sdteffen@gmail.com>
522         * installer/win32/dia.nsi:
523         * installer/win32/langmacros.nsh:
524         * installer/win32/locale/*.nsh: Added check for outdated libgtk dll;
525         closes bug #335477
527 2006-04-03  Lars Clausen  <lars@raeder.dk>
529         * installer/win32/dia.nsi: 
530         * doc/en/dia.xml: 
531         * doc/eu/dia.xml: 
532         * doc/pl/dia.xml: 
533         * config.h.win32: 
534         * configure.in: 
535         * NEWS: -pre8
537         * plug-ins/xfig/xfig-import.c: Initially place text in the right
538         place. 
540 2006-04-03  Steffen Macke <sdteffen@gmail.com>
542         * installer/win32/dia.nsi:
543         * installer/win32/locale/french.nsh: Added french installer
544         locale. Patch from Yannick Le Ny <y.le.ny@ifrance.com>
546 2006-04-02  Hans Breuer  <hans@breuer.org>
548         * doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge
550 2006-03-29  Daniel Drake  <dsd@gentoo.org>
552         * configure.in: Use standard pkg-config expressions to check for
553         GTK+/Glib, the GTK-supplied macro's conflict with our usage of
554         $GTK_MODULES (#335422)
556 2006-03-28  Lars Clausen  <lars@raeder.dk>
558         * app/Makefile.am (dia_LDADD): Patch from Peter for bug #336377:
559         Include libs and cflags in proper places.
561         * installer/win32/dia.nsi: 
562         * doc/en/dia.xml: 
563         * doc/eu/dia.xml: 
564         * doc/pl/dia.xml: 
565         * config.h.win32: 
566         * configure.in: 
567         * NEWS: -pre7
569         * shapes/network/mobile_phone.{png,xpm,shape}:
570         * shapes/network/telephone.shape:
571         * shapes/network/disc.shape:
572         Updates from W. Borgert <debacle@debian.org> improving looks and
573         positioning.
574         
575 2006-03-26  Lars Clausen  <lars@raeder.dk>
577         * objects/network/radiocell.c: Patch from W. Borgert
578         <debacle@debian.org> for extra midpoint, flicker, extraneous
579         properties.
580         
581         * objects/network/basestation.c: Patch for BB from W. Borgert
582         <debacle@debian.org>. 
584 2006-03-23  Hans Breuer  <hans@breuer.org>
586         * lib/widgets.c : use original fontname and fallback 'sans' to
587         render the font menu. Thus crashing (in Pango) is delayed until
588         the point where one chooses a font, which can't be rendered by
589         Pango. Fixes bug #335096 as far as Dia can.
590         
591 2006-03-21  Lars Clausen  <lars@raeder.dk>
593         * installer/win32/dia.nsi: 
594         * doc/en/dia.xml: 
595         * doc/eu/dia.xml: 
596         * doc/pl/dia.xml: 
597         * config.h.win32: 
598         * configure.in: 
599         * NEWS: -pre6
601         * plug-ins/xfig/xfig-import.c: Last missing stack underflow check.
603 2006-03-19  Hans Breuer  <hans@breuer.org>
605         * app/display.c app/preferences.c : unset transient, still issues
606         with transient handling, see bug #332828
607         
608         * app/makefile.msc lib/makefile.msc objects/makefile.msc
609           plug-ins/makefile.msc : removed stuff supposed to be used from
610         $(TOP)/glib/build/win32/make.msc
611         
612         * plug-ins/xfig/xfig-import.c : make it compile with strict type 
613         checking [these were real errors, freeing stack passed values instead
614         of the intended local variable] :
615         xfig-import.c(580) : error C4047: 'function' : 'struct _GArray *' 
616          differs in levels of indirection from 'struct _Point ** '
617         xfig-import.c(580) : warning C4024: 'g_array_free' : different types 
618          for formal and actual parameter 1
620         * lib/libdia.def : export connection_adjust_for_autogap 
621         
622         * plug-ins/hpgl/hpgl.c : there is one floating point value in the 
623         whole HPGL output - and it was locale dependent.
625 2006-03-12  Lars Clausen  <lars@raeder.dk>
627         * installer/win32/dia.nsi: 
628         * doc/en/dia.xml: 
629         * doc/eu/dia.xml: 
630         * doc/pl/dia.xml: 
631         * config.h.win32: 
632         * configure.in: 
633         * NEWS: -pre5
635         * objects/UML/constraint.c (constraint_update_data): 
636         * objects/UML/message.c (message_update_data): 
637         * objects/UML/implements.c (implements_update_data): 
638         * objects/SADT/annotation.c (annotation_update_data): 
639         * objects/Jackson/phenomenon.c (message_update_data): 
640         * objects/network/wanlink.c (wanlink_update_data): 
641         * objects/FS/flow.c (flow_update_data): Added autogap adjustment.
643         * objects/standard/line.c: 
644         * lib/connection.[ch] (connection_adjust_for_autogap): Moved autogap
645         functionality for connections.
647 2006-03-11  Lars Clausen  <lars@raeder.dk>
649         * lib/diagdkrenderer.c (draw_object): 
650         * lib/dialibartrenderer.c (draw_object): Don't draw highlighting
651         in the non-interactive rendering.
653         * dia.spec:
654         * installer/rpm/dia.spec:
655         * installer/rpm/README:
656         Moving dia.spec to installer directory, where distribution
657         maintainers can keep their own copies.
659         * objects/UML/uml.h: 
660         * objects/UML/class.h: 
661         * objects/UML/umloperation.c: 
662         * objects/UML/class.c: 
663         Preparations to fix bug #334037: Clean away the Lisp-like
664         constructs confusing the issue.
666 2006-03-10  Lars Clausen  <lars@raeder.dk>
668         * lib/object.c: Don't compare floats with ==, even in sanity checks.
670 2006-03-09  Lars Clausen  <lars@raeder.dk>
672         * plug-ins/xfig/xfig-import.c: Fix three buffer overflows in color
673         reading, depth reading, and points reading.  Thanks to 
674         
675         * COPYING: Added copyright info again.
677 2006-03-09  Steffen Macke <sdteffen@gmail.com>
679         * installer/win32/dia.nsi: don't uninstall old version; overwrite
680         existing files
682 2006-03-08  Steffen Macke <sdteffen@gmail.com>
684         * installer/Makefile.am:
685         * installer/win32/Makefile.am:
686         * installer/win32/locale/Makefile.am: Making sure that the installer
687         sources are included in the dia source distribution
688         * installer/win32/dia.nsi: Don't include makefiles in installer;
689         Add uninstaller link to start menu (bug #332650); added commandline 
690         option GTKBIN to specify GTK installation directory (fixes bug #332595)
691         * installer/win32/dia-diagram.ico:
692         * installer/win32/dia-header.bmp:
693         * installer/win32/dia-install.ico:
694         * installer/win32/dia-intro.bmp:
695         * installer/win32/dia-uninstall.ico:
696         * installer/win32/dia.nsi:
697         * installer/win32/langmacros.nsh:
698         * installer/win32/locale/english.nsh:
699         * installer/win32/locale/german.nsh: Added files to build the win32
700         installer using NSIS (http://nsis.sourceforge.net)
701         
702 2006-03-06  Lars Clausen  <larsrc@raeder.dk>
704         * doc/en/dia.xml: 
705         * doc/pl/dia.xml: 
706         * config.h.win32: 
707         * configure.in: 
708         * NEWS: -pre4
710         * samples/TexChars.dia: Added sample of the escaped chars for TeX.
711         
712         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
713         Changing escape of \, [, and ] to something that works.  $ is
714         fine.  Fixes parts of 333193.
716 2006-03-05  Lars Clausen  <larsrc@raeder.dk>
718         * plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
720         * lib/orth_conn.c (orthconn_update_data): 
721         * app/diagram.c: Removing debug info.
723         * app/object_ops.c (object_find_connectpoint_display): Don't
724         magnet to parents.
726 2006-02-26  Hans Breuer  <hans@breuer.org>
728         * app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
729         * plug-ins/python/python.c : if set use it to find python-startup.py
730         (bug #332599, Torben H. Nielsen)
732         * app/app_procs.c : removed // from gtk_init() [shouldn't have commited
733         my test code]. Really closes #332177, thanks Mateus César Gröess.
735 2006-02-26  Lars Clausen  <lars@raeder.dk>
737         * doc/en/dia.xml: 
738         * doc/pl/dia.xml: 
739         * config.h.win32: 
740         * configure.in: 
741         * NEWS: -pre3
743         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
744         of element_width and element_height until constraints can be 
745         properly checked.  Bug #328200
747         * dia.spec (Requires): Updated GTK requirements.
749 2006-02-25  Lars Clausen  <lars@raeder.dk>
751         * lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
752         other dynamic menus have proper translation.
754         * lib/widgets.c (dia_dynamic_menu_create_string_item): 
755         * app/interface.c (cmp_names): 
756         * app/sheets.c (sheets_optionmenu_create): 
757         * lib/sheet.c (load_register_sheet): Using C locale for sheet
758         names internally, translating on display instead.  Also sorting
759         by gettext order explicitly.  Bug #328570.
761 2006-02-25  Hans Breuer  <hans@breuer.org>
763         * app/interface.c(get_sheet_by_name) : be more tolerant about 
764         localization of the sheet name. ( Steffen Macke, #332070 )
765         
766         * app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
767         in any case. In contrast to X11/*nix displays are not optional on
768         windoze. And we need some help of gtk to render text to bitmaps.
769         ( Rob McDonald, bug #332177 )
770         
771 2006-02-21  Lars Clausen  <lars@raeder.dk>
773         * NEWS: 
774         * doc/pl/dia.xml: 
775         * doc/en/dia.xml: 
776         * configure.in: 
777         * config.h.win32: Update to -pre2.
779         * lib/beziershape.c (add_handles): Fixing CP pos calculation for
780         adding new CP's.  Fixes bug #331557.
782 2006-02-20  Lars Clausen  <lars@raeder.dk>
784         * lib/diarenderer.c (find_center_point): Better handling of some
785         degenerate cases.
786         (draw_arc_with_arrows): Draw line in all cases.  Doesn't handle
787         the truly degenerate cases well enough yet, but at least doesn't
788         break on common cases.  Probably need to do something special for
789         arcs with start and end point the same.  Improves but does not
790         entirely fix bug #331372.
792 2006-02-20  Hans Breuer  <hans@breuer.org>
794         * plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
795         
796 2006-02-18  Hans Breuer  <hans@breuer.org>
798         * plug-ins/metapost/render_metapost.c : text position gives the
799         baseline neither top nor bottom. ( Rob McDonald, #331491 )
801         * plug-ins/wmf/wmf.cpp : finally respecting the print margins
802         ( Rob McDonald, #331371 )
803         * plug-ins/wmf/wmf_gdi.h : some more constants not useful 
804         without a GDI printer (driver)
805         
806 2006-02-17  Hans Breuer  <hans@breuer.org>
808         * plug-ins/metapost/render_metapost.c(draw_string) : dont query
809         the font for it's height but use the 'height' parameter passed
810         in. Close enough to the desired size - and independent of zoom -
811         to close bug #331489 (Rob McDonald)
812         
813 2006-02-12  Lars Clausen  <lars@raeder.dk>
815         * NEWS: 
816         * dia.spec: 
817         * doc/pl/dia.xml: 
818         * doc/en/dia.xml: 
819         * configure.in: 
820         * config.h.win32: Updates for version 0.95-pre1.
822 2006-02-12  Hans Breuer  <hans@breuer.org>
824         * app/makefile.msc : build three components dia.exe (console
825         application), diaw.exe (windows application) and dia-app.dll
826         containing almost all of Dia's application shared between
827         the two executables
828         * app/main.c app/winmain.c app/app_procs.c app/dia.def : some 
829         refactoring to accomplish the new dependency layout
830         * objects/makefile.msc plug-ins/python/makefile.msc : need to
831         link dia-app.lib now - if at all depending on app/*
832         
833 2006-02-11  Hans Breuer  <hans@breuer.org>
835         * makefile.msc : nmake -f makefile.msc just compiles now
836         * app/makefile.msc lib/makefile.msc : make not using FT2
837         on win32 the default (works around bug #150813 by diabaling it)
838         * objects/makefile.msc plug-ins/makefile.msc : remove -GD from
839         $(CC) command line. It isn't understood by newer versions of cl.
840         
841         * app/authors.h : reflect the recent maintainers change
842         
843         * app/display.c app/load_save.c : removed debug spew
844         
845         * app/winmain.c : improved redirection
846         
847 2006-02-05  Hans Breuer  <hans@breuer.org>
849         * app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead 
850         since 0.94. Fix somne left-overs, also properly disable the duplicate
851         menu entry
853         * po/POTFILES.in : added objects/network/wanlink.c
855 2006-02-05  Hans Breuer  <hans@breuer.org>
857         * lib/dialibartrenderer.c(renderer_finalize) : dont unref 
858         parent_instance.font here. It will be done in DiaRenderer::finalize()
859         Just another reason for crashing at diagram close with libart 
860         renderer involved ...
861         
862 2006-02-04  Hans Breuer  <hans@breuer.org>
864         * objects/standard/image.c : added mainpoint, patch from
865         Torben H. Nielsen fixing bug #329603
867         * app/layer_widget.c : avoid writing to Layer::connectable for a
868         diagram possibly already gone. Fixes bug #329096.
870         * lib/persitence.c(persistence_load) : dont leak filename
871         in case of not existing file
873         Code review via regex "[^_l>p](malloc|free|realloc)\("
874         * objects/fs/function.c : what's g_strdup() must be g_free()'d
875         * plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
876         * plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
878         * app/filedlg.c(file_save_as_response_callback) : before destroying 
879         the save as dialog we need to drop the dialogs diagram reference.
880         Fixes behaviour described in bug #123225#c7
882         * app/interface.c(get_sheet_names) : need to sort sheets by their 
883         display name to really fix bug #160101.
884         
885         * objects/UML/association.c : dont leak the role_name calculated
886         with visibility attribute, use g_strdup_printf() instead of strcat().
887         
888         * configure.in : fix typo in error message
890         * lib/object.c : remove duplicated prototype
891         * lib/element.c : element_update_connections_rectangle() assumes nine
892         connection points, i.e. requires 'mainpoint'. g_assert() for this.
893         
894 2006-02-03  Hans Breuer  <hans@breuer.org>
896         * objects/network/bus.c : allow to tint it. Patch from
897         Torben H. Nielsen, closes bug #328580.
898         * objects/network/wanlink.c : allow to tint this as well.
899         
900 2006-01-29  Hans Breuer  <hans@breuer.org>
902         * app/render_libart.c(draw_line) : make setting the pixel side-effect
903         free; account for it in now (less) magic increments. Fixes bug #312147
905 2006-01-28  Hans Breuer  <hans@breuer.org>
907         * po/checktrans.py : make it work with recent pyxml (unknown url type)
908         * po/AADL.sheet.in : remove duplicated _description
909         => translation report works again
911         * app/display.c : revert back to "_Discard Changes" to avoid
912         accelerator clash. Also gtk_button_new_with_mnemonic() to
913         'expand' the accelerator.
915         * lib/dia_svg.c(dia_svg_style_init) : need to initialize
916         linecap, linejoin, linestyle to avoid invalid settings.
917         (Nguyen Thai Ngoc Duy, bug #328945)
918         * lib/diagdkrenderer.c : add a place fro breakpoint to 
919         detect invalid mode
921         * lib/diarenderer.c(setfont) : if we get passed in the
922         same font it must be ref'd before unref.
924         * lib/text.c(set_string) : don't eat the trailing new-line
925         Fixes bug #165092
926         
927         * app/app_procs.c app/display.c app/filedlg.c 
928         attempt to provide more HIG compliant dialogs. Patch from
929         Nguyen Thai Ngoc Duy, part of bug #138183
930         
931         * app/recent_files.c(recent_file_history_clear_menu) : instead of 
932         messing with GtkMenuShell::children and gtk_widget_destroy() just 
933         use gtk_container_remove. Avoids memory corruption causing the
934         most 'random' crashes recently.
935         
936         * objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL 
937         cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the 
938         TextAttributes - not some subset. Fixes bug #327701
939         * objects/UML/implements.c objects/UML/generalization.c
940           objects/UML/constraint.c objects/UML/object.c
941           objects/UML/large_package.c objects/UML/realizes.c : same here.
942         * objects/UML/dependency.c : same here. Also draw the "Name" with the
943         given color, not only the Stereotype.
944         * objects/UML/class.c : same here. But we also need to restore 
945         explicit restore "text_color" for the load case.
946         
947 2006-01-27  Hans Breuer  <hans@breuer.org>
949         * configure.in : error out if GLib/GTK+ version is lower than required
951         * app/filedlg.c lib/widgets.c : more default responses. Patch 
952         from Nguyen Thai Ngoc Duy, part of bug #138183
953         
954         * NEWS : Main point feature correction. The line is supposed to
955         start at the border of the object not the bounding box.
956         
957         * app/commands.c : respect difference between documenters and
958         translators and show both in about dialog. Closes bug #328711.
959         
960         * app/interface.c : instead of g_warning for missing shape icon
961         but use message_warning and show the 'missing' icon
962         
963         * lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
964         not match pango_win32_get_context(). Use gdk_pango_get_context ().
965         Also removed my special win32-modified-pango code for draw_string()
966         without the help of gdk.
968         * Makefile.am : include MAINTAINERS file in tarball
970         * lib/conectionpoint.h : removed double include of "geometry.h"
971         
972 2006-01-22  Hans Breuer  <hans@breuer.org>
974         * app/splash.c app/commands.c : dont share the logo and finally leak
975         it. Instead both place load and unref the logo themself. 
976         Also unbreak GNOME case.
978         * app/commands.c : use GtkAboutDialog instead of homegrown GTK+
979         or GNOME specific one. 120 lines less code and more standard.
980         * configure.in : require GTK+ >= 2.6
982         * app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
983         make GtkTypeInfo static const as usual elsewhere
984         
985         * app/recent_files.c : it almost certainly is an error to ignore
986         the return value of g_list_remove_link()
987         
988         * lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
989           lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
990           lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
991           lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
992           objects/UML/uml.h : documentation fixes
993         
994         * lib/object.h lib/diagramdata.h : avoid circular inclusion
995         * lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
996           lib/properties.h lib/sheet.h lib/diamenu.h
997         : dont include "object.h", "diatypes.h" is enough. 
998         Rule of thumb: only headers declaring an inheritant of DiaObject
999         should include "object.h"
1000         * lib/diarenderer.h : include "font.h" not strictly needed by 
1001         this header, but needed in almost any plug-in/
1002         * app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
1003           app/export_png.c app/interface.c app/load_save.c app/sheets.c
1004           app/sheets_dialog.c app/sheets_dialog_callbacks.c 
1005           lib/diagdkrenderer.c lib/object.c lib/propobject.c
1006           lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
1007           plug-ins/svg/render_svg.c
1008           : some .c files now need to include "object.h" or <gtk/gtk.h>
1009         or e.g. "intl.h" direct, formerly dargged in indirectly
1010         * plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
1011         
1012 2006-01-21  Hans Breuer  <hans@breuer.org>
1014         * lib/connection.c lib/connection.h lib/connectionpoint.h
1015           lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
1016           lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
1017           lib/object.c lib/object.h : documentation tweaking
1019         * objects/UML/class_dialog.c(attributes_create_page,
1020         operations_create_page) : dont connect
1021         to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
1022         g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
1023         (This was a leftover of introducing the GtkTextView instead of GtkEntry)
1025         * objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
1026         Introduce 'comment_tagging' switch which allows to hide the rendering
1027         {documentation = } Maybe a choice between ugliness and non-standard.
1028         Fixes bug #326214. (Unrelated: started to adapt casing of variables
1029         to Dia's common coding style)
1030                 
1031         * lib/object_defaults.c : pass is_default=TRUE to object_copy_props
1032           lib/proplist.c : fixed pdtpp_default()
1033           lib/propobject.c : correctly reflect is_default 
1034         * object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
1035         PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
1036         
1037         * lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
1038         widget in defaults dialog
1040         * app/display.c(initialize_display_widgets) : also append the Input 
1041         Methods menu to the diagram menubar. Now fixes bug #327862.
1043         * config.h.win32 : #undef LOCALEDIR
1044         * app/app_procs.c : runtime calculation of localedir. It now is
1045         $(executable_dir)/../locale. Should help fix bug #309763
1046         
1047         * sheets/AADL.sheet.in : remove left over xml:lang tag. 
1048         ( Nguyen Thai Ngoc Duy, bug #327519)
1050         * lib/dialibartrenderer.c : make text rendering work without
1051         PangoFT2 and PangoWin32
1054 2006-01-18  Lars Clausen  <lars@raeder.dk>
1056         * objects/UML/class.h: Enabling UML class mainpoint after failure
1057         to break it.
1059         * app/grid.c: Fix bug with grid being incorrectly drawn when gap <
1060         1.
1062 2006-01-14  Hans Breuer  <hans@breuer.org>
1064         * app/paginate_psprint.c : ensure we are not producing pages for
1065         epsilon. Floating imprecision is fun. Fixes bug #133856.
1066         * app/paginate_gdiprint.cpp : same here.
1068         * plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
1069         found the nice samples from bug #156171 it was quite simple to
1070         confirm that the y value need indeed to be inverted. Fixes bug #304974.
1071         Also special case strings starting with \tex - i.e. dont escape them -
1072         to keep the use-case of direct tex input.
1073         
1074         * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
1077 2006-01-14  Hans Breuer  <hans@breuer.org>
1079         * samples/Self/umlclass.dia : (new file) documenting part of the
1080         object relations of UMLClass. Also good for testing connections.
1081         
1082         * lib/debug.c : replace wrong call to vprintf() - missing file
1083         descriptor - with the more appropriate g_vprintf(). Thus 
1084         dia_assert_true() does not smash the stack anymore on win32.
1085         
1086         * objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
1087           objects/UML/umlattribute.c objects/UML/umloperation.c :
1088         reverted the memory managment of UMLAttribute/UMLOperation's 
1089         ConnectionPoint(s) back to how it was up until 0.94. This finally
1090         makes the UMLClass work again including undo/redo support. Fixes
1091         bug #314153 and en passant bug #326453.
1092         
1093 2005-01-12  Lars Clausen  <lars@raeder.dk>
1095         * objects/UML/umlattribute.c: 
1096         * objects/UML/class_dialog.c: Better way of handling
1097         connectionpoints: Don't copy them, just reference them.  Finally
1098         fixes bug #314153 (not quite the pi bug:)
1100         * app/menus.c (display_menu_items): 
1101         * app/filedlg.c (file_open_response_callback): 
1102         * app/display.[ch] (copy_display): 
1103         * app/commands.[ch] (view_clone_view_callback): 
1104         Added functionality to clone display.  Preparation for storing
1105         display info in diagram files (not happening this version, though).
1107         * INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
1108         users pointing at dia-installer.
1110 2006-01-08  Hans Breuer  <hans@breuer.org>
1112         * shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
1113         (Narcelio Filho, #326075)
1115         * objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
1116         plug-ins should not depend on app/* and it even breaks 'make distcheck'.
1117         * objects/AADL/Makefile.am : added edit_port_declaration.h
1118         * app/Makefile.am : added diaconv.c to EXTRA_DIST
1119         => 'make distcheck' passes again.
1121         * configure.in : use some more of gcc's useful warnings
1123         * lib/geometry.h : removed unused functions just producing warnings
1124         [sometimes it's good to read compiler warnings]
1125         * plug-ins/cairo/diacairo.c : somehow a function call got lost
1126         (left-hand operand of comma expression has no effect)
1127         * plug-ins/metapost/render_metapost.c : dia_message_filename()
1128         wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
1129         from incompatible pointer type)
1132 2006-01-07  Hans Breuer  <hans@breuer.org>
1134         * objects/custom/shape_info.c(parse_path) : handle the case of 
1135         invalid path data more gracefully, i.e. show a warning instead 
1136         of crashing later on.
1137         * plug-ins/svg/svg-import.c(read_path_svg) : ditto.
1138         
1139         * configure.in sheets/Makefile.am shapes/Gane_and_Sarson 
1140           shapes/Makefile.am : added Gane & Sarson shapes 
1141         (Nick Moore, #319544)
1143         * objects/makefile.msc : building AADL on win32
1145 2006-01-06  Hans Breuer  <hans@breuer.org>
1147         * objects/AADL/aadl.h : avoid redefinition warnings by #undef
1148         min, #undef max before local definitions
1149         * objects/AADL/aadl.h : more prototypes
1150         * objects/AADL/aadltext.c : for C89 declarations must be at the
1151         beginning of a block. And Dia *must* be compileable with C89.
1153         * objects/AADL/** objects/Makefile.am sheets/Makefile.am 
1154         configure.in : AADL plug-in from Pierre Duquesne. See
1155         http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
1156         for more information
1157         * sheets/AADL.sheet.in : from the above patch but modified 
1158         to become translatable like the other sheet files. That is: the
1159         french translation got temporary removed cause it does not belong here.
1161         * plug-ins/pgf/render_pgf.c : no C99/C++ comments please
1163         * app/app_procs.c app/diaconv.c : get rid of run-on sentences
1164         (Adam Weinberger, bug #325567)
1165         
1166         * app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
1167         and change some other to use <control><alt>. They collide with GTK's 
1168         Unicode input feature. Fixes bug #320495. For rationale see: 
1169         http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
1170         
1171         * app/display.c : pay attention to g_warnings() [should always run
1172         with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
1173         actually is a menu bar.
1174         
1175         * lib/diarenderer.c : the righthand calculation accidentially broke
1176         some arcs direction. Should be fixed again.
1177         
1178 2006-01-02  Hans Breuer  <hans@breuer.org>
1180         * app/display.c(new_display) : also append the Input Methods menu to 
1181         the diagram menubar. Fixes bug #308576.
1183         * lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
1184         freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
1186         * lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to 
1187         their localized name (with g_utf8_collate). Thus not relying on the 
1188         capabilities of the C libraries strcmp(). Fixes bug #160101.
1190         * lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
1191         point and width from the (arrow-)corrected new points. Otherwise a 
1192         whole new wrong arc may emerge. Fixes bug #312641.
1193         
1194 2006-01-01  Hans Breuer  <hans@breuer.org>
1196         * objects/custom/custom_object.c(cutom_update_data) : depending 
1197         on the handle moving let one scale (x or y) take precedence. 
1198         (bug #308515, Eric Deplagne)
1199         
1200         * objects/UML/class.c : only perform the attributes check with
1201         attributes visible to ged rid of false warnings
1202         * objects/UML/class_dialog.c : need to setup Connection::object
1203         after uml_attribute_new() and uml_operation_new(), again less
1204         warnings but bug #314153 still not fixed.
1206         * NEWS : updated
1208         * plug-ins/python/diasvg.py : more correct svg by also writing 
1209         xmlns="http://www.w3.org/200/svg"
1211         * plug-ins/python/dot.py : skip unconnected connection lines
1212         * plug-ins/python/Makefile.am : added dot.py
1214         * plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
1215         typos in comments
1217 2005-12-31  Hans Breuer  <hans@breuer.org>
1219         * objects/UML/class.[hc] objects/UML/class_dialog.c : removed the 
1220         caching of UMLClass::attributes_strings, operations_strings, 
1221         templates_strings.
1222         It was broken by the recent code restructuring in bug #303744 and
1223         - if necessary at all - nowadays it should be done on the 
1224         UMLAttribute, UMLOperation, UMLFormalParameter level anyway. 
1225         A small, much needed simplification of the code.
1227 2005-12-30  Hans Breuer  <hans@breuer.org>
1229         * objects/UML/class.c : Patch from Dave Klotzbach
1230         fixes crash bug #325151
1232         * app/app_procs.c : add command line parameter --nonew to allow
1233         avoiding the empty start-up diagram
1234         Also give a hint on where the object-libs were missing.
1235         Finally work around a misbehaviour upstreamm :
1236         g_option_context_parse() returning FALSE but not setting error.
1238         * app/commands.c app/app_diagram_tree.c app/interface.c :
1239         Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
1240         http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
1241         
1242         * lib/widgets.c : image file selection finally ported to the new
1243         gtk file chooser. Fixes bug #309383
1245 2005-12-28  Hans Breuer  <hans@breuer.org>
1247         * app/commands.c(file_new_callback) : convert to filename encoding before
1248         passing to new_diagram(), fixes bug #322400
1249         
1250         * app/interface.c(create_display_shell) : don't clip width on screen 
1251         height - now commited. Also lazy creation of tooltips.
1252         
1253         * objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
1254         
1255 2005-12-27  Hans Breuer  <hans@breuer.org>
1257         * app/diapsft2renderer.c(draw_bezier_outline) : only call
1258         FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
1259         Prefers no text output over crashing for bug #144212
1261         * app/interface.c : removed superfluous call to dia_canvas_set_size().
1262         Suggested by Roland Stigge, fixes bug #148149.
1264         * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
1265         DXF. It is not supported at all. Fixes bug #322101
1267         * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
1268         define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
1271 2005-12-27  Hans Breuer  <hans@breuer.org>
1273         * app/navigation.c : protect on_da_button_release_event() against being
1274         called twice. Also only popdown the navigation window after the first 
1275         draw (reusing nav->is_first_expose). Fixes bug #151696
1276         
1277         * app/interface.c(create_display_shell): don't clip width on screen height, 
1278         but height
1280         * lib/plug-ins.c : fixed typo in comment
1281         
1282         * lib/libdia.def : updated externals
1283         * lib/makefile.msc : build debug.obj
1285         * plug-ins/makefile.msc : building pgf in the right alphabetical order
1286         * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
1287         
1288 2005-12-08  Lars Clausen  <lars@raeder.dk>
1290         * app/authors.h: 
1291         * plug-ins/pgf/pgf.c: 
1292         * plug-ins/pgf/render_pgf.[ch]: 
1293         * plug-ins/pgf/Makefile.am: 
1294         * plug-ins/Makefile.msc: 
1295         * plug-ins/Makefile.am (SUBDIRS): 
1296         * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
1297         support for PGF output for including in (La)TeX documents that
1298         allows PDF generation.
1300         * samples/render-test.dia: Added samples of text in different
1301         sizes, standard fonts and styles with size markers.
1303 2005-12-04  Lars Clausen  <lars@raeder.dk>
1305         * lib/Makefile.am (gen_sources): Mark marshal files as generated.
1306         (BUILT_SOURCES): Added marshal files.
1308 2005-12-03  Lars Clausen  <lars@raeder.dk>
1310         * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
1311         about $(srcdir) and confusing everybody.
1313         * app/undo.c:
1314         * lib/diagramdata.c:
1315         * lib/diagramdata.h:
1316         * lib/diamarshal.list:
1317         * plug-ins/python/pydia-diagram.c:
1318         * plug-ins/python/pydia-diagramdata.c:
1319         * plug-ins/python/python-startup.py: Patch from David Johansson
1320         <david.lgj@gmail.com>: Add signals emitted when objects are
1321         inserted or removed.
1323 2005-11-13  Lars Clausen  <lars@raeder.dk>
1325         * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
1326         (small) buffer overflow by using g_strdup_printf instead of sprintf.
1328 2005-11-09  Lars Clausen  <lars@raeder.dk>
1330         * app/app_procs.c: 
1331         * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
1332         when reaching the statement is a bug.  Using g_critical and exit() for
1333         fatally wrong inputs.
1335         * objects/UML/uml.c: 
1336         * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
1337         Klotzbach): Fixes template rendering and converts home-brew inline
1338         doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
1339         into a dup.
1341 2005-11-07  Lars Clausen  <lars@raeder.dk>
1343         * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
1344         box' since several objects have problems of using bounding box in
1345         different ways (see bug #300055).  For now, enclosing box ==
1346         bounding box, but over time objects will learn to expand the
1347         bounding box to include things only rendered interactively.
1349         * app/modify_tool.c (modify_motion): Make sure highlight is reset
1350         when moving between overlapping objects.
1352         * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
1353         diagram after toggling to make red X's come and go.
1355         * lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
1356         it if you need faster rendering and aren't afraid of crashbugs:)
1358         * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
1359         (dave Klotzbach):  Fixes null pointer problems in free function.
1361         * objects/UML/class.c
1362         * objects/UML/class.h
1363         * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
1364         (dave Klotzbach): Make UML comments conform to UML 1.0 standard
1365         and allow multi-line comments. Ugly as hell, but standard.  Time
1366         for a 'Strict UML' option?  Fixes bug #303744.
1367         
1368         * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
1369         entry, exit and do descriptions to a state object.  Fixes bug #65434.
1371 2005-11-03  Lars Clausen  <lars@raeder.dk>
1373         * lib/arrows.c:
1374         * lib/attributes.c:
1375         * lib/autoroute.c:
1376         * lib/bezier_conn.c:
1377         * lib/boundingbox.c:
1378         * lib/color.c:
1379         * lib/connection.c:
1380         * lib/connectionpoint.c:
1381         * lib/dia_dirs.c:
1382         * lib/dia_image.c:
1383         * lib/dia_svg.c:
1384         * lib/dia_xml.c:
1385         * lib/diaarrowchooser.c:
1386         * lib/diaerror.c:
1387         * lib/diagdkrenderer.c:
1388         * lib/diagramdata.c:
1389         * lib/element.c:
1390         * lib/object.c:
1391         * lib/object.h:
1392         * lib/parent.c:
1393         Added documentation java-doc style.  Also a few trivial cleanups.
1394         
1395 2005-10-13  Lars Clausen  <lars@raeder.dk>
1397         * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
1398         in macros.
1400         * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
1402         * lib/Makefile.am:
1403         * lib/debug.[ch]:
1404         * lib/object.[ch]: 
1405         * objects/UML/class.[ch]: 
1406         * objects/UML/uml.h: 
1407         * objects/UML/umlattribute.c: 
1408         * objects/UML/umloperation.c: 
1409         * objects/UML/class_dialog.c: 
1410         Rework of the UML class attribute/operation handling.  Now doesn't
1411         copy connection points into the dialog data, but only the "flat"
1412         data.  As part of debugging made sanity check functionality.
1413         Currently still dies when deleting an attribute/operation that has
1414         a connection to it.
1416 2005-10-09  Hans Breuer  <hans@breuer.org>
1418         * lib/properties.h : prefer american spelling of colo(u)r for
1419         user visible strings - i.e. to be translated ones.
1420         * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
1421                                         ^
1422         * po/*.po : updated (by 'make distcheck')
1424 2005-10-09  Hans Breuer  <hans@breuer.org>
1426         * app/display.c : allow !"toolbox on top" without restart.
1427         (Chris Hellberg, bug #310702)
1429 2005-10-09  Hans Breuer  <hans@breuer.org>
1431         * lib/arrows.c : patch from Radek Krahl fixing the blanking
1432         of two arrowheads, bug #310157
1434 2005-10-08  Hans Breuer  <hans@breuer.org>
1436         * plug-ins/python/group_props.py : show a descriptive text instead of an 
1437         empty table if there are no common properties to change. Fixes bug #314432
1439 2005-10-08  Hans Breuer  <hans@breuer.org>
1441         * objects/UML/transition.c : inverted default direction of
1442         the direction. Patch from Peter Allin, fixes bug #318049
1443         [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
1445 2005-10-08  Hans Breuer  <hans@breuer.org>
1447         * app/Makefile.am objects/standard/Makefile.am : match the
1448         referenced icons to the needed. Make 'make distcheck' pass
1449         and thus fixes bug #312152
1451         * objects/standard/textobj.c : no C++ comments please!
1453 2005-10-08  Hans Breuer  <hans@breuer.org>
1455         * objects/standard/textobj.c : preserve the position set on create
1456         [makes e.g. text positioning of diasvg_import.py work]
1458         * plug-ins/python/diasvg_import.py : restrict what eval() can do
1459         with strings from svg files. Fixes the arbitrary code execution from 
1460         bug #317637
1461         
1462         * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
1463         magnetism. At least they are distinguishable from grid snapping.
1464         * app/makefile.msc app/Makefile.am : use them
1465         
1466         * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
1467         I also can't reproduce bug #309044 anymore (on win32).
1468         
1469 2005-10-01  Lars Clausen  <lars@raeder.dk>
1471         * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
1473         * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
1474         pass FILE * as gchar *.
1476         * lib/debug.[ch] (dia_assert_true): Debugging aids.
1478 2005-09-29  Lars Clausen  <lars@raeder.dk>
1480         * objects/UML/class.h: Enabling mainpoints for UML.
1482         * objects/UML/class.c (umlclass_set_props): Make sure to always
1483         realloc connection point list.
1485 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
1487         * configure.in: Added "id" in ALL_LINGUAS line.
1489 2005-09-14  Lars Clausen  <lars@raeder.dk>
1491         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
1492         loading.  Fixes bug #315427.
1494 2005-09-11  Hans Breuer  <hans@breuer.org>
1496         * objects/standard/arc.c objects/standard/textobj.c : fix
1497         C99isms, Dia is supposed to compile with C89 like msvc
1499         * app/makefile.msc : use the wrong center-point-magnetism
1500         icons for the win32 build, too.
1502         * plug-ins/python/pydia-error.c : dont crash on C escape
1503         sequences in the error string
1504         * plug-ins/python/pydia-render.c : dont free filename twice
1506         * plug-ins/python/dot.py : start of an exporter to DOT language
1507         which can be processed by www.graphviz.org tools
1509 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1511         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
1513 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1515         * configure.in: Added "eu" to ALL_LINGUAS.
1517 2005-09-04  Lars Clausen  <lars@raeder.dk>
1519         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
1520         dimensions frame to make ext_attributes work again.
1522         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
1523         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
1524         global prefs.
1526         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
1527         <dooms info ucl ac be>: Add vertical alignment for standard text
1528         object.  This should really be moved into lib/text.c and apply to
1529         all text objects.
1531 2005-09-03  Lars Clausen  <lars@raeder.dk>
1533         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
1534         mainpoint when snap-to-objects is not on.
1536         * app/Makefile.am (ICON_PNG_PAIRS): 
1537         Fake icons for snap-to-objects.
1539         * app/commands.[ch]: 
1540         * app/menus.c (menus_get_image_menubar): 
1541         * app/display.[ch]: 
1542         * app/interface.c (create_display_shell): 
1543         * app/create_object.c (create_object_button_release): 
1544         * app/disp_callbacks.c (ddisplay_drop_object): 
1545         * app/object_ops.[ch]: 
1546         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
1547         * app/modify_tool.c (modify_button_release): 
1548         * app/display.[ch]: 
1549         Togglable snap-to-objects, also doesn't snap when moving entire
1550         object.  This should be more reasonable in practical use, and can
1551         be turned off when you want to place your arrows more precisely.
1553 2005-08-06  Hans Breuer  <hans@breuer.org>
1555         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
1556         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
1557         becomes even more ugly when the user has choosen *not* to build 
1558         the diacairo plug-in. If noone can come up with a very convincing 
1559         reason why it has to be done this way I'll probably go back to 
1560         my original dont-build-at-all approach when this breaks the 
1561         next time.
1563 2005-08-02  Lars Clausen  <lars@raeder.dk>
1565         * objects/standard/arc.c: Patch from Grégoire Dooms
1566         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
1567         implementation.  "There is still a small bug when the non
1568         connected end of the arc is very close to the border of the
1569         connected object. I think this is due to rounding errors in the
1570         code for SHIFT-move handle which is reused to trim the arc in
1571         autogap. Also it is not yet possible to have a startgap and an
1572         endgap from/to the same central CP."
1574 2005-07-31  Hans Breuer  <hans@breuer.org>
1576         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
1577         longer for distributions official packages - depend 
1578         on cairo 0.6.0 - fixes bug #307144
1580 2005-07-20  Hans Breuer  <hans@breuer.org>
1582         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
1583         which must match PropDescription, that is make it at least compile.
1585 2005-07-19  Hans Breuer  <hans@breuer.org>
1587         * app/diagram.c(new_diagram) : what comes from g_object_new()
1588         MUST NOT be g_free()'d 
1590         * lib/message.h : added dia_message_filename() here as well.
1591         Mainly to not touch all files using. They *all* where using
1592         lib/message.h already! Maybe the implemantation should be moved
1593         to message.c as well cause the function has *nothing* to do
1594         with dynamic filename resolving. It is a wrapper around
1595         g_display_filename() mostly (only?) used for messages ...
1596         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
1598 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
1600         * objects/EML/instantiation.c (instantiation_load): 
1601         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
1602         * objects/ER/participation.c (participation_type): 
1603         * objects/FS/flow-ortho.c (orthflow_type): 
1604         * objects/GRAFCET/vector.c (arc_load): 
1605         * objects/standard/zigzagline.c (zigzagline_type): 
1606         * objects/UML/transition.c (transition_load): 
1607         * objects/UML/realizes.c (realizes_load): 
1608         * objects/UML/dependency.c (dependency_load): 
1609         * objects/UML/generalization.c (generalization_type): 
1610         * objects/UML/association.c (association_type): 
1611         * objects/UML/component_feature.c (compfeat_load): 
1612         Make autorouting deafult on except for old diagrams.
1614         * plug-ins/cairo/diacairo.c (export_data): 
1615         * plug-ins/cgm/cgm.c (export_cgm): 
1616         * plug-ins/dxf/dxf-export.c (export_dxf): 
1617         * plug-ins/dxf/dxf-import.c: 
1618         * plug-ins/hpgl/hpgl.c (export_data): 
1619         * plug-ins/metapost/render_metapost.c: 
1620         * plug-ins/pixbuf/pixbuf.c: 
1621         * plug-ins/pstricks/render_pstricks.c: 
1622         * plug-ins/python/pydia-render.c: 
1623         * plug-ins/shape/shape-export.c: 
1624         * plug-ins/svg/render_svg.c: 
1625         * plug-ins/svg/svg-import.c: 
1626         * plug-ins/wpg/wpg.c 
1627         * plug-ins/xfig/xfig-export.c: 
1628         * plug-ins/xfig/xfig-import.c: 
1629         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
1630         UTF-8 in message boxes.
1632 2005-07-18  Lars Clausen  <lars@raeder.dk>
1634         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
1635         to have their dimensions specified in properties.  Still needs to
1636         have proper update when setting properties cause constraint changes.
1638         * app/preferences.c (update_floating_toolbox): Allow
1639         toolbox_on_top setting to happen at once.
1641         * app/diagram.c
1642         * app/filedlg.c
1643         * app/load_save.c
1644         * app/render_eps.c
1645         * app/sheets_dialog_callbacks.c
1646         * lib/dia_dirs.c
1647         * lib/dia_dirs.h
1648         * lib/dia_xml.c
1649         * lib/diarenderer.c
1650         * lib/element.h
1651         * lib/object_defaults.c:
1652         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
1653         for displaying in messages - better than crashing!  Mostly fixes
1654         #310087.
1655         
1656         * objects/UML/class.c:  Save normal_font_height under the same
1657         name it gets loaded as.  Fixes bug #310515.
1659         * doc/en/authors.xml
1660         * doc/en/usage-customization.xml
1661         * doc/en/usage-objects-special.xml
1662         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
1663         #308315.
1665 2005-07-17  Lars Clausen  <lars@raeder.dk>
1667         * doc/en/usage-customization.xml: 
1668         * doc/en/usage-objects.xml: 
1669         * doc/en/authors.xml: 
1670         * doc/en/usage-objects-special.xml: Applied patch from
1671         stigge@antcom.de (Roland Stigge):  Diverse typos and
1672         misencodings.  Fixes bug #308315.
1674         * objects/UML/class.c (umlclass_save): Patch from
1675         i.pilcher@comcast.net: Save normal font height under correct name
1676         to reload it.  Fixes bug #310515.
1678 2005-07-10  Hans Breuer  <hans@breuer.org>
1680         * app/connectionpoint_ops.c app/object_ops.c : make the
1681         'whole object' connection point only center point again. 
1682         That is: it is visible and far less magnetic. Only the
1683         line gap handling make it special. For me this probably
1684         fixes bug #303301
1686         * lib/neworth_conn.c : apply the same as for bug #173031.
1687         This OrthConn fork got broken as well. Fixes bug #309381
1689         * app/makefile.msc objects/makefile.msc : adapt to icon changes
1691         * app/interface.c app/diagram_tree.c : a char** is still not 
1692         a char* and the win32 build is configured to error on 
1693         sloppiness like this
1695         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
1697 2005-07-10  Hans Breuer  <hans@breuer.org>
1699         [
1700           Take part in the toolbox icon redesign context! If you want to 
1701           make them really prettier, please keep the following in mind :
1702           - the size *must* be 22x22 otherwise button reflow will get broken.
1703             Or you need to change about 800 icons at once.
1704           - one important part of Dia are control points, so maybe the icons
1705             should reflect that. (IMO gathering random icons form other 
1706             apps wont work)
1707           - the icons should at least look consistent in their group
1708         ]
1710         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
1711         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
1713         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
1714         * objects/standard/pixmap/* : added arc.png beziergon.png 
1715         bezierline.png box.png ellipse.png image.png line.png polygon.png 
1716         polyline.png text.png zigzagline.png
1717         * objects/standard/Makefile.am : use the new icon set including
1718         text and arc ...
1720         * app/interface.c : remove the "will probably crash" debug spew
1722 2005-07-09  Lars Clausen  <lars@raeder.dk>
1724         * objects/standard/pixmaps/*.png:
1725         * objects/standard/Makefile.am:
1726         * objects/standard/*.c:
1727         * app/interface.c: 
1728         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
1729         new icons. [Slightly belated entry]
1731 2005-07-03  Hans Breuer  <hans@breuer.org>
1733         * app/diagram_tree.c : dont leak display name
1734         * app/app_procs.c : dont leak GOptionContext
1735         * app/prop_widgets.c(frame_beginprop_get_widget) : 
1736         Gtk api still not eating strings ...
1738         * objects/UML/class.c() : don't load properties once more 
1739         which are already loaded by StdProps. In case of strings 
1740         (data_string) it has even produced leaks.
1742         * app/paginate_psprint.c app/diagram.[hc] : the last
1743         of the related dialogs is gone and with it the 
1744         misconception of destroying widgets from 
1745         diagram::finalize()
1746         * app/display.c : ensure the diagram is still threre
1747         when we remove the display from it's list
1749 2005-07-01  Hans Breuer  <hans@breuer.org>
1751         * lib/widgets.c(dia_color_selector_more_callback): dont 
1752         free old_color twice
1754         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
1755         option. Thus linestyles can be preserved on export - at 
1756         least on NT based systems.
1758         * NEWS : clarify the wmf outside of windows issue
1760         * app/modify_too.c : fix C99ism
1762         * objects/standard/arc.c : debug spew optional at compile time
1764 2005-06-26  Hans Breuer  <hans@breuer.org>
1766         [ Cyrille would call it: warningectomy :-]
1768         * lib/font.c app/create_object.c : `...' might be used uninitialized
1769         in this function. Yes they were.
1770         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
1771         uninitialized in this function. Yes it was with textedit_activate_object()
1772         Also some static correctness.
1773         * lib/diarenderer.c:678: warning: no previous prototype for 
1774         `calculate_min_radius'. Made static.
1775         * lib/dia_svg.c : ptr is a gchar *
1776         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
1777         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
1778         * app/app_procs.c : confirm warning and make dump_dependencies() static
1779         * app/autosave.c : #if 0'd old stuff
1780         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
1781         * 
1782         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
1783           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
1784           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
1785           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
1786           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
1787           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
1788           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
1789           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
1790         removed unused variables and functions
1791         * objects/UML/umlattribute.c objects/UML/umloperation.c 
1792           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
1793         neither 'missing braces around initializer' nor 'initialization from 
1794         incompatible pointer type'
1795         * objects/UML/class_dialog.c : more static
1796         * app/interface.c : static and almost const correctness and some
1797         less unitialized variables.
1798         * app/diapsft2renderer.c : use (int) casts like the original 
1799         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
1800         * app/render_gdk.c: stop assignment from incompatible pointer type,
1801         make member functions match the prototype.
1802         * app/render_libart.c : Dito. Also stop caching the copy_gc in
1803         a static variable. Otherwise it finally leaks and also may cause 
1804         BadMatch with changing windows
1805         => warning count down from about 250 to about 60, one or two hand full 
1806            crash bugs less.
1808 2005-06-26  Hans Breuer  <hans@breuer.org>
1810         * lib/libdia.def : added dia_font_get_description, missing
1811         from my last commit
1813         * app/app_procs.c : use png_get_header_ver(NULL), that is:
1814         prefer function call over exported variable to get the 
1815         runtime version of libpng
1817 2005-06-19  Hans Breuer  <hans@breuer.org>
1819         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
1820         as suggested by Roland Stigge, bug #308310
1822 2005-06-19  Hans Breuer  <hans@breuer.org>
1824         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
1825         called anymore
1827 2005-06-18  Hans Breuer  <hans@breuer.org>
1829         * NEWS : mention new file dialog
1831         [plugged remaining leaks from bug #142669]
1832         * lib/prop_attr.c(fontprop_free) : not only unref the font
1833         but free the property itself, too. 
1834         * app/diagram_tree.c(create_diagram_children): remember the
1835         original list start to not only free the last element 
1837         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
1838         but not used. Here it meant a potentially huge leak.
1840 2005-06-18  Hans Breuer  <hans@breuer.org>
1842         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
1843         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
1844         for others, too. ( Roland Stigge, bug #144527 )
1846 2005-06-18  Hans Breuer  <hans@breuer.org>
1848         * plug-ins/wmf/Makefile.am : prevent installation. It 
1849         doesn't do anything useful on *NIX and even seems to be
1850         linked wrong by gcc (or me;). Fixes bug #172830 
1852 2005-06-18  Hans Breuer  <hans@breuer.org>
1854         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1855           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1856         in function declarations. 'f();' for a function without parameters is
1857         a C++ism. Though I can't get any of my compilers to warn about it.
1858         Finally fixes bug #142663.
1860 2005-06-18  Hans Breuer  <hans@breuer.org>
1862         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1863           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1864         in function declarations. 'f();' for a function without parameters is
1865         a C++ism. Though I can't get any of my compilers to warn about it.
1866         Finally fixes the rest of bug #142663.
1868 2005-06-18  Hans Breuer  <hans@breuer.org>
1870         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
1871         changes but doesn't hurt anyway. See bug #162034 
1872         * app/diapsft2renderer.c app/modify_tool.c 
1873           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
1874         instead of messing with internals
1875         * app/display.c : give interactive renderers more begin/end render. 
1876         It is guaranteed that the scale wont change between these.
1878 2005-06-18  Hans Breuer  <hans@breuer.org>
1880         * app/app_procs.c : const correctness for stderr_message_internal
1881         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
1882         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
1883         * app/disp_callbacks.c : don't dereference the to the function call
1884         when the function pointer in meant to be checked against 0
1885         * app/interface.c : warning fixes by using correct types
1886         * app/modify_tool.c : describe_props() members returns const pointer
1887         * app/render_libart.c : removed most of the render function again.
1888         They happily live in lib/dialibartrenderer.c since almost 3 years
1889         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
1890         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
1891         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
1892         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
1893         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
1894         Both mentioned in bug #159814 and not warned by most other compilers.
1895         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
1896         trailing colon in the GtkTypeInfo initialization
1897         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
1898         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
1899         between char and gint8
1900         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
1901         * plug-ins/wpg/wpg.c : consitently use guint8
1902         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
1903         redefinition warnings for python and xslt plug-ins
1905 2005-06-18  Hans Breuer  <hans@breuer.org>
1907         * lib/diagramdata.c : really get rid of diagram_data_destroy 
1908         and new_diagram_data [ no previous prototype for `...' is either
1909         a sign of missing static or of a function to vanish :-]
1911         * lib/geometry.c : apparently the G_INLINE stuff was working only
1912         with particular GLib version(s), glib-2.6.4 does not. Conditionally
1913         reverting to the old mecanics.
1915 2005-06-17  Hans Breuer  <hans@breuer.org>
1917         * plug-ins/python/pydia-*.c : include order tweaking to 
1918         get rid of redefinition warnings. Ensure to include <Python.h> 
1919         before any 'system' header, some dragged in by glib.h
1920         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
1921           pydia-properties.c(PyDiaProperties_Str)
1922           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
1923         use %p to format pointers
1924         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
1925         dont cast to float for %d
1926         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
1927         use correct pointer type
1928         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
1929         dont discard qualifier aka dont free const strings
1930         * plug-ins/python/pydia-properties.c : casts to PyCFunction
1931         * plug-ins/python/pydia-property.c : removed unused function,
1932         make ensure_quarks() static
1933         * plug-ins/python/pydia-render.c : removed unused vars, use
1934         the correct signature for begin_render
1935         (dia_py_renderer_finalize): pluged a leak
1936         => except -fno-strict-aliasing there is no warning left in 
1937            all of PyDia
1939 2005-06-12  Hans Breuer  <hans@breuer.org>
1941         * app/filedlg.c : really fix the file extension mismatch on export dialog
1942         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
1944 2005-06-11  Hans Breuer  <hans@breuer.org>
1946         * configure.in config.h.win32.h : mark as +cvs (should have been 
1947         done directly after the 0.94 release)
1948         * NEWS : attempt to summarize 2/3 year of development
1950         [ 
1951           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
1952           finally passes again
1953         ]
1954         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
1955         app/run_dia.sh --credits > THANKS => Segmentation fault
1956         * app/pixmaps/Makefile.am : added group.png and ungroup.png
1957         * Makefile.am : work around scrollkeeper bug
1958         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
1960         * po/*.po : 'noise' produced by make dist
1962 2005-06-10  Hans Breuer  <hans@breuer.org>
1964         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
1965         * objects/custom/custom_object.c : ... and use it to avoid 
1966         complains about missing attribute "show_background". It is 
1967         safe to leave this uninitialized. Same for flip_* and "text",
1968         the latter with comment cause it usually is *not* safe to do 
1969         it for the general case. Fixes remaining issues with bug #169006
1970         which where caused by an incompatible change in the shape file.
1972         * app/commands.c : use "gnome-open" instead of "netscape" as
1973         fallback for $BROWSER not set. Still not optimal but better
1974         to try some common desktop tool than an obsolete browser;)
1975         Fixes bug #307142. Also some whitespace changes.
1977         * app/interface.c(toolbox_delete): avoid random return value.
1978         Patch from Stanislav Brabec, fixes bug #307143
1980         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
1981         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
1982         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
1984 2005-06-06  Lars Clausen  <lars@raeder.dk>
1986         * app/diagram.c: 
1987         * app/modify_tool.c:
1988         * app/textedit.[ch]:
1989         Better support for text edit highlight.
1991         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
1992         the mainpoint extra visible.
1994 2005-06-02  Lars Clausen  <lars@raeder.dk>
1996         * objects/UML/class_dialog.c:
1997         * objects/UML/class.[ch]:
1998         The final fixes for mainpoint on UML Class.
2000         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
2001         Ian Redfern, now in color and with mainpoints!  Very pretty!
2003 2005-06-02  Hans Breuer  <hans@breuer.org>
2005         * objects/UML/class_dialog.c : the memory managment with respect to
2006         attribute/operation connections was/is a mess. But it should work again ;)
2008         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
2009         directly from the UML Specification - to show the power of Dia and 
2010         some weakness. Watch the bug reports following ;)
2012 2005-06-01  Hans Breuer  <hans@breuer.org>
2014         * app/dia.def : export diagram_update_connections_object
2015         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
2016         Patch from Paolo Bernardi, together with the property setting closes bug #300572
2018 2005-06-01  Hans Breuer  <hans@breuer.org>
2020         * plug-ins/python/pydia-property.c : complete refactoring of property 
2021         setting, now also supports setting of property arrays
2022         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
2023         Python namespacing conventions
2024         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
2025         complete UML Classes with attributes and operations
2026         * plug-ins/python/otypes.py : now also show the properties of the objects
2028         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
2029         (pointers), they might be changed with attributes and opertions changing
2031         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
2032         were broken. Apparently noone used them before.
2034         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
2035         which only operate on the DiagramData to the latter file. To get on the DiagramData
2036         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
2037         but I don't know how to reflect that in the bindings. And for backward compatibility 
2038         there also is the 'data' member.]
2040         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
2041           objects/UML/umlparameter.c : describe enums with PropEnumData
2043         * app/commands.c(view_show_all_callback) : if there is something selected show 
2044         that instead of all exisiting objects. If there is noting or all selcted it 
2045         "Show all" shows the old behaviour.
2047         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
2048         leaks and use less allocations caused by misguided API. Also some adaption to common 
2049         coding style
2051         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
2053         * app/makefile.msc : added new icons and build as console app while 
2054         not releaseing to the general public
2056         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
2057         and keep a refernce when storing the a font from style="" in s.font. This should
2058         finally allow to have shapes with fully predefined text (and no 'random' crashes)
2060         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
2061         capable to interpret it's output
2063 2005-05-31  Lars Clausen  <lars@raeder.dk>
2065         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
2067 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
2069         * configure.in: Added ne in ALL_LINGUAS
2071 2005-05-24  Lars Clausen  <lars@raeder.dk>
2073         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
2074         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
2075         anyway. 
2077 2005-05-23  Lars Clausen  <lars@raeder.dk>
2079         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
2081 2005-05-21  Lars Clausen  <lars@raeder.dk>
2083         * lib/diaarrowchooser.c: 
2084         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
2085         'infinite' line (three dots) arrowhead.  Fix line length in arrow
2086         preview.  And fix typo.  Fixes bug #303904. 
2088 2005-05-20  Hans Breuer  <hans@breuer.org>
2090         * lib/text.c : advice from valgrind and data_string() review:
2091         neither g_free() memory on the stack
2092         * objects/GRAFCET/boolequation.c : ... nor const strings 
2093         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
2094         wants to be freed
2096         * app/diagram.c : a g_object_ref() following g_object_new() is almost
2097         always wrong. Why would we need two refernces?
2098         * app/app_procs.c : same here.If it crashes later on someone is dropping
2099         refernces he does not own, and *that* needs to be fixed. This is reverting
2100         "Remember to ref g_object_new'd object" (bug #170972) below, which 
2101         causes more harm (leaking, hiding bugs elsewhere) than good.
2103         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
2104         diagramdata_destroy() which was only a wrapper to g_object_unref()
2106         * app/display.c(selection_changed) : don't g_strdup_printf() without
2107         g_free() later /or/ a C++ comment of me mostly denotes an error
2109         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
2111         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
2112         const gchar* entry it must not eat memory, added a lot of g_free() and
2113         some const. Fixed a bunch - i.e. *all* - warnings.
2114         * lib/widget.h : removed unused/deleted functions
2116         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
2117         avoid 'Invalid write of size 4', no luck yet
2119 2005-05-19  Lars Clausen  <lars@raeder.dk>
2121         * objects/UML/class.c: 
2122         * objects/UML/class.h: 
2123         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
2124         for uml class object.  #ifdef'd out right now.
2126 2005-05-18  Lars Clausen  <lars@raeder.dk>
2128         * objects/standard/line.c: Make line adjust its actual endpoints
2129         for autogap -- looks and feels better.
2131         * objects/standard/arc.c: 
2132         * lib/geometry.h: 
2133         * app/modify_tool.c: Patch from Grégoire Dooms
2134         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
2135         shifted arc angle movement.
2137 2005-05-16  Hans Breuer  <hans@breuer.org>
2139         * lib/widget.c : variable declarations need to be at the start of a block,
2140         at least as we are not using C++ or C99
2142         * plug-ins/python/pydia-property.c : implment the read part for Property
2143         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
2144         They are working quite well as can be seen with export-object.py
2146         * plug-ins/python/codegen.py : prove it once more with the generation of C++
2147         or Python code from an UML Diagram. Simply save as .py or .cxx ...
2148         * plug-ins/python/Makefile.am : install it
2150 2005-05-16  Lars Clausen  <lars@raeder.dk>
2152         * app/pixmaps/{un}group.png: 
2153         * app/Makefile.am (ICON_PNG_PAIRS): 
2154         * app/menus.c (display_menu_items): 
2155         New icons for grou/ungroup finally added, closing bug #105519.
2157         * app/Makefile.am: Dependencies for pixmaps.
2159         * app/pixmaps/connectable.png: An icon that actually makes sense
2160         for switching connectability.
2162 2005-05-15  Hans Breuer  <hans@breuer.org>
2164         * lib/group.c object/UML/classicon.c : fixed leftovers of
2165         'Adding connectionpoint to _move_handle
2167         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
2168         is *ALWAYS* a memory leak. Plug some more.
2170         [
2171          In preparation to make UML operations/attributes/parameters setable by Python
2172          UML class became more StdProp conformant. A nice experience to be the first 
2173          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
2174         ]
2175         * objects/UML/umlattribute.c objects/UML/umloperation.c 
2176           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
2177         split from objects/UML/uml.c and made StdProp aware
2178         * objects/UML/class.c : finally make "attributes", "operations", "templates"
2179         <template parameters> first class StdProps citizens.
2180         (umlclass_load) : removed hand-written parsing for the above, it is all done
2181         by object_load_props() now. The old write code is still in place, so be very
2182         careful when changing something - at the moment load/save it is 100% compatible 
2183         as it needs to be.
2184         * objects/UML/uml.c : now just type registration here, as it is supposed to be
2185         * objects/UML/Makefile.am objects/makefile.msc : build the new files
2187         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
2188         in-record offsets
2189         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
2190         (darray_prop_adjust_object_records) : don't loop forever
2191         (whole file) : use the new (working) way to get on the second level offsets.
2192         Also resolved some abbreviations, it is complicated enough without them ;)
2193         * lib/proplist.c : even complete list contents may be optional
2195 2005-05-15  Hans Breuer  <hans@breuer.org>
2197         * lib/bezier_conn.c(remove_handles) : don't try to remove 
2198         non-exisitng handles (patch from Radek Krahl, bug #302273)
2200 2005-05-15  Hans Breuer  <hans@breuer.org>
2202         * plug-ins/metapost/render_metapost.c : locale independent output
2203         (Radek Krahl, bug #301866)
2205 2005-05-12  Lars Clausen  <lars@raeder.dk>
2207         * shapes/Cisco/*.{shape,png}:
2208         * sheets/cisco*.sheet.in:
2209         Updated with color icons from Ian Redfern, closing bug #303889.
2210         Added automatic midpoints, not attempt at adjusting them.
2212 2005-05-11  Lars Clausen  <lars@raeder.dk>
2214         * many shapes:  Use mid of bounding box for midpoint, better than
2215         mid of connection points generally.
2217 2005-05-10  Lars Clausen  <lars@raeder.dk>
2219         * lib/widgets.c: Decided on one way for the ratio thing in arrow
2220         size selector:  Fixed ratio is on by default and keeps the sizes
2221         at the given ratio, but doesn't clamp them to be the same.  Fixes
2222         bug #302861.
2224         * lib/font.c: Fix for bug #303695: Allow more than one entry of
2225         each legacy name, thereby correctly encoding bold and italic of
2226         the three main fonts.  Also use | rather than || to combine slant
2227         and weight, so matching works.  Had to remove binary search for
2228         new font name, but the list is short enough it's not a problem.
2230 2005-05-09  Lars Clausen  <lars@raeder.dk>
2232         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
2234 2005-05-08  Hans Breuer  <hans@breuer.org>
2236         * objects/UML/class.c : Reverted to have no center point.
2237         At first it looked as if there was only the bug to not increase
2238         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
2239         potentially much more dynamic connection points (to the left
2240         and right of every attribute/operation). Now simply adding one
2241         between see static and dynamic will screw up any existing diagram
2242         which makes use of the dynamic connection points. The would all
2243         be connected with an off-by-one error. I have no idea how to
2244         code around that. But breaking backward compatibility is no 
2245         option here. Does not completely fix bug #303301 ...
2246         
2247         * lib/widget.c(dia_font_selector_set_font): actually set the options 
2248         menu state. So we are not any longer resetting the font style on Apply.
2249         Use "UML - Class" dialog as stress text example.
2251         * app/command.c : some people insist to close diagrams already
2252         closed using tear-off menus. Maybe we should add a dialog 
2253         "Do you want to call Dr. Watson now?". If there is no diagram
2254         to close anymore just do nothing, fixes bug #303221
2255         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
2256         Calling this with no display to close is a pathological case.
2258         * app/diagram.[hc] : moved object.h and other DiaObject stuff
2259         to the implementation in preparation of Big Things(tm)
2261         * app/interface.c : less warnings and make it compile. strncmp()
2262         does not take a char**, neither does gdk_pixbuf_new_from_inline().
2264         * objects/makefile.msc plug-ins/makefile.msc : less output
2266 2005-05-08  Lars Clausen  <lars@raeder.dk>
2268         * lib/orth_conn.c (orthconn_init): The right place to set the
2269         default autorouting value.  Fixes bug #303291.
2271         * app/display.c (ddisplay_close): Patch from Radek Krahl
2272         (ptasz3k@o2.pl):  Fix crash when using from detached menu
2273         (#303221)
2274         
2275 2005-05-07  Lars Clausen  <lars@raeder.dk>
2277         * lib/orth_conn.c (orthconn_load): Autorouting should default to
2278         off in diagrams that don't have it explicitly.  All diagrams
2279         should be explicit about it.
2281 2005-05-06  Hans Breuer  <hans@breuer.org>
2283         * app/samples/Self/*.dia : some UML diagrams describing Dia's
2284         inner working (or it's future;)
2286 2005-04-26  Lars Clausen  <lars@raeder.dk>
2288         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
2289         change to display of mainpoint to be easier to debug autogenerated
2290         ones. 
2292 2005-04-23  Hans Breuer  <hans@breuer.org>
2294         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
2295           plug-ins/python/pydia-properties.h : use lib/ prefix for
2296         Dia internal headers with too common names (fixes bug #173061)
2298         * app/display.c : stop special casing the first display of
2299         a diagram. Every display now has it's own refernce. The initial
2300         reference gets dropped when there is no display anymore. See
2301         diagram_remove_ddisplay(). Fixes bug #300744.
2303         * app/diapsft2renderer.c : locale independent output
2304         (Radek Krahl, bug #300847)
2305         * app/paginate_psprint.c :  fixing use of setlocale() calls
2306         (Radek Krahl, bug #300886)
2307         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
2308         (Radek Krahl, bug #300889)
2310         * objects/UML/class.c : fix another crash with the line 
2311         wrapping code (Gabor Simon, bug #160865)
2313         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
2314         issue (or is this working around a libpixman bug?;)
2316 2005-04-21  Lars Clausen  <lars@raeder.dk>
2318         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
2320         * shapes/**/*.shape: All shapes now have midpoints.
2322 2005-04-20  Lars Clausen  <lars@raeder.dk>
2324         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
2325         (Radek Krahl): Make sure there's enough handles for the line.
2326         Fixes bug #173031.
2328         * objects/UML/node.c (node_draw): Better drawing method avoids
2329         garbage after moving.  Fixes bug #301032.
2331 2005-04-17  Hans Breuer  <hans@breuer.org>
2333         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
2334         changes (whould compile with current cvs and 0.(3|4).0
2336 2005-04-11  Lars Clausen  <lars@raeder.dk>
2338         * xmldocs.make (all): Fix to put installed docs in right place
2339         under disable-gnome.
2341         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
2342         only for dia.dbk.
2344         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
2345         (Leonardo Boshell): Use standard gnome help if called with Gnome.
2347         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
2348         locale issues for eps output.  Fixes bug #173135.
2350 2005-04-10  Hans Breuer  <hans@breuer.org>
2352         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
2353         changes (somewhat broken)
2354         
2355         * plug-ins/pstricks/render_pstricks.c : still C89 ...
2356         * objects/custom/shape_info.c : ... but with prototypes
2357         
2358 2005-04-07  Lars Clausen  <lars@raeder.dk>
2360         * lib/dia_xml.c: 
2361         * plug-ins/svg/render_svg.c: 
2362         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
2363         Make decimal separators be correct in save file formats
2364         (non-localized).  Fixes bugs #172529 and 172531.
2366 2005-04-06  Lars Clausen  <lars@raeder.dk>
2368         * app/create_object.c (create_object_button_release): 
2369         * app/modify_tool.c (modify_button_release): Correct activations
2370         of text edits.
2372 2005-04-05  Simon KÃ¥gström  <ska@bth.se>
2374         * app/app_procs.c: the --show-layers option can now handle numeric
2375         ranges of layers.
2377 2005-04-05  Lars Clausen  <lars@raeder.dk>
2379         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
2380         (Tom Kast): Avoid blockiness caused by bad updates.
2382 2005-04-03  Lars Clausen  <lars@raeder.dk>
2384         * lib/polyshape.c: 
2385         * lib/beziershape.c: Main points.  A crude solution, having the
2386         center in the middle of the bb.  Shows a bug in the distance_from
2387         code for polyshape when a side is horizontal.
2389 2005-04-02  Lars Clausen  <lars@raeder.dk>
2391         * plug-ins/pstricks/render_pstricks.c: 
2392         * plug-ins/xfig/xfig-export.c: Patch from Radek
2393         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
2395 2005-04-02  Hans Breuer  <hans@breuer.org>
2397         * lib/dia_image.c(dia_image_filename) : return the path 
2398         again. (bug #172416, Radek Krahl)
2399         
2400 2005-04-01  Steve Murphy  <murf@e-tools.com>
2402         * configure.in: Added "rw" to ALL_LINGUAS.
2404 2005-03-31  Lars Clausen  <lars@raeder.dk>
2406         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
2408         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
2409         autorouting.  
2411         * objects/network/basestation.c: Main points.
2413 2005-03-27  Hans Breuer  <hans@breuer.org>
2415         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
2416         * app/pixmaps.h : removed arrow.xpm
2417         * lib/Makefile.am : added diamarshal
2418         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
2419         => makes 'make dist' pass and produce a useable package
2421         * po/*.po : 'noise' profuced by make dist
2423 2005-03-24  Lars Clausen  <lars@raeder.dk>
2425         * objects/flowchart/parallelogram.c (pgram_update_data): 
2426         * objects/flowchart/ellipse.c (ellipse_update_data): 
2427         * objects/flowchart/diamond.c (diamond_update_data): 
2428         * objects/flowchart/box.c (box_update_data): Main points.
2430         * objects/custom/custom_object.c (custom_create): 
2431         * objects/custom/shape_info.h: 
2432         * shapes/Assorted/square.shape: 
2433         * objects/custom/shape_info.c (load_shape_info): 
2434         * doc/shape.dtd: Added main point support to shapes, and an
2435         example of how to use it.
2437 2005-03-21  Lars Clausen  <lars@raeder.dk>
2439         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
2440         unnormalize from same point as you normalize, or else!
2442 2005-03-20  Lars Clausen  <lars@raeder.dk>
2444         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
2445         Remember to ref g_object_new'd object.
2447 2005-03-19  Hans Breuer  <hans@breuer.org>
2449         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
2450         have configurations, fixes bug #170962
2452         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
2453         or better not used any longer. Fixes bug #169142.
2455         * lib/element.c(element_update_connections_rectangle): don't initialize 
2456         the eighth point twice but instead the nineth once
2458         * objects/standard/bezier.c : no C++ comments *please*
2460         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
2462         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
2463         * plug-ins/python/pydia-image.c : ... so, don't do it!
2465         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
2466         also named colors via pango_color_parse()
2468         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
2470         * lib/libdia.def : updated externals
2472         * app/object_ops.c : still not C99 everywhere
2474 2005-03-19  Hans Breuer  <hans@breuer.org>
2476         * lib/autoroute.c : at least it should compile ;)
2477         
2478 2005-03-19  Lars Clausen  <lars@raeder.dk>
2480         * lib/autoroute.c: Orthconns now do autogap.
2482 2005-03-17  Lars Clausen  <lars@raeder.dk>
2484         * app/authors.h: Added Gregoire Dooms for gap stuff.
2486         * objects/standard/polyline.c: Patch from Grégoire Dooms
2487         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
2488         
2489         * objects/standard/bezier.c: Patch from Grégoire Dooms
2490         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
2491         property. 
2492         
2494         * objects/UML/state_term.c: 
2495         * objects/UML/large_package.c: 
2496         * objects/UML/node.c: 
2497         * objects/UML/object.c: 
2498         * objects/UML/small_package.c: 
2499         * objects/UML/state.c: 
2500         * objects/UML/usecase.c: 
2501         * objects/UML/note.c: 
2502         * objects/UML/actor.c: 
2503         * objects/UML/classicon.c: 
2504         * objects/UML/component.c: 
2505         * objects/Misc/analog_clock.c: 
2506         * objects/Jackson/requirement.c: 
2507         * objects/Istar/goal.c: 
2508         * objects/Istar/actor.c: 
2509         * objects/FS/function.c: 
2510         * object/standard/box.c:
2511         * objects/ER/entity.c: 
2512         * objects/ER/relationship.c: 
2513         * objects/ER/attribute.c: Main points added.   Distance_from fixed
2514         in attribute, broken in relationship, I* goal, Jackson
2515         requirement, analog_clock, all non-rectangular UML elements, 
2517         * lib/libdia.def: 
2518         * lib/element.[ch]: New method to help update connection points.
2520         * app/menus.c: Change Help/Manual to Help/Contents to follow
2521         standard.
2522         
2523         * objects/standard/line.c:
2524         * lib/geometry.[ch]: 
2525         * objects/standard/bezier.c: Patch from Grégoire Dooms
2526         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
2527         bezier objects.   Autogap nowchanged to be a function of the
2528         connpoints.
2530         * lib/libdia.def: 
2531         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
2532         autogap flag.
2534         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
2535         CP_FLAG_ANYPLACE connpoints.
2537 2005-03-16  Lars Clausen  <lars@raeder.dk>
2539         * app/interface.c (create_tools): Removed debug printf.
2541 2005-03-15  Lars Clausen  <lars@raeder.dk>
2543         * lib/widgets.[ch]: Constification.
2545         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
2546         working yet.
2548         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
2550         * lib/connectionpoint.h: Flags for connection points.
2552         * app/create_object.c (create_object_motion): 
2553         * app/modify_tool.c (modify_motion): Minor refactoring.
2555         * app/object_ops.c (object_find_connectpoint_display): Extend with
2556         finding connpoints that cover entire objects.
2558         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
2560         * objects/custom/custom_object.c (custom_setup_properties): Avoid
2561         uninitialized use.
2563 2005-03-13  Hans Breuer  <hans@breuer.org>
2565         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
2567 2005-03-13  Hans Breuer  <hans@breuer.org>
2569         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
2570         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
2571         dia_svg_style_copy(), dia_svg_style_init()
2573         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
2574         moved out of this)
2576         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
2577         not wrapped in the style attribute
2579         * plug-ins/svg/svg-import.c : implement nested group handling and style
2580         'style inheritance'. Still no transformations, no <image/>, no <style/> 
2581         <defs/>...
2583         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
2584         the latter is for programmers.
2585         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
2586         namespace is defined in the file search for the top node including svg. This
2587         allows us to re-read the svg part of our own shape format.
2589         * lib/libdia.def : there is no give_focus_to_object
2590         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
2591         type as an expression
2593         * lib/geometry. c : use G_IMPLEMENT_INLINES
2594         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
2596         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
2597         gone when trying to remove the focus
2599         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
2600         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
2601         case of this plug-in, i.e. producing output files]
2603 2005-03-13  Lars Clausen  <lars@raeder.dk>
2605         * lib/Makefile.am (BUILT_SOURCES): 
2606         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
2607         the building of the icons header files.
2608         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
2610 2005-03-13  Hans Breuer  <hans@breuer.org>
2612         * configure.in : require Cairo 0.3.0
2613           plug-ins/cairo/diacairo.c : changed to match ;-)
2615         * app/app_procs.c() : new function dump_dependencies()
2616         which gets called by: dia --version --verbose
2617         and may help to track version dependent problems in
2618         our dependencies
2620         * lib/font.c : reverted to previous version cause using
2621         not implemented Pango API did not improve the issue.
2622         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
2623         for more information.
2625         * lib/dialinechooser.c : a little shrinking of the 
2626         initial size (to work around line wrappjing the right 
2627         arrow control)
2629 2005-03-11  Lars Clausen  <lars@raeder.dk>
2631         * app/textedit.c: Concentrate start/end editing in single functions.
2633 2005-03-10  Lars Clausen  <lars@raeder.dk>
2635         * lib/text.h: 
2636         * lib/object.h: Added new object function to allow the object to
2637         be notified when its text is being edited.
2639         * lib/libdia.def: 
2640         * app/modify_tool.c: 
2641         * app/commands.c: 
2642         * app/textedit.c: 
2643         * lib/focus.c: Remove sideeffects from focus objects, add getter
2644         for focus->obj.
2646 2005-03-09  Lars Clausen  <lars@raeder.dk>
2648         * lib/Makefile.am (dia-lib-icons.h): 
2649         * app/Makefile.am: Minor cleanup.
2651 2005-03-06  Hans Breuer  <hans@breuer.org>
2653         * app/app_procs.c : avoid "assignment within conditional expression"
2654         and handle -L for the GOption case as well.
2656         * lib/widget.c : strchr() does not return -1 on not found but NULL;
2657         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
2658         indirection from 'const int '
2660         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
2661         large_arc, thus produce correct arc output (like diasvg.py does;),
2662         fixes bug #144401
2664         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
2665         from objects/custom/shape_info.c to be shared with object/custom and
2666         plug-in/svg -> finally the C based svg-import reads pathes again.
2667         Added arc parsing while I was there, which fixes bug #169191
2668         * objects/custom/shape_info.c(parse_path) : 
2669         * plug-ins/svg/svg-import : reuse above function
2670         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
2671         But in general this does only support a small subset of what is 
2672         possible in SVG.
2674 2005-03-06  Lars Clausen  <lars@raeder.dk>
2676         * objects/UML/association.c: Patch from Dave Klotzbach applied:
2677         Add visibility to association arrow.  Fixes bug #157012.
2679         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
2680         closing bug #161040.
2682         * app/layer_dialog.c (create_button_box): Use stock icons instead
2683         of homemade onces.  Gets us rid of four more XPMs.
2685 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
2687         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
2688         This option permits command line control of which layers are visible.
2689         Useful when automatically exporting multiple versions of the same
2690         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
2691       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
2692         and made it static since its only used in that file.
2693         * app/authors.h: added myself
2694         * doc/en/dia.1: documented the switch
2695         * doc/en/usage-layers.xml: ditto
2696         
2697 2005-03-05  Alan Horkan <horkana@tcd.ie>
2699         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
2700         this restores how Dia behaved before the GTK2 port and seems to help 
2701         allow the toolbox to be more easily resized.  Bug #108891.
2703 2005-03-05  Lars Clausen  <lars@raeder.dk>
2705         * Civil/civil_motor.shape:
2706         * Civil/civil_rotor.shape:
2707         * Logic/and.shape:
2708         * Logic/buffer.shape:
2709         * Logic/connector.shape:
2710         * Logic/inverter.shape:
2711         * Logic/nand.shape:
2712         * Logic/nor.shape:
2713         * Logic/not.shape:
2714         * Logic/or.shape:
2715         * Logic/xor.shape:
2716         * shapes/Assorted/arrow-left-up.shape: 
2717         * shapes/Assorted/heptagon.shape: 
2718         * shapes/Assorted/star5.shape: 
2719         * shapes/Assorted/trapezoid.shape: 
2720         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
2721         defaults, see bug #169143.
2723         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
2725         * configure.in: 
2726         * doc/en/Makefile.am: Finally figured out the right way to ask for
2727         the manpage xslt.  Closes bug #144539.
2729 2005-03-01  Lars Clausen  <lars@raeder.dk>
2731         * lib/Makefile.am (nodist_include_HEADERS): 
2732         * app/Makefile.am: Correctly generate these files from PNGs with
2733         automake.
2735         * lib/widgets.h: 
2736         * lib/libdia.def:
2737         * lib/widgets.c: Refactor toggle button factory to allow inline
2738         data.
2740         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
2742         * app/makefile.msc (ICON_PNG_PAIRS): 
2743         * app/dia-app-icons.h: Updated with more icons.
2745         * lib/Makefile.am: 
2746         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
2747         from pngs.
2749         * app/interface.c (create_display_shell): 
2750         * app/layer_dialog.c (dia_layer_widget_init): 
2751         * lib/dia_image.c (dia_image_get_broken): Use inlined data
2752         generated from png.
2754         * app/display.c (ddisplay_close): Removed unused includes.
2756 2005-03-01  Lars Clausen  <lars@raeder.dk>
2758         * app/sheets.c (create_object_pixmap): Create a placeholder image
2759         for when the real image is missing.  Better than crashing:)
2760         Closes bug #166786.
2762 2005-02-25  Hans Breuer  <hans@breuer.org>
2764         * app/app_procs.c : don't requets to open a default display with
2765         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
2767 2005-02-22  Lars Clausen  <lars@raeder.dk>
2769         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
2770         Fixes bug #168125.
2772 2005-02-19  Lars Clausen  <lars@raeder.dk>
2774         * app/menus.c (display_menu_items): Applied patch from bug #94019:
2775         Menu cleanup and addition of icons.  Also a few additional stock
2776         icons. 
2778         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
2779         the layers dialog.
2781 2005-02-14  Lars Clausen  <lars@raeder.dk>
2783         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
2785 2005-02-13  Lars Clausen  <lars@raeder.dk>
2787         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
2788         width.  Seems to work.  Once tested some more, needs old code
2789         removed. 
2791         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
2792         warning by escaping & properly.
2794 2005-02-06  Lars Clausen  <lars@raeder.dk>
2796         * app/filedlg.c (file_export_callback): Set correct extension as
2797         soon every time the dialog is shown.  Fixes bug #162535.
2799         * app/display.c (ddisplay_set_origo): Use more standard
2800         transformations.
2802         * app/modify_tool.c (modify_motion): 
2803         * app/create_object.c (create_object_motion): Put coordinates of
2804         handle/object in status bar while moving. Fixes bug #163164.
2806 2005-02-03  Lars Clausen  <lars@raeder.dk>
2808         * lib/.cvsignore: Added generated files diamarshal.[ch]
2810 2005-02-02  Lars Clausen  <lars@raeder.dk>
2812         * configure.in: Add GLIB_GENMARSHAL def as suggested in
2813         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
2814         Now compiles on Linux.
2816 2005-02-01  Lars Clausen  <lars@raeder.dk>
2818         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
2819         need to translate the empty string.  Especially not after
2820         g_assert_not_reached().  Fixes bug #165966.
2822 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
2824         * objects/UML/activity.c : add fill- and line-colour properties
2825         [applied by Hans Breuer, fixes bug #163260]
2827 2004-01-28  Hans Breuer  <hans@breuer.org>
2829         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
2830         update provided by Alan Horkan (fixes bug #159592)
2832 2004-01-28  Hans Breuer  <hans@breuer.org>
2834         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
2835         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
2836         generalization, dependancies, parameterized classes ...
2837         * plug-ins/xslt/styleshetts.xml : refernce it
2838         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
2840 2004-01-28  Hans Breuer  <hans@breuer.org>
2842         * objects/UML/transition.c : fill out the extra_spacing struct 
2843         in the OrtConn member, in order to avoid artifacts when draggin 
2844         the transition. (patch by Peter Allin, bug #144956)
2846 2004-01-15  Hans Breuer  <hans@breuer.org>
2848         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
2849         to something differnt than 0. Apparently there are case where Dia misses
2850         to appropriately set it before requesting a dashed line (simple line with
2851         arrow as described in bug #151716)
2853         * lib/dia_dirs.c : special casing for drive letters which I broke with
2854         the previous change
2856 2005-01-13  Hans Breuer  <hans@breuer.org>
2858         * app/interface.c(create_sheet_page) : remved dead long time code
2860         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
2861         it is availbale via header - which is the better style anyway
2863 2004-12-31  Hans Breuer  <hans@breuer.org>
2865         * lib/dia_dirs.c(dia_get_canonical_path) : complete
2866         rewrite to handle something like /mnt/some/where/../else
2867         too. Workaround for bug #162637.
2868         * app/filedlg.c : call gtk_file_chooser_set_current_name()
2869         to workaround gtk_file_chooser_set_filename() not setting
2870         it if the file does not exist
2872         * sheets/Jackson.sheet.in app/menus.c : fixed typos
2873         (Frank Arnold, bug #161676)
2875 2004-12-31  Steffen Macke <sdteffen@gmail.com>
2877         * doc/pl/*.xml: Added XML prolog
2878         * makefile.msc: Added libxslt, fixed libxml, libart
2880 2004-10-29  Alexander Shopov  <ash@contact.bg>
2882         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2884 2004-12-29  Lars Clausen  <lars@raeder.dk>
2886         * configure.in: Make gnomeprint be truly off by default (typo) and
2887         show optional compilation correctly.
2888         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
2890 2004-12-22  Hans Breuer  <hans@breuer.org>
2892         * lib/widgets.c : destroy handlers can be called more than once, 
2893         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
2895         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
2896         
2897         * app/display.c : temporary debug code showing the
2898         timing the rendering
2900         * app/dialibartrenderer.c(draw_string) : removed dead
2901         code loading and leaking font and face
2903 2004-12-15  Hans Breuer  <hans@breuer.org>
2905         * app/display.c : actually use the selction-changed signal for something
2906         useful. Show selections representation on statusbar.
2907         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
2908         * app/diagram_tree.c : use new function (as in app/display.c) and only
2909         poke into property internals at one place
2910         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
2911         complains
2913 2004-12-12  Hans Breuer  <hans@breuer.org>
2915         * lib/libdia.def app/dia.def : updated externals
2917         * objects/custom/custom_object.c : custom_destroy is called per object. 
2918         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
2919         reference to it. Fixes e.g. bug #158288, #160550, ...
2921         * objects/UML/association.c(association_draw) : completed porting to
2922         draw_polyline_with_arrows()
2923         (association_update_data_end) : fixed typo in point compare
2924         (association_update_data) : for name placement take degenerated 
2925         segements into account. Together this fixes bug #143891
2927 2004-12-11  Hans Breuer  <hans@breuer.org>
2929         * lib/widgets.c(set_size_sensitivity) : revert inverted
2930         logic for arrorw size selections, fixes bug #160527
2932 2004-12-11  Hans Breuer  <hans@breuer.org>
2934         * lib/widgets.c(dia_font_selector_set_font) : initialize
2935         the font style widget, too. Gets rid of empty font
2936         style and thus default broken font style, e.g. UML::class_name
2938         * lib/widgets.c(dia_color_selector_more_callback) : fill
2939         the color palette from dynamic menu entries and also
2940         preselect the current color to the last select entry
2941         
2942         * plug-ins/python/pydia-diagramdata.c : hold a reference
2943         to the underlying GObject
2944         
2945         * app/Makefile.am app/diagrid.h : new file containing the 
2946         grid 'class' moved from DiagramData to Diagram. 
2947         Also moved pagebreak_color and guides cause they are only 
2948         used for visual appearance not 'data'.
2949         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
2950           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
2951         the above change
2953         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
2954           lib/libdia.def : get rid of new_diagram_data() 
2955         Diagram _is_ DiagramData (and does not have one any longer,
2956         just a compatibility pointer)
2957         
2958         * lib/diarenderer.h : a small doc improvement
2960 2004-12-11  Hans Breuer  <hans@breuer.org>
2962         * objects/UML/class.c : line wrapping code buffer
2963         overrun fixed by Gabor Simon, bug #160865
2965 2004-12-11  Hans Breuer  <hans@breuer.org>
2967         * plug-ins/python/pydia-diagram.c : hold a reference
2968         to the diagram in PyDiaDiagram, avoids bug #159080
2969         [another way to avoid is to detroy the dialog by
2970         clsoing it. But now there is still a diagram to
2971         apply the changes to, even if it's thrwon away just
2972         afterwards]
2974 2004-12-10  Hans Breuer  <hans@breuer.org>
2976         * **/*.c : fixed a bunch of warnings, not only for -ansi
2977         (still too many of them, but -ansi works)
2978         lib/
2979         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
2980         declaration for `fontsizeprop_reset_widget' follows non-static
2981         dia_dirs.c:196: warning: return discards qualifiers from 
2982         pointer target type
2984         objects/custom/
2985         shape_info.c:121: warning: static declaration for `parse_path' 
2986         follows non-static
2988         objects/SADT/
2989         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
2990         arrow.c:244: warning: unused variable `i'
2991         arrow.c:245: warning: unused variable `p'
2992         arrow.c:246: warning: unused variable `zzr'
2993         
2994         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
2995         finally removed c++ comments
2996         
2997         objects/Istar/goal.c : initialize connections::directions
2998         while I was there - helps autorouting
3000         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
3001           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
3002         (it would be quite simple to add image-from-memory support
3003         to lib/ if needed)
3005         * pydia-*.h : warning: no newline at end of file
3006         
3007         * plug-ins/gprint/diagnomeprint.c : allow to unregister
3008         and follow new unique name naming convention
3009         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
3010         here either
3012 2004-12-07  Hans Breuer  <hans@breuer.org>
3014         * objects/UML/message.c : better default for initial text placement
3015         a suggested in bug #154306, Henning Mersch
3016         * objects/UML/constraint.c : doing the same
3018         * app/filedlg.c : include persistence.h for persistence_get_integer
3019         * lib/libdia.def export it
3021 2004-12-05  Hans Breuer  <hans@breuer.org>
3023         * app/grid.c : respect dynamic grid during snap-to, fixes 
3024         bug #135124, Dmitriy Morozov. Added some additional magic
3025         to make the grid size more useable.
3027 2004-12-05  Hans Breuer  <hans@breuer.org>
3029         * app/app_procs.c : make it compile for the HAVE_POPT and
3030         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
3031         
3032         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
3033         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
3034         when interactive. Fixes bug #119329
3035           
3036         * plug-ins/cairo/diacairo.c : adapt to new type naming
3037         scheme (introduced by accident;-) for pixbuf-*
3038         * app/app_procs.c : reflect both type name changes
3040 2004-12-04  Hans Breuer  <hans@breuer.org>
3042         * objects/standard/image.c : fix the correct warning
3043         `image_file_name' might be used uninitialized
3044         
3045         * app/filedlg.c : near complete rewrite
3046         - removed 'related dialog', GtkOptionMenu, most global vars,
3047         also don't hide the dialog but let it go.
3048         - added: filter view by extension, hopefully working diagram
3049         referencing, GtkComboBox usage
3050         
3051         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
3052         of im/export filter entries. So the user interface reflects
3053         the dynamic nature of pixbuf loaders
3055         * lib/filter.[ch] : implement filter_unregister_*port
3056           lib/libdia.def : added new functions
3057           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
3058           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
3059           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
3060           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
3061           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
3062         use them in _plugin_unload () thus all these plug-ins
3063         can be loaded used and unloaded during Dia's runtime
3065 2004-12-04  Lars Clausen  <lars@raeder.dk>
3067         * lib/diagramdata.h: Access methods for units defined per diagram.
3069         * lib/font.c (dia_font_new_from_style): More proper object creation.
3071         * lib/properties.h: Refactored the PROP_STD_* macros to allow
3072         different options.
3074         * app/diagram.c (diagram_init): Force filename to be absolute
3075         path, easing the job for load/save.
3077 2004-12-03  Hans Breuer  <hans@breuer.org>
3079         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
3080         added dia_font_set_height, dia_font_copy (note to self: don't try to
3081         maintain these from the *NIX side ;)
3083         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
3084         the new color selection anymore
3085         * objects/UML/class_dialog.c : with the above change it would have been more 
3086         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
3087         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
3089         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
3090         (used in object vtable) and make its prototype match
3092         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
3093         correlate any of these strange crashing bug with it, but assume bad things to 
3094         happen when one passes stack allocated stuff to gtk_type_unique()
3096         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
3097         not there. Fixes most of the warnings from bug #156996
3099         * lib/makefile.msc : rules to generate diamarshal.[ch]
3101 2004-11-29  Hans Breuer  <hans@breuer.org>
3103         * app/disp_callbacks.c : reenable so-called preedit
3104         as described in bug #158859, Etsushi Kato
3105         Also fixed some compiler warnings while there.
3106         
3107         * objects/standard/image.c(get_directory) : make
3108         the documentation match the implementation.
3109         (image_save) : don't write a leading slash on 
3110         relative filenames 
3112         * plug-ins/gprint/diagnomeprintrenderer.c :
3113         switched to gnome-print-pango usage
3114         
3115         * app/app_procs.c configure.in : although Dia
3116         is not threaded it appears as if we have to
3117         g_thread_init() to avoid crashing in some
3118         libraries which are thread enabled
3120         * lib/diamarshal.list lib/Makefile.am : start of
3121         using GSignal to clean up some object relations
3122         * lib/libdia.def : export marshallers
3123         * app/diagram.[ch] : emit signals when REMOVED,
3124         SELECTION_CHANGED
3125         * app/display.c : added a connection to 
3126         SELECTION_CHANGED to test the new signal stuff
3127         
3128         * app/diagram.c : fixed diagram_finalize while I
3129         was there.
3131 2004-11-28  Hans Breuer  <hans@breuer.org>
3133         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
3134         the text if conversion to current locale fails. [This is actually
3135         using code written four years ago;]
3136         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
3138         * objects/standard/image.c(image_load) : be more robust against 
3139         filenames which seem to be absolute
3141 2004-11-27  Hans Breuer  <hans@breuer.org>
3143         * app/filedlg.c(file_save_callback) : convert to
3144         filename encoding before passing to diagram_save()
3145         Fixes bug #158381, thanks to Robert Ã–gren
3147 2004-11-27  Hans Breuer  <hans@breuer.org>
3149         * lib/dialibartrenderer.c : sometimes its good to read
3150         compiler warnings. Not only define renderer_finalize
3151         but actually *use* it. Should plug a potential huge
3152         memory leak.
3154         * configure.in plug-ins/Makefile.am 
3155           plug-ins/gprint/Makefile.am : build the experimental
3156         gnomeprint plug-in on *NIX, too.
3157         * plug-ins/gprint/diagnomeprint.c : don't include
3158         specific (private) backend headers but instead select
3159         the desired backend via config key setting
3161         * lib/diagdkrenderer.c : add 1 to size of filled arc 
3162         to be rendered by gdk. Fixes bug #150896.
3164         * plug-ins/gprint/diagnomeprint.c 
3165           plug-ins/gprint/diagnomeprintrenderer.c : added magic
3166         to better match page and dash sizes
3168 2004-11-27  Hans Breuer  <hans@breuer.org>
3170         * plug-ins/shape/shape-export.c : it's g_strdup_printf
3172 2004-11-27  Hans Breuer  <hans@breuer.org>
3174         * app/app_procs.c : mention eps-builtin aka. "using
3175         latin1", does not fix the eps-pango issues but #150571
3177 2004-11-27  Hans Breuer  <hans@breuer.org>
3179         * sheets/Cybernetics.sheet.in : changed encoding to 
3180         utf-8, patch from Takeshi AIHANA, fixes #149580
3182 2004-11-27  Hans Breuer  <hans@breuer.org>
3184         * objects/custom/custom_object.c : many existing shapes
3185         rely on a square default size, revert to it although
3186         it originally was by a typo. Fixes bug #148527.
3188 2004-11-27  Hans Breuer  <hans@breuer.org>
3190         * app/load_save.c(dia_cleanup_autosave) 
3191           app/diagram.c : don't use dia->filename if already 
3192         freed and dont use printf at all.
3194         * app/paginate_psprint.c : not only set the renderer::paper
3195         but also renderer::is_portrait. Should fix bug #142524
3197 2004-11-26  Hans Breuer  <hans@breuer.org>
3199         * dia.desktop.in : added Bug Buddy headers (as seen
3200         in planner). Hopefully the automatically filling of
3201         bugs is more meaningful by this.
3202         
3203         * objects/custom/custom_util.c objects/standard/image.c
3204           lib/plug-ins.c : getting rid of deprecated g_dirname,
3205         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
3206         bytes inside a block of size 44 free'd
3207         
3208         * lib/persistence.c(persistence_load_list) : don't
3209         leak string
3210         
3211         * lib/diaerror.[ch] : (new file) start of better error handling
3212         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
3213         added new files/funcs
3214         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
3215         allow to propagate error to caller. Also set PXP_NOTSET
3216         to avoid applying unset properties, fixes bug #155255
3217         * lib/propobject.c lib/prop_sdarray.c : still spewing
3218         g_warnings but now with context information
3219         
3220         * app/filedlg.c : more absolute filenames where required
3221         and strip them where we need the filename only
3222         Also explicit DONT choose gnome-vfs backend cause its
3223         threading appears to crash Dia - at least in GNOME build,
3224         see bug #159558
3226 2004-11-26  Hans Breuer  <hans@breuer.org>
3228         * app/filedlg.c : don't use relative filenames for
3229         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
3230         pedantic about it.
3231         (export_set_extension) : if we don't have a filename don't
3232         use it in strrchr() to avoid crashing
3233         
3234 2004-11-23  Hans Breuer  <hans@breuer.org>
3236         * app/app_procs.c : fixed build for the GNOME case
3237         (let's rip out POPT and depend on glib-2.6, please ;-)
3239 2004-11-23  Hans Breuer  <hans@breuer.org>
3241         * app/app_procs.c : fixed typo which broke the
3242         build for HAVE_POPT case
3243         
3244 2004-11-21  Hans Breuer  <hans@breuer.org>
3246         * app/app_procs.c : some more #if-mess, but one day
3247         we should rely on GLib's 2.6 Option Parser alone
3248         
3249         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
3250         and height for RoundRect() - otherwise size depends on offset,
3251         shorten the unique name
3252         
3253         * plug-ins/python/diamodule.c : provide a unique name
3254         for python filters as well
3256         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
3257         by using the right colors (need black background cause we
3258         are tinitng it with the real color later)
3260         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
3261         instead of hardcoded slahes, improved portability 
3263         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
3264         plug-in. Also added some more error reporting (e.g. no printer driver)
3266         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
3267           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
3268         Kinda works (alpha quality) for export but does not print yet. 
3269         With bug #158972 resolved this does even work on win32 :-)
3271 2004-11-07  Hans Breuer  <hans@breuer.org>
3273         * doc/diagram.dtd : <composite> can have <composite/>,
3274         <font/> has two 'optional' atributes 'style' and 'family',
3275         these are used to store new (since 0.91) font info.
3276         With this changes non of the issues in bug #147431 remains.
3278         * plug-ins/python/otypes.py : starting to implement an
3279         'create all known object' file as ne stress test source
3280         for the dtd and Dia in general.
3282 2004-11-06  Hans Breuer  <hans@breuer.org>
3284         * app/diapsrenderer.c : don't convert to locale but to 
3285         "LATIN1", fixes bug #146641
3287 2004-11-06  Hans Breuer  <hans@breuer.org>
3289         * app/diagram_tree.c : still no C99 everwhere ...
3290         * lib/libdia.def : update externals
3291         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
3293         * app/app_procs.[hc] : declare, use ...
3294            app/winmain.c : ... and implement dia_redirect_console().
3295         Even though newer Gtk version don't popup a console window
3296         anymore redirecting the error messages to a file in $TEMP appears
3297         to be much more reasonable than just ignoring it. Fixes bug #150777
3298         based on a patch from Steffen Macke
3300 2004-11-06  Hans Breuer  <hans@breuer.org>
3302         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
3303         RoundRect() for high level renderer api implementation thus
3304         fixing bug #138744 reported by Lars Clausen
3306 2004-11-06  Hans Breuer  <hans@breuer.org>
3308         * app/prefernces.c : applied patch to make showing the diagram 
3309         menubar the default (advanced users know how to switch it off)
3310         Fixes bug #150706, Steffen Macke
3312 2004-11-06  Hans Breuer  <hans@breuer.org>
3314         * app/commands.c app/commands.h : added view_fullscreen_callback()
3315           view_unfullscreen()
3316           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
3317         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
3318         ALso modified to allow handling of unmodified keys again (aren't
3319         there plenty of bug reports for this?
3321 2004-11-06  Hans Breuer  <hans@breuer.org>
3323         * objects/UML/class_dialog.c : fixed casts for usage
3324         of dia_color_selector_set_color()
3325         
3326         * app/filedlg.c : pass a valid filenames to 
3327         gtk_file_chooser_set_filename(), if we don't have a name
3328         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
3329         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
3330         assertion `local_full_path[0] == '/'' failed"
3331         
3332 2004-11-06  Lars Clausen  <lars@raeder.dk>
3334         * app/properties.c (create_dialog): 
3335         * app/diagram_tree_window.h: 
3336         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
3337         * app/diagram_tree_menu_callbacks.c: 
3338         * app/diagram_tree_window.c: 
3339         * app/diagram_tree_menu.c: 
3340         * app/diagram_tree.c: Changed to use persistence instead of
3341         strange hacks in preferences.
3343         * lib/persistence.h:
3344         * lib/persistence.c (persistent_list_get_glist): Don't deref null
3345         pointer.  New function persistent_list_remove_all, and
3346         fixed persistent_list_remove to ... work!
3348 2004-11-05  Lars Clausen  <lars@raeder.dk>
3350         * app/paginate_psprint.c (diagram_print_ps): Call
3351         diagram_print_destroy on destroy rather than delete_event.  That
3352         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
3353         #154898. 
3355 2004-11-02  Lars Clausen  <lars@raeder.dk>
3357         * objects/UML/class.c (umlclass_load): Actually load the saved
3358         fonts and font sizes. Fixes bug #157016
3360         * configure.in: Require at least GTK+ 2.4.
3362         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
3363         finally, finally.  Not quite bulletproof yet, and I need to figure
3364         out a minimum version of Gtk that doesn't spew warnings all over.
3366         * app/diagram.[ch]: diagram_set_filename with const filename.
3368         * app/sheets_dialog_callbacks.c
3369         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
3370         correctly recreated.  Still something fishy with the sheet menu in
3371         the dialog after adding a new sheet.  Probably the sheet name
3372         being stomped.
3374 2004-11-01  Lars Clausen  <lars@raeder.dk>
3376         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
3377         stmping.  Now requires g_free here and there.
3379         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
3380         for remembering last sheet, better off as persistent string.  Must
3381         hunt down other things like that.
3383         * app/interface.c (create_sheets): Now remembers last sheet
3384         selected again. Fixes bug #157036.
3386 2004-11-01  Hans Breuer  <hans@breuer.org>
3388         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
3389         will never become NULL but only point to the next char
3390         which might indeed be \0]
3391         Use tex_escape_string() to avoid writing invalid tex,
3392         fixes bug #112377
3394         * **/* : a bunch of changes caused by trying 'make distcheck'
3395         which still fails, see Bug #144527
3397 2004-10-31  Lars Clausen  <lars@raeder.dk>
3399         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
3400         floating point numbers being printed with commas.  Fixes bug
3401         #156148.
3402         
3403         * app/interface.c (create_sheet_dropdown_menu): New function to
3404         create the sheet menu, and also allow recreation.  Still buggy and
3405         slightly prone to magic.
3407         * objects/UML/class_dialog.c
3408         (attributes_list_selection_changed_callback): Don't try to update
3409         the widgets after they're destroyed.  Fixes bug #156706 (I think).
3411         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
3412         adjustement.  Fixes bug #154637
3414         * sheets/ER/Makefile.am (PIX): 
3415         * sheets/GRAFCET/Makefile.am (PIX): 
3416         * sheets/Jackson/Makefile.am (PIX): 
3417         * sheets/Istar/Makefile.am (PIX): 
3418         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
3419         XPM.  Why these have their pictures in sheets rather than shapes I
3420         don't know.  Fixes bug #152142.
3422 2004-10-31  Hans Breuer  <hans@breuer.org>
3424         * plug-ins/pixbuf/pixbuf.c : when running non interactive
3425         Dia won't call color_init() as it assumes no display. If
3426         we have one as tested ourselve we can as well color_init()
3427         to avoid g_warnings() and produce the right collors.
3428         Fixes bug #155495.
3429     
3430         * app/app-procs.c : try to be a little more helpful
3431         and correct with regard to the command line options.
3432         Renamed --export-to-format to --export-filter and some
3433         other string changes
3435 2004-10-31  Hans Breuer  <hans@breuer.org>
3437         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
3438         added GetDeviceCaps() dummy implementation to make 
3439        'wmf' compile on Linux, too.
3441 2004-10-31  Hans Breuer  <hans@breuer.org>
3443         * plug-ins/wmf/wmf.cpp : patch from Robert Ã–gren <gtk@roboros.com>
3444         to finally fix the long lasting clipping issue, bug #85831
3445         Also fixed the line style issue for printing on XP and don't 
3446         miss to ReleaseDC()
3448         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
3450         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
3451         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
3453         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
3454         some info from the console (soon gone on windoze) to message_error()
3455         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
3456         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
3458         plug-ins/python/diasvg_import.py : re.compile() only once per expression
3459         and some more playing with scaling
3461         * plug-ins/python/makefile.msc : updated
3463 2004-10-30  Hans Breuer  <hans@breuer.org>
3465         * shapes/Civil/civil_arrow_right.shape : removed
3466         <aspectratio type="fixed" /> thus allowing to change
3467         width and height independently, fixes #154897 
3468         (Serge Robinson) by making it consistent with the
3469         up arrow
3471 2004-10-30  Hans Breuer  <hans@breuer.org>
3473         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
3474         on arrow being NULL, fixes bug #143063
3476 2004-10-30  Hans Breuer  <hans@breuer.org>
3478         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
3479           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
3480         removed use of chached variable DiagramData::selected_count
3481         * lib/diagramdata.h : renamed to selected_count_private
3482         (kept for binary compatibility and sanity checks)
3483         * lib/diagramdata.c : more checks on a screwed up selection list
3485         * app/diagram.c(diagram_group_selected) : don't screw up the
3486         DiagramData::selected list, was assignment of parent_list_affected(),
3487         * lib/diagramdata.c (data_select, data_unselect) : protect against
3488         multiple selections of the same object and removement of a not selected
3489         object (apparently caused by the recently added group undo stuff)
3490         together with the above this finally fixes bug #153525
3492         * app/Makefile.am : fix ./autogen.sh ->
3493         app/Makefile.am:171: blank line following trailing backslash
3495         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
3496         ddisplay_do_update_menu_sensitivity() here as well
3498         * configure.in : make the experimental state of the cairo plug-in
3499         more visible
3500         
3501         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
3502         try to update anything if we can't find an active diagram
3503         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
3504         
3505         * configure.in : another attempt to fix bug #156116. If there is
3506         anyone with autotools knowledge reading this - help appreciated ;-)
3508 2004-10-30  Hans Breuer  <hans@breuer.org>
3510         * objects/makefile.msc objects/UML/Makefile.am
3511           objects/UML/uml.c objects/UML/transition.c 
3512           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
3513         Patch from Peter Allin adds statechart transitions to the UML sheet -
3514         bug #144956 - modified to not print("%s", NULL) which crashes on
3515         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
3517 2004-10-30  Hans Breuer  <hans@breuer.org>
3519         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
3520         match the website anymore, i.e. sould remain unchanged. 
3521         See below and lib/dia_xml.h for the reasoning
3523         * lib/libdia.def : removed dia_color_selector_get_type
3525         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
3526         (like broken PNG) and g_warning if appropriate
3528         * app/interface.c : #include "message.h"
3530         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
3531         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
3532         better to just move diaunitspinner to lib/ instead of polluting
3533         widgets.[hc] even more ;)
3534         * app/makefile.msc lib/libdia.def : updated
3536         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
3537         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
3539         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
3540         do something useful when compiled
3542         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
3543         Also some more #ifdefed backends usage.
3545 2004-10-10  Lars Clausen  <lars@raeder.dk>
3547         * lib/widgets.c: Better labels for color selector menu.
3549         * app/dia-props.c (diagram_properties_respond): 
3550         * app/preferences.c (prefs_get_value_from_widget): Don't assume
3551         that a dia color selector is of type DiaColorSelector:)
3553         * lib/widgets.[ch]: Color selector changed to dynamic menu.
3555         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
3556         DiaColorSelector. 
3558 2004-10-09  Lars Clausen  <lars@raeder.dk>
3560         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
3561         arrow preview to avoid long arrow heads flipping.
3563         * lib/arrows.[ch]: Support for getting from name to arrow type,
3564         and for listing all arrow names.
3565         
3566         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
3568         * lib/libdia.def: Added new global functions.
3570         * lib/persistence.[ch]: Two of the persistent_list functions to
3571         return whether the item was found in the list.
3573         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
3574         the growing number of sheets.
3576         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
3577         font menu.
3579 2004-10-05  Lars Clausen  <lars@raeder.dk>
3581         * objects/UML/association.c: Patch from Harvey Thompson
3582         <harveyandsu@yahoo.com>:  Better placement of association texts.
3584 2004-10-03  Lars Clausen  <lars@raeder.dk>
3586         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
3587         use the fonts in question.  Can't set tooltips with the name since
3588         lib objects don't know the tool_tips thing, which is rather
3589         app-related.
3591 2004-09-19  Hans Breuer  <hans@breuer.org>
3593         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
3594         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
3596 2004-09-19  Hans Breuer  <hans@breuer.org>
3598         * dia.desktop.in : string changes as proposed in bug #151822
3599         
3600         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
3601         appearts not to be needed on Linux and breaks the build 
3602         on OSX. Fixes bug #152970
3603         
3604 2004-09-18  Lars Clausen  <lars@raeder.dk>
3606         * app/commands.c (view_show_all_callback): Add a bit of border
3607         around Ctrl-E'd diagram, for easier select and better view of edges.
3609 2004-09-19  Hans Breuer  <hans@breuer.org>
3611         * app/Makefile.am : trying to fix the fix from 2004-02-15
3612         Overwriting AM_LDFLAGS still gave a automake warning and it 
3613         also appeard to break linking against gtklibs in a differnt 
3614         prefix. Use dia_LDFLAGS instead.
3616         * plug-ins/svg/svg-import.c : initialize 'end' before usage
3617         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
3618         
3619         * lib/diarenderer.c : don't try to draw lines which are so much 
3620         degenerated that their point count became negative, fixes bug #148139
3621         
3622         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
3623         strings (NULL from g_strdup()) 
3625 2004-09-10  Steffen Macke <sdteffen@web.de>
3627         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
3628         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
3629         * app/create_object.c:
3630         * app/diaunitspinner.c:
3631         * app/disp_callbacks.c:
3632         * app/makefile.msc:
3633         * app/modify_tool.c:
3634         * lib/prop_geomtypes.c:
3635         * lib/prop_geomtypes.h: made compile with msvc
3637 2004-09-10  Lars Clausen  <lars@raeder.dk>
3639         * lib/widgets.c: Insulate conversion from outside API by adding
3640         internal function to set value.  Adjustment not appropriate for
3641         units yet.
3643         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
3645 2004-09-07  Lars Clausen  <lars@raeder.dk>
3647         * app/diapagelayout.c: Include from widgets.c rather than
3648         diaunitspinner.
3650 2004-09-03  Lars Clausen  <lars@raeder.dk>
3652         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
3653         as unit-based property testbed.
3655         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
3656         and fontsize widgets. 
3658         * app/Makefile.am (dia_core_files):
3659         * app/diaunitspinner.h: 
3660         * app/diaunitspinner.c: 
3661         * lib/widgets.h: 
3662         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
3663         lib/widgets.[ch], as it's used in the properties code now.
3665 2004-08-31  Steffen Macke <sdteffen@web.de>
3667         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
3669 2004-08-30  Lars Clausen  <lars@raeder.dk>
3671         * app/textedit.c: 
3672         * app/diagram.c (diagram_remove_all_selected): Remove debugging
3673         information. 
3675         * lib/color.[ch]: 
3676         * app/undo.c: 
3677         * app/disp_callbacks.c: 
3678         * app/Makefile.am: 
3679         * app/create_object.c: 
3680         * app/textedit.[ch]: 
3681         * app/modify_tool.c: 
3682         * app/diagram.c: 
3683         * lib/text.c: 
3684         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
3685         current input object, multiple inputs per object, and tabbing
3686         between objects.
3688 2004-08-28  Steffen Macke <sdteffen@web.de>
3690         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
3691         allow separate installer component "Translations"
3693 2004-08-27  Akagic Amila  <bono@linux.org.ba>
3695         * configure.in: Added 'bs' to ALL_LINGUAS.
3697 2004-08-26  Steffen Macke <sdteffen@web.de>
3699         * app/makefile.msc: using /subsystem:windows again
3700         * makefile.msc: updated ALL_LINGUAS
3702 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
3704         * configure.in: Add Â«nb» to ALL_LINGUAS.
3706 2004-08-21  Steffen Macke <sdteffen@web.de>
3708         * plug-ins/dxf/dxf-export.c: Patch from 
3709         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
3711 2004-08-17  Lars Clausen  <lars@raeder.dk>
3713         * config.h.win32: 
3714         * dia.spec (Release): 
3715         * doc/pl/dia.xml: 
3716         * doc/en/dia.xml: 
3717         * NEWS: 
3718         * configure.in: 
3720 2004-08-13  Ankit Patel <ankit@redhat.com>
3722         * configure.in: Added "gu" in ALL_LINGUAS.
3724 2004-08-07  Lars Clausen  <lars@raeder.dk>
3726         * configure.in:
3727         * config.h.win32: 
3728         * doc/pl/dia.xml: 
3729         * doc/en/dia.xml: 
3730         * dia.spec (Release): 
3731         * NEWS: New release 0.94-pre6
3733 2004-08-07  Lars Clausen  <lars@raeder.dk>
3735         * app/highlight.c (highlight_reset_objects): Unhighlight inside
3736         groups as well.
3738         * app/load_save.c: 
3739         * plug-ins/shape/shape-export.c: String capitalization fix from
3740         Alan Horkan <horkana@tcd.ie>
3742         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
3743         Class object menu kinda work, rather than blow up.  Doesn't do a
3744         proper undoable change yet.
3746 2004-08-06  Lars Clausen  <lars@raeder.dk>
3748         * app/filedlg.c (file_save_as_callback): Don't remove related
3749         dialogs from the NULL diagram.
3751 2004-08-02  Lars Clausen  <lars@raeder.dk>
3753         * config.h.win32: 
3754         * doc/pl/dia.xml: 
3755         * doc/en/dia.xml: 
3756         * dia.spec (Release): 
3757         * NEWS: Pre5 with leak fix.
3759         * lib/font.c (dia_font_build_layout): Don't try to save an
3760         allocation of LayoutCacheItem if it breaks layout cache hash.
3761         Also make hash function correct, remove explicit height entry
3762         (it's in pfd), and make sure things are correctly unreffed.
3763         Finally fixes #148141.
3765         * lib/text.c (text_set_attributes, text_set_font): Safely unref
3766         when changing font, and actually set the new font in
3767         text_set_font(!).
3768         (text_get_attributes): Ref copied font.
3770 2004-08-01  Lars Clausen  <lars@raeder.dk>
3772         * NEWS: 
3773         * configure.in: 
3774         * dia.spec (Release): 
3775         * config.h.win32: 
3776         * doc/pl/dia.xml: 
3777         * doc/en/dia.xml: Prerelease 4.
3779         * lib/font.c (dia_font_build_layout): Better comparision and
3780         freeing of font cache.
3782 2004-07-31  Lars Clausen  <lars@raeder.dk>
3784         * lib/font.c (dia_font_build_layout): Faster update to avoid
3785         memory leaks.
3787         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
3788         Correctly initialize export filter variable.
3790 2004-07-25  Lars Clausen  <lars@raeder.dk>
3792         * dia.spec (Release): 
3793         * configure.in: 
3794         * NEWS: 
3795         * config.h.win32: 
3796         * doc/en/dia.xml: 
3797         * doc/pl/dia.xml: Pre3 coming out.
3799         * lib/diarenderer.c (draw_polygon): 
3800         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
3801         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
3802         rather than O (letter), and assert num_points > 1 rather than the
3803         other way around.
3805         * app/recent_files.c: 
3806         * app/filedlg.c: 
3807         * app/diagram.c: 
3808         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
3809         Make filenames conform to filesystem encoding.
3811         * RDP/.cvsignore: Added standard ignore.
3812         
3813         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
3814         last entry patch-panel, too.
3816         * app/*.png:
3817         * shapes/Circuit/*.png:
3818         * shapes/Civil/*.png:
3819         * shapes/Contact/*.png:
3820         * shapes/Electric/*.png:
3821         * shapes/MSE/*.png:
3822         * shapes/Pneumatic/*.png:
3823         * shapes/SDL/*.png:
3824         * shapes/flowchart/*.png:
3825         * shapes/jigsaw/*.png:
3826         * shapes/network/*.png:
3827         * shapes/sybase/*.png:
3828         * samples/dia*.png:
3829         * dia_gnome_icon_large.png:
3830         * doc/pl/graphics/*.png: Set -kb for PNGs.
3831         
3832         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
3834 2004-07-22  Lars Clausen  <lars@raeder.dk>
3836         * NEWS: 
3837         * config.h.win32: 
3838         * doc/en/dia.xml: 
3839         * doc/pl/dia.xml: 
3840         * dia.spec (Release): 
3841         * configure.in: Update to version 0.94-pre2.
3843         * app/load_save.c (diagram_data_write_doc): Use new namespace
3844         here, too.
3846         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
3847         hidden objects properties.
3849         * objects/standard/line.c: Remove halffinished line gap box from
3850         properties list.
3852         * app/paginate_psprint.c: 
3853         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
3854         Immidi): Close export and print dialog with diagram as well.
3855         (#129520)
3856         
3857         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
3858         borelli):  Remove deprecated stuff (#137693)
3860         * app/dia-props.c (create_diagram_properties_dialog): Patch from
3861         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
3862         on destroy.
3864 2004-07-21  Ray Strode  <rstrode@redhat.com>
3866         * dia/dia.desktop.in: Add MimeType line to desktop file
3867         new mime sytem.
3869 2004-07-18  Hans Breuer  <hans@breuer.org>
3871         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
3872           sheets/UML/*.png : icons in png format
3873         Partial fixup of stuff broken with the following comment:
3874         "7 days : xpm->png, namespace fix, first rotation bits."
3876         * app/load_save.c(read_objects) : don't add objects to the layer.
3877         This function is called recursively and only the topmost objects
3878         belong in the layers object list. Fixes bug #145417 and is the
3879         the real fix for bug #142480
3880         
3881         * app/app_procs.c : make the --size hack even uglier, but work again
3882         
3883         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
3884         but g_free() what is returned by g_build_filename()
3885         
3886         * objects/custom/custom_object.c(custom_destroy) : handle all enum
3887         values in switch to get rid of the warning
3888         
3889         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
3890         of setlocale()/strtod()
3891         * lib/dia_svg.c : dito
3892         * lib/dia_xml.c : almost
3894         * plug-ins/python/group_props.py : use the string representation of 
3895         value to ensure "unique values". If the strings would not be different
3896         the user cann't see the difference either
3898 2004-07-17  Lars Clausen  <lars@raeder.dk>
3900         * lib/persistence.h: Have "void" in prototypes (#142663)
3902         * lib/widgets.c (dia_font_selector_init): Better string handling
3903         (#142663) 
3905         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
3907         * objects/standard/image.c (image_load): Use path of diagram
3908         rather than running directory as base for image file place.
3910         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
3911         syntactic fixes. 
3912         
3913         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
3914         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
3916         * Re-added new sample diagrams binarily.
3918 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
3920         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
3921         Disabled keyboard accels when dragging an object.       
3923 2004-07-14  Lars Clausen  <lars@raeder.dk>
3925         * app/grid.c (snap_to_grid): Use diagrams grid setting to
3926         determine hex grid snap.
3928         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
3929         
3930         * app/interface.h: Avoid multiply defined symbols (#147396)
3932 2004-07-10  Lars Clausen  <lars@raeder.dk>
3934         * app/sheets_dialog_callbacks.c (write_user_sheet): 
3935         * lib/sheet.c (load_register_sheet): Don't introduce double
3936         slashes in namespace.
3938         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
3939         old diagrams, or XSLT will barf all over.
3940         
3941         * shapes/RDP/place.shape: 
3942         * shapes/RDP/transition.shape: 
3943         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
3944         shapes to use those.
3946 2004-07-07  Lars Clausen <lars@raeder.dk>
3948         * config.h.win32: 
3949         * doc/{en,pl}/dia.xml: 
3950         * dia.spec: 
3951         * configure.in: 
3952         * NEWS: First prerelease of version 0.94.  Now with release
3953         versions in a branch and main devel in the trunk.
3955 2004-07-05  Hans Breuer  <hans@breuer.org>
3957         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
3958         -std=c89. Mostly //-comments and M_PI -> G_PI
3959         [Istar, Jackson, KAOS were removed from build cause they
3960         simply have *too* much C++ comments ;]
3961         * object/UML/association.c : use g_strdup() not plain strdup()
3962         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
3963         isn't known with more portable signal code
3964         
3965         * app/app_procs.c : don't call gtk_init() if just --version
3966         is requested (bug #144321, Vladimir Kondratiev)
3967         
3968         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
3969         DiaFont* if not NULL
3970         * objects/UML/class.c : moved fill_in_fontdata() to 
3971         umlclass_load() to avoid such trouble, though unsure if
3972         this really is an improvement...
3973         
3974         * shapes/network/makefile.am : patch-panel added here too
3976 2004-07-04  Hans Breuer  <hans@breuer.org>
3978         * sheets/network.sheet.in shapes/network/patch-panel.xpm
3979           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
3980         fixes bug #136629, James McDonald
3982 2004-07-04  Hans Breuer  <hans@breuer.org>
3984         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
3985           lib/object_defaults.c : revert changing of Dia's XML namespace
3986         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
3987         about its purpose and relation to real world urls.
3989         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
3990         added comment about when to do so
3991         [Should have been long time ago and probably multiple times
3992         to avoid crashing on older plug-ins]
3993         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
3994         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
3996         * lib/object.c objects/UML/class.c : there are still compilers not 
3997         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
3998         on the stack
3999         * objects/UML/class.h : there is a differnce between a list pointer
4000         and a list pointer pointer. We and GLib want the former.
4002         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
4003         if Gtk is initialized. Using gdk_display_get_default () avoids the
4004         app/* dependency and is also closer to the requirements of the
4005         plug-ins working.
4007         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
4008         some #ifdefed support for Cairo backends not public available yet.
4010         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
4011         windoze platform supports them. This should fix bug #109818, at
4012         least for the majority running NT or above ...
4013         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
4015         * objects/makefile.msc : build Istar, Jackson and Kaos
4017         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
4018         keep old diagrams as they were - instead of this nice new effect ;-)
4019         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
4021         * objects/UML/class.c : mark for translation _("Wrap ...
4023         * objects/UML/class.c : more correct types, also some default properties
4024         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
4026         * objects/UML/activity.c : removed a leftover from the 
4027         use-localization-for-font-substitution-hack
4029         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
4030         'cvs admin -kb *.png' PNG files should already be *added* as binary,
4031         otherwise they are not readable on line-end-converting-platforms
4033         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
4034         filter_get_by_name()
4036         * plug-ins/python/pydia-property.c : some more g_warnings for
4037         not implemented conversions
4039         * plug-ins/python/group_props.py : ensure unique property values
4040         at the right place. Now something like :
4041         - load an old UML class diagram
4042         - change one of the classes to wrap operations
4043         - select all classes (/Select/Same Type)
4044         - /Dialogs/Group Properties : check wrap_operations, select '1'
4045         - Ok, works like a charm :-)
4047 2004-07-04  Lars Clausen  <lars@raeder.dk>
4049         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
4050         pixbuf. (#145362)
4051         
4052 2004-07-03  Lars Clausen  <lars@raeder.dk>
4054         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
4055         <LAV@VL3143.spb.edu>: Fixes console output problems and some
4056         interactiveness problems.
4058 2004-07-02  Lars Clausen  <lars@reader.dk>
4060         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
4061         app isn't interactive.
4063 2004-07-01  Lars Clausen  <lars@raeder.dk>
4065         * plug-ins/cairo/diacairo.c: Add init of last field of filter
4066         struct to remove crash.
4068         * sheets/Makefile.am (sheet_in_files): 
4069         * shapes/Makefile.am: 
4070         * sheets/ChemEng.sheet.in: 
4071         * shapes/ChemEng/Makefile.am: 
4072         * configure.in: 
4073         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
4074         Chemical engineering shapes.
4075         
4076         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
4077         multiple arguments when using devel script.
4079         * app/display.c (new_display): 
4080         * app/dia-props.c: 
4081         * lib/diagramdata.c (new_diagram_data): 
4082         * lib/diagramdata.h: 
4083         * app/preferences.h: 
4084         * app/preferences.c: 
4085         * app/grid.c: 
4086         * app/diagram.c: 
4087         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
4088         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
4090         * HACKING: 
4091         * doc/pl/authors.xml: 
4092         * doc/en/authors.xml: 
4093         * lib/object_defaults.c (dia_object_defaults_save): 
4094         * readme.win32 (BTW): 
4095         * lib/persistence.c (persistence_save): 
4096         * app/load_save.c (diagram_data_write_doc): 
4097         * app/commands.c (help_about_callback): 
4098         * README: Fix links to home page.
4100         * lib/font.c: 
4101         * app/load_save.c (diagram_data_load): 
4102         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
4103         loading, and guard against them when fonting.
4105         * lib/diarenderer.c (draw_rounded_polyline): Patch from
4106         anthonym@overture.com:  Make limited rounding a corner-specific
4107         rendering-only thing.
4109 2004-06-30  Lars Clausen  <lars@raeder.dk>
4111         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
4112         adjustment: If you can't fix it, at least don't change it.
4114         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
4115         code instead of individual code in here.
4117 2004-06-29  Lars Clausen  <lars@raeder.dk>
4119         * objects/UML/association.c: Patch from Kiran
4120         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
4121         text. 
4123         * lib/geometry.c: 
4124         * lib/geometry.h: 
4125         * lib/diarenderer.c (draw_rounded_polyline): 
4126         * objects/standard/polyline.c (polyline_draw): 
4127         * objects/standard/zigzagline.c (zigzagline_draw): 
4128         Patch from anthonym@overture.com:  Add rounded polylines.
4130 2004-06-27  Lars Clausen  <lars@raeder.dk>
4132         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
4134         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
4135         free family list before taking out the pointer we need. Also set
4136         the entry_nr correctly so we get the menu set up right.
4138 2004-06-23  Lars Clausen  <lars@raeder.dk>
4140         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
4141         images at the right place.
4143         * objects/Istar/actor.c
4144         * objects/Istar/goal.c
4145         * objects/Istar/istar.c
4146         * objects/Istar/istar.h
4147         * objects/Istar/link.c
4148         * objects/Istar/other.c
4149         * objects/Jackson/domain.c
4150         * objects/Jackson/jackson.c
4151         * objects/Jackson/jackson.h
4152         * objects/Jackson/phenomenon.c
4153         * objects/Jackson/requirement.c
4154         * objects/KAOS/goal.c
4155         * objects/KAOS/kaos.c
4156         * objects/KAOS/kaos.h
4157         * objects/KAOS/metaandorrel.c
4158         * objects/KAOS/metabinrel.c
4159         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
4160         <cp@cetic.be>: Fix instability issues caused by not returning NULL
4161         in *_move_handle and *_move.  Also improved the headers with
4162         correct (c) information.
4164 2004-06-22  Lars Clausen  <lars@raeder.dk>
4166         * objects/KAOS/goal.c:
4167         * objects/KAOS/other.c:
4168         * objects/Istar/actor.c:
4169         * objects/Istar/goal.c:
4170         * objects/Istar/other.c:
4171         * objects/Jackson/domain.c:
4172         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
4173         <cp@cetic.be>: Fix resize issues.
4175         * app/filedlg.c (file_dialog_hide): Patch from Kiran
4176         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
4177         related dialog. #129520.
4179         * app/dia-props.c (diagram_properties_show): Patch from Kiran
4180         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
4181         a child of its diagram. #129520.
4183         * objects/UML/association.c (association_load): Patch from Kiran
4184         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
4185         text placement. #118313.
4187 2004-06-17  Lars Clausen  <lars@raeder.dk>
4189         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
4191         * Makefile.am: Make THANKS only be generated by maintainers.
4193         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
4194         Makefile, too.
4196         * configure.in: Added three missing Makefiles.
4198         * app/diagram.[ch]: 
4199         * app/filedlg.c:
4200         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
4201         diagram-related (save) dialog when closing diagram.  To be
4202         extended to other dialogs.
4204         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
4206         * samples/Istar.dia:
4207         * samples/Jackson.dia:
4208         * samples/KAOS.dia:
4209         * sheets/Istar.sheet.in:
4210         * sheets/Jackson.sheet.in:
4211         * sheets/KAOS.sheet.in:
4212         * sheets/Istar/*:
4213         * sheets/Jackson/*:
4214         * sheets/KAOS/*:
4215         * objects/Istar/*:
4216         * objects/Jackson/*:
4217         * objects/KAOS/*:
4218         * configure.in: 
4219         * objects/Makefile.am (SUBDIRS): 
4220         * sheets/Makefile.am (SUBDIRS): 
4221         * samples/Makefile.am: Additions from Christophe Ponsard
4222         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
4223         of hacking still.
4225 2004-06-12  Lars Clausen  <lars@raeder.dk>
4227         * lib/properties.h: 
4228         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
4230         * lib/font.h: Toning down comments a bit:)
4232         * lib/font.c (dia_font_build_layout): Playing around with DPI 
4234         * objects/UML/association.c (association_load): Avoid crashes on
4235         strcmp with NULL.
4237         * objects/UML/association.c: Patch from kimmidi@novell.com:
4238         Improve placement of labels when vertical.  Part fix of #118313
4240         * lib/object.c (dia_object_is_selected): Grouped objects are not
4241         selected, only the group itself.  Thus, don't crash when grouping
4242         beziers. #143681
4244         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
4245         on how to represent empty strings.  Fixes #143639.
4247         * lib/object.c (dia_object_is_selected): Added comment answer.
4249 2004-06-12  Hans Breuer  <hans@breuer.org>
4251         * lib/diagramdata.c lib/object.c : deal with grouped objects
4252         not knowing their parent_layer, i.e. avoid crashing in 
4253         dia_object_is_selected() via group_draw() [ Triggered by
4254         playing with the Visio generated svg from bug #143455 ]
4256         * plug-ins/python/diasvg_import.py : started to implement
4257         transformation="translate(...)" and <style/> handling. Also
4258         use some other completely bogus values for em/ex scaling
4259         
4260 2004-06-08  Lars Clausen  <lars@raeder.dk>
4262         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
4264 2004-06-07  Lars Clausen  <lars@raeder.dk>
4266         * app/layer_dialog.c (layer_dialog_set_diagram): 
4267         * app/display.c: Layer widget crash more properly dealt with in
4268         layer dialog code.
4269         
4270         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
4271         widget deselect was called during destroy, but called
4272         ddisplay_flush, leading to a new display timeout after renderer
4273         was dead.
4275         * lib/widgets.c (dia_toggle_button_destroy): 
4276         * app/recent_files.c (recent_file_menuitem_create): 
4277         * lib/persistence.c (persistence_save_list): 
4278         * app/commands.c (edit_delete_callback): 
4279         * lib/object_defaults.c (dia_object_defaults_save): 
4280         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
4281         (#142669)
4282         
4283         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4284         debugging info.
4286         * lib/diagramdata.c (new_layer): Initialize connectibility.
4288         * app/display.c (ddisplay_obj_render): 
4289         * app/diagram.c (diagram_find_closest_connectionpoint): Take
4290         connectibility into account.
4292         * app/layer_dialog.h (struct _DiaLayerWidget): 
4293         * app/layer_dialog.c:
4294         Connectible toggle updates, now works fairly well.
4296         * app/select.c (select_transitive_callback): Make sure we're only
4297         selecting in the same layer.
4299 2004-06-04  Lars Clausen  <lars@raeder.dk>
4301         * app/pixmaps/Makefile.am: Also install connectable images.
4302         
4303         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
4304         layer toggles from layer itself.  Also update diagram correctly
4305         for visibility.  Still need updates for connectivity behaviour.
4307 2004-06-03  Hans Breuer  <hans@breuer.org>
4309         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
4311         * lib/diagdkrenderer.c(set_linejoin) : actually set
4312         join_style not cap_style
4313         (set_dashes): with the correct number of dashes
4315 2004-06-03  Lars Clausen  <lars@raeder.dk>
4317         * app/modify_tool.c (click_select_object): 
4318         * lib/text.c (text_set_cursor): 
4319         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
4321 2004-05-31  Hans Breuer  <hans@breuer.org>
4323         * lib/object_defaults.c : don't 'failed to load external 
4324         entity "NULL"' when the defaults file does not exist, 
4325         bug #108764 [again: somehow this got lost]
4327         * app/paginate_gdiprint.cpp : don guess the WMF export 
4328         filter used for printing but find it by unique name.
4329         Also update for export_func renaming
4330         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
4331         provide some unique names
4333         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
4334           app/select.c : fix bug #140789 by always checking if there
4335         still is an active diagram before accessing it
4337         * app/defaults.c app/properties.c : user visible string should 
4338         not read DiaObject but stay as "Object defaults/properties"
4340         * app/app_procs.c : reduce the hack to pass --size to the
4341         export via user_data to the only filter supporting it. Other
4342         filters would crash on it or do worse ;(
4344         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
4346 2004-05-31  Lars Clausen  <lars@raeder.dk>
4348         * lib/widgets.h: 
4349         * lib/widgets.c: Use GtkType rather than guint for
4350         dia_size_selector_get_type. 
4352 2004-05-29  Lars Clausen  <lars@raeder.dk>
4354         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
4355         that it matches the screen output for selfoverlapping polygons and
4356         beziers. 
4358 2004-05-28  Hans Breuer  <hans@breuer.org>
4360         * app/load_save.c : ignore empty groups on load and don't
4361         write empty groups while saving
4362         * lib/group.h (group_update_data): there is no first object
4363         in empty groups and they probably don't need an update at 
4364         all. Maybe the shold just not exist ?
4366         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
4367         text positioning as well as drawing of images with alpha
4369         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
4370         HAVE_WINDOWS_H or G_OS_WIN32 is defined
4372 2004-05-28  Lars Clausen  <lars@raeder.dk>
4374         * app/pixmaps/Makefile.am (imagedir): 
4375         * app/pixmaps/visible.png:
4376         * app/pixmaps/visible-empty.png: New images for the visibility
4377         button in the layer dialog.
4379         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
4380         more border around the button.  Still some left when hovering the
4381         mouse or selecting, and the grey background is annoying.
4383         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
4384         visibility connector.
4386 2004-05-26  Lars Clausen  <lars@raeder.dk>
4388         * configure.in (DB2MAN): Better check for db2man docbook place.
4389         Need something even better.
4391         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
4393         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4394         extraeneous borders.
4396         * dia_logo.png:
4397         * dia_gnome_icon.png:
4398         * samples/render-test.dia: Rendering test from Hans.
4400 2004-05-24  Hans Breuer  <hans@breuer.org>
4402         * lib/filter.h : renamed DiaExportFilter::export to
4403         _DiaExportFilter::export_func (should not use c++ 
4404         keywords (g++ specifc ?) in headers. Same for import
4405         out of pure symmetry reasons
4406         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
4407           app/diagram.c app/filedlg.c : reflect functions renaming
4409         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
4410         under *NIX, too. [If you want something done, do it yourself ;-]
4411         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
4412         with wmf.cpp's GDI usage
4413         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
4414         [For the moment it does not much more than compiling, i.e. 
4415         the produced WMF files are invalid, if not created on windoze.]
4417         * configure.in : check for C++ to compile plug-in/wmf
4418         
4419         * objects/GRAFCET/boolequation.c : looks like fixing 
4420         another leak (untested)
4422 2004-05-23  Hans Breuer  <hans@breuer.org>
4424         * acinclude.m4 : another attempt to fix 
4425         bug #142032 (still not sure it's the right one,
4426         but works for me(tm), which the other does not ;)
4427         
4428         * plug-ins/cairo/Makefile.am
4429           plug-ins/Makefile.am 
4430           configure.in : support building the new cairo
4431         plug-in, if given --with-cairo and the cairo
4432         packages are found, see http://cairographics.org
4433         and also http://hans.breuer.org/dia/dia-cairo.htm
4435         * plug-ins/cairo/diacairo.c : make it compile
4436         with DEBUG_CAIRO defined, too.
4438 2004-05-23  Hans Breuer  <hans@breuer.org>
4440         * plug-ins/cairo/Makefile.am : initial attempt
4442         * plug-ins/cairo/diacairo.c : a new exporter based on
4443         Cairo http://cairographics.org rendering api. Currently
4444         it just can export PNG and PS but one day it might get
4445         PDF and more almost for free. [It is not yet included
4446         in the *NIX build system due to lack of auto* magic.]
4448         * plug-ins/pixbuf/pixbuf.c : always register the export
4449         filter part. If the user does not want it it can be 
4450         disabled by File/Plugins or explicit selected the other
4451         one in the Export Formats List
4453 2004-05-23  Hans Breuer  <hans@breuer.org>
4455         * lib/dia_dirs.c : #include "message.h"
4456           lib/widgets.c : #include "persistence.h"
4457           lib/widgets.c(dia_font_selector_init) : still not C99
4458           lib/persitence.h : removed unimplemented prototype
4459           lib/persitence.c(persistence_load_list) : still not C99
4460           app/create_object.c : #include "highlight.h"
4461           app/layer_dialog.c : #include "widgets.h"
4462           app/modify_tool.c : prototype functions before usage
4463           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
4464         [otherwise one will have a hard time to make C++ compile ;]
4465           lib/dia_dirs.c : #include "message.h"
4466           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
4467           lib/
4469         * plug-ins/xfig/xfig-import.c : dont initialize an int with
4470         a string pointer
4472         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
4473         as documented, i.e. _not_ copying. Plugs a memory leak in
4474         lib/dialibartrenderer.c
4476         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
4477         to radius to more of a clue what it is representing
4479         * */makefile.msc lib/libdia.def : updated
4481         ChangeLog : fixed some date copy&paste bug
4483 2004-05-21  Lars Clausen <lars@raeder.dk>
4485         * NEWS: Release tag.
4487         * config.h.win32: Now 0.93+cvs
4489         * RELEASE-PROCESS: Update with new info about release branches.
4490         
4491         * Many files:  Moved devel branch back into main trunk.  Should
4492         have been done in the opposite way, with release in a branch.  
4493         
4494 2004-05-20  Hans Breuer  <hans@breuer.org>
4496         * acinclude.m4 : disable setting of PYTHON_PREFIX
4497         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
4498         as workaround for bug #142032 (the real fix would 
4499         involve some auto* knowledge which I don't have
4500         either;)
4501         
4502         * plug-ins/python/Makefile.am : more python 
4503         plug-ins to be installed (especially svg import,
4504         but also 'simple scale' should be useable 
4505         sometimes)
4506         
4507         * plug-ins/python/scascale.py : update display
4508         after modifying selected objects
4509         
4510         * plug-ins/python/diasvg_import.py : initialize
4511         stroke to none
4512         
4513 2004-05-18  Lars Clausen  <lars@raeder.dk>
4515         * app/diagram_tree.c (select_node): Use
4516         diagram_remove_all_selected to kill selected list.
4518         * lib/font.c: Set language when using a different context.
4520         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
4521         and removed ctype include (#142661).
4523         * lib/paper.c (get_default_paper): Changed isalnum to
4524         g_ascii_isalnum and removed ctype include. (#142661)
4526         * objects/custom/shape_info.c: 
4527         * lib/dia_svg.c: 
4528         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
4530 2004-05-17  Hans Breuer  <hans@breuer.org>
4532         * lib/object_defaults.c : don't 'failed to load external 
4533         entity "NULL"' when the defaults file does not exist, 
4534         bug #108764
4536         * lib/widgets.c : fixed possible menu leak
4537         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
4538         avoid finalization of floating references, bug #142307
4540 2004-05-15  Lars Clausen  <lars@raeder.dk>
4542         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
4543         fonts better (#138655)
4544         
4545         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
4547         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
4548         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
4550         * Makefile.am (CLEANFILES): 
4551         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
4552         translation-reports, they are generated automagically.  THANKS
4553         file not considered locally generated, so is not locally
4554         cleaned. (#133735) 
4556         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
4558         * lib/diaarrowchooser.c: 
4559         * lib/prop_attr.c: Fixing naming for arrowselector.
4561         * objects/UML/object.c (objet_type): Oops, little too aggressive
4562         with the DiaObject thing here:)
4564         * objects/custom/shape_info.c (parse_svg_node): Use
4565         g_ascii_isdigit instead of isdigit.
4567         * app/diaunitspinner.c (dia_unit_spinner_update): 
4568         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
4569         instead of isspace avoids char subscript issues (#142467).
4571         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
4572         return value conflict.
4574         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
4575         value conflict.  Also improved signature. (#142466)
4577         * app/load_save.c (diagram_data_load): Don't overwrite the list in
4578         the layer, but instead free the returned list (#142480)
4580         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
4581         for the grid widget.
4583         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
4585         * configure.in (DB2MAN): Currently just check for two known
4586         positions for the docbook xsl.  Don't know a generic way to find
4587         this info.  Ought to add an option for it, but then it's really
4588         only required for maintainers, I think.  Maybe.
4590         * app/display.c (update_snap_grid_status): Remove nasty image
4591         toggling code not require for grid toggle button anymore. (#142475)
4593         * app/interface.c (create_display_shell): Use
4594         dia_toggle_button_new_with_images to create grid toggle button.
4595         Much nicer. (#142475)
4597         * app/menus.c (menus_initialize_updatable_items): Free the string
4598         along with the GString. (#142475)
4600         * lib/intl.c (free_alias_table): Free hash table entries in a
4601         proper way, avoiding duplicate frees. (#142475)
4603         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
4604         not put in the hash (avoid reading freed memory). (#142476)
4606         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
4607         faces. (#142484)
4608         (dia_font_selector_get_family_from_name): Stop leaking
4609         families. (#142482) 
4611 2004-05-14  Lars Clausen  <lars@raeder.dk>
4613         * Transfer of fixes from release branch.  Not the prettiest way to
4614         do it, this should be done during release, not afterwards.
4616         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
4618         * acinclude.m4: minor fixes (added missing [] quotation).
4620         Lars Clausen  <lars@raeder.dk>:
4622         * app/interface.c (toolbox_delete): 
4623         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
4624         cancels quit due to modified diagrams.
4626         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
4628         * is.po: Added "is" to ALL_LINGUAS.
4630         Lars Clausen  <lars@raeder.dk>:
4632         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
4634         Hans Breuer  <hans@breuer.org>:
4636         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
4637         burden should be shared and not be win32 only ;) [this time 
4638         build was broken by adding GtkType to widget.h]
4640         * objects/standard/box.c objects/standard/ellipse.c :
4641         for code clarification compare (obj->aspect != FREE_ASPECT)
4642         and not (obj->aspect); no binary effect.
4644         * app/paginate_psprint.c : don't leak printcmd
4646         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
4647         standard C requires variables to be declared at the beginning of 
4648         a block, also there is no fabsf() with msvc
4649         
4650         * app/win32print.[ch] : make win32_printer_close() return an
4651         error code, it's used as pclose replacement
4653         Lars Clausen  <lars@raeder.dk>:
4655         * RELEASE-PROCESS: Mention PATCH keyword in release process.
4657 2004-05-06  Lars Clausen  <lars@raeder.dk>
4659         * lib/widgets.[ch]: Utility function to make a widget with two
4660         images (selected and non-selected).
4662         * lib/diagramdata.h: Renamed selectable to connectable.
4663         Selectable will come later.
4665         * configure.in: 
4666         * app/pixmaps/Makefile.am (imagedir): 
4667         * app/pixmaps/connectable.png:
4668         * app/pixmaps/connectable-empty.png: New images for the
4669         selectability widget.  Proper installation, too.
4671         * app/layer_dialog.[ch]: Adding new button showing connectability
4672         status.  Much cleaner way of doing the button, but some problems
4673         with the item getting selected
4675         * lib/widgets.h: Reminder of how to install images for use by
4676         dia_get_image_from_file.
4678 2004-05-05  Lars Clausen  <lars@raeder.dk>
4680         * objects/network/Makefile.am: 
4681         * objects/network/pixmaps/radiocell.xpm: 
4682         * objects/network/pixmaps/basestation.xpm: 
4683         * objects/network/network.c: 
4684         * objects/network/basestation.c: 
4685         * objects/network/radiocell.c: 
4686         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
4687         station objects.
4689         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
4690         Backslash arrow head. 
4692         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
4693         Notify takes care.  Should maybe use that more.
4695         * lib/diagramdata.[ch]: 
4696         * app/filedlg.c (file_export_ok_callback): 
4697         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
4699         * app/dia-props.c (diagram_properties_respond): 
4700         * app/diagram.c (diagram_set_modified): 
4701         * app/undo.c: 
4702         * app/disp_callbacks.c: 
4703         * app/commands.c: 
4704         * app/load_save.c (diagram_save): 
4705         Better handling of undo and modified status -- only diagram
4706         properties and page setup explicitly set modified status, all
4707         other important changes should be done through the undo stack
4708         now.
4710 2004-05-04  Lars Clausen  <lars@raeder.dk>
4712         * app/app_procs.c (app_init): Consistently open a new diagram if
4713         none specified, with standard name Diagram1.dia.
4715         * app/layer_dialog.c: 
4716         * app/diagram.c (diagram_finalize): 
4717         * app/commands.c (dialogs_layers_callback): 
4718         * app/filedlg.c (file_export_ok_callback): 
4719         * app/app_procs.c (app_exit): 
4720         * app/display.c (display_set_active): 
4721         * app/interface.c (dia_dnd_file_drag_data_received): 
4722         * app/recent_files.c: 
4723         Undone attempt at unifying the multi-diagram windows (like
4724         layers).  It broke the layers and didn't make much sense for the
4725         diagram properties dialog anyway.
4727         * lib/group.c: 
4728         * lib/diatypes.h: 
4729         * lib/diagramdata.c: 
4730         * lib/object.h: 
4731         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
4732         many subclasses have to be fixed.  Fixed remaining
4733         Object/ObjectType renaming issues.
4735 2004-05-02  Lars Clausen  <lars@raeder.dk>
4737         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
4738           having to make all the children objects conform to
4739           GObject style at once?  Warning!  Does not compile right now.
4741         * many, many files: Rename Object to DiaObject in preparation for
4742           making it a GObject.
4743         
4744         * app/diagram.[ch]: Turn diagram into a real GObject.
4746         * app/pagesetup.c: 
4747         * app/filedlg.c: Correctly ref and unref diagram. 
4749         * lib/diagramdata.h: Starting to turn it into a GObject as well.
4751 2004-05-02  Lars Clausen  <lars@raeder.dk>
4753         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
4754         GObject. 
4756         * app/dia-props.c: Undo the attempt at making it really
4757         multi-diagram, now going for a one-diagram dialog.
4759 2004-04-30  Lars Clausen  <lars@raeder.dk>
4761         * app/undo.c: Undoing broken undo stuff for diagram properties and
4762         page setup.  Shouldn't be mixed into undo at all.
4764         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
4765         function to avoid in particular the grid crawling.
4767         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
4768         to allow aligning dashes, so they don't crawl.
4770 2004-04-28  Lars Clausen  <lars@raeder.dk>
4772         * app/Makefile.am: New files diacanvas.[ch]
4774         * app/interface.c (create_display_shell): Use new diacanvas that
4775         allows placing widgets on canvas, for text edit.
4777         * lib/object.h: 
4778         Early work towards rotation.  No implementation yet.
4780         * app/layer_dialog.c (undo_layer): 
4781         * objects/network/bus.c (bus_create_change): 
4782         * objects/standard/box.c (aspect_create_change): 
4783         * objects/standard/ellipse.c (aspect_create_change): 
4784         Use g_new0 for change struct.
4786         * app/undo.c (diagram_change_apply_or_revert): 
4787         Support for undo of diagram properties and page setup.
4789         * app/disp_callbacks.c (ddisplay_canvas_events): 
4790         * lib/text.h: 
4791         * lib/diagramdata.h: 
4792         * app/modify_tool.c (click_select_object): 
4793         * lib/text.c (text_register_editable): 
4794         Starting work on new text editing model.  Guarded by #ifdef so
4795         far. 
4797 2004-04-07  Lars Clausen  <lars@raeder.dk>
4799         * app/recent_files.c (open_recent_file_callback): 
4800         * app/interface.c (origin_button_press): 
4801         * app/filedlg.c (file_open_ok_callback): 
4802         * app/display.c: 
4803         * app/diagram.[ch]: 
4804         * app/commands.c (dialogs_layers_callback): Using new
4805         diagram_set_current() function to ensure auxilliary windows are
4806         updated. 
4808         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
4809         menu now borken.  *sniff*
4811         * app/dia-props.c: Diagram properties window attempted
4812         persistentified.  Trying to make more like layer dialog (since it
4813         already changes when the diagram changes), but some things still
4814         borken. 
4816 2004-04-06  Lars Clausen  <lars@raeder.dk>
4818         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
4819         * lib/attributes.c (attributes_set_default_line_style): 
4820         * app/interface.c (create_lineprops_area): 
4821         Make line style persistent as well.  Added function to directly
4822         set the style and dashlength of a dialinechooser. 
4824 2004-04-03  Lars Clausen  <lars@raeder.dk>
4826         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
4827         Copy the ellipse extra handle correctly.
4829         * objects/standard/box.c (box_move_handle): Move definitions
4830         according to bug #138925.
4832 2004-04-02  Lars Clausen  <lars@raeder.dk>
4834         * app/recent_files.c: Use absolute name for recent files list.
4836         * lib/attributes.c: Set start and end arrow types, correctly.
4838         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
4839         to get arrow index.
4841         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
4843         * app/interface.c (create_lineprops_area): Set persistently stored
4844         arrow info.
4846         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
4847         from arrow type.
4849         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
4850         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
4852         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
4853         with what xfig does.  Text now converted from latin-1 to utf-8
4854         (latin-1, since that's what xfig seems to use.  Would like to see
4855         examples of non-latin-1 figs).  String case problems fixed.
4857 2004-04-01  Lars Clausen  <lars@raeder.dk>
4859         * lib/attributes.c: 
4860         * app/interface.c: Default arrows now stored persistently, too.
4862         * lib/arrows.[ch]: New function to get arrow type from name.
4864         * app/color_area.c (color_area_create): 
4865         * lib/attributes.c: 
4866         * app/linewidth_area.c: Also persistent colors and line width.
4867         That was easy.  Arrows and line style will take a bit more work,
4868         but not much.
4870 2004-04-01  Lars Clausen  <lars@raeder.dk>
4872         * app/preferences.c:   All preferences are now
4873         handled by persistence, old prefs load and store code is gone.
4875         * lib/persistence.[ch]: Added string and color persistents.  This is
4876         a different string from the one used in the printer dialog, that
4877         one has a GtkEntry attached -- may want to make that one an
4878         encapsulation of this one or something.
4880 2004-03-31  Lars Clausen  <lars@raeder.dk>
4882         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
4883         phased out anyway.
4884         
4885         * lib/persistence.[ch]: 
4886         * app/preferences.c: Adding persistence for integers, reals,
4887         booleans.  Fixed stupid list bug.  Test persistence for prefs.
4889 2004-03-30  Lars Clausen  <lars@raeder.dk>
4891         * app/recent_files.c: 
4892         Debugging of deallocation.
4893         
4894         * lib/widgets.c: 
4895         Font menu now uses persistence.  Ordering needs fixing, or it must
4896         be sorted.
4898         * lib/libdia.def: 
4899         * lib/Makefile.am (libdia_la_SOURCES): 
4900         * app/Makefile.am (dia_core_files): 
4901         * app/persistence.[ch]: 
4902         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
4903         number of fixes, including multiple entries now being read
4904         properly.  Still some oddity about the persistent list having the
4905         role as first entry (which makes the font menu crash after a few
4906         iterations). 
4908 2004-03-26  Lars Clausen  <lars@raeder.dk>
4910         * app/persistence.c:
4911         * app/recent_files.[ch]: Redoing the recent-files list using
4912         persistence, reducing code by about 50%.  Still a problem when
4913         selecting an item from the menu -- possibly it doesn't like the
4914         menu being destroyed while in the callback?
4916 2004-03-25  Lars Clausen  <lars@raeder.dk>
4918         * app/persistence.c (persistence_load_string): Missing semicolon?!?
4920 2004-03-24  Lars Clausen  <lars@raeder.dk>
4922         * RELEASE-PROCESS: 
4924         * app/persistence.[ch]: 
4925         * app/paginate_psprint.c (diagram_print_ps): New type of data can
4926         be stored persistently:  Strings.  Only the printer command/file
4927         go in here now, but things like creator, organization, diagram
4928         comments etc could also be handled this way.
4930         * objects/standard/beziergon.c (beziergon_draw): Avoid control
4931         lines when the object is not selected.
4933 2004-03-23  Lars Clausen  <lars@raeder.dk>
4935         * lib/connectionpoint.h: 
4936         * app/load_save.c: Allow connection points to have names, and
4937         handle that in load/store.
4939         * lib/dialibartrenderer.c: Better highlighting for text.
4941         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
4942         * lib/diagdkrenderer.c: Better highlighting for all, using same
4943         principles as libart highlighter.
4945 2004-03-22  Lars Clausen  <lars@raeder.dk>
4947         * lib/dialibartrenderer.[ch]: 
4948         * lib/diagdkrenderer.c: 
4949         * lib/object.h: 
4950         * app/object_ops.c:
4951         * app/diagram.[ch]:
4952         * app/display.[ch]:
4953         * app/Makefile.am: 
4954         * app/modify_tool.c: 
4955         * app/create_object.c: 
4956         * app/highlight.[ch]: 
4957         Added simple object highlighting.  In GDK rendering, highlights
4958         the bbox, in libart highlights the outline of the object (except
4959         for texts).
4961 2004-03-22  Lars Clausen  <lars@raeder.dk>
4963         * RELEASE-PROCESS: Added info on how to do a branch for
4964         development during release process.
4966 2004-03-20  Lars Clausen  <lars@raeder.dk>
4968         * RELEASE-PROCESS: Mention PATCH keyword in release process.
4970 2004-03-19  Lars Clausen  <lars@raeder.dk>
4972         * xmldocs.make: Fixed apparent uninstall error.
4974         * config.h.win32: 
4975         * doc/en/dia-manual.xml: 
4976         * doc/pl/dia-manual.xml: 
4977         * dia.spec: 
4978         * configure.in: 
4979         * NEWS: Version 0.93-pre1.
4981         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
4982         borelli):  Remove some deprecated stuff.
4984 2004-03-18  Lars Clausen  <lars@raeder.dk>
4986         * Makefile.am: Try better uninstall thing for scrollkeeper.
4988         * objects/ER/entity.c: 
4989         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
4990         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
4991         1, 1 exactly, as well as associative ER entities.
4993 2004-03-17  Lars Clausen  <lars@raeder.dk>
4995         * Makefile.am: Make distcheck not complain about scrollkeeper
4996         problems (as per advice from James Henstridge).
4998         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
4999         standard installation.
5001         * objects/standard/ellipse.c: Better strings for object menu.
5003         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
5004         of dialogs (shame on you, glade!)
5006         * objects/custom/custom_object.c (custom_setup_properties):
5007         Removed debugging output
5009         * app/paginate_psprint.c (diagram_print_ps): Slightly more
5010         readable printer error messages.
5012         * xmldocs.make: 
5013         * omf.make: 
5014         * doc/en/Makefile.am: 
5015         * doc/pl/Makefile.am: 
5016         New more standard way to install the XML-based manuals.  
5018 2004-03-15  Lars Clausen  <lars@raeder.dk>
5020         * objects/standard/box.c (box_move_handle): More intuitive fixed
5021         aspect behaviour.
5023         * objects/standard/ellipse.c: 
5024         * objects/standard/box.c: 
5026         * lib/widgets.[ch]:
5027         * app/layer_dialog.[ch]:
5028         Patch from Steve Langasek <vorlon@debian.org>:
5029         Fixes startup crash on Alpha (bug #137169)
5030         
5031         * objects/standard/box.c: Aspect fixing like ellipses.
5033         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
5035         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
5036         pixmaps, now can uninstall properly.
5038         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
5039         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
5040         #93940. 
5041         Added object menu access.
5043 2004-03-07  Hans Breuer  <hans@breuer.org>
5045         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
5046         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
5047         would not use deprecated apis, but it's much simpler this way)
5049         * lib/makefile.msc : build the above new widgets and render_pixmap
5050         * lib/libdia.def app/dia.def app/makefile.msc : updated
5052         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
5053         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
5054         Previously it gave :
5055         disp_callbacks.c(188) : error C2059: syntax error : '}'
5056         disp_callbacks.c(191) : warning C4034: sizeof returns 0
5058         * app/interface.c : #include "dialinechooser.h"
5060         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
5061         [one more reason not to use it here : it's quite slow compared to
5062          the native win32 font renderer ;]
5064         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
5065         a GtkDialog*, removed unneeded cast
5067         * app/render_eps.c : avoid assignment warning for void* user_data
5068         not being an int 
5070 2004-03-06  Steffen Macke sdteffen@web.de>
5072         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
5073         shapes
5075 2004-03-06  Lars Clausen  <lars@raeder.dk>
5077         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
5078         0.5, as per poll.
5080         * lib/font.c: Simple cleanup system for layout cache removes any
5081         layout that hasn't been used for 10 minutes, but only during idle
5082         time. 
5084 2004-03-05  Lars Clausen  <lars@raeder.dk>
5086         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
5087         (lluis padro) (#130887): Extended Electric shapes with vertical
5088         versions. 
5090         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
5091         start with "Create a" or "A", always capitalize first word).
5093         * objects/standard/ellipse.c: Patch from Grégoire Dooms
5094         <dooms@info.ucl.ac.be>: Add extra connection point in center of
5095         ellipse.  Additionally added a handle in the center, and resize is
5096         now around the center.
5098         * configure.in: 
5099         * sheets/Makefile.am (SUBDIRS): 
5100         * sheets/IsometricMap.sheet.in: 
5101         * shapes/Map/Isometric/*
5102         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
5104 2004-03-04  Lars Clausen  <lars@raeder.dk>
5106         * lib/Makefile.am: 
5107         * lib/pixmaps/Makefile.am: 
5108         * configure.in: 
5109         Better installation handling of pixmaps.
5110         
5111         * lib/diagdkrenderer.c: 
5112         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
5113         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
5114         Constness fixes.
5116 2004-03-03  Lars Clausen  <lars@raeder.dk>
5118         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
5119         * lib/diagdkrenderer.c: 
5120         * lib/diasvgrenderer.c:
5121         * lib/dialibartrenderer.c:
5122         * lib/diainteractiverenderer.c: 
5123         * lib/prop_text.c (multistringprop_handle_key): 
5124         * lib/dia_dirs.c: 
5125         * lib/dia_image.c (dia_image_rgba_data): 
5126         * lib/widgets.c: 
5127         * lib/diagramdata.c (layer_set_object_list): 
5128         * lib/font.h: 
5129         * lib/font.c: 
5130         Getting rid of compile warnings.
5132         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
5133         images.  Also remove unused decls.
5135 2004-03-02  Lars Clausen  <lars@raeder.dk>
5137         * lib/widgets.h: 
5138         * lib/widgets.c (dia_size_selector_init): Add images to the size
5139         selector chain widget.  Also new function to load installed images
5140         from files (better than from included XPM, IMHO).
5142 2004-03-02  Lars Clausen  <lars@raeder.dk>
5144         * lib/libdia.def: 
5145         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
5146         size selector.
5148         * lib/Makefile.am: 
5149         * lib/widgets.c (dia_size_selector_init): Work
5150         on getting proper icon onto the size selector.  Need simple image
5151         load mechanism in utils.
5153         * lib/text.c: 
5154         * app/display.[ch]:
5155         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
5156         strings, handle utf8 strlen properly.  Bug #135930.
5158 2004-03-01  Lars Clausen  <lars@raeder.dk>
5160         * shapes/Cybernetics/*:
5161         * sheets/Cybernetics.sheet.in:
5162         * sheets/Makefile.am:
5163         * shapes/Makefile.am: 
5164         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
5165         Roggendorf): Cybernetic shapes (#95553).
5167 2004-03-01  Lars Clausen  <lars@raeder.dk>
5169         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
5171         * lib/diatypes.h: New type DiaSizeSelector.
5173         * lib/widgets.[ch]: New size selector widgets that selects two
5174         values (width and height, nominally) optionally linked to keep
5175         aspect ratio.
5177 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5179         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
5180         in front of file. Bug #128600.
5182         * app/Makefile.am:
5183         * app/interface.h:
5184         * app/lineprops_area.[ch]:
5185         * lib/Makefile.am:
5186         * lib/dialinechooser.[ch]:
5187         * lib/widgets.c (dia_line_style_selector_init): use line preview 
5188         instead of text labels. This involve moving away line_chooser to lib
5189         from app.
5191         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
5192         symbol conflicts.
5194         * app/Makefile.am (dia_core_files): 
5195         * app/interface.c (create_lineprops_area):
5196         * app/render_pixmap.[ch]:
5197         * lib/Makefile.am:
5198         * lib/diaarrowchooser.[ch]:
5199         * lib/libdia.def:
5200         * lib/prop_attr.c:
5201         * lib/propdialogs.c:
5202         * lib/render_pixmap.[ch]:
5203         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
5204         of text labels. This involve moving away arrow_chooser to lib from
5205         app.
5207 2004-02-29  Lars Clausen  <lars@raeder.dk>
5209         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
5210         being updated half-way through destruction.  To be removed when
5211         the lists are replaced by something better.
5213         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
5214         Accelerators for class dialog.  Bug #130995.
5215         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
5217         * app/dia-props.c:
5218         * app/preferences.c:
5219         * lib/properties.c:
5220         * objects/GRAFCET/step.c:
5221         * objects/Misc/analog_clock.c:
5222         * objects/chronogram/chronoline.c:
5223         * objects/chronogram/chronoref.c:
5224         Change to american spelling (color, not colour) to ease
5225         translators job.  Note that a number of translations may need an
5226         update now.  Bug #120466.
5228 2004-02-29  Lars Clausen  <lars@raeder.dk>
5230         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
5231         Better arrow handling for missing arrows.
5233         * plug-ins/metapost/render_metapost.[ch]: Patch from
5234         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
5235         size. See bug #135363.
5237         * app/app_procs.c (app_init): If non-interactive, or if
5238         --log-to-stderr used, send all messages to stderr.  This should
5239         mean that old diaconv == dia --export-to-format=FOO BAR
5241 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
5243         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
5245 2004-02-28  Lars Clausen  <lars@raeder.dk>
5247         * lib/text.c (text_key_event): Patch from Kouhei Sutou
5248         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
5250 2004-02-27  Lars Clausen  <lars@raeder.dk>
5252         * KNOWN_BUGS: Added info on most commonly reported bugs, with
5253         BugZilla numbers.
5254         
5255         * app/disp_callbacks.c (popup_object_menu): Unified properties
5256         entry, fixes bug #105080.
5258         * app/diagram.c (diagram_update_menu_sensitivity): 
5259         * app/menus.h (struct _UpdatableMenuItems): 
5260         * app/menus.c (menus_initialize_updatable_items): Menu items
5261         changed around, align menus flattened, properties entry ghosted,
5262         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
5263         #117495, #135125.
5264         Also taking out Gnome menus for now.  They don't allow shortcuts,
5265         so what are they good for?
5267 2004-02-27  Lars Clausen  <lars@raeder.dk>
5269         * app/menus.c (display_menu_items): 
5270         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
5271         (bug #95546).
5273 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
5275         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
5277 2004-02-23  Lars Clausen  <lars@raeder.dk>
5279         * app/app_procs.c (app_init): Comments for translators.
5281 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
5283         * app/preferences.c (prefs_create_dialog): Change packing policy
5284         for widget to expand.
5286         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
5287         running with a debugger.
5289 2004-02-19  Lars Clausen  <lars@raeder.dk>
5291         * app/undo.[ch]: Adding last-saved information to undo to allow a
5292         diagram with all changes since last save undo to be marked as
5293         nonmodified.  Still needs integration with actual undo
5294         apply/revert calls.
5296         * app/diagram.h: 
5297         * app/diagram_tree.c (diagram_tree_update): 
5298         * app/diagram.c: 
5299         * app/display.c (update_modified_status): 
5300         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
5301         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
5302         test. 
5304         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
5305         vs. EPSI, comment out EPSI until preview is in there.
5307         * lib/render.c: 
5308         * lib/diarenderer.c: Removing debugging printfs.
5310         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
5311         (with preview)
5313         * objects/standard/arc.c (arc_update_handles): Check to avoid
5314         crash when start and end points are the same.
5316 2004-02-19  Lars Clausen  <lars@raeder.dk>
5318         * objects/standard/bezier.c: 
5319         * objects/standard/line.c (line_load): 
5320         * objects/standard/polyline.c (polyline_load): 
5321         * objects/standard/zigzagline.c (zigzagline_load): 
5322         * objects/standard/arc.c (arc_load): 
5323         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
5324         instead of hardcoding.
5326 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
5328         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
5329         display properties.
5331 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
5333         * app/app_procs.c: declare rc properly with the proper #ifdef
5335 2004-02-17  Lars Clausen  <lars@raeder.dk>
5337         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
5338         objects (which seemingly FIG itself breaks, or else there is no
5339         ordering).
5341 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5343         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
5344         width renderable in xfig.  Helps on bug #133637, but does not
5345         quite fix it -- something about depth is wrong.
5347         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
5348         Extern definitions for Mac compilation.
5350         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
5351         (jdassen@debian.org): Include fix.
5353         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
5354         sure the initial diagram size is correct.
5356 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5358         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
5359         CPPFLAGS, as per automake warning.
5360         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
5361         LDFLAGS, as per automake warning.
5362         (run_dia.sh): More robust creation, and more easily moved.
5364         * app/undo.c (group_objects_revert): Don't double-free the objects
5365         list.  (#129221) Call object_add_updates on grouped objects.
5366         (ungroup_objects_revert): Call object_add_updates on grouped objects.
5368         * lib/diagramdata.c: Internal
5369         documentation. 
5371         * lib/polyshape.c (polyshape_update_data): Correctly calculate
5372         directions for polyshape corners (thanks, Valgrind!)
5374         * lib/attributes.c: 
5375         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
5377         * lib/arrows.h: Default arrow size defined.  After all are using
5378         this, may lower to 0.4 or so.
5380         * app/lineprops_area.[ch]: New function to set the arrow type for an
5381         arrow chooser.
5383         * app/interface.c (create_lineprops_area): Set default line to
5384         have an arrow (fairly likely to be what's wanted, plus it shows
5385         the user where arrows are set).
5387         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
5389 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5391         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
5392         Dotted lines should use dot_length, not dash_length.
5394 2004-02-06  Hans Breuer  <hans@breuer.org>
5396         * app/interface.c : don't use gtk_drawing_area_size() to avoid
5397         the defaut size being also the minimum size. Instead use
5398         gtk_window_set_default_size() on the display shell. Fixes #130982.
5400         [fixing #131210, but umlauts in the 'main' filename still not really 
5401          supported on systems where filesystem encoding != utf8
5402         (Problems with recent file menu and window title)]
5403         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
5404         to deal with possible differnces in filename encodings, see
5405         g_filename_<to|from>_utf8()
5406         * objects/standard/image.c : use them.
5408         * lib/widgets.c : handle possible encoding difference here, too.
5409         Also get rid of most warnings by using const and GTK casts where 
5410         appropriate; one wrong cast (probably causing a crash) was found/fixed 
5411         by this - the remaining give a hint on finally leaking FontSelectorEntry.
5413         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
5414         dia_file_selector_<get|set>_file to behave like the respective Gtk 
5415         functions do : encoding- and const-wise ;-)
5417 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
5419         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
5421 2004-01-19  Hans Breuer  <hans@breuer.org>
5423         * app/app_procs.c app/diaconv : 
5424         only call bind_textdomain_codeset when available, what's good 
5425         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
5426         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
5428 2004-01-19  Steffen Macke <sdteffen@web.de>
5430         * makefile.msc: updated for new GAIM-like installer build; sync'ed
5431         ALL_LINGUAS with configure.in
5433 2004-01-18  Hans Breuer  <hans@breuer.org>
5435         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
5436         by not passing NULL to g_print()
5438         * app/interface.c (create_toolbox) : actually use
5439         persitence_register_window() to restore toolbox window size
5441         * app/makefile.msc lib/makefile.msc : allow to deselect
5442         building with Freetype by command line to nmake like :
5443                 nmake -f makefile.msc "NOFT2=1"
5445         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
5446         far as possible with Dia's limited line style
5447         * plug-ins/python/pydia-property.c : allow to get and set
5448         Linestyle, style and dash(length)
5450         * lib/object.h : removed typedef for ObjectId not use anywhere
5452 2004-01-17  Hans Breuer  <hans@breuer.org>
5454         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
5455           doc/shape.dtd doc/custom-shapes : 
5456         support for images in custom shapes, also removed some long-time
5457         dead code
5459         * doc/en/*.xml : fixed crippled line ends which get created
5460         when windoze line ends are checkin from the unix side
5462 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
5464         * configure.in: Added "sq" to ALL_LINGUAS.
5466 2004-01-11  Hans Breuer  <hans@breuer.org>
5468         [more less leaks ;-]
5469         
5470         * objects/SADT/annotation.c : use text_destroy() not g_free()
5471         
5472         * objects/chronogram/chronoline.c : neither leak chronoline::events
5473         nor chronoline::name
5475         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
5477 2004-01-11  Hans Breuer  <hans@breuer.org>
5479         * lib/properties.h :
5480         * objects/custom/custom_object.c : more properties optional
5481         to be backward compatible for older diagrams not having them 
5482         set. (Try to load samples/all_objects.dia)
5483         
5484         [less memory leaks thanks valgrind ;-]
5485         
5486         * app/recent_files.c (recent_file_history_write) : 
5487         g_free(history_filename);
5488         (recent_file_menu_item) : use g_path_get_basename() 
5489         which already strdups, free result of g_strescape()
5490         
5491         * app/filedlg.c (create_export_menu) : return of
5492         filter_get_export_filter_label() must be g_free()'d
5493         (create_open_menu) : same for import
5494         
5495         * app/export_png.c (export_png_ok) : destroy info ptr
5496         with png_destroy_write_struct()
5497         
5498         * app/app_procs.c (app_init) : g_free(export_format_string);
5499         
5500         * lib/font.c (dia_font_finalize) : finalize parent_class, too
5501         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
5502         refing it a second time, g_type_create_from_instance() is enough
5503         
5504         * lib/object_defaults.c (_obj_store) : don't mess with names
5505         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
5506         
5507 2004-01-11  Steffen Macke <sdteffen@web.de>
5509         * app/diapsftrenderer.c: including ftoutln.h
5510         * app/makefile.msc: updated for freetype build
5511         * lib/libdia.def: added dia_font_get_context()
5512         * lib/dialibartrenderer.c (draw_string): added cast
5513         
5514 2004-01-10  Hans Breuer  <hans@breuer.org>
5516         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
5517         transformed coordinates, fixes bug 130804
5519 2004-01-10  Hans Breuer  <hans@breuer.org>
5521         * app/filedlg.c app/app_procs.c : don't try to destroy 
5522         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
5523         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
5524         returns. Fixes 'has no handler' bugs like #121019
5526 2004-01-10  Hans Breuer  <hans@breuer.org>
5528         * objects/UML/class.c objects/UML/class_dialog.c : 
5529         handle umlclass->name being empty to avoid, i.e. fix #127968
5531         [plugging memleaks, thanks valgrind :-]
5532         
5533         * lib/dia_xml.c (data_string) : don't leak return value
5534         of xmlNodeListGetString()
5535         
5536         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
5537         before returning, maybe alloca() would be the better 
5538         choice but anyway ;)
5540         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
5541         
5542         * lib/font.c (dia_font_build_layout) : don't leak result
5543         of g_utf8_strdown()
5544         
5545         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
5546         (this is the one which got me started using valgrind, see #130816)
5547         
5548 2004-01-07  Sanlig Badral  <badral@openmn.org>
5550         * configure.in: Added "mn" to ALL_LINGUAS.
5552 2004-01-04  Hans Breuer  <hans@breuer.org>
5554         * lib/diagdkrenderer.c : replace rendering of really small (height
5555         less than 2 pixels) with a simple dashed line, you wont notice the 
5556         differnce beside it being much faster. This allows ...
5557         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
5558         * app/navigation.c : ... and lets you see an read rendered text even 
5559         in the nice navigation popup.
5561         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
5562         (draw_string) : don't leak temporary image
5564 2004-01-04  Hans Breuer  <hans@breuer.org>
5566         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
5567         * app/interface.c : use dia-app-icons.h to give Dia window icons
5569         * lib/dia_image.c lib/color.c : _never_ call functions implemented
5570         in app/ from lib/. It is not portable and broken from design
5571         * app/app_procs.c : call color_init() and dia_image_init() conditional,
5572         i.e. only if running interactive.
5574         * lib/font.h : #include <time.h>
5576         * lib/libdia.def : updated externals
5578         * objects/UML/actor.c 
5579             objects/UML/association.c (todo)
5580           objects/UML/branch.c
5581           objects/UML/class.[hc] objects/UML/class_dialog.c
5582           objects/UML/classicon.c
5583           objects/UML/component.c 
5584           objects/UML/constraint.c
5585           objects/UML/dependency.c
5586           objects/UML/generalization.c
5587           objects/UML/implements.c
5588           objects/UML/large_package.c
5589           objects/UML/lifeline.c
5590           objects/UML/message.c
5591           objects/UML/node.c
5592           objects/UML/object.c
5593           objects/UML/realizes.c
5594           objects/UML/small_package.c
5595           objects/UML/state.c
5596           objects/UML/usecase.c
5597           objects/UML/
5598         : ported coloring of most UML objects (bug #97517, orginal
5599           work Mathias Hasselmann)
5601         * lib/properties.h : add _OPTIONAL variants for 
5602         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
5603         i.e. default colored - UML diagrams without complaining
5604         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
5605         not set properties with the help of PXP_NOTSET. Otherwise 
5606         optional attributes would lead to wrong initialization. 
5608         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
5609         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
5610         Same for most other selectors which probably should be rewritten
5611         to the combo box with tree model from Gtk+ 2.4
5613 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5615         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
5616         being the Right Thing(tm) to use on Solaris.
5618         * objects/standard/bezier.c (bezierline_draw): Don't draw
5619         guidelines if not selected.
5621         * lib/object.[ch] (dia_object_is_selected): Function to check whether
5622         a given object is selected. O(n), where n is # selected objects.
5623         
5625 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5627         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
5628         Fonts dialog is closed without pressing Ok (bug #128646).
5630 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5632         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
5633         #130099). 
5635 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5637         * INSTALL: Updated list of requirements (bug #129653)
5639         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
5640         Pionchon <luc@handhelds.org>.
5642 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5644         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
5645         empty or NULL strings (bug #130097).
5647 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
5648         
5649         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
5650         Added checks against color_black.
5652 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5654         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
5655         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
5656         can happen.
5658         * objects/UML/component_feature.c: Patch from W. Borgert
5659         <debacle@debian.org>:  Add handle to component feature text.
5661         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
5663         * lib/font.c: Caching PangoLayout for better rendering speed.
5665 2003-12-30  Lars Clausen  <lars@raeder.dk>
5667         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
5668         get absolute file name from relative.
5669         * app/recent_files.c (recent_file_history_add): Use absolute
5670         filenames for recent files menu so that files can be found when
5671         Dia is invoked from other places.  
5673         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
5674         Actually load different diagrams if such are requested on command
5675         line.  
5677         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
5678         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
5680         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
5681         remove text rendering.  May be turned into greeking at some later
5682         stage.
5684         * app/interface.c: 
5685         * app/Makefile.am (dia_core_files): 
5686         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
5687         Adds navigation window a la Gimp, though without text being
5688         rendered at all.
5690 2003-12-27  Luc Pionchon <luc@handhelds.org>
5692         * app/navigation.h: (new file)
5693         * app/navigation.c: (new file) creates a navigation window with a
5694         thumbnail view of the whole diagram.
5695         * app/Makefile.am (dia_core_files): added new files.
5697         * app/interface.c (create_display_shell): added a button between
5698         the scrollbars to popup a navigation window.
5700         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
5701         boolean
5702         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
5703         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
5704         not want text rendering.        
5706 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5708         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
5710         * objects/custom/shape_info.[ch]: Cleanup.
5712         * objects/custom/custom_object.[ch]: Changed to use new props
5713         interface.
5715         * lib/properties.h: 
5716         * lib/prop_text.c: 
5717         * lib/prop_inttypes.c: 
5718         * lib/prop_geomtypes.c: Added *prop_get_data_size.
5720         * lib/libdia.def: Added object_load_props.
5722         * configure.in: Better FT2 version test, from bug #129225.
5724         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
5726         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
5727         Lehmann <holger.lehmann@catworkx.de>.
5729         * plug-ins/xslt/Makefile.am: 
5730         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
5731         and OWL XSLT sheets.
5733 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5735         * lib/diagdkrenderer.c: Add implementation so text is still
5736         rendered.  May be improved later.
5738         * lib/dia_image.c: 
5739         * app/main.c: 
5740         * app/export_png.c: 
5741         * app/diagram.c: 
5742         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
5743         Allow running without a $DISPLAY!
5745         * lib/color.c: Remove warnings for non-interactive run.
5747         * doc/en/dia.dbk: 
5748         * app/export_png.c: 
5749         * app/diaconv.c: 
5750         * app/app_procs.[ch]: 
5751         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
5752         to specify size for PNG output.
5754         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
5755         render a little smaller, so as to fit the big ones.
5757         * lib/arrows.[ch]: New arrow type from W. Borgert
5758         <debacle@debian.org>: Filled Dot and Triangle.
5760 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5762         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
5763         for gif images.
5765         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
5767         * acinclude.m4: Better Python configure code patch (can't find
5768         author, author please speak up!)
5770 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5772         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
5773         smarter ones.
5775 2003-11-30  Hans Breuer  <hans@breuer.org>
5777         * plug-ins/python/diasvg.py : initialize self.dash_length
5778         in constructor to avoid crashing if the renderer user
5779         does not set it before first usage.
5781 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5783         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
5784         active yet.
5786         * configure.in: 
5787         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
5788         development and stable versions.
5790         * lib/text.c (text_draw): Use new renderer function to draw the
5791         text.
5793         * lib/diarenderer.h: 
5794         * lib/diarenderer.c: New renderer function "draw_text" with
5795         default implementation.  This function should eventually be the
5796         main interface, as it will be able to handle width and caching of
5797         rendering internally.  All users of draw_string should convert to
5798         use Text objects and call either renderer->draw_text or text_draw,
5799         the latter if the text can be edited in-place (as should be the
5800         goal, eventually).
5802 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5804         * shapes/Circuit/hresistor.shape: First example of extra
5805         attributes. 
5807 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5809         * plug-ins/shape/shape-export.c: 
5810         * lib/diasvgrenderer.h: 
5811         * lib/diasvgrenderer.c: 
5812         * plug-ins/svg/render_svg.c (new_svg_renderer): 
5813         Actually store the font size, using DiaRenderer's font fields.
5815 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5817         * objects/custom/shape_info.[ch]: 
5818         * objects/custom/custom_object.[ch]: 
5819         Support for extra attributes in custom objects.
5820         
5821 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5823         * app/diagram.c (diagram_update_menu_sensitivity): More
5824         intelligent checks for menu sensitivity.  Might be slow on huge
5825         diagrams, but I think other things outweigh it by a lot.
5827         * app/menus.[ch]: Make "Bring Forwards"
5828         and "Send Backwards" updateable.
5830 2003-11-22  Steffen Macke <sdteffen@web.de>
5832         * shapes/Assorted/arrow-turn-up.shape:
5833         * shapes/Assorted/arrow-turn-up.png:
5834         * sheets/Assorted/Makefile.am:
5835         * sheets/Assorted.sheet.in: Added new arrow
5837 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5839         * app/app_procs.c
5840         * app/color_area.c
5841         * app/commands.c
5842         * app/defaults.c
5843         * app/dia_embedd.c
5844         * app/diagram.c
5845         * app/diagram_tree.c
5846         * app/diagram_tree_menu.c
5847         * app/diagram_tree_window.c
5848         * app/diapagelayout.c
5849         * app/diaunitspinner.c
5850         * app/export_png.c
5851         * app/filedlg.c
5852         * app/interface.c
5853         * app/layer_dialog.c
5854         * app/lineprops_area.c
5855         * app/linewidth_area.c
5856         * app/menus.c
5857         * app/pagesetup.c
5858         * app/paginate_psprint.c
5859         * app/persistence.c
5860         * app/plugin-manager.c
5861         * app/preferences.c
5862         * app/properties.c
5863         * app/recent_files.c
5864         * app/sheets.c
5865         * app/sheets_dialog.c
5866         * app/sheets_dialog_callbacks.c
5867         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
5868         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
5870         * TODO: Updated, note on EPS transparency.
5872 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5874         * objects/UML/class.c (umlclass_draw): Allow classes with no name
5875         without crashing.
5877 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5879         * config.h.win32: 
5880         * doc/en/dia-manual.xml: 
5881         * dia.spec: 
5882         * configure.in: 
5883         * NEWS: Another Brown Bag release for parenting problems,
5884         including a crash bug fix.
5886         * app/connectionpoint_ops.c (diagram_update_connections_object):
5887         Also update connections when moving children.  This can cause
5888         move_handle to be called twice, so it must be idempotent.
5890         * app/load_save.c: Loading and saving of children totally redone.
5891         Now doesn't violate assumption that all objects in a layer are
5892         placed in order in XML file.
5894         * objects/UML/branch.c (branch_create): Don't lie about being
5895         resizable. 
5897         * objects/UML/node.c (node_create): 
5898         * objects/UML/large_package.c (largepackage_create): Drag with
5899         lower right-hand handle at creation like all other objects.
5901 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5903         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
5904         parenting drop to behave like a move inside, i.e. constrain place
5905         instead of trying to resize.  'Cause, resizing cannot be done for
5906         all objects (e.g. UML Class). Also simplified the algorithm a lot
5907         at the same time.
5909         * app/load_save.c: Saving and loading of connection points for
5910         children added.  Prototypes for static functions added.
5912         * lib/dynamic_obj.c: Removed debugging output.
5914 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5916         * doc/en/dia-manual.xml: 
5917         * doc/pl/dia-manual.sgml: 
5918         * dia.spec: 
5919         * config.h.win32: 
5920         * configure.in: 
5921         * NEWS: Brown Bag release 0.92.1
5923         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
5925 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5927         * app/app_procs.c (app_init): Rearrangement for translators.
5929 2003-10-24  Steffen Macke <sdteffen@web.de>
5931         * lib/text.c(text_key_event): enforcing the inserted text length now,
5932         fix for bug #125348
5934 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5936         * MAINTAINERS: Change Debian maintainer to be the default address.
5938         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
5939         args to match prototype, thus removing crashbug #125159.
5941         * RELEASE-PROCESS: Note to self.
5943 2003-10-22  Steffen Macke <sdteffen@web.de>
5945         * doc/en/dia-manual.xml: removed superfluous external references
5946         
5947 2003-10-21  Steffen Macke <sdteffen@web.de>
5949         * lib/libdia.def: added filter_get_by_name
5950         * app/render_eps.c: moved extensions definition outside #ifdef
5952 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5954         * Makefile.am: 
5955         * dia.1:
5956         Removed old Dia manual, put new one in doc/en/.  Translations
5957         should go in doc/??/.
5959         * doc/en/dia-manual.xml: 
5960         * doc/pl/dia-manual.sgml: 
5961         * dia.spec (Release): 
5962         * config.h.win32: 
5963         * configure.in: 
5964         * NEWS: 0.92 is here!
5966         * doc/en/dia.dbk: 
5967         * doc/en/dia.1: 
5968         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
5969         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
5970         but it shall be.
5972         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
5974         * doc/en/usage-objects-selecting.xml: Commented out empty note.
5976 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5978         * doc/pl/dia-manual.sgml: 
5979         * doc/en/dia-manual.xml: 
5980         * config.h.win32: 
5981         * NEWS: 
5982         * configure.in: 
5983         * dia.spec (Release): Pre7.
5985         * app/diapsrenderer.c (draw_string): Convert string to print based
5986         on current locale.  If conversion fails, fall back to UTF-8 (which
5987         is almost certain to be messy).
5989 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5991         * doc/pl/dia-manual.sgml: 
5992         * dia.spec (Release): 
5993         * configure.in: 
5994         * NEWS: 
5995         * config.h.win32: 
5996         * doc/en/dia-manual.xml: Pre6.
5998         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
5999         TeX chars in strings -- must be possible to use TeX text in there.
6000         Also avoids infinite loop bug (#124464) Will get option for this
6001         later.
6003 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6005         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
6007         * doc/en/dia-manual.xml: 
6008         * doc/pl/dia-manual.sgml: 
6009         * dia.spec (Release): 
6010         * configure.in: 
6011         * config.h.win32: 
6012         * NEWS: pre5.
6014         * app/authors.h: Removed duplicate of M. C. Nelson.
6016         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
6018         * app/export_png.c: Unique name for libart PNG export: png-libart.
6020         * app/render_eps.c: Unique names for the two eps export methods:
6021         eps-builtin, eps-pango.
6023         * lib/filter.h: Binary compatibility change: 
6024         Added unique name to export filters.  Can be NULL.
6025         * lib/filter.c (filter_get_by_name): Finding a filter by
6026         non-extension name.
6028         * app/app_procs.h: Changed prototype for do_convert.
6029         * app/app_procs.c (app_init): Support for non-extension file
6030         format selection for export.  Also allow extension to differ from
6031         that specified by the filters.  A bit of refactoring, too.
6033 2003-09-28  Steffen Macke <sdteffen@web.de>
6035         * makefile.msc: added target po to update the translations
6037 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6039         * config.h.win32: 
6040         * dia.spec (Release): 
6041         * NEWS: 
6042         * doc/pl/dia-manual.sgml: 
6043         * doc/en/dia-manual.xml: 
6044         Pre4 is given a short try.
6045         
6046         * configure.in: Give all necessary libs to PNG test.
6048         * lib/font.c: Added legacy entries for sans, serif and monospace.
6050         * app/app_procs.c (internal_plugin_init): 
6051         * app/render_eps.h: 
6052         * app/render_eps.c: 
6053         Added PS fonts output for Unix.
6055         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
6056         factor to make PS fonts stay in boxes.
6057         
6058 2003-08-03  Hans Breuer  <hans@breuer.org>
6060         * config.h.win32 : close the version string
6062         * lib/libdia.def : with color_white, color_black being static
6063         on win32 they can not be exported anymore either
6065         * lib/dialibartrenderer.c : text rendering is back on win32,
6066         only by Gdk though; almost a year seems to be enough to
6067         wait for my patch at bug #94791 to be accepted ...
6069 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6071         * shapes/network/{digitizing_board.png,plotter.png,
6072         laptop.png,telephone.png}: 22x22 icons.
6074 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6076         * doc/pl/dia-manual.sgml: 
6077         * doc/en/dia-manual.xml: 
6078         * dia.spec (Release): 
6079         * configure.in: 
6080         * config.h.win32: 
6081         * NEWS: 
6082         pre3 improves font rendering speed.
6084         * app/app_procs.c (app_init): Don't do pango init here, it's done
6085         on demand in font.c now.
6087         * lib/font.c: Load pango context on demand rather than during
6088         init/all the time strikes a better balance between working font
6089         size and speed.  Still need to cache width calculations.
6091 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6093         * lib/dia_xml.c: Enable pretty printing.  Should have been added
6094         on 8/12. 
6096 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6098         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
6099         adjustment a bit for half diamond and open round.
6101         * RELEASE-PROCESS: Added note about notifying translators and
6102         maintainers. 
6104         * doc/pl/dia-manual.sgml: 
6105         * doc/en/dia-manual.xml: 
6106         * dia.spec (Release): 
6107         * configure.in: 
6108         * config.h.win32: 
6109         * NEWS:
6110         Update to 0.92-pre2.
6111         
6112 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6114         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
6115         calculation for half diamond and open round.
6117         * lib/arrows.c: 
6118         * objects/UML/component_feature.c: 
6119         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
6120         arrows instead of specific little hacks.  Much nicer, but damn
6121         there's a lot of arrows.
6123         * lib/dialibartrenderer.c (begin_render): 
6124         * app/render_libart.c (begin_render): Use correct DPI for screen
6125         (well, actually the default DPI of 75 for now).
6127         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
6129         * lib/diagdkrenderer.c (draw_string): Some reformatting.
6131         * app/app_procs.c (app_init): Note on what should be done for the
6132         pango context now, only it doesn't work:(
6134         * lib/font.c (dia_font_new): Make sure to load fonts that are
6135         used, using a reasonable pango_context.  Also a comment on the
6136         global_zoom_factor, 
6138 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6140         * doc/pl/graphics/*.png:
6141         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
6142         loop (bug #121817).  PL translator may want to change the
6143         home_network png to be in Polish.  If the docs get translated into
6144         more languages, we'll want to find out how to share these things.
6146 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6148         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
6149         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
6150         splash.
6152         * app/filedlg.c (file_save_as_callback): Put filename setting
6153         together.  (Preparation for allowing default save dir.)
6155         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
6156         correctly this time:)
6158         * app/dia-props.c (diagram_properties_show): 
6159         * app/properties.c (properties_show): Make sure the
6160         dialogs are transient for the correct diagram.
6162 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6164         * configure.in: Make sure -lz -lm is passed into second png test
6165         as well (stupid AC_LINK_IFELSE can't take it as an argument).
6167         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
6168         comment-filled files readable.  Once we have a 'generic data'
6169         system, we can put comments in there.
6171 2003-09-06  Steffen Macke <sdteffen@web.de>
6173         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
6174         g_string_sized_new() instead of g_string_new() to make it compile
6175         * app/Makefile.am: including dia.ico and dia.rc in the tarball
6176         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
6177         for non-solid linestyles - otherwise custom linestyles have to be used.
6179 2003-09-02  Steffen Macke <sdteffen@web.de>
6181         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
6182         dia.chm
6184 2003-09-02  Christian Neumair  <chris@gnome-de.org>
6186         * sheets/Pneumatic.sheet.in: Slight unification fix.
6188 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6190         * config.h.win32: 
6191         * configure.in: 
6192         * dia.spec (Release): 
6193         * doc/en/dia-manual.xml: 
6194         * doc/pl/dia-manual.sgml: 
6195         * NEWS: Update to 0.92-pre1.
6197         * app/properties.c (properties_key_event): Removing Esc/Enter
6198         handling for now, interferes to much with regular dialog usage.
6200         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
6201         Function to escape special TeX characters.  Not in use yet, as
6202         PSTricks output by default is TeX strings.  Should get a save-time
6203         selector. 
6205 2008-09-01  Steffen Macke <sdteffen@web.de>
6207         * lib/paper.h: explanatory comment on width and height
6209 2003-08-30  Steffen Macke <sdteffen@web.de>
6211         * lib/color.c:
6212         * lib/color.h: made color_white, color_black static on win32
6214 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6216         * configure.in (PNG_LIBS): Something in the png tests added an
6217         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
6219 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6221         * configure.in: Quote correctly for temporarily adding freetype
6222         cflags to CPPFLAGS.
6224         * app/preferences.c (prefs_save): Remove debugging g_print.
6226 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6228         * objects/flowchart/parallelogram.c (pgram_update_data):
6229         Directions for connections, better system for placing
6230         connectionpoints. 
6232 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6234         * lib/diagramdata.c (layer_find_closest_object_except): Look all
6235         the way through the object list, so the foremost object is selected.
6237         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
6238         included for diagramdata.c.
6240         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
6241         newline in multistringprop not close the dialog.  Failed so far.
6243 2003-08-25  Steffen Macke <sdteffen@web.de>
6245         * app/commands.c: using CHM instead of HTML on win32 if available
6246         * lib/diagramdata.h: including dynamic_obj.h
6248 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6250         * app/properties.c (properties_key_event): Make Enter = Ok for
6251         properties dialogs.  Still some problems with this and Esc for
6252         Cancel, for instances escaping out of a menu closes the dialog.
6254         * objects/UML/association.c (association_get_properties): 
6255         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
6256         focus. 
6258         * app/diapsft2renderer.c (draw_string): Use
6259         dia_font_scaled_build_layout to ensure similarity of text.
6261         * lib/diagramdata.c: Remove obj from dynobj list when removing
6262         from layer to avoid nasty race conditions.
6264         * app/undo.c (group_objects_revert): Make sure to unparent and
6265         remove from dynobj list when changing layers objects.
6267 2003-08-23  Steffen Macke <sdteffen@web.de>
6269         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
6270         StretchBlt(); fixes #92249
6271         
6272 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6274         * app/filedlg.c (file_save_as_callback): 
6275         * app/preferences.h: 
6276         * app/preferences.c (prefs_data): 
6277         * lib/diagramdata.h: 
6278         * lib/diagramdata.c (new_diagram_data): 
6279         * app/load_save.c (diagram_data_load): 
6280         Let the document remember whether it was compressed.  The user can
6281         still override this in the Save As... dialog, and that will still
6282         be remembered as the default for new diagrams.
6284 2003-08-23  Steffen Macke <sdteffen@web.de>
6286         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
6288 2003-08-22  Steffen Macke <sdteffen@web.de>
6290         * plug-ins/xslt/dia-uml.xsl:
6291         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
6292         table containing a list of components grouped by stereotype
6294 2003-08-21  Steffen Macke <sdteffen@web.de>
6296         * lib/makefile.msc: added connectionpoint.obj
6297         * lib/libdia.def: added connpoint_update, find_slope_directions
6298         * app/disp_callbacks.c: including scroll_tool.h
6299         * obj/makefile.msc: added component_feature.obj
6300         * app/paginate_gdiprint.c: fixed loop initialization in 
6301         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
6302         wrong
6304 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6306         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
6307         move_handle call.
6309         * lib/diagramdata.h: Colors added to prefs.
6310         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
6311         New field for pagebreak color, which should
6312         behave the same as grid color and be settable for a diagram.
6314         * app/diagram.c (diagram_init): Update diagram pagebreak color
6315         from prefs. 
6317         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
6318         colors. 
6320         * app/preferences.[ch]: Default diagram colors now #defines, so
6321         loading can use it.  Also, colors are now in NewDiagramData, so
6322         are passed nicely into new diagrams directly from prefs.  Yum.
6324         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
6325         Support for loading and saving grid and pagebreak colors with the
6326         diagram.  I'm inclined to make all the three Colors in diagram
6327         Color*s instead, so we can tell if they're specified for the
6328         diagram or merely the default setting.  There'd be no way for the
6329         user to tell if the color of a diagram is default, though, unless
6330         we add a 'reset to default' button to prefs.
6332         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
6333         pagebreak color.  Unsensitizing grid size when dynamic.
6335         * objects/UML/component.c: Patch from Krzysztof Foltman
6336         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
6337         third.  Makes the left side connections actually be on the line
6338         (gasp!). 
6340 2003-08-20  Steffen Macke <sdteffen@web.de>
6342         * lib/libdia.def: added layer_find_closest_object_except
6343         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
6345 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
6347         * app/tool.h: 
6348         * app/tool.c: 
6349         * app/scroll_tool.c: 
6350         * app/interface.c: 
6351         * app/disp_callbacks.c: 
6352         * app/create_object.h: 
6353         * app/create_object.c: Patch from Krzysztof Foltman
6354         <kfoltman@onet.pl>: Middle button can scroll transiently when
6355         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
6356         various ways.
6358         * app/authors.h: 
6359         * sheets/UML.sheet.in: 
6360         * sheets/UML/receptacle.xpm: 
6361         * sheets/UML/Makefile.am: 
6362         * sheets/UML/eventsource.xpm: 
6363         * sheets/UML/eventsink.xpm: 
6364         * objects/UML/pixmaps/facet.xpm: 
6365         * objects/UML/uml.c (dia_plugin_init): 
6366         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
6367         * objects/UML/component_feature.c: 
6368         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
6369         event sinks.
6370         
6371 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6373         * lib/object.h: Turning some comments into doxygen style.
6375         * lib/object_defaults.c (dia_object_defaults_load)
6376         (dia_object_default_get, dia_object_default_create): 
6377         Fixing up existing documentation.
6379         * lib/object.h: Doxygen style documentation begun.
6381         * app/create_object.c: 
6382         * app/undo.c: 
6383         * app/connectionpoint_ops.c: 
6384         * app/disp_callbacks.c: 
6385         * app/modify_tool.c: 
6387         * objects/network/wanlink.c (wanlink_move_handle): 
6388         * objects/network/bus.c (bus_move_handle): 
6390         * objects/flowchart/parallelogram.c (pgram_move_handle): 
6391         * objects/flowchart/ellipse.c (ellipse_move_handle): 
6392         * objects/flowchart/diamond.c (diamond_move_handle): 
6393         * objects/flowchart/box.c (box_move_handle): 
6395         * objects/custom/custom_object.c (custom_move_handle): 
6397         * objects/chronogram/chronoref.c (chronoref_move_handle): 
6398         * objects/chronogram/chronoline.c (chronoline_move_handle): 
6400         * objects/SADT/box.c (sadtbox_move_handle): 
6401         * objects/SADT/arrow.c (sadtarrow_move_handle): 
6402         * objects/SADT/annotation.c (annotation_move_handle): 
6404         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
6406         * objects/GRAFCET/vergent.c (vergent_move_handle): 
6407         * objects/GRAFCET/vector.c (arc_move_handle): 
6408         * objects/GRAFCET/transition.c (transition_move_handle): 
6409         * objects/GRAFCET/step.c (step_move_handle): 
6410         * objects/GRAFCET/condition.c (condition_move_handle): 
6411         * objects/GRAFCET/action.c (action_move_handle): 
6413         * objects/FS/function.c: 
6414         * objects/FS/flow.c: 
6415         * objects/FS/flow-ortho.c (orthflow_move_handle): 
6416         * objects/FS/flow-poly.c (flow_move_handle): 
6418         * objects/UML/usecase.c (usecase_move_handle): 
6419         * objects/UML/state_term.c (state_move_handle): 
6420         * objects/UML/state.c (state_move_handle): 
6421         * objects/UML/small_package.c (smallpackage_move_handle): 
6422         * objects/UML/realizes.c (realizes_move_handle): 
6423         * objects/UML/object.c (objet_move_handle): 
6424         * objects/UML/note.c (note_move_handle): 
6425         * objects/UML/node.c (node_move_handle): 
6426         * objects/UML/message.c (message_move_handle): 
6427         * objects/UML/lifeline.c (lifeline_move_handle): 
6428         * objects/UML/large_package.c (largepackage_move_handle): 
6429         * objects/UML/implements.c (implements_move_handle): 
6430         * objects/UML/generalization.c (generalization_move_handle): 
6431         * objects/UML/fork.c (fork_move_handle): 
6432         * objects/UML/dependency.c (dependency_move_handle): 
6433         * objects/UML/constraint.c (constraint_move_handle): 
6434         * objects/UML/compprop.c (compprop_move_handle): 
6435         * objects/UML/component.c (component_move_handle): 
6436         * objects/UML/branch.c (branch_move_handle): 
6437         * objects/UML/association.c (association_move_handle): 
6438         * objects/UML/actor.c (actor_move_handle): 
6439         * objects/UML/activity.c (state_move_handle): 
6440         * objects/UML/class.c (umlclass_move_handle): 
6442         * objects/standard/ellipse.c (ellipse_move_handle): 
6443         * objects/standard/zigzagline.c (zigzagline_move_handle): 
6444         * objects/standard/textobj.c (textobj_move_handle): 
6445         * objects/standard/polyline.c (polyline_move_handle): 
6446         * objects/standard/polygon.c (polygon_move_handle): 
6447         * objects/standard/line.c (line_move_handle): 
6448         * objects/standard/image.c (image_move_handle): 
6449         * objects/standard/bezier.c (bezierline_move_handle): 
6450         * objects/standard/arc.c (arc_move_handle): 
6451         * objects/standard/beziergon.c (beziergon_move_handle): 
6452         * objects/standard/box.c (box_move_handle): 
6453         
6454         * objects/ER/relationship.c (relationship_move_handle): 
6455         * objects/ER/participation.c (participation_move_handle): 
6456         * objects/ER/entity.c (entity_move_handle): 
6457         * objects/ER/attribute.c (attribute_move_handle): 
6458         
6459         * lib/polyshape.c (polyshape_move_handle): 
6460         * lib/polyshape.h: 
6461         * lib/orth_conn.c (orthconn_move_handle): 
6462         * lib/orth_conn.h: 
6463         * lib/neworth_conn.c (neworthconn_move_handle): 
6464         * lib/neworth_conn.h: 
6465         * lib/element.c (element_move_handle): 
6466         * lib/element.h: 
6467         * lib/connection.c (connection_move_handle): 
6468         * lib/connection.h: 
6469         * lib/beziershape.c (beziershape_move_handle): 
6470         * lib/beziershape.h: 
6471         * lib/bezier_conn.c (bezierconn_move_handle): 
6472         * lib/bezier_conn.h: 
6473         *BINARY COMPATIBILITY CHANGE*
6474         Update prototype for *_move_handle() to include connectionpoint,
6475         and also pass on modifiers.  Pass in connectionpoint where
6476         applicable. 
6477         
6478         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
6479         file connectionpoint.c.
6481 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
6483         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
6485 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6487         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
6489         * lib/beziershape.c (beziershape_update_data): Autoroute
6490         directions for beziershapes!
6492         * lib/connectionpoint.c (find_slope_directions): 
6493         * lib/connectionpoint.h: Function for finding the available
6494         directions on a slope.
6496         * lib/polyshape.c: Reasonable directions for
6497         connectionpoints.       
6499 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6501         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
6502         * objects/GRAFCET/vergent.c (vergent_update_data): 
6503         * objects/GRAFCET/transition.c (transition_update_data): 
6504         * objects/GRAFCET/action.c (action_update_data): 
6505         * objects/GRAFCET/step.c (step_update_data): 
6506         * objects/FS/function.c (function_update_data): 
6507         * lib/connpoint_line.c (connpointline_putonaline): 
6508         * objects/ER/attribute.c (attribute_update_data): 
6509         * objects/ER/entity.c (entity_update_data): 
6510         * objects/ER/relationship.c (relationship_update_data): 
6511         * objects/chronogram/chronoline.c (chronoline_update_data): Set
6512         directions for connection points.
6514         * objects/UML/component.c (component_create): Set to allow
6515         parenting. 
6517         * app/create_object.c (create_object_button_press): 
6518         * app/diagram.[ch] (diagram_find_clicked_object_except): 
6519         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
6520         Avoid parenting to objects you're connecting to (otherwise you
6521         couldn't make a connection out of a parenting object).  To do
6522         this, added functions to find the nearest object except a given
6523         list of objects.
6524         
6525         * app/render_libart.c: Rearrange libart include to avoid multiple
6526         include program (and put libart includes inside #ifdef!)
6528 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6530         * lib/dialibartrenderer.c: Don't include art_config.h if others
6531         also do, as it isn't #ifdef'd.
6533         * objects/flowchart/ellipse.c (ellipse_update_data): Add
6534         directions for connection points.
6536 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6538         * objects/flowchart/box.c (box_update_data): Add directions, use
6539         connpoint_update. 
6540         (box_load): Use g_malloc0.
6542         * lib/Makefile.am (libdia_la_SOURCES):
6543         * lib/connectionpoint.c (connpoint_update): 
6544         Function to call to update a connection point info in _update_data().
6545         
6546         * lib/connectionpoint.h: Convenience DIR_ macros.
6548         * app/preferences.c (prefs_data): Make pretty formatted XML the
6549         default.
6551         * lib/dialibartrenderer.c: 
6552         * app/render_libart.c: Make sure art_config.h is included, cause
6553         some libart headers are broken.
6555         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
6556         after test.  Add freetype-config cflags to cflags variable.
6558 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6560         * app/authors.h: Credits for Krzysztof.
6562         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
6563         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
6564         than the description) is visible in the title of the properties
6565         dialog.  That ought to be a short description (translatable),
6566         though we still want long descriptions for the tooltips.  Hmmm...
6568         * configure.in: Updated to use AC_LINK_IFELSE instead of
6569         AC_TRY_COMPILE, also force to link to check libs on Solaris.
6571         * objects/ER/entity.c (entity_load): 
6572         * objects/ER/attribute.c (attribute_load): 
6573         * lib/attributes.c (attributes_set_default_font): 
6574         Check if font is non-null before unreffing.
6575         
6576 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6578         * app/diagram.c (diagram_ungroup_selected) 
6579         (diagram_group_selected): Use the undo apply to make sure grouping
6580         and ungrouping is done in consistent manners.  This removes a fair
6581         amount of duplicated code from diagram.c.
6583         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
6584         (group_objects_revert, group_objects_apply): Working undo/redo for
6585         diagram tree updates.  The initial actions still don't quite work.
6587 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6589         * app/create_object.c (create_object_button_press): 
6590         * app/undo.[ch]: 
6591         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
6592         undo only for manipulating the parent/child relationships.  Things
6593         like removing an object doesn't use the undo functions for
6594         parenting, so any updates to come (like to diagramtree) should be
6595         done in those, too.
6597 2003-08-03  Hans Breuer  <hans@breuer.org>
6599         * app/create_object.c : minor formating and g_new0 for
6600         tool creation
6602         * lib/bezier_conn.[hc] lib/beziershape.[hc]
6603           lib/prop_geomtypes.c (prop_geomtypes_register)
6604           objects/standard/bezier.c objects/standard/beziergon.c :
6605         ability to set bezpoints via StdProp api
6607         * plug-ins/python/pydia-property.c : convert list of tuples
6608         to BEZPOINTARRAY
6610         *  plug-ins/python/diasvg_import.py : use it to
6611         implement part of path parsing. Also minor improvements
6612         like inheritance of group attributes to members,
6613         whitespace, title and style:text/css ignoring ;-)
6615 2003-08-02  Hans Breuer  <hans@breuer.org>
6617         * lib/connections.c (connection_move_handle): return
6618         something to make it compile
6619         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
6620         must return a value -> dito
6621         [Is there a warnings-as-errors switch we could use with gcc 
6622          to avoid such in future ?]
6624         * plug-ins/python/pydia-object.h : define *_Check macros
6625         * plug-ins/python/diamodule.c : provide dia.group_create()
6626         * plug-ins/python/pydia-diagramdata.c : add 
6627         DiaDiagramData.add_layer()
6628         * plug-ins/python/pydia-property.c : allow to set color by
6629         tuple of doubles
6631         *  plug-ins/python/diasvg_import.py : based on the above
6632         implement a) group support, b) rgb(1,2,3) color handling,
6633         and somewhat fishy data:image/png;base64 support (create
6634         temporary files from inline image data)
6635         d) dump the import errors as text into an 'Error' layer
6637         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
6638         stray " in draw_rect and corrected error message formating 
6640         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
6641         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
6642         Jacobowitz.
6643         
6644 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
6646         * app/magnify.c (create_magnify_tool): allocate with g_new0()
6648         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
6649         preferences values (see bug 118570). Also group items into a GtkFrame.
6651 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6653         * app/menus.c:
6654         * app/menus.h:
6655         * app/commands.h: 
6656         * app/commands.c (objects_unparent_children_callback): 
6657         * app/diagram.h: 
6658         * app/diagram.c (diagram_unparent_selected,
6659         (diagram_update_menu_sensitivity): 
6660         Added unparenting of single children.
6662         * lib/bezier_conn.c:
6663         * lib/bezier_conn.h:
6664         * lib/beziershape.c:
6665         * lib/beziershape.h:
6666         * lib/connection.c:
6667         * lib/connection.h:
6668         * lib/element.c:
6669         * lib/element.h:
6670         * lib/group.c:
6671         * lib/neworth_conn.c:
6672         * lib/neworth_conn.h:
6673         * lib/object.h:
6674         * lib/orth_conn.h:
6675         * lib/poly_conn.c:
6676         * lib/poly_conn.h:
6677         * lib/polyshape.c:
6678         * lib/polyshape.h:
6679         * objects/EML/instantiation.c:
6680         * objects/EML/interaction-ortho.c:
6681         * objects/EML/interaction.c:
6682         * objects/EML/process.c:
6683         * objects/ER/attribute.c:
6684         * objects/ER/entity.c:
6685         * objects/ER/participation.c:
6686         * objects/ER/relationship.c:
6687         * objects/FS/flow-ortho.c:
6688         * objects/FS/flow-poly.c:
6689         * objects/FS/flow.c:
6690         * objects/FS/function.c:
6691         * objects/GRAFCET/action.c:
6692         * objects/GRAFCET/condition.c:
6693         * objects/GRAFCET/step.c:
6694         * objects/GRAFCET/transition.c:
6695         * objects/GRAFCET/vector.c:
6696         * objects/GRAFCET/vergent.c:
6697         * objects/Misc/analog_clock.c:
6698         * objects/SADT/annotation.c:
6699         * objects/SADT/arrow.c:
6700         * objects/SADT/box.c:
6701         * objects/UML/activity.c:
6702         * objects/UML/actor.c:
6703         * objects/UML/association.c:
6704         * objects/UML/branch.c:
6705         * objects/UML/class.c:
6706         * objects/UML/classicon.c:
6707         * objects/UML/component.c:
6708         * objects/UML/constraint.c:
6709         * objects/UML/dependency.c:
6710         * objects/UML/fork.c:
6711         * objects/UML/generalization.c:
6712         * objects/UML/implements.c:
6713         * objects/UML/large_package.c:
6714         * objects/UML/lifeline.c:
6715         * objects/UML/message.c:
6716         * objects/UML/node.c:
6717         * objects/UML/note.c:
6718         * objects/UML/object.c:
6719         * objects/UML/realizes.c:
6720         * objects/UML/small_package.c:
6721         * objects/UML/state.c:
6722         * objects/UML/state_term.c:
6723         * objects/UML/usecase.c:
6724         * objects/chronogram/chronoline.c:
6725         * objects/chronogram/chronoref.c:
6726         * objects/custom/custom_object.c:
6727         * objects/flowchart/box.c:
6728         * objects/flowchart/diamond.c:
6729         * objects/flowchart/ellipse.c:
6730         * objects/flowchart/parallelogram.c:
6731         * objects/network/bus.c:
6732         * objects/network/wanlink.c:
6733         * objects/standard/arc.c:
6734         * objects/standard/bezier.c:
6735         * objects/standard/beziergon.c:
6736         * objects/standard/box.c:
6737         * objects/standard/ellipse.c:
6738         * objects/standard/image.c:
6739         * objects/standard/line.c:
6740         * objects/standard/polygon.c:
6741         * objects/standard/polyline.c:
6742         * objects/standard/textobj.c:
6743         * objects/standard/zigzagline.c:
6744         Binary compatibility update:  Added return value for foo_move() and
6745         foo_move_handle().  Orthconn derivatives also returns change from
6746         orthconn_move_handle().
6747         
6748         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
6749         doesn't support it yet.
6751         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
6752         Add returning ObjectChange from object moves.  Needs to handle
6753         multiple object moves.
6755         * app/modify_tool.c (modify_motion, modify_release): Add
6756         ObjectChange from move & move_handle to undo stack.
6758         * objects/EML/instantiation.c (instantiation_move): Removing
6759         duplicate move & update.
6761 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6763         * plug-ins/xfig/xfig-export.c: Added support for arrow head
6764         export.  Many arrow types not supported by XFig, replacing those
6765         with standard arrows.  Not sure whether it'd be better to render
6766         them as a group of lines instead.  You'd lose the arrow-ness for
6767         further editing, but preserve the actual shape of it.  Also added
6768         support for dash length.
6770         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
6772         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
6773         description for version 3.2, for reference.
6775         * plug-ins/xfig/xfig-import.c: Added import of arrows.
6777         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
6778         Align Vertical Adjacent call _v rather than _h.
6780 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
6782         * app/scroll_tool.c (create_scroll_tool): 
6783         * app/modify_tool.c (create_modify_tool): use g_new0() to
6784         initialize the tool
6786 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6788         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
6790 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
6792         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
6794 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
6796         * configure.in: Added Belarusian to ALL_LINGUAS.
6798 2003-07-19  Hans Breuer  <hans@breuer.org>
6800         [
6801          Make the xslt plug-in work on win32, too. It appears
6802          to require a quite recent version of libxml and libxslt,
6803          otherwise windoze pathes aren't translated correctly
6804          during file processing
6805         ]
6807         * plug-ins/xslt/xslt.h : #include <glib.h> before 
6808         using G_OS_WIN32
6810         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
6811         the 'script' file finding similar to how it is done
6812         with the python scripts (no need for hardcoded pathes,
6813         removed the 'plugin' part from the path)
6815         * plug-ins/xslt/stylesheets.xml : added again. It does
6816         not have any path but only the pure filename again
6818         * plug-ins/xslt/stylesheets.xml.in : removed
6820         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
6821         rule to process stylesheets.xml.in
6823         * plug-ins/makefile.msc : added xslt
6825 2003-07-19  Hans Breuer  <hans@breuer.org>
6827         Finally Dia learned to remember the recent selected sheet
6829         * app/preferences.[hc] : added prefs.recent_sheet
6830         * app/interface.c : restore and remember the sheet-option-menu
6831         history, but only if the respective number is stiil available.
6832         This additional adds robustness against running Dia without
6833         any sheet (e.g. installation problems)
6834         * app/app_procs.c : call prefs_safe() in app_exit() to remember
6835         changes which are not done by the prefernces dialog
6837         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
6838         removed every call (especially the conditional ones) to prefs_safe().
6839         Before prefs_safe() was called _many_ times during Dia startup
6841 2003-07-18  Hans Breuer  <hans@breuer.org>
6843         * app/makefile.msc lib/makefile.msc lib/libdia.def :
6844         updated win32 build
6846         * lib/color.c : use gtk_widget_get_default_visual();
6847         as suggested in #114536
6849         * app/interface.c app/disp_callbacks.c :
6850         moved round_up () to the latter file where it is used
6852         * app/linewidth_area.c : #include "interface.h" for
6853         interface_get_toolbox_shell()
6855 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
6857         * plug-ins/pixbuf/.cvsignore
6858         * shapes/Cisco/.cvsignore: 
6859         added cvsignore
6861 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6863         * app/dia-props.c (diagram_properties_retrieve): Use
6864         diagram_get_name() to add the diagram name to the diagram
6865         properties dialog.
6867         * app/diagram.h: 
6868         * app/diagram.c (diagram_get_name): New function to get a
6869         reasonable diagram name.
6871         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6872         info.  Still need to be able to set dynamic grid.  Also ought to
6873         follow Gnome style and have instant apply.
6875         * app/preferences.h: 
6876         * app/preferences.c (prefs_data): Remove option to use stippled
6877         grid, add option for major line offset.  Default to 5 minor lines
6878         per major line.
6879         Add option for dynamically sized grid.
6881         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6883         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
6884         stippled/solid to display minor/major grid lines.  Line drawing in
6885         separate functions away from calculating line distance.
6887         * app/grid.h: Split page break drawing out of grid_draw.
6889         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
6890         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
6891         when menu item is selected.
6893 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6895         * configure.in: Removed -Winline flag to make way for important
6896         warnings. 
6898         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
6899         non-compressed.  Should fix bug #117381, also look prettier.
6900         
6901         * Makefile.am: 
6902         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
6903         Set up desktop info more properly.
6905 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6907         * activity.c:
6908         * actor.c:
6909         * branch.c:
6910         * class.c:
6911         * classicon.c:
6912         * component.c:
6913         * large_package.c:
6914         * lifeline.c:
6915         * node.c:
6916         * note.c:
6917         * object.c:
6918         * small_package.c:
6919         * state.c:
6920         * state_term.c:
6921         * usecase.c: 
6922         Autorouting directions patch from Krzysztof Foltman
6923         <kfoltman@onet.pl>.
6925         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
6926         GNOME parent menu items.
6927         
6928         * app/authors.h: Added Vadim to contributors list.
6930 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6932         * app/commands.[ch]: 
6933         * app/create_object.c: 
6934         * app/disp_callbacks.[ch]: 
6935         * app/diagram.[ch]: 
6936         * app/interface.c: 
6937         * app/load_save.c: 
6938         * app/menus.[ch]:
6939         * app/modify_tool.c
6940         * app/undo.[ch]:
6941         * lib/Makefile.am:
6942         * lib/group.c: 
6943         * lib/object.[ch]: 
6944         * lib/parent.[ch]:
6945         * objects/UML/large_package.c: Patch from Vadim Berezniker
6946         <vadim@berezniker.com>: 
6947         Objects may "parent" other objects, i.e. contain them within
6948         themselves, restrain them and move them along.  Some more stuff is
6949         needed, such as selection and individual unparenting.  This adds
6950         parenting to UML - Large Package rather than Box.
6952 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6954         * app/linewidth_area.c: Patch from Krzysztof Foltman
6955         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
6956         conform more, at least:).
6958         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
6959         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
6960         arcs.  Implemented images (though there is some pixelization and
6961         banding in the output).  Changed output file format to be a little
6962         more readable.  
6964         * app/app_procs.c (app_exit): Added message for double exit, which
6965         shouldn't happen any more.  Also preventing strange g_object_unref
6966         messages by having a printf after gtk_main_quit.  This is really
6967         weird.
6969         * app/interface.c (toolbox_delete): Avoid double app_exit call by
6970         removing handler for destroy when delete is called.
6972 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6974         * app/display.h: 
6975         * app/display.c (ddisplay_scroll_to_object,
6976         ddisplay_scroll_center_point):  New function for easy scrolling to
6977         object or point.
6979 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6981         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
6982         $(srcdir) on stylesheets.xml.
6984         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
6985         diagram menus (since they're at the top by default now).  Also
6986         move the Properties... menu item from Dialogs to Objects.  Dialogs
6987         menu should disappear at some point.
6989         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
6990         ./configure from ./autogen.sh, as configure may need to be run
6991         from a different directory.  (Also more standard this way.)
6993         * app/app_procs.c (app_init): 
6994         * app/Makefile.am (INCLUDES): Gnome standardization patch from
6995         Alex. 
6997 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6999         * objects/flowchart/parallelogram.c (pgram_update_data):
7000         Left/right alignment for parallelograms.  Doesn't use all
7001         available space, but then pgrams also ignore their shear value.
7002         This thing needs a loving hand.
7004 2003-07-01  Hans Breuer  <hans@breuer.org>
7006         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
7007         * lib/proplist.c : don't complain if optional attr is missing
7008         * lib/orth_conn.h : make "orth_autoroute" optional to
7009         stop complaining with older files.
7011 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
7013         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
7015 2003-06-05  Andrew Halper  <ashalper@cox.net>
7017         * app/diagram_tree.c : add scrolling of drawing area
7018         to desired object on "Locate".  Patch modified to use new ddisplay
7019         function ddisplay_scroll_to_object().
7021 2003-06-11  Lars Clausen  <lars@raeder.dk>
7023         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
7024         info.  Before next version, the grid dialog (view dialog, really)
7025         must be redone to allow a) instant apply, b) apply to all
7026         diagrams, and c) setting colour, dynamic, major lines.
7028         * app/preferences.h: 
7029         * app/preferences.c (prefs_data): Remove option to use stippled
7030         grid, add option for major line offset.  Default to 5 minor lines
7031         per major line.
7032         Add option for dynamically sized grid.
7034         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
7036         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
7037         stippled/solid to display minor/major grid lines.  Line drawing in
7038         separate function away from calculating line distance.
7040         * app/grid.h: Split page break drawing out of grid_draw.
7042 2003-05-15  Hans Breuer  <hans@breuer.org>
7044         * plug-ins/python/diasvg.py : add xlink definition,
7045         also avoid to put spaces into attribute values. At least
7046         Sodipodi doesn't like them in width/height attributes
7048         * plug-ins/python/diasvg_import.py : add simple scaling.
7049         Some (more) handling for <svg>, <desc>, <circle>        
7051         * plug-ins/python/scascale.py : (new file) which does
7052         some experimental scaling via StdProp api
7054         * plug-ins/python/pydia-cpoint.c 
7055           plug-ins/python/pydia-handle.c : return PyDiaPoint for
7056         obj.pos not simple tuples. PyDiaPoint has a tuple interface
7057         so this may even be api compatible ...
7059 2003-05-11  Hans Breuer  <hans@breuer.org>
7061         * app/line_area.c : add window position persitence
7063         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
7064         'poly_points' via StdProp api
7065         * lib/neworth_conn.h : don't rely on OrthConn and 
7066         NewOrtConn having the same struct offsets
7068         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
7069         to help separating 'useful' properies - in terms of
7070         the PyDia access
7072         * objects/custom/custom_object.c
7073           objects/UML/*.c
7074         add the missing prop_desc_list_calculate_quarks to
7075         all the *_describe_props()
7077         * objects/standard/beziergon.c objects/standard/bezier.c :
7078         explicit initializtion of default_user_data
7079         * objects/standard/polygon.c objects/standard/polyline.c :
7080         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
7082         * plug-ins/python/diamodule.c : implement dia.register_import
7084         * plug-ins/python/makefile.msc : need to link with Pango
7085         for pango_color_parse()
7087         * plug-ins/python/pydia-property.c : add a bunch of type
7088         conversions to PyDiaProperty_ApllyToObject()
7090         * plug-ins/python/diasvg_import.py : (new file) which currently
7091         is mainly a stress test for PyDia but for some files already
7092         produces better results than svg-import.c
7094 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7096         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
7097         type-less operations.
7099 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
7101         * configure.in(ALL_LINGUAS): Added "ms".
7103 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7105         * plug-ins/xslt/xslt.c (xslt_ok): 
7106         * plug-ins/shape/shape-export.c (new_shape_renderer): 
7107         * plug-ins/svg/render_svg.c (new_svg_renderer): 
7108         * plug-ins/hpgl/hpgl.c (export_data): 
7109         * plug-ins/dxf/dxf-export.c (export_dxf): 
7110         * plug-ins/metapost/render_metapost.c (export_metapost): 
7111         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
7112         * plug-ins/xfig/xfig-export.c (export_fig): 
7113         * plug-ins/wpg/wpg.c (export_data): 
7114         * plug-ins/cgm/cgm.c (export_cgm): 
7115         * app/render_eps.c (export_eps): 
7116         * app/export_png.c (export_png_ok): 
7117         * app/load_save.c (diagram_data_save): Adding and standardizing
7118         output file error messages to include fopen error message.
7120 2003-05-01  Steffen Macke <sdteffen@web.de>
7122         * app/persistence.c: do not use unistd.h for MSVC build
7124 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7126         * sheets/Assorted.sheet.in
7127         * sheets/Circuit.sheet.in
7128         * sheets/Contact.sheet.in
7129         * sheets/EML.sheet.in
7130         * sheets/ER.sheet.in
7131         * sheets/Electric.sheet.in
7132         * sheets/FS.sheet.in
7133         * sheets/Flowchart.sheet.in
7134         * sheets/GRAFCET.sheet.in
7135         * sheets/Logic.sheet.in
7136         * sheets/MSE.sheet.in
7137         * sheets/Misc.sheet.in
7138         * sheets/Pneumatic.sheet.in
7139         * sheets/SADT.sheet.in
7140         * sheets/SDL.sheet.in
7141         * sheets/UML.sheet.in
7142         * sheets/chronogram.sheet.in
7143         * sheets/ciscohub.sheet.in
7144         * sheets/ciscomisc.sheet.in
7145         * sheets/cisconetwork.sheet.in
7146         * sheets/ciscorouter.sheet.in
7147         * sheets/civil.sheet.in
7148         * sheets/network.sheet.in
7149         * sheets/sybase.sheet.in:
7150         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
7151         standardizes shape descriptions to use no articles, no 'create
7152         ...'.
7153         
7154         * app/interface.c (tool_data): Standard objects follow same
7155         standard as sheets.
7157 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7159         * app/color_area.c (color_area_edit): More informative title on
7160         color selection dialog.
7162         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
7163         sensitivity when dropping object in.  Also reset tool to pointer.
7165         * objects/flowchart/diamond.c (diamond_update_data): 
7166         * objects/flowchart/parallelogram.c (pgram_update_data): Added
7167         left and right alignment options.
7169 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7171         * objects/flowchart/box.c: Added left and right alignment options.
7173 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7175         * app/persistence.c (persistence_load): Test existence of
7176         persistence file before trying to open it.
7178 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7180         * app/properties.c: Escape now closes properties dialogs.
7182 2003-04-25  Hans Breuer  <hans@breuer.org>
7184         * app/config.h.win32 : bump version to 0.91+cvs
7186         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
7188         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
7190         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
7191         returns NULL
7193         * app/presistence.c : need to #include "dia_xml_libxml.h"
7194         for xmlDiaParseFile
7196         * app/layer_dialog.c : make delayed creation work by protecting
7197         all non static layer_dialog_*() with :
7198            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
7199              create_layer_dialog();
7200         * app/app_procs.c : removed /* create_layer_dialog(); */
7202         * objects/uml/association.c : give it a minimal StdProp
7203         implementation to fix bug #108896
7204         * lib/object_defaults.c : don't try to copy props if there
7205         is no obj->ops->describe_props
7207 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7209         * objects/standard/image.c (image_create): 
7210         * objects/standard/ellipse.c (ellipse_create): 
7211         * objects/standard/box.c (box_create): 
7212         * objects/flowchart/ellipse.c (ellipse_create): 
7213         * objects/flowchart/diamond.c (diamond_create): 
7214         * objects/flowchart/box.c (box_create): 
7215         * objects/custom/custom_object.c (custom_create): 
7216         * objects/ER/relationship.c (relationship_create): 
7217         * objects/ER/entity.c (entity_create): 
7218         * objects/ER/attribute.c (attribute_create): Initialize
7219         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
7221         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
7222         alignment. 
7224         * configure.in: 
7225         * plug-ins/Makefile.am: 
7226         * plug-ins/xslt/Makefile.am: 
7227         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7228         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
7229         automake-style if to only include xslt dir when needed.  Works
7230         with automake 1.4 and up, at least.
7232 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7234         * lib/diasvgrenderer.c (draw_string): 
7235         * lib/dia_svg.c (dia_svg_parse_style): Use
7236         text-anchor:(start|middle|end).
7238         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
7239         polygon rather than polyline & avoid missing line pieces.
7240         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
7241         black-filled things.
7243 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7245         * app/persistence.c (persistence_load): Check that persistence
7246         file exists before trying to read it.
7247         (persistence_update_window): Removed printf.
7249         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
7251         * lib/autoroute.c: Take badness into the layouters again, as some
7252         of them know they can do things that are pretty but would be
7253         counted as ugly by the default calculation.
7255         * objects/UML/large_package.c: Shrink package name box when no
7256         stereotype is present.
7258         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
7259         * lib/orth_conn.c: Added object menu item for autorouting.
7261         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
7262         Autorouting, plus set initial dragging handle to be the end, not
7263         the middle.
7264         (orthflow_draw): Flipped arrow place to be at the end, as
7265         originally intended (got lost in arrow update).
7267         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
7268         * objects/UML/dependency.c (dependency_get_object_menu): 
7269         * objects/UML/association.c (association_get_object_menu): 
7270         * objects/UML/realizes.c (realizes_get_object_menu): 
7271         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
7272         * objects/GRAFCET/vector.c (arc_get_object_menu): 
7273         * objects/ER/participation.c (participation_get_object_menu): 
7274         * objects/EML/instantiation.c (instantiation_get_object_menu): 
7275         * objects/UML/generalization.c (generalization_get_object_menu): 
7276         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
7277         Autorouting setup (currently disabled for SADT/arrow).
7278         
7279 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7281         * lib/autoroute.c: Removed printfs.
7283         * lib/orth_conn.c: 
7284         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
7285         non-connected orthconns too.
7287 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7289         * lib/orth_conn.h: 
7290         * lib/orth_conn.c: Function to set autorouting on/off, use
7291         autorouting in move_handle (turns off when a middle handle is
7292         moved), added to standard orthconn props. 
7294         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
7295         Stopped signal emission for check menu items being set to on/off.
7297         * objects/standard/zigzagline.c: Added autorouting object menu item.
7299         * lib/autoroute.c: Added last cases of autoroute layout, fixed
7300         floating point comparison bug, cleaned up layouters, tweaked
7301         badness to allow kinks. 
7303 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7305         * lib/connectionpoint.h: Changed DIR_* macros to go around the
7306         clock. 
7308         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
7309         points at once.
7310         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
7311         old cruft, added call to autoroute (currently cannot be turned
7312         off).  Need to check what undo thinks about this.
7313         * lib/autoroute.[ch]: Fairly working simple layout.
7315         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
7316         * lib/autoroute.[ch]: Start of proper autorouting functionality.
7318 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7320         * lib/prop_widgets.c: Show labels on ListProp.
7322 2003-04-11  Steffen Macke <sdteffen@web.de>
7324         * doc/en/dia-manual.xml: removed reference of non-existing authors 
7325         note.
7326         * doc/en/usage-objects-selecting: commented out misleading section
7327         references.
7329 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7331         * app/app_procs.c (app_init): Layer window now opened at startup
7332         only if needed.
7334         * lib/prop_widgets.c: Show labels on ListProp.
7336 2003-04-09  Steffen Macke <sdteffen@web.de>
7338         * doc/en/*.sgml: removed files
7339         * doc/en/*.xml: added files
7340         * doc/en/Makefile.am: switched to XML DocBook
7342 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7344         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7345         * configure.in: Added --with-xslt-prefix to allow other XSLT
7346         placements than /usr/lib.
7348 2003-04-09  Steffen Macke <sdteffen@web.de>
7350         * lib/makefile.mingw: updated to include latest files, including 
7351         and linking libintl
7352         * lib/geometry.h: don't define isinf and finite for mingw gcc build
7354 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7356         * app/persistence.h:
7357         * app/persistence.c (persistence_register_window_create): 
7358         * app/app_procs.c (app_init): 
7359         Register window function that doesn't create the window unless it
7360         should be open.  Other windows should move to this, so startup
7361         speed can be reduced.
7362         
7363         * app/persistence.h: Removed call prototype for update_window, now
7364         done internally.
7365         * app/persistence.c (persistence_register_window): A number of
7366         fixes.  Doesn't forget position when window is closed.  Now
7367         actually loads prefs.
7369         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
7370         event connect.
7372         * app/preferences.c (prefs_data): 
7373         * app/diagram_tree_window.h: 
7374         * app/diagram_tree_window.c: Added persistence registering.
7375         Removed prefs items storing size and openness. 
7377         * app/sheets_dialog.c (create_sheets_main_dialog): Added
7378         persistence registering.  
7380         * app/Makefile.am (dia_core_files): Added persistence files.
7382         * lib/dia_dirs.h: 
7383         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
7384         that dirs are present.
7386         * app/app_procs.c (app_init): Loads persistent values on startup.
7387         (app_exit): Saves persistent values on exit.
7389         * app/layer_dialog.c (create_layer_dialog): Registers the layer
7390         window for persistence.
7392         * app/persistence.[ch]: New files handling various kinds of
7393         persistence.
7395 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7397         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
7398         head spacing calculations.  Added half-circle arrow from Matthieu
7399         Sozeau <mattam@netcourrier.com> 
7401 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7403         * app/app_procs.c (app_init): Moved layer dialog init to allow
7404         tooltips to be initialized.
7406         * app/interface.c (create_display_shell): More tooltips.
7408         * app/linewidth_area.c (linewidth_area_create) 
7409         (linewidth_area_events): 
7410         * app/color_area.c (color_area_events, color_area_create): 
7411         Made tooltips work by embedding drawing_area in event_box.
7413         * app/interface.c (create_display_shell,
7414         (create_lineprops_area, create_color_area): Added a few tooltips.
7416 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7418         * app/pixmaps/off-grid.xpm: 
7419         * app/pixmaps/on-grid.xpm: 
7420         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
7422         * app/display.h: 
7423         * app/commands.c (view_snap_to_grid_callback): 
7424         * app/display.c (ddisplay_set_snap_to_grid) 
7425         (update_snap_grid_status): 
7426         * app/interface.c (create_display_shell, grid_toggle_snap): 
7427         Added snap-to-grid status button.
7429 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7431         * app/app_procs.c (app_init): Create a new diagram if a file on
7432         the command line isn't found.
7434 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7436         * lib/dialibartrenderer.c (draw_string): Correct color handling
7437         for AA.
7439 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7441         * NEWS: 
7442         * doc/en/dia-manual.sgml: 
7443         * doc/pl/dia-manual.sgml: 
7444         * configure.in: 
7445         * dia.spec (Release): 
7446         Version 0.91 is here!
7448 2003-02-10  Steffen Macke <sdteffen@web.de>
7450         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
7451         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
7452         non-ANSI characters, closes #107980
7454 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7456         * configure.in: 
7457         * NEWS: 
7458         * dia.spec (Release): 
7459         * doc/en/dia-manual.sgml: Upping to pre6.
7461         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
7463         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
7464         #107511:  Make arrow selector for correct arrow type.
7466 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7468         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
7469         EXTRA_DIST.
7471 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7473         * doc/en/dia-manual.sgml: 
7474         * configure.in: 
7475         * NEWS: 
7476         * dia.spec (Release): Upping to pre5.
7478         * configure.in: Add freetype-config derived libs to the
7479         AC_CHECK_LIB statement for freetype.
7481 2003-02-28  Hans Breuer  <hans@breuer.org>
7483         [fix for bug #107203]
7485         * lib/diarenderer.c : add warning 'implementation'
7486         for fill_rect to avoid crashing with a renderer
7487         which does not implement this required function.
7489         * plug-ins/dxf/dxf-export.c : provide - still empty -
7490         'implementations' for fill_rect and fill_polygon 
7491         to suppress the above warnings. Now it works like
7492         in version 0.90 
7494 2003-02-28  Steffen Macke <sdteffen@web.de>
7496         * samples/all_objects.dia: New sheet containing all dia shapes
7497         and objects; one layer per sheet
7498         
7499 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7501         * lib/prop_text.c (multistringprop_get_widget,
7502         multistringprop_reset_widget, multistringprop_set_from_widget): 
7503         Now uses GtkTextView instead of deprecated stuff, and also works:)
7505         * configure.in: Slightly more informative error message for isinf.
7507         * dia.spec (Requires): Require libxml2 rather than libxml.
7509 2003-02-28  Steffen Macke <sdteffen@web.de>
7511         * shapes/Circuit/hjumper.png:
7512         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
7513         jumper shape
7514         
7515 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7517         * doc/en/dia-manual.sgml: 
7518         * configure.in: 
7519         * dia.spec (Release):
7520         * NEWS: New prerelease 0.91pre4, two important fixes.
7522 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7524         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
7525         stylesheets.xml.in 
7527         * app/commands.c (help_manual_callback): More correct URL for help
7528         page (include file://, was broken on Dillo without it).
7530 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7532         * app/disp_callbacks.c: Set modifed when text is changed.
7534         * app/modify_tool.c (modify_button_release): Allow undo for moving
7535         objects.
7537 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7539         * dia.spec: 
7540         * doc/en/dia-manual.sgml: 
7541         * NEWS: 
7542         * configure.in: New prerelease with important bugfix.
7543         * shapes/network/digitizing_board.png:
7544         * shapes/network/plotter.png: Re-adding with -kb.
7545         
7546 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
7548         * app/app_procs.c (app_init): Add comment for translators.
7550 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7552         * lib/filter.c (filter_register_import, filter_register_export):
7553         Don't accept filters with NULL description.
7555         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
7556         (as we assume the description is available in other places).
7558 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7559         
7560         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
7561         * app/display.c (ddisplay_resize_canvas): Use
7562         ddisplay_add_update_all().
7563         (ddisplay_add_update_all): Free display and update lists when
7564         doing update_all, as they'll be regenerated immediately to cover
7565         all visible area.  Fixes bug #106165, crash when resizing.  This
7566         appears to be the original AA crash bug, believed long extinct.
7568 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7570         * app/commands.c (help_manual_callback): Use file: protocol for
7571         help. 
7573         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
7575         * plug-ins/xslt/stylesheets: Removed old-style config file.
7576         
7577         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
7579         * plug-ins/xslt/Makefile.am: 
7580         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
7581         handling (no more DIA_PLUGIN_PATH).
7583 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7585         * plug-ins/svg/render_svg.c: 
7586         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
7588 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7590         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
7591         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
7592         side of the triangle is longer than the hypotenuse.  Rounding
7593         error suspected.
7595 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7597         * NEWS: 
7598         * configure.in: 
7599         * doc/en/dia-manual.sgml: Update for pre2.
7601         * app/menus.c (display_menu_items): Fixed wrongly place separators.
7603         * objects/flowchart/box.c (box_update_data): Applied patch from
7604         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
7605         comment). 
7607         * app/paginate_psprint.c (print_page): Set paper name, so it
7608         convinces ps printers to use to right size.
7610 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7612         * app/properties.c (properties_show): Hide the dialog if the
7613         object is NULL (get rid of 'no properties' randomly popping up).
7615 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7617         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
7618         for diagrams not starting at origo.
7620 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7622         * dia.spec (BuildRequires): Use libxml2-devel.
7624         * plug-ins/pixbuf/Makefile.am: Added to CVS.
7626         * RELEASE-PROCESS: Note on RPM version numbers.
7628         * app/interface.c (create_display_shell): Don't set as toolbar
7629         under Unix, either.  Especially not the diagram shell.  It removes
7630         it from the taskbar and makes it unresizable, always-on-top with
7631         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
7632         appropriate thing, UTILITY, is not good either, you lose resizing
7633         and minimizing/maximizing under OpenBox.
7635         * app/menus.c (display_menu_items): Set delete item to use Delete.
7637 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7639         * dia.spec (BuildRequires, Requires): Updated for Gtk2
7640         requirements.
7642         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
7643         display flush when getting focus in, or we may get an update after
7644         the diagram has been destroyed in some cases.  Fixes bug #105221.
7646         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
7648         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
7650         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
7651         - gnome-compiled Dia will now read files specified on the command line.
7653 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7655         * INSTALL (REQUIREMENTS): Updated requirements section.
7657         * configure.in: Better finite() check from MÃ¥rten Svantesson
7658         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
7659         if's. 
7660         
7661 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7663         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
7665         * app/app_procs.c (debug_break): Added some code to avoid
7666         over-eager optimizations removing the call.  Surely there's a
7667         nicer way, but I'm not sure how.
7669         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
7670         that set text to black.
7672 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7674         * NEWS: Mention of Twiki as doc source for Python.
7676         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
7677         libart/libpng is not available.  Later when we have a way of
7678         letting the user pick options in the file select dialog we shall
7679         allow the choice when applicable.
7681 2003-02-02  Steffen Macke <sdteffen@web.de>
7683         * doc/en/usage-loadsave.sgml:
7684         * doc/en/usage-objects.sgml: patch from
7685         James K. Lowden <jklowden@schemamania.org> to fix
7686         some docbook errors
7687         
7688 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7690         * plug-ins/Makefile.am (SUBDIRS): 
7691         * plug-ins/pixbuf/pixbuf.c: 
7692         * plug-ins/pixbuf/Makefile.am: 
7693         * configure.in: 
7694         Added pixbuf plugin to Makefile.am, but for import only.  PNG
7695         export handled by libart, which is better. JPG export is
7696         discouraged.  BMP is not much used on Unix.  Next release will
7697         integrate libart to allow all outputs.
7699 2003-02-01  Hans Breuer  <hans@breuer.org>
7701         * app/preferences.c :
7702         * app/pagesetup.c :
7703         the last two dialogs with 'old' button order finally
7704         are converted to gtk2, no GnomeDialog in all of Dia 
7705         anymore :-) 
7707 2003-02-01  Hans Breuer  <hans@breuer.org>
7709         * app/filedlg.c : don't try to use a button as
7710         'overwrite-file-dialog'-parent, use the FileSelDialog
7711         instead
7713         * plug-ins/pixbuf/pixbuf.c : make it work with 
7714         system-visual-depth < 24. Remove 'bmp' from output
7715         format extensions, it just was wishful thinking.
7717         * plug-ins/python/Makefile.am : added the four new python 
7718         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
7720 2003-02-01  Hans Breuer  <hans@breuer.org>
7722         * NEWS : updated content beside dependencies
7724 2003-02-01  Hans Breuer  <hans@breuer.org>
7726         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
7727         to make it useable across DLL boundaries
7728         * app/lineprops_area.c : same code to access arrow_types
7729         on all platforms
7731         * objects/UML/class.c : the non empty string is e.g.
7732         comment != NULL && comment[0] != '\0'
7733         * objects/UML/uml.c : same here, don't bother with
7734         empty operation stereotypes
7736 2003-02-01  Steffen Macke <sdteffen@web.de>
7738         * app/lineprops_area.c: latest changes do not work on
7739         windows, using old code without tooltips
7740         * makefile.msc: fixed copying of wmf.dll
7741         * plug-ins/makefile.msc: 
7742         * app/makefile.msc:
7743         * lib/makefile.msc: now linking libintl
7744         * config.h.win32: enabling native language support
7746 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7748         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
7749         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
7751 2003-01-31  Daniel Yacob  <locales@geez.org>
7753         * configure.in: Added am (Amharic) to ALL_LINGUAS.
7755 2003-01-31  Steffen Macke <sdteffen@web.de>
7757         * objects/UML/class.c (umlclass_calculate_data): fixed crash
7758         when comments were visible, no class comment available and
7759         a attribute comment
7760          
7761 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7763         * RELEASE-PROCESS: Updated to fit new install-module syntax.
7764         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
7765         with DIA_0_91_PRE1.
7767 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7769         * config.h.win32: 
7770         * NEWS: 
7771         * configure.in:
7772         * dia.spec:
7773         Prerelease version changes, version 0.91-pre1.
7775         * app/sheets_dialog_callbacks.h: 
7776         * app/sheets_dialog_callbacks.c: 
7777         * app/sheets_dialog.c (create_sheets_main_dialog): 
7778         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
7779         to handle destruction of main dialog cleanly, but it's a mess.
7781         * configure.in: Downgraded ieeefp test to make it not produce
7782         illegal shell code.
7784         * lib/widgets.c (dia_arrow_selector_set_arrow): 
7785         (dia_line_style_selector_set_linestyle): Select menu dot
7786         correctly set.
7788         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
7789         adjustment for diamondheads.
7791         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
7793         * app/properties.c (create_dialog): Destroy properties dialog and
7794         box correctly.
7796         * app/sheets_dialog_callbacks.c
7797         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
7798         if the old one is destroyed.
7800 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7802         * app/export_png.c (export_png_ok): Added info on resolution.
7803         Should (next release) improve export dialog to allow setting
7804         resolution instead of pixels.
7806         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
7807         to generate arrowheads as well as tooltips.
7809         * lib/arrows.c: Added hollow diamond to menudesc list.
7811         * lib/arrows.[ch]: 
7812         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
7813         unify with rendered menu.
7815         * lib/diarenderer.c (draw_line_with_arrows)
7816         (draw_polyline_with_arrows, draw_arc_with_arrows)
7817         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
7818         without changing renderer API.  Thanks to David Scherba for
7819         providing inspiration.
7821 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7823         * app/interface.c (create_display_shell):
7824         * app/display.h: Patching from Hubert Figuiere
7825         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
7826         correct menu items.
7828 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7830         * app/defaults.c (defaults_show): Fixed defaults closing bug.
7831         Thanks to Hans for pointing it out.
7833 2003-01-25  Hans Breuer  <hans@breuer.org>
7835         * app/commands.c : don't warn about crashing libart renderer
7836         on win32. It simply doesn't render text anymore :-(
7838         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
7840         * objects/UML/class.c : don't access umlclass->properties_dialog
7841         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
7842         which sets the former to NULL by destroy_properties_dialog() callback.
7844         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
7846         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
7848         * plug-ins/python/pydia-image.c : add image.uri member
7849         not only useful for SVG rendering
7851         * plug-ins/python/diasvg.py : (new file) a more advanced
7852         example. A full blown SVG Renderer, currently only
7853         registered for .svgz
7855         * plug-ins/python/export-object.py : write text props
7857         * plug-ins/python/debug_objects.py : write prop.type and
7858         prop.visible 
7860 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7862         * objects/UML/association.c (association_update_data): Better
7863         bounding box for assoc with arrows.
7865         * lib/properties.h: New flag for properties with multiple values
7866         in groups.
7868         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
7869         arrow updating in dialog.  Was broken due to changes from destroy
7870         fix:(
7872         * app/commands.c (view_aa_callback): AA warning only for Windows
7873         -- I trust the Unix side well enough.
7875         * app/render_libart.c (get_text_width): 
7876         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
7877         font height can be taken from parent instance.
7879         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
7880         (get_text_width): Proper cursor positioning for libart renderer.
7881         Ought to have a DiaInteractiveRenderer that these two can inherit
7882         from, that knows about transform.
7884 2003-01-25  Steffen Macke <sdteffen@web.de>
7886         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
7887         plug-in still not working on win32
7888         
7889 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7891         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
7892         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
7893         thought.
7895 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7897         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
7898         bail out on gtk options.
7900         * lib/message.c (gtk_message_internal): Better handling of destroy
7901         event.
7903 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7905         * app/color_area.c (color_area_edit): 
7906         * lib/widgets.c (dia_file_selector_browse_pressed) 
7907         (dia_color_selector_pressed): 
7908         * app/plugin-manager.c (get_plugin_manager): 
7909         * app/filedlg.c (file_open_callback, file_save_as_callback) 
7910         (file_export_callback):
7911         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
7912         handling of destroy event.
7914 2003-01-22  Alan Horkan <horkana@tcd.ie>
7916         * app/commands.c (file_new_callback): Changed Untitled to Diagram
7917         for default name.
7919 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7921         * app/preferences.c (prefs_create_dialog): 
7922         * app/linewidth_area.c (linewidth_create_dialog): 
7923         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
7924         * app/layer_dialog.c (create_layer_dialog)
7925         (layer_dialog_edit_layer): Correct handling of destroy signal. 
7927         * app/diapsft2renderer.c (set_font): Adjust silly random factor
7928         for change in font.c
7930         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
7932         * lib/font.c (dia_font_build_layout): Let's all use the same weird
7933         factor here.
7935         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
7936         * app/layer_dialog.c (create_layer_dialog) 
7937         (layer_dialog_edit_layer): 
7938         * app/filedlg.c (file_open_callback, file_save_as_callback) 
7939         (file_export_callback): 
7940         * app/dia-props.c (create_diagram_properties_dialog): 
7941         * app/defaults.c (defaults_dialog_destroyed): 
7942         * app/color_area.c (color_area_edit): Dialog destroy event handling.
7944 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7946         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
7947         defaults dialog destroyed.
7949 2003-01-19  Steffen Macke <sdteffen@web.de>
7951         * objects/makefile.msc: added bondgraph
7952         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
7953         to compile pixbuf.dll
7954         * makefile.msc: copying all objects and dlls now
7955         
7956 2003-01-19  Hans Breuer  <hans@breuer.org>
7958         * app/diagram.[hc] : provide dia_open_diagrams(), make
7959         open_diagrams variable static
7960         * app/dia.def : export it (to be used by PyDia)
7961         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
7962           app/display.c app/dynamic_refresh.c app/layer_dialog.c
7963           app/load_save.c : make use of dia_open_diagrams()
7965         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
7966         on win32. It removes the diagram window from the taskbar and
7967         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
7969         * app/menus.c : add '...' to menu entries where a dialog 
7970         gets invoked
7971         * app/recent_files.c app/dia_embedd.c : reflect the above in 
7972         menus_get_item_from_path() calls
7974         * lib/libdia.def : add dia_image_rgba_data
7976         * lib/properties.h lib/prop_text.[hc] : add new property
7977         type StringList
7978         * objects/UML/class.[hc] object/UML/class_dialog.c : use
7979         StringList for attributes_strings and operations_strings to
7980         make this calculated data accessible via the Property API
7982         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
7983         provide dia.new() to create a new diagram, dia.registered_types()
7984         to get on Dia's type registry, dia.message() for simple dialogs
7986         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
7987         to create a new display from a diagram. Let diagram.extents and
7988         diagram.bg_color return the same types as in diagramdata.*
7990         * plug-ins/python/pydia-geometry.c : add a read-only 
7991         'sequence interface' to DiaPoint and DiaRectangle
7993         * plug-ins/python/pydia-property.c : allow to get on StringList
7994         from Python
7996         * plug-ins/python/pydia-render.c : fix typo to make it compile
7998         * plug-ins/python/python-startup.py : removed 'import pygtk'
7999         again. This file does not need any gtk UI, and some python
8000         plug-ins don't do either
8002         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
8003         it should actually work as intended again
8005         * plug-ins/python/group_props.py : (new file) a prototype for
8006         one the most requested features: Change properties of selected
8007         objects in one step. Requires pygtk.
8009         * plug-ins/python/select_by.py : (new file) select objects by 
8010         common properties. Requires pygtk.
8012         [Start of 'PyDia Self Documentation Series']
8014         * plug-ins/python/pydiadoc.py : (new file) generates a new 
8015         diagram which contains all objects of dir(dia)
8016         
8017         * plug-ins/python/otypes.py : (new file) generates a new diagram 
8018         which contains all the currently registered object types sorted 
8019         by their containing package
8021 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8023         * configure.in: Added check for Pango >= 1.1.5, which appears to
8024         be enough to have text work.
8025         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
8026         do it.  AC_SUBST should be idempotent, though.
8028 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8030         * configure.in (HAVE_FREETYPE): Better test for freetype version
8031         using neat macro.
8032         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
8034         * lib/font.c: Renamed global_size_one to global_zoom_factor to
8035         avoid confusion, and added comment.  Set scale factor in
8036         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
8037         my weird scaling problems.  Fonts are now of the expectable size,
8038         i.e. the space between lines at size 1.0 is 1.0.  If we want a
8039         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
8040         diagrams, though there will always be differences.
8042 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8044         * plug-ins/python/python-startup.py: 
8045         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
8047         * plug-ins/python/python.c (dia_plugin_init): Added warning
8048         message for missing startup file.
8050         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
8051         
8052         * lib/dia_image.c (dia_image_rgb_data): 
8053         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
8054         involving EPS.  Can't do transparency in EPS yet.
8056         * lib/dia_image.h: 
8057         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
8058         data as one chunk.  Documentation for the RGB data getting funcs.
8059         (dia_image_rgb_data): Added comment.
8061         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
8062         (bug #103565)
8064 2003-01-13  Steffen Macke <sdteffen@web.de>
8066         * lib/dia_image.c: dia_image_rgb_data() is working for
8067         non-alpha images now. Fixes #93762
8068         * Makefile.am: added makefile.msc to EXTRA_DIST
8069         
8070 2003-01-10  Steffen Macke <sdteffen@web.de>
8072         * app/paginate_psprint.c: Closing print dialog when file
8073         could not be written. Fixes #84746
8074         
8075 2003-01-04  Steffen Macke <sdteffen@web.de>
8077         * doc/custom-shapes: incomplete description of <svg:text>
8079 2003-01-03  Steffen Macke <sdteffen@web.de>
8081         * makefile.msc(new): new makefile to create file
8082         structure suitable for running dia win32 under
8083         $(TOP)/dia/build/win32
8084         
8085 2003-01-02  Steffen Macke <sdteffen@web.de>
8086         
8087         * lib/dia_svg.c: including stdlib.h
8088         * lib/makefile.msc: added gdk_pixbuf libs to linker
8089         * app/makefile.msc: added gdk_pixbuf libs, made libart
8090         libs compatible with gnuwin32 package
8091         
8092 2003-01-01  Hans Breuer  <hans@breuer.org>
8094         * lib/font.c : more comment about global_size_one
8096         * app/menus.c : <control>[<shift>]A for plain gtk build too.
8098         * plug-ins/wmf/wmf.cpp : some type juggling to make 
8099         msvc7 happy
8101 2002-12-31  Steffen Macke <sdteffen@web.de>
8103         * app/makefile.msc: added hint on how to enable console output
8104         
8105 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8107         * objects/standard/textobj.c (textobj_load): Get the handle type
8108         right, at least to be the same as when created.
8110 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8112         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
8114 2002-12-08  Hans Breuer  <hans@breuer.org>
8116         * app/commands.c : fixed bug #85315 'give diagram properties, 
8117         instead of no object selected error' almost a one-liner
8119         * app/splash.c : don't make having the logo pixmap
8120         mandatory. Fixes bug #96068. 
8122         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
8123         sequence by connecting to the "delete_event"
8124         * app/objects/uml/class_dialog.c : handle "destroy" for 
8125         the same reason.
8127         * lib/libdia.def : remove diaXmlNewChild again
8129         * app/paginate_gdiprint.cpp : reflect Dia's page setting
8130         portrait/landscape in the windoze print dialog
8132         * objects/makefile.msc : only UML needs to link against
8133         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
8135 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
8137         * objects/standard/ellipse.c (ellipse_distance_from): 
8138         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
8139         correct distance function.  Could be faster, but it's not really
8140         essential. 
8142 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
8144         * lib/font.c: Changed global_size_one to more correct 28.35.
8145         Looks better, too.
8147         * app/load_save.c:
8148         * lib/dia_xml.h: 
8149         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
8150         after all.
8152 2002-12-07  Hans Breuer  <hans@breuer.org>
8154         * lib/widgets.c : g_file_get_contents() silently assumes
8155         a binary file. Reflect when creating the font_menu file
8156         to get rid of junk in font menus
8158 2002-12-06  Hans Breuer  <hans@breuer.org>
8160         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
8161         removed 0xD 0xD 0xA line ends which get created by
8162         cvs if windoze line ends 0xD 0xA are checked in from
8163         *nix and checked out on win32.
8165         * app/preferences.c : changed toolbox_on_top default to
8166         false. It is currently not possible to change the behaviour
8167         at runtime, at least not on win32.
8169         * lib/dialibartrenderer.c : bug #94791 'rendering to 
8170         bitmap without PangoFt2' got delayed to milestone future 
8171         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
8172         It is not available without my Pango patch in bugzilla.
8174         * lib/font.c : added comment to global_size_one and adapt
8175         the arbitrary size scaling in dia_font_build_layout() for
8176         win32, too. This is needed to get an acceptable font size 
8177         approximation for Dia 0.90 and earlier files.
8178         Also #include "message.h".
8180         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
8181         reflect movement of group.[hc]
8182         * lib/group.h : export group_type which gets used by app/*
8184         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
8185         to get the GtkTypeInfo definition
8187         * plug-ins/makefile.msc : dxf and xfig don't need to link
8188         against app/ anymore now that group is moved to lib/
8190         * plug-ins/python/pydia-render.c : remove massive leaking
8191         of self, i.e. PyDiaRenderer
8193         *  plug-ins/python/makefile.msc : remove linking against
8194         GTK libs
8196 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
8198         * objects/standard/line.c: Removed properties options for gaps,
8199         until release is done.
8201         * configure.in: Check for freetype version.
8203         * lib/text.c (text_insert_char): Fixed small buffer overflow for
8204         length = 0.
8206         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
8208         * app/diapsft2renderer.h: 
8209         * app/diapsft2renderer.c: 
8210         * app/diapsrenderer.h: 
8211         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
8213         * app/render_eps.c (export_eps, new_psprint_renderer): Using
8214         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
8216         * lib/properties.h: Fixed bad frame end def.
8218         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
8220         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
8221         
8222         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
8224 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8226         * lib/font.c: Now checking for the proper dia-style standard fonts.
8228         * lib/Makefile.am: 
8229         * app/Makefile.am: Moving group.[ch]
8231         * plug-ins/dxf/dxf-import.c: 
8232         * plug-ins/xfig/xfig-import.c: 
8233         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
8235         * app/object_ops.c: 
8236         * app/object_ops.h: 
8237         * lib/object.c (object_list_move_delta, object_copy_list): 
8238         * lib/object.h: Moved some object-related functions from
8239         object_ops to object to assist moving group.c.
8241         * lib/diatypes.h: Added Group typedef.
8243         * lib/group.h: 
8244         * lib/group.c: Moved from app to lib to a) resolve plug-ins
8245         references, and b) make groups more "real" objects.
8247         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
8249 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
8251         * lib/font.c (dia_font_init): Added check that the three standard
8252         fonts exist.
8254 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8256         * lib/dia_xml.[ch]:
8257         * app/load_save.c: Linebreaks in dia files, no indentation.
8258         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
8259         this. 
8260         
8261         * objects/standard/line.c: Small but important fixes to the line
8262         gap code.
8264         * lib/dia_xml.h: 
8265         * lib/dia_xml.c (diaXmlNewChild): 
8266         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
8267         XML prettyprinting wrapper.
8269 2002-12-03  Steffen Macke <sdteffen@web.de>
8271         * shapes/Cisco/Makefile.am:
8272         * shapes/Cisco/*.shape: finished conversion of Cisco icons
8273         to *.png
8274         
8275 2002-12-02  Steffen Macke <sdteffen@web.de>
8277         * doc/en/Makefile.am:
8278         * doc/en/usage-objects.sgml:
8279         * doc/en/graphics/line_icon.png: (new) added line icon
8280         
8281 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8283         * objects/standard/line.c: Binary search object edge line gap.
8285 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8287         * configure.in: Added Cisco makefile, sorted Makefiles list.
8289         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
8291         * configure.in: Now checks for availability of PangoFT2 and
8292         FreeType, raising an error if not found.
8294         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
8295         Hans.
8297 2002-12-01  Steffen Macke <sdteffen@web.de>
8298         
8299         * doc/en/usage-loadsave.sgml: updated information on import
8300         and export formats
8301         
8302 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
8304         * app/commands.c (edit_copy_callback): Freeing copy_list.
8306 2002-11-28  Steffen Macke <sdteffen@web.de>
8307         
8308         * app/render_libart.c: art_config.h was included twice
8310 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8312         * sheets/.cvsignore: More ignorance.
8314         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
8316         * lib/prop_widgets.h: Two (currently unused) settings for frame
8317         foldability.
8319         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
8320         (by default) foldable. 
8322         * lib/propinternals.h: 
8323         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
8324         widgets in a more controlled manner.
8326         * objects/standard/line.c (line_update_data): Line gap things
8327         inserted.  Can do xeyes now:)
8329 2002-11-26  Christian Neumair  <chris@gnome-de.org>
8331         * .cvsignore: Changed.
8332         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
8333         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
8334         Added.
8336 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8338         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
8340         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
8341         passing to font hash.
8343         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
8344         utf-8 or locale-convertible before adding to dialog text.  This
8345         probably needs done in a number of places where we get text from
8346         the environment and send it to GTK to display.
8348         * lib/widgets.c: Fixed case problems for font menu entries.
8350         * objects/SADT/annotation.c: Don't run the event test (but leave
8351         it here for inspiration).
8353         * lib/widgets.c: 
8354         * lib/widgets.h: Allowing setting preview text for fonts.
8356 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8358         * objects/bondgraph/Makefile.am: 
8359         * objects/bondgraph/bondgraph.c: 
8360         * configure.in: 
8361         * objects/Makefile.am: Added bond graph dir.
8363 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8365         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
8367 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8369         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
8370         positioning. 
8372         * app/diapsrenderer.c: Freetype rendering is back in force.
8374         * app/disp_callbacks.c: Added missing updates for pre-text-change.
8376 2002-11-25  David Hoover <jazzdaq@yahoo.com>
8378         * app/render_libart.c: Added missing #include line for libart.
8380         * lib/geometry.h:
8381         * lib/geometry.c: Added point_convex function.  This computes
8382         points inside a line segment (0 <= alpha <= 1) or outside the
8383         line segment (alpha < 0 | alpha > 1).
8385         * objects/standard/line.c: Line now has additional code/attributes
8386         which permit the line to extend past the line anchors (gap < 0) or
8387         leave a gap without reaching the anchor (gap > 0).  If no gap is
8388         specified, the default gap of 0 will result in identical line
8389         behavior as before.  If the 'fractional' attributes are TRUE, the
8390         gap length is not fixed, but a percentage of the line length.  I
8391         did not know how create the GTK widgets so the gap code currently
8392         cannot be used without adding XML attributes by hand.
8394 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8396         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
8398         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
8400 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8402         * lib/font.c: Debugging functionality in separate functions.
8404         * lib/widgets.c: Using fontsel with context.
8406         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
8408         * objects/custom/custom_object.c: Orientation handling for shapes,
8409         patch thanks to Martin Hans <opfinder@gmx.net>.
8411         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
8412         work on even better orientation handling.
8414         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
8415         casting NULL pointers.  Should be unnecessary in an upcoming GTK
8416         release. 
8418 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8420         * lib/font.h:
8421         * lib/font.c:
8422         * lib/widgets.c: Now uses correct context to get font families.
8424         * lib/diagdkrenderer.c (get_text_width, draw_string): 
8425         * lib/dialibartrenderer.c (draw_string): 
8426         * lib/font.h: 
8427         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
8428         (dia_font_build_layout): Unified the twiddle factors into a use of
8429         global_size_one.  But I deeply distrust Pango for seeming to
8430         change size of fonts every time I turn my back.
8432         * app/display.c: 
8433         * app/diagram.c: 
8434         * app/menus.c:
8435         * app/menus.h: Updated some more methods to also be more specific
8436         on the types.
8438         * app/menus.h:
8439         * app/recent_files.c: 
8440         Changed to return most specific type, to avoid run-time type errors.
8442         * app/menus.c (menus_get_item_from_path): Non-gnome version now
8443         gets menu_item rather than widget, which works better.
8445 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
8447         * app/display.c: (new_display):
8448         * app/menus.c: (menus_get_item_from_path):
8449         Relying on the tearoff to locate the input methods menu wasn't a
8450         good idea: tearoffs seem to be an endangered species nowadays.
8451         Anyway, the IM menu seems to be working now.
8453         * app/interface.c: hinted the window manager that the toolbox window
8454         is a toolbox window. Not that my (fairly default configuration)
8455         sawfish cares, but other NETWM compliant WMs may.
8457         * app/commands.c: 
8458         * app/defaults.c: 
8459         * app/dia-props.c:
8460         * app/filedlg.c: 
8461         * app/interface.c: 
8462         * app/layer_dialog.c: 
8463         * app/linewidth_area.c: 
8464         * app/properties.c: 
8465         * app/sheets_dialog.c: 
8466         * app/splash.c: 
8468         The GTK doc says to avoir gtk_window_set_wmclass() and 
8469         gtk_window_set_policy(), and use gtk_window_set_role() and
8470         gtk_window_set_resizable(), respectively.
8471         
8472         * app/preferences.c: (prefs_create_dialog):
8473         * app/preferences.h:
8474         * app/display.c: (display_set_active):
8475         Added a preference to have the toolbox hover over diagram windows.
8476                 
8477 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8479         * lib/diagdkrenderer.c (get_text_width, draw_string):
8480         Freetype-based string drawing now works.  Not very fast, though.
8481         I wish I could use the graphics card for this:(  I'm doing three
8482         bitmap loops where I should be doing one.  The size is not correct
8483         either, despite having get_text_width give the right thing.
8485 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8487         * app/connectionpoint_ops.c (diagram_update_connections_object):
8488         Allows more than one connectionpoint on an object to be moved at a
8489         time (bug #96306).
8491 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
8493         * configure.in: Added cs to ALL_LINGUAS.
8495 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8497         * app/paginate_psprint.c: Removed unnecessary decl of autosave
8498         stuff.
8500         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
8502         * app/export_png.c (export_png_ok): Saving more variables from the
8503         evil setjmp.
8505 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8507         * lib/dialibartrenderer.c (begin_render):
8508         (end_render): Correct pushing and popping of font contexts.
8509         (draw_string): Double zooming eliminated, strange twiddle factor
8510         introduced (grumble).  Close to working now, but there are still
8511         strange differences from font to font.  In particular, some fonts
8512         really mess with the cursor and extents.
8514         * app/render_eps.c (export_eps): 
8515         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
8516         Fixed file closing confusion, no longer dependent on PS/EPS.
8518         * app/diagram.c (diagram_place_down_selected) 
8519         (diagram_place_up_selected): Now implemented.
8521         * lib/font.c (dia_font_init): 
8522         * lib/font.h: 
8523         Redesigned the font init/context pushing code.  Start of fix for
8524         font name differences.
8525         
8526 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
8528         * app/sheets_dialog_callbacks.c: Fix a typo.
8529         
8530 2002-10-15  Hans Breuer  <hans@breuer.org>
8532         * app/diapsrenderer.[hc] : (new files, old content :-)
8533         simple base class for post script rendering. Does neither 
8534         use Pango/FT2 nor does it handle non latin1 characters. 
8535         The fancy stuff which nowadays appears to be needed should 
8536         probably be done in derived class(es)
8538         * app/makefile.msc app/Makefile.am : added new files
8540         * app/paginate_psrint.c : re-enabled and used as test
8541         for the simple ps renderer above.
8543         * app/render_eps.[hc] : ripped out common ps code and
8544         moved to DiaPsRenderer. The rest of the file is mostly
8545         disabled. And I don't understand enough of it to 
8546         change port it.
8548         * app/diaepsrenderer.h : short lived, removed.
8550 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8552         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
8553         as a plugin (thanks to Torben Nielsen).
8555 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8557         * app/diaepsrenderer.h: 
8558         * app/render_eps.h: 
8559         * app/paginate_psprint.c: 
8560         #ifdef'd out enough ps stuff to allow compile.  Now we just need
8561         to convert it.
8562         
8563 2002-10-12  Hans Breuer  <hans@breuer.org>
8565         [last plug-in ported]
8567         * plug-ins/xfig/xfig-export.c : ported to new renderer api
8569         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
8570         scale color values to [0..1.0] to properly reconstruct
8571         user colors
8573         * plug-ins/xfig/xfig-common.c : some cleaning
8575 2002-10-12  Hans Breuer  <hans@breuer.org>
8577         [decrease inter-plug-in-dependencies]
8579         * objects/custom/shape_info.[hc] : move parse_style()
8580         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
8581         the related structs and constants.
8582         * objects/custom/custom_object.c : reflect namespace
8583         changes
8585         * lib/dia_svg.[hc] : new files
8586         * lib/makefile.msc lib/Makefile.am : add new files
8587         * lib/libdia.def : updated externals
8589         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
8591         * plug-ins/svg/svg.c : enable svg import for win32 (and
8592         probably for other non ELF builds)
8594         * plug-ins/makefile.msc : enable svg import
8596 2002-10-11  Hans Breuer  <hans@breuer.org>
8598         * plug-ins/metapost/render_metapost.[hc] : ported
8600         * plug-ins/pstricks/render_pstricks.[hc] : dito
8602 2002-10-11  Hans Breuer  <hans@breuer.org>
8604         * plug-ins/cgm/cgm.c : ported, appears to work as before,
8605         but graphic apps available to me can't import the generated 
8606         files (the could not with Dia-0.90 cgm as well) ...
8608         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
8609         Removed all those function which did emulate 'complex' 
8610         drawing ops with basic ones (e.g. rect by line) cause this
8611         stuff is already provided by the base class
8612         * plug-ins/dxf/dxf-import.c : removed render.h include
8614         * plug-ins/python/pydia-font.[hc]
8615           plug-ins/python/pydia-text.c : finally ported to new font api
8617         * plug-ins/python/pydia-layer.c : add extra parameter
8618         to layer_find_closest_connectionpoint()
8620         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
8622         * plug-ins/python/python.c : added missing copyright notice
8624         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
8625         actually use the renderers set_font implementation
8627         * plug-ins/renderer.inc : unused now, removed
8628         * plug-ins/Makefile.am : reflect it
8630 2002-10-08  Hans Breuer  <hans@breuer.org>
8632         * app/render_gdk.c : don't add the InteractiveRenderer
8633         interface multiple times (it's added to the type, not
8634         the object)
8635         * app/render_libart.c : dito. It's currently added
8636         unconditional cause eport_png uses it, but claims
8637         to be non-interactive. Probably set_size should be moved
8638         to the DiaRenderer interface.
8640         * lib/dialibartrenderer.c : add implementations for
8641         get_<width|height>_pixels. Libart rendering works again.
8642         DiaLibartRenderer::draw_image : use dia_image_rowstride()
8643         instead of width*3
8645         * lib/diatransform.c(dia_transform_coords_double) :
8646         don't ROUND() the returned values
8648         * plug-ins/pixbuf/pixbuf.c : added import function. It
8649         simply creates a wrapping "Standard - Image" object.
8651         * plug-ins/shape/shape-export.c : use the more direct
8652         method to call base class methods
8654 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
8656         * lib/font.c (dia_font_init): Changed dia_font_init to return old
8657         pango context, to allow stacked contexts (for printing while
8658         antialiased).
8659         
8660         * lib/arrows.h
8661         * lib/bezier_conn.h
8662         * lib/beziershape.h
8663         * lib/boundingbox.h
8664         * lib/color.h
8665         * lib/connection.h
8666         * lib/connectionpoint.h
8667         * lib/create.h
8668         * lib/dia_image.h
8669         * lib/diagdkrenderer.h
8670         * lib/diagramdata.h
8671         * lib/dialibartrenderer.h
8672         * lib/diamenu.h
8673         * lib/diarenderer.h
8674         * lib/diasvgrenderer.h
8675         * lib/diatransform.h
8676         * lib/element.h
8677         * lib/filter.h
8678         * lib/focus.h
8679         * lib/font.h
8680         * lib/geometry.h
8681         * lib/handle.h
8682         * lib/neworth_conn.h
8683         * lib/objchange.h
8684         * lib/object.h
8685         * lib/orth_conn.h
8686         * lib/paper.h
8687         * lib/plug-ins.h
8688         * lib/poly_conn.h
8689         * lib/polyshape.h
8690         * lib/properties.h
8691         * lib/ps-utf8.h
8692         * lib/sheet.h
8693         * lib/text.h
8694         * lib/textattr.h
8695         * lib/widgets.h
8696         * lib/diatypes.h
8697         Moved all externally visible struct typedefs into diatypes.h, as
8698         per Hans' suggestions.
8700 2002-10-07  Steffen Macke <sdteffen@web.de>
8702         * lib/Makefile.am: removed a '\' causing problems
8704 2002-10-07  Hans Breuer  <hans@breuer.org>
8706         [Libart Renderer resurrected; almost it's compiling but
8707          almost instantly crashing :-]
8709         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
8710         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
8711         * lib/diatransform.[hc] : added dia_transform_coords_double()
8713         * app/display.c : the right parameters for new_renderer_libart()
8714         * app/export_png.c : ported, removed the blind Display hack
8716         * app/makefile.msc lib/makefile.msc 
8717           lib/Makefile.am : updated
8719         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
8721 2002-10-06  Hans Breuer  <hans@breuer.org>
8723         * plug-ins/pixbuf/pixbuf.c : (new file)
8724         there is a new export plug-in called 'Pixbuf' which uses 
8725         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
8726         formats (currently only PNG and JPEG).
8728 2002-10-06  Hans Breuer  <hans@breuer.org>
8730         See also: 
8731         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
8733         * lib/dia-enums.h lib/diatransform.[hc]
8734           lib/diarenderer.[hc] lib/diainteractiverenderer.c
8735           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
8736         : new files 
8738         * lib/makefile.msc lib/makefile.am : added new files
8740         * lib/plug-ins.c : g_module_error() returns a locale
8741         string, convert to utf8 before further usage 
8743         * lib/render.h : #error out. Everything including this
8744         needs porting
8745         * lib/*.[hc] : ported to new renderer api
8747         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
8748         just to make the rest compile
8749         * app/render_eps.c : temporary disabled all of this
8750         * app/render_eps.h : removed RendererEPS
8752         * app/render_gdk.[hc] : a small wrapper around the new
8753         DiaGdkRenderer form lib/*
8755         * app/render_libart.h : removed RenderLibart definition
8756         * app/render_libart.c : not yet ported to new DiaRenderer
8757         but having an implementation to untie form FT2 dependency
8758         at least on win32. It is using new Pango api form bug #94791
8760         * app/render_pixmap.[hc] : a small wrapper around the new
8761         DiaGdkRenderer form lib/*
8763         * app/display.h : removed render_*.h includes
8764         * app/display.c : the only place where specific 
8765         renderers need to be known
8767         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
8768         use new DiaInteractiveRenderer interface
8770         * app/*.c : ported to new renderer api
8771         * object/*/*.c : ported to new renderer api
8772         s/render.h/diarenderer.h/
8773         s/Renderer/DiaRenderer/
8774         s/renderer->ops/renderer_ops/
8775         add in every draw method:
8776         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
8778         * plug-ins/hpgl/hpgl.c : 
8779           plug-ins/wmf/wmf.cpp 
8780           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
8781         * plug-ins/shape/shape-export.c
8782           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
8783           (nice how small these files became :-)
8785 2002-09-28  Hans Breuer  <hans@breuer.org>
8787         * */makefile.msc : updated
8789         * app/defaults.c : don't gdk_invalidate_rect(NULL)
8790         * app/disp_callbacks.c : 
8791         can't cast GtkWindow to GdkWindow, use shell->window
8792         (ddisplay_unrealize) don't use already unrefed im_context
8793         * app/display.c :
8794         can't cast from GtkMenu to GtkMenuItem
8795         (ddisp_destroy) : mark im_context as unrefed
8797         * lib/dia_xml (data_font) : prefer new font format over old one
8798         (data_add_font) : write the legacy name to allow file exchange
8799         with pre Pango versions of Dia, which would otherwise crash 
8800         on missing font 'name' attribute.
8801         * lib/font.c (dia_font_get_legacy_name) : improved implementation
8802         to get a better match.
8804         * lib/libdia.def : updated
8806         * lib/messages.c : don't gdk_widget_show(NULL)
8808         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
8810         [make Dia compile, link _and_ work with mingw/gcc3.2]
8812         * config.h.win32 : #define LIBXML, this gets defined from libxml
8813         header but only for _MSC_VER. The mingw build did access an 
8814         unitialized function pointer for xmlFree.
8816         * */makefile.mingw : updated (some plug-ins have build issues)
8817         
8818         * lib/handle.h lib/object.h :   there appears to be no 
8819         forward declaration of the form 
8820                 typedef enum _HandleId HandleId 
8821         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
8822         use of enum `_HandleId' without previous declaration
8824         * app/paginate_gdiprint.cpp : added a hack to avoid g++
8825         naming conflict on 'export'
8827         * app/paginate_gdiprint.h : forward declare Diagram
8829         * objects/SADT/annotaion.c : use g_random_double()
8831 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8833         * app/modify_tool.c: Made motion not happen until sufficiently
8834         large or past double-click interval, to avoid accidental moving
8835         when doubleclicking.  Got the double-click time right, and fixed
8836         some issues with release.  There are some corner cases that may
8837         exhibit strange behaviour, will look at those later.  Nah, let's
8838         not care about those, they are rare and not dangerous.
8840 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
8842         * app/layer_dialog.c: 
8843         * app/load_save.c: 
8844         * plug-ins/dxf/dxf-import.c: 
8845         * plug-ins/python/pydia-diagram.c: 
8846         * lib/diagramdata.c:
8847         * lib/diagramdata.h:
8848         Improved the consistency of the obj->parent_layer backlinks (esp.
8849         during reloads)
8851         * lib/Makefile.am:
8852         * lib/dummy_dep.h:
8853         * lib/dynamic_obj.[ch] (NEW):
8854         * app/Makefile.am:
8855         * app/app_procs.c: 
8856         * app/dynamic_refresh.[ch] (NEW):
8857         * objects/Misc/analog_clock.c: 
8858         Added support for dynamic refresh (animated objects).
8859                 
8860 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
8862         Patch from Owen Taylor <otaylor@redhat.com>:    
8863         * doc/en/Makefile.am:
8864         * doc/en/dia-manual.sgml:
8865         * doc/en/usage-objects.sgml:
8866         * doc/en/usage-quickstart.sgml:
8867         * doc/pl/Makefile.am:
8868         * doc/pl/dia-manual.sgml:
8869         * doc/pl/usage-objects.sgml:
8870         * doc/pl/usage-quickstart.sgml:
8872         - Change the DTD declration from an outdated GNOME one to a
8873         standard DTD.
8874         
8875         - Remove close tags for <graphics> which aren't allowed for
8876         docbook SGML
8877         
8878         - A hacky fix for a problem where some versions of db2html don't
8879         create *.css files. (If *.css doesn't match anything, then you get
8880         the global explicitely.)
8882         (Closes: #92061)
8883         
8884 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
8886         * objects/custom/custom_object.c: 
8887         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
8888         were never properly prepared for use when reloading a shape with
8889         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
8890         reporting the problem and coming up with a fix! (Closes: #93974)
8892         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
8893         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
8895         * app/menus.c:
8896         * app/display.c: updated menu item paths Alan's patch had moved.
8897         
8898         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
8899         load the sheet-provided icon (libpng versions mismatch, grrr.).
8900         
8901         * configure.in:
8902         * objects/Makefile.am:
8903         * objects/Misc/Makefile.am (NEW):
8904         * objects/Misc/libmisc.c (NEW):
8905         * objects/Misc/analog_clock.c (NEW):
8906         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
8907         * sheets/Misc.sheet.in: just a little experiment...
8909 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
8911         * plug-ins/xlst/Makefile.am: found a way to silence automake while
8912         not forcing everyone to build using libxslt.
8914         * lib/font.c: 
8915         * lib/message.c:
8916         * lib/object_defaults.c:
8917         * lib/intl.[ch]:
8918         * lib/render.c:
8919         * lib/properties.[ch]:
8920         * lib/propobject.c:
8921         * objects/standard/box.c: 
8922         * objects/UML/state_term.c:
8923         * objects/FS/box.c:
8924         * objects/FS/flow-ortho.c:
8925         * app/app_procs.c:
8926         * app/autosave.c:       
8927         * app/commands.c:
8928         * app/diagram_tree.c:
8929         * app/display.c:
8930         * app/disp_callbacks.c:
8931         * app/export_png.c:
8932         * app/filedlg.c:
8933         * app/lineprops_area.c:
8934         * app/menus.c:  
8935         * app/preferences.c:
8936         * app/render_eps.c:     
8937         * app/sheets.c:
8938         * app/sheets_dialog_callbacks.c:
8939         * plug-ins/xslt/xslt.c:
8940         * plug-ins/metapost/render_metapost.c:
8941         * plug-ins/xfig/xfig-export.c:
8942         * plug-ins/shape/shape-export.c:
8943         
8944         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
8945         unused variables, mostly)
8947         * app/display.c:
8948         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
8950         * app/Makefile.am: modified run_dia.sh so that we recover the
8951         ability to run a debugger despite libtool's hacks.
8953         * plug-ins/dxf/Makefile.am: 
8954         * app/Makefile.am
8955         "make distcheck" fixes.
8956         
8957 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8959         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
8960         <mfranzoni@madd.it>:  Check for the type being NULL.
8962 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8964         * app/render_eps.c (set_font): Re-tweaked font size for printing.
8966 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
8968         Patch from Angus Ainslie <angusa@deltatee.com>:
8969         * plug-ins/dxf/dxf-import.c:
8970         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
8972         (plus a couple extra fixes by me, such as the removal of printf's,
8973         adapting for recent changes, and killed a couple warnings) 
8975         * app/authors.h: a 60K patch isn't insignificant, is it?
8976         
8977 2002-09-09  Tor Lillqvist  <tml@iki.fi>
8979         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
8980         as before) and -lfreetype (using AC_CHECK_LIB). At least on
8981         Solaris with Sun's compiler (Forte C), you need to link also the
8982         dia application with -lfreetype, even if it is implicitly linked
8983         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
8984         which is what they actually mean. Use FREETYPE_LIBS for
8985         -lfreetype.
8987         Don't look for libsunmath if isinf() is not found in math.h (as on
8988         Solaris). The sunmath library is part of Forte C and not present
8989         on all machines. Besides, even if isinf was found in libsunmath,
8990         we didn't use it in the Makefile.am.
8991         
8992         Fix a couple of bashisms.
8994         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
8995         too, on Solaris with Forte C.
8997         Don't try to use the gcc flags with other compilers.
8998         DIA_CHECK_CFLAG gives a false indication that Forte C understands
8999         the gcc -f switches, but in fact they get interpreted meaning
9000         something completely different.
9002         Define the automake conditional HAVE_CGC.
9003         
9004         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
9006         Use -export-dynamic only with gcc.
9008         * */Makefile.am
9009         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
9010         PANGOFT2_CFLAGS rename.
9012         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
9013         
9014         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
9015         Solaris.
9017         * lib/paper.c: Workaround for gccism: Can't use inline this way with
9018         Forte C, either.
9020 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
9022         * lib/text.c(set_string): fixed a memory leak (char* ain't no
9023         std::auto_ptr<char> !).
9025         * app/display.[ch]:
9026         * app/interface.[ch]:
9027         * app/ddisp_callbacks.[ch]: Added some basic support for input 
9028         methods (GtkIMContext-based)
9030         * lib/Makefile.am:
9031         * app/Makefile.am: made libdia a shared object (per Tor
9032         Lillqvist's suggestion/request), to cope for platforms with a less
9033         than par dynamic library loader.
9035         * app/display.c: disabled the input method menu (I really don't
9036         see where and how to put them. Blame Frozen Bubble )
9037         
9038 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9040         * objects/flowchart/box.c (box_update_data): Made resizing
9041         possible again (only set width & height when resized too small).
9043         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
9045         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
9046         GdkScrollEvents.
9047         
9048 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
9050         * app/authors.h: now showing Akira TAGOH's name in the native script.
9052 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9054         * plug-ins/xslt/xslt.c: Removed glib warning for unset
9055         DIA_PLUGIN_PATH.
9057 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
9059         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
9060         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
9061         sweep flag in arcs.
9063 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9065         * objects/UML/class.c: Fixed showing of empty stereotypes and got
9066         the string placed correctly.
9068 2002-08-30  Hans Breuer  <hans@breuer.org>
9070         * lib/font.c (dia_font_get_style) : don't shift already
9071         shifted DIA_FONT values.
9073         * lib/libdia.def : updated externals
9075         * app/disp_callbacks.c : on win32 GdkEventKey::string already
9076         is in UTF-8. (Longterm this probably should be handled on the
9077         gtk api level)
9079         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
9080         switch display renderers again. The libart renderer is very 
9081         useful for win9x with it's limited GDI.
9083         * app/render_gdk.c : use g_warning instead of printf which gets
9084         nowhere on win32 (non console apps)
9086         * app/render_libart.c : make it compile without FREETYPE
9088         * objects/makefile.msc plug-ins/makefile.msc : added clean target
9090 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9092         * app/render_eps.c (postscript_draw_contour): Debugging statement
9093         that allowed me to figure out font problems.
9095         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
9096         items for font styles.
9098         * objects/FS/flow-poly.c: 
9099         * objects/FS/flow-ortho.c: 
9100         * objects/FS/flow.c: Further conversion away from GTK dialogs.
9101         Can't set a default label right now:(
9103         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
9105 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
9106         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
9108         * Makefile.am: rules relating to AUTHORS and THANKS
9109         altered.
9110         * AUTHORS: file content changed to more accurately
9111         reflect guideline requirements.
9112         * TODO: warning added about Gnome BTS.
9113         * KNOWN_BUGS: warning added about Gnome BTS.
9115         ---
9117         * AUTHORS: added full copyright info.
9118         * mkauthors-placeholder: (removed) 
9119         
9120 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9122         * app/paginate_psprint.c (print_page): Fixed text printing after
9123         tip from Dov Grobgeld.
9125 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9127         * app/paginate_psprint.c (print_page): Fixed color of clip
9128         region.
9130 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
9132         * sheets/Makefile.am: enabled intltool-merge translation cache for
9133         sheets.
9135         * Makefile.am:
9136         * mkauthors-placeholder:
9137         * AUTHORS: revived that file (in a placeholder form) so that
9138         automake stops yelling.
9139         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
9140         (Closes: #91144)
9142         Heh, by the way, thanks Christophe. I feel better now.
9143         
9144 2002-08-25  Christophe Merlet  <christophe@merlet.net>
9146         * app/command.c: Removed invalid multibyte sequence in Chepelov.
9148 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9150         * lib/dia_image.c (dia_image_rgb_data): 
9151         Bugfixes in image data retrieval.
9152         
9153         * app/render_eps.c: Refactoring of new_*_renderer.
9155 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9157         * app/render_eps.c: 
9158         * lib/dia_image.h: 
9159         * lib/dia_image.c: Support for rowstride != width (odd width images)
9161 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
9163         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
9164         * plug-ins/xfig/xfig-import.c: Removed assertion.
9166 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9168         * lib/paper.c: Removed app/preferences.h reference.
9170 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9172         * plug-ins/svg/svg-import.c: 
9173         * plug-ins/xfig/xfig-import.c: 
9174         * lib/Makefile.am (libdia_a_SOURCES): 
9175         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
9176         * lib/create.h:
9177         * objects/standard/create.h:
9178         * objects/standard/polygon.c (polygon_create): 
9179         * objects/standard/polyline.c (polyline_create): 
9180         * objects/standard/beziergon.c (beziergon_create): 
9181         * objects/standard/bezier.c (bezierline_create): 
9182         Moving create.h into lib.
9184 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9186         * app/render_libart.[ch]: Work on PNG font export.  Something's
9187         still fishy with the scaling, I don't get it.
9189         * app/display.c: 
9190         * app/interface.c: Replaced broken zoom combo with entry+menu.
9191         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
9193         * app/render_gdk.c (get_text_width): Checks for validity of text.
9194         Temporary help while debugging input -- should only activate on
9195         invalid input.
9197         * objects/SADT/annotation.c: 
9198         * objects/GRAFCET/transition.c: 
9199         * objects/FS/function.c: Removal of gtk.h include.
9201         * objects/UML/state.c (state_load): Warnings about using State
9202         object for initial/final states.
9204         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
9206 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9208         * app/render_eps.c: Text rendering that scales correctly.  Too bad
9209         the standard fonts don't get selected right.
9211 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9213         * lib/diagramdata.h: 
9214         * lib/paper.c (get_paper_info): 
9215         * lib/paper.h: 
9216         * plug-ins/xfig/xfig-import.c: 
9217         Committed before testing.  I am so embarrased.  This compiles, now
9218         that the includes are in the right order.
9219         
9220         * app/diagram.c (diagram_init): 
9221         * app/app_procs.c (do_convert): 
9222         * app/preferences.h: 
9223         * lib/diagramdata.h: 
9224         * lib/diagramdata.c (new_diagram_data): 
9225         * lib/paper.h: 
9226         * lib/paper.c (get_paper_info): 
9227         Moved new_diagram part of prefs into lib/diagramdata.h.  More
9228         could be done in new_diagram_data() now.
9230 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9232         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
9234 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
9236         * configure.in: removed silly user-visible comment
9238         (actually, this is a dummy entry before I manually run nemo; for
9239         some dist-upgrade related reason, this morning's run aborted before
9240         the snapshots were created)
9241         
9242 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9244         * objects/network/wanlink.c: 
9245         * objects/network/bus.c: 
9246         stdprop compliance!
9248         * objects/custom/custom_object.c: 
9249         * objects/network/wanlink.c: 
9250         * objects/flowchart/parallelogram.c: 
9251         * objects/flowchart/ellipse.c: 
9252         * objects/flowchart/diamond.c: 
9253         * objects/flowchart/box.c: 
9254         Removed GTK defaults stuff.
9255         
9256         * objects/UML/fork.c: 
9257         * objects/UML/object.c: 
9258         * objects/UML/lifeline.c: 
9259         * objects/UML/branch.c: 
9260         * objects/GRAFCET/transition.c: 
9261         * objects/FS/function.c: Removed GTK include.
9263         * objects/FS/flow-ortho.c: 
9264         * objects/FS/flow.c: Made the label behave again.
9265         Also removed GTK defaults stuff.
9267 2002-08-06  Hans Breuer  <hans@breuer.org>
9269         * app/autosave.c : ported to GDir which is the improved
9270         cross platform replacement for <dirent.h>
9272         * app/makefile.msc : build autosave.obj
9274         * app/font.c : some (bad?) code calls 
9275         dia_font_scaled_decent() not only with empty string but 
9276         with NULL. Handle it gracefully.
9278         * lib/paper.c : don't depend on ../app. Although IMO
9279         this shouldn't be allowed on any platform it is only
9280         disabled for win32, where it simply doesn't work
9281         this way
9283         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
9285         * objects/fs/flow.c : conditionalize debug spew, disabled
9286         and 'ported' to use g_print. Simple printf won't work with
9287         standard win32 gui apps, may even crash them.
9289         * plug-ins/makefile.msc : DISABLED svg-import cause it
9290         depends on ../objects/custom. This not only break the
9291         build for all non ELF systems but IMO also isn't acceptable
9292         from a design point of view. See dia-list mail on subject.
9294         * plug-ins/python/makefile.msc :
9295           plug-ins/python/python.c : remove all references to dirent    
9297 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
9299         * configure.in: added ro to ALL_LINGUAS
9301         * po-checktrans:
9302         * po-checktrans.py:
9303         * ../translation-graphs/transgraph.py: added support for fuzzy
9304         translations. Enlarged the graphs.
9306 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9308         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
9309         key events according to locale.  No clue if this works for
9310         advanced stuff.
9312 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
9314         * lib/text.c: Various UTF8 related fixes, in particular in
9315         deleting.  Text_insert_char is fine, far as I can tell.
9317         * app/interface.c (create_display_shell): 
9318         * app/commands.c: Now uses gtk_clipboard functions, for they are
9319         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
9320         don't seem to get handled correctly by text_insert_char in
9321         lib/text.c.
9322         
9323         * app/commands.c (received_selection_handler): Got utf8 handling
9324         on paste, and individual char handling out of commands.c.  Pasting
9325         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
9327         * lib/message.c (gtk_message_internal): Message dialog re-shown
9328         when new message appears.  Maybe it should even move to top?
9330         * lib/font.c: 
9331         * lib/widgets.c: 
9332         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
9333         (again) and case-insensitive.
9335         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
9336         BASIC_SANS_FONT. 
9338 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
9340         * app/commands.c (edit_cut_text_callback): 
9341         * lib/text.c (text_delete_all): Now functioning undo for text cut.
9342         
9343         * app/commands.c (edit_cut_text_callback): Now removes text.
9344         Undo is broken, though.
9346 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9348         * app/diagram.c (diagram_update_menu_sensitivity): 
9349         Making cut_text active.
9350         
9351         * app/commands.h: 
9352         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
9353         clipboard.  Also removed AA callback.   
9355 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9357         * objects/chronogram/chronoref.c: 
9358         * objects/chronogram/chronoline.c: 
9359         * objects/SADT/annotation.c: 
9360         * objects/SADT/arrow.c: 
9361         * objects/SADT/box.c: 
9362         * objects/GRAFCET/vergent.c: 
9363         * objects/GRAFCET/vector.c: 
9364         * objects/GRAFCET/step.c: 
9365         * objects/GRAFCET/condition.c: 
9366         * objects/GRAFCET/action.c: 
9367         * objects/ER/participation.c: 
9368         * objects/ER/relationship.c: 
9369         * objects/ER/entity.c: 
9370         * objects/ER/attribute.c: 
9371         Removing unnecessary GTK references.
9373 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9375         * objects/standard/image.c: 
9376         * objects/standard/textobj.c: 
9377         * objects/standard/ellipse.c: 
9378         * objects/standard/polygon.c: 
9379         * objects/standard/beziergon.c:
9380         * objects/standard/box.c: 
9381         Making default default properties.
9382         
9383         * objects/standard/image.c: 
9384         * objects/standard/arc.c: 
9385         * objects/standard/box.c: 
9386         * objects/standard/zigzagline.c: 
9387         * objects/standard/polyline.c: 
9388         * objects/standard/line.c: 
9389         * objects/standard/ellipse.c: 
9390         * objects/standard/polygon.c: 
9391         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
9393         * lib/object_defaults.c (dia_object_default_create): 
9394         * lib/proplist.c: 
9395         * lib/properties.h: 
9396         * lib/object.c (object_copy_using_properties): 
9397         * lib/propdialogs.c: 
9398         * lib/propinternals.h: 
9399         * lib/propobject.c (object_create_props_dialog)
9400         (object_copy_props): 
9401         Removing the standard (toolbox) properties from defaults dialogs.
9403 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9405         * lib/font.c (dia_font_scaled_string_width) 
9406         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
9407         zoom factor.
9408         * lib/text.c (text_calc_boundingbox): Take descent into account.
9410         * objects/standard/bezier.c (bezierline_draw): 
9411         * lib/render.c (draw_bezier_with_arrows): 
9412         Better arrow drawing for beziers.  Doesn't change the mouse-click
9413         area either.
9415         * lib/arrows.h: Some const-ness.
9417         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
9419         * lib/render.c (draw_arc_with_arrows): 
9420         * objects/standard/arc.c (arc_draw): Better arrow drawing for
9421         arcs.  Doesn't change the mouse-click area yet.
9423         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
9425         * lib/render.h: 
9426         * lib/render.c: 
9427         Arc arrow prework.
9429 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9431         * app/group.c (group_draw): Forgotten commit: Groups to draw as
9432         objects (using default routines).
9434         * app/object_ops.h: 
9435         * app/diagram.h: 
9436         * lib/diagramdata.h: 
9437         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
9438         * objects/standard/zigzagline.c (zigzagline_move_handle): 
9439         * app/diagram.c (diagram_find_closest_connectionpoint): 
9440         * plug-ins/python/pydia-diagram.c
9441         (PyDiaDiagram_FindClosestConnectionPoint):
9442         * app/object_ops.c (object_connect_display) 
9443         (object_find_connectpoint_display) 
9444         * app/create_object.c (create_object_button_press) 
9445         (create_object_motion): 
9446         * app/modify_tool.c (modify_motion): 
9447         Adding object param to allow connectionpoint and handle coinciding.
9449         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
9450         Fixing minor problems.
9452         * objects/standard/ellipse.c (ellipse_update_data): 
9453         Added direction hints.
9455         * lib/diagramdata.c: 
9456         * lib/object.c: 
9457         * lib/object.h: 
9458         * lib/diagramdata.h: 
9459         * objects/standard/zigzagline.c: 
9460         First working example of zigzagline hints, currently only between
9461         Box and Zigzagline.
9463 2002-07-27  Steffen Macke <sdteffen@web.de>
9465         * plug-ins/svg/render_svg.c: added support for rounded
9466         rectangles (fixes #69053 if compile with
9467         -DNEW_RENDER_OPS)
9468         * object/custom/shape_info.[c|h]: made parse_style and
9469         parse_path accessible for svg plug-in
9470         * plug-ins/svg/Makefile.am:
9471         * plug-ins/svg/svg.c:
9472         * plug-ins/svg/svg-import.c(new): added SVG import filter
9474 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9476         * objects/standard/box.c: 
9477         * objects/standard/zigzagline.c (zigzagline_move): 
9478         More work on zigzagline hints.
9480 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9481         * lib/connectionpoint.h: 
9482         Hints for zigzaglines.
9484         * app/properties.c (properties_show): 
9485         * app/defaults.c (defaults_show): 
9486         * lib/properties.h: 
9487         * lib/propobject.c (object_create_props_dialog): 
9488         * lib/object.h: 
9489         * objects/FS/flow-poly.c: 
9490         * objects/network/wanlink.c: 
9491         * objects/network/bus.c: 
9492         * objects/UML/class.h: 
9493         * objects/UML/class_dialog.c: 
9494         * objects/UML/association.c: 
9495         Start of removing toolbox props from props dialogs.
9496         
9497         * lib/widgets.c: 
9498         * lib/arrows.h: 
9499         * app/lineprops_area.c (dia_arrow_chooser_new): 
9500         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
9502         * app/create_object.c: 
9503         * app/modify_tool.c: 
9504         * app/cursor.h: 
9505         * app/cursor.c: 
9506         More cursor change.
9508 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9510         * app/preferences.c: 
9511         * lib/paper.c: 
9512         * app/diapagelayout.c: 
9513         New prefs selector kind PREF_CHOICE chooses between a list of
9514         strings.  Used for picking default paper.
9515         
9516         * app/preferences.c (prefs_data): 
9517         * lib/paper.c (get_paper_info): Added prefs setting for
9518         is_portrait.
9520         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
9521         line segments at the ends (bug #86603).
9523 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9525         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
9526         #60324: Now calls update_data after copy.
9528         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
9529         Now doesn't steal selection from non-object tools.
9531 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9533         * app/commands.c (help_manual_callback): Uses BROWSER environment
9534         variable when available.
9536 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9538         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
9539         object from the new sheet when changing.
9541         * app/app_procs.c (app_init): Uses more standard size icon, from
9542         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
9544 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9546         * objects/UML/implements.c (implements_update_data): 
9547         * objects/UML/realizes.c (realizes_update_data): 
9548         * objects/UML/dependency.c (dependency_update_data): 
9549         Test for null strings before calling on ascent.
9551         * objects/UML/realizes.c (realizes_draw): 
9552         * objects/UML/message.c (message_draw): 
9553         * objects/UML/generalization.c (generalization_draw): 
9554         * objects/UML/dependency.c (dependency_draw) 
9555         * objects/UML/constraint.c (constraint_draw): 
9556         * objects/GRAFCET/condition.c (condition_draw): 
9557         * objects/UML/association.c (association_draw): 
9558         * objects/FS/flow-ortho.c (orthflow_draw): 
9559         * objects/FS/flow.c (flow_draw): Change to use
9560         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
9562         * lib/render.h: 
9563         * lib/arrows.c (calculate_arrow_point): 
9564         * lib/arrows.h: 
9565         * lib/render.c: 
9566         * objects/standard/zigzagline.c:
9567         * objects/standard/polyline.c:
9568         * objects/standard/line.c: Work towards better arrow drawing.
9570 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
9572         * objects/UML/state.c: Starting phase-out of State object as
9573         initial/final state (which never worked right).
9575         * app/app_procs.c (app_init): --version command line option for
9576         non-Gnome.
9578         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
9580 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
9582         * app/render_eps.c: Removed debugging info.
9584         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
9585         Kludge to make ascent and descent work for empty strings.  Won't
9586         work when using non-ASCII fonts.  Better would be to get a
9587         PangoFont and ask directly.
9589         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
9590         of the init stuff.
9592         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
9593         Cursor now better.
9595 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9597         * plug-ins/xfig/xfig-export.c: First use of draw_object render
9598         function: All shapes are now groups in XFig export.
9600         * lib/diagramdata.c (normal_render): 
9601         * lib/render.c: 
9602         * lib/render.h: 
9603         * app/display.c (ddisplay_obj_render): 
9604         New render function for drawing objects, allows renderers to group
9605         or otherwise specially handle objects.  We may want to reconsider
9606         calling it in app/display.c, as we 'know' the object draw function
9607         is the default one there.
9609         * lib/Makefile.am: Removed extra \ that broke stuff.
9611         * plug-ins/xfig/xfig-import.c: 
9612         Spline import for xfig.  Not perfect.
9614         * objects/standard/create.h: 
9615         * objects/standard/bezier.c (bezierline_create): 
9616         * lib/bezier_conn.c: 
9617         * lib/beziershape.c (beziershape_set_points): 
9618         * lib/bezier_conn.h: 
9619         * lib/beziershape.h: 
9620         Support for creating beziers non-interactively.
9622 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9624         * plug-ins/xfig/xfig-import.c: Support for polygons and
9625         polylines.  Special warning handling system removed.
9627         * lib/message.c (gtk_message_internal): Fixed bug involving
9628         closing message window and then getting repeated message.
9630         * Makefile.am: 
9631         * autogen.sh: 
9632         * configure.in (GETTEXT_PACKAGE): 
9633         Update based on bug #88199.  Hopefully this doesn't break too much
9634         intl stuff.
9636         * dia.desktop.in (_Comment): Changed after suggestion from
9637         calum.benson@ireland.sun.com (bug 88345)
9639         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
9640         <loli@unsa.edu.ar> that makes user/system distinction better.
9642 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9644         * app/render_libart.c: Got the context right, removed crashes.
9646         * app/commands.c: 
9647         * app/commands.h: 
9648         Redraw menu item.
9650         * app/display.c: 
9651         * app/display.h: 
9652         * app/interface.c: 
9653         * app/menus.c: 
9654         Remove libart #defines from most places (still around for png export).
9656         * app/render_libart.h: 
9657         * app/render_libart.c: 
9658         * configure.in (HAVE_LIBART): 
9659         Starting on update of libart stuff for png export (without X).
9661         * app/autosave.h (autosave_check_autosave): 
9662         * app/load_save.h: 
9663         * app/diagram.h: 
9664         * app/Makefile.am (dia_core_files): 
9665         * app/load_save.c: 
9666         * app/diagram.c (diagram_set_modified): 
9667         * app/autosave.c: 
9668         * app/app_procs.c (app_init): 
9669         Autosave support.  No automatic restore yet.
9671 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9673         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
9674         assignment. 
9675         
9676 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
9678         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
9680 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
9682         * Fix for 'make dist' etc. --- problem caused by
9683         previous AUTHORS patch.
9685 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9687         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
9688         pango_context. 
9689         (set_font): NULL check.
9690         
9691 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9693         * app/disp_callbacks.c: 
9694         * lib/diamenu.h: 
9695         Addition to the object menus allows check menu items.
9697 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
9699         * HACKING: completely changed to bring up-to-date.
9700         * AUTHORS: file needs REMOVING from CVS as now
9701           dynamically generated.
9702         * app/authors.h: split into subcategories for original
9703           authors, maintainers, etc.
9704         * app/app_procs.c: --credits rewritten to support new
9705           app/authors.h
9706         * app/commands.c: no changes to about box code, comment
9707           added though.
9708         * Makefile.am: added rule for AUTHORS. I'm still
9709           inexperienced with automake, it seems to work, but
9710           for AUTHORS-related bugs, look at this change first.
9712 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9714         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
9715         work.  Back to including xslt dir always.
9717         * objects/UML/uml.c: 
9718         * objects/UML/class.h: 
9719         * objects/UML/class_dialog.c: 
9720         * objects/UML/class.c: Patch from
9721         <mattam@netcourrier.com>:  Adds comment visibility switch, also
9722         fixes various bugs.
9724         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
9725         for state/fork/activity stuff.
9726         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
9727         * objects/UML/Makefile.am:
9728         * objects/UML/uml.c:
9729         * sheets/UML.sheet.in: Added new objects activity, fork,
9730           state_term.
9731         * objects/UML/pixmaps/state_term.xpm:
9732         * objects/UML/state_term.c: New, only initial/final states.
9733         * objects/UML/pixmaps/activity.xpm:
9734         * objects/UML/activity.c: New, activity state.
9735         * objects/UML/pixmaps/fork.xpm:
9736         * objects/UML/fork.c: New, fork/join bar.
9737         * objects/UML/pixmaps/state.xpm: state icon.
9739         
9740         * doc/diagram.dtd: 
9741         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
9742         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
9743         svg:text to shape.
9745 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
9747         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
9748         detecting XSLT
9750         * app/Makefile.am: Commented out the diaconv parts while it's not
9751         used anyway.  To come back later.
9753         * configure.in (HAVE_FREETYPE): 
9754         * app/app_procs.c: 
9755         * app/render_eps.h: 
9756         * app/render_eps.c: Support for printing with freetype, better
9757         encapsulated now.  Renders the text nicely, but ignores font
9758         setting.  Requires pangoft2 to get the font outline, but non-text
9759         objects can still be rendered without it.
9761         * app/commands.h: 
9762         * app/commands.c (objects_place_up_callback) 
9763         (objects_place_down_callback): 
9764         * app/diagram.h: 
9765         * app/diagram.c (diagram_place_down_selected) 
9766         (diagram_place_up_selected): Starting support for moving objects
9767         one level up/down.
9769         * app/menus.c: Removed character/numeral shortcuts.
9771 2002-07-06  Hans Breuer  <hans@breuer.org>
9773         * makefile.am app/makefile.am lib/makefile.am
9774           objects/makefile.am plug-ins/makefile.am 
9775           plug-ins/python/makefile.am :
9776         added required files for win32 build to EXTRA_DIST
9778         * app/paginate_psprint.c app/render_eps.c 
9779           app/app_procs.c :
9780         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
9781         on Pango as currently is on win32 => no PostScript 
9782         anymore.
9784         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
9785         use '/* noop */;' for empty case labels; replace
9786         debug spew printf with g_print which is guaranteed 
9787         to work on win32, too.
9789         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
9790         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
9791         in the pango_font_description_set_weight() api documentation
9792         Take care for them in dia_font_get_style() too.
9794         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
9795           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
9796         rename Obliquity to Slant which appears to be the usual name,
9797         also rename dia_font_get_style_string -> dia_font_get_slant_string
9799         * plug-ins/wmf/wmf.cpp : finally ported to new font api
9801         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
9803         * objects/uml/association.c class.c large_package.c message.c
9804         if g_free() is used g_strdup needs to be used.
9805         * objects/custom/shape_info.c
9806           objects/ER/attribute.c entity.c
9807           objects/standard/image.c 
9808           app/sheets_dialog_callbacks.c : more strdup cleaning
9810 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9812         * app/render_eps.c: Non-crashing printing (made the right
9813         context).  Font output still fscked up.
9815 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
9817         * app/authors.h: Added file --- now master
9818         location for contributors data.
9819         * app/app_procs.c: Added --credits option.
9820         * app/commands.c: Modified about box to use
9821         app/authors.h.
9823 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9825         * app/render_eps.c: First stab at EPS rendering using the contour
9826         code from PAPS.  Crashes.
9828 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9830         * app/recent_files.c (recent_file_history_remove): 
9831         Fixed call to g_list_delete_link discarding return value.
9832         
9833         * lib/widgets.c (dia_font_selector_set_styles): 
9834         * lib/font.h (DiaFontWeight): 
9835         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
9837 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
9839         Contribution from Alan Horkan <horkana@tcd.ie>: 
9840         
9841         * shapes/Assorted/*
9842         * sheets/Assorted.sheet:
9843         A set of 40 assorted geometric shapes.
9845         * sheets/Assorted.sheet.in:
9846         * sheets/Makefile.am
9847         * shapes/Assorted/Makefile.am:
9848         * shapes/Makefile.am:
9849         * po/POTFILES.in:
9850         * configure.in:
9851         Done the integration job of Alan's shapes. (Translators: have fun!)
9853         * po/dia.pot: refreshed the main potfile.
9854         
9855 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
9857         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
9858         
9859         * objects/UML/class.[ch]:
9860         * objects/UML/class_dialog.c:
9861         changed the number of connection points from a hardcoded value of
9862         8 to a #defined constant
9864         (I changed the constant back from 20 to 8, until we better know
9865         how we'll handle more connection points on the UML class in the
9866         future -- but Tim's patch is a welcome clean-up).
9868 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
9870         * shapes/MSE/demultiplexer.xpm:
9871         * shapes/MSE/node_center.xpm:
9872         * shapes/MSE/multiplexer.xpm:
9873         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
9874         Horkan <horkana@tcd.ie>
9876 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9878         * lib/widgets.c: Total rehash of font selector, with font dialog
9879         option, expanding list (not LRU yet), and stuff.
9881 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
9883         * lib/font.h:
9884         * lib/font.c: 
9885         Added a set of new setter/getters, some of them more specially for
9886         the SVG-ish I/O.
9887         
9888         * plug-ins/shape/shape-export.c: (new_shape_renderer),
9889         (destroy_shape_renderer), (set_font), (draw_string):
9890         * plug-ins/svg/render_svg.c: (new_svg_renderer),
9891         (destroy_svg_renderer), (set_font), (draw_string):
9893         Actually exported the font face, style, weight and size (sodipodi
9894         agrees with dia on how a small sample should look like (a sample
9895         0.90 would not even display anyways). Yay !)
9897         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
9899         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
9901         (end of ChangeLog-less patch)
9903         * objects/custom/shape_info.c (parse_style): now understands the
9904         font-style and font-weight attributes as well. Does not use
9905         anymore dia_font_new_from_legacy_name().
9906         
9907 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9909         * objects/standard/textobj.c: Now uses stdprops for defaults.
9911         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
9912         * lib/font.c (dia_font_get_style): Style now linear and conversion
9913         simple. 
9915         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
9916         selector. 
9918 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
9920         * plug-ins/dxf/dxf-import.c:
9921         using dia_font_new_from_style()
9923         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
9925         * objects/UML/class.[ch]: Added a comment field to class
9926         * objects/UML/uml.[ch]: Added a comment field to attributes,
9927         operations and parameters.
9928         * objects/UML/class_dialog.c: Added code for the new comment
9929         fields.
9930         * plug-ins/xslt/*.xsl: Added some code to handle comments.
9931         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
9932         Added a $directory parameter for stylesheets so the output is 
9933         in the good place (not in the $PWD).
9935         (end of Patch)
9937         * AUTHORS: added contributors, updated maintainers. Removed the
9938         specific areas of action.
9940         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
9941         from a patch by Xing Wang <quixon@gnuchina.org>:
9943         * app/commands.c: help_about_callback now supports
9944         new-style GNOME about box as well as old GTK style. 
9945         code also tidied (Closes: #85726)
9947         (end of Patch)
9949         * app/commands.c: fixed the copyright (it's not all FSF), and
9950         maintainers. Synced contributors list with AUTHORS.
9951                 
9952 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9954         * lib/message.c: More work on repeating messages, now with
9955         togglable view.
9957 2002-06-24  Hans Breuer  <hans@breuer.org>
9959         * lib/widget.c : some more bits in place, at least
9960         it does something useful instead of crashing. Much
9961         better - but not all ok :-)
9963 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9965         * lib/message.c (gtk_message_internal): First stab at repeating
9966         message dialog.
9968 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
9970         * objects/FS/*.c:
9971         * objects/GRAFCET/*.c:
9972         * objects/SADT/*.c:
9973         * objects/UML/association.c: (one instance forgotten)
9974         * objects/UML/large_package.c: 
9975         * objects/standard/textobj.c:
9976         * lib/attributes.c:
9977         * lib/text.c:
9978         using dia_font_new_from_style()
9980 2002-06-23  Hans Breuer  <hans@breuer.org>
9982         * lib/font.c : giving some love to
9983         dia_font_new_from_legacy_name() that is making
9984         import of old files as painless as possible and
9985         provide an almost exact match where possible.
9986         It does not yet fully work because it interfers
9987         with the Style to DiaStyle conversion which comes
9988         next ...
9990         [Changing these files is only allowed with Dia-0.90]
9991         * broken-files/fonts-0.90.dia : including the
9992         common hard-coded fonts from Dia-0.90. It also
9993         has drawn bounding-boxes for win32 as they were calculated
9994         from the former version (they were all too big).
9995         * broken-files/fonts-0.90-full.dia : all hardcoded
9996         fonts including the asian versions. On my machine
9997         this gives _a lot_ complaining about missing fonts
9998         and a finally a broken file display. Anyone having
9999         all these fonts ?
10000         
10001 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10003         * objects/chronogram/*.c: 
10004         * objects/custom/custom_object.c:
10005         * objects/ER/*.c:
10006         using dia_font_new_from_style()
10008 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10010         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
10011         font selector (stability, insensitivity).
10013         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
10014         stretching scheme for tweaking, and made scaling scheme faster
10015         (but less precise).
10016         (dia_font_dia_style_to_pango): Oops, % != /.
10018 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10020         
10021         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
10023         * plug-ins/xslt : Added an XSLT plugin to export dia files using
10024         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
10025         It includes a small config file to tell it what stylesheets to use.
10027         (end of patch)
10028         
10029         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
10030         GTK2.0/HIG compliant (the labels could be slightly more verbose,
10031         perhaps). Added back a couple forgotten _(). Removed //-style
10032         comments.
10033         
10034 2002-06-23  Hans Breuer  <hans@breuer.org>
10036         * lib/plug-ins.c
10037         (dia_plugin_get_name) : don't crash plugin_manager
10038         on name being NULL 
10039         (dia_plugin_load) : reuse the description field to
10040         store the error string if loading fails.
10042         * lib/font.[hc] : starting to beautify the new
10043         font api: proper namespacing, adding convenience
10044         functions like dia_font_new_from_style(), ...
10046         * objects/uml/*.c : use the new convenience functions.
10048         [Next thing I plan to do is changing the other font
10049          functions to take DiaStyle and make Style and 
10050          BASIC_*_FONT vanish. As well as giving some love to
10051          dia_font_new_from_legacy_name().
10052          If anyone want's to help on converting the other
10053          objects to the new api during that, I would highly 
10054          appreciate it.]
10056 2002-06-23  Hans Breuer  <hans@breuer.org>
10058         * lib/font.c : made it compile and small indent fixes.
10059         Is there a code-has-no-effect-so-needs-not-be-valid
10060         with GCC?       
10062         * lib/widgets.c : use g_strcasecmp
10064 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10066         * lib/font.c: 
10067         * lib/font.h: 
10068         * lib/widgets.c: Font names sorted, style selector widget
10069         reappeared.  Doesn't select the old style yet.
10071 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10073         * lib/font.c: one who expects a text's font to be changed shall 
10074         actually request the attributes to apply to the whole range of the
10075         said text... D'oh! 
10077         * lib/font.c: extents computation was wrong.
10079         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
10080         if a last NULL parameter is added...
10082         * lib/font.c: extents computation was completely wrong. This looks
10083         much better this time.
10085         * objects/UML/class.c: fixed the various strings positions.
10087         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
10088         macros to get the hardcoded base fonts.
10090         * objects/ER/relationship.c: wasn't converted to DiaFont*
10091         
10092 2002-06-22  Hans Breuer  <hans@breuer.org>
10094         * lib/widget.c : dont use backend specific functions
10095         to get on the font_families. Including it would mean
10096         including <windows.h> which breaks due to namespace
10097         pollutions ...
10099         * lib/libdia.def : updated externals
10101         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
10103         * lib/font.c : added empty dia_font_init_instance function,
10104         reformatting of dia_fon_unref to allow to set breakpoint,
10105         dia_fon_build_layout() : dont crash on string==NULL
10107         * lib/text.c (text_set_attributes) : don't unref the wrong font
10109         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
10110         stores lowercased font names, but dia_font_get_family()
10111         returns mixed case      
10113 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10115         * lib/widgets.c: 
10116         * app/render_gdk.c: Patch from Hans Breuer.
10118         * app/Makefile.am (dia_core_files): diaconv commented out for now.
10119         
10120 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10122         * lib/all files touched yesterday: took into account some of Hans
10123         Breuer's remarks in
10124         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
10126         * objects/chronogram/*: 
10127         * objects/custom/*:
10128         * objects/ER/*:
10129         * objects/flowchart/*:
10130         * objects/FS/*:
10131         * objects/GRAFCET/*:
10132         * objects/SADT/*:
10133         * objects/standard/textobj.?:
10134         * objects/UML/*:
10135         converted to the new DiaFonts.
10137         * plug-ins/cgm/*:
10138         * plug-ins/pstricks/*:
10139         * plug-ins/wpg/*:
10140         * plug-ins/dxf/*:
10141         * plug-ins/xfig/*:
10142         Made minimalistic conversions so that they'd at least compile.
10144         * app/render_gdk.c:
10145         * app/render_pixmap.c:
10146         Converted to the new DiaFonts.
10148         * app/app_procs.c
10149         * app/diaconv.c:
10150         * app/render_eps.c:
10151         made the minimal changes so that it would at least build.       
10153         *** At this point, the thing builds on my machine, but segfaults
10154         right away. ***
10155         
10156 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
10158         * configure.in: removed the backend-specific pango pkg_modules
10159         (trivial to add back if needed, when actually needed)
10161         * app/Makefile.am:
10162         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
10163         renderer. The APIs will have completely changed when we get around
10164         to redo a renderer for it, anyways.
10166         * font.[ch]: rewrote everything from scratch, with a Pango
10167         implementation. Normally, only backend-neutral things should go in
10168         there.
10170         **WARNING**: new rules for managing DiaFont* pointers: these are
10171         reference-counted GObjects. One >must< diafont_ref() and
10172         diafont_unref() as appropriate. I wish I could overload operator=()...
10174         lib/plug-ins.h: bumped up the plug-in API.
10175         
10176         lib/attributes.c: 
10177         lib/dia_xml.c: 
10178         lib/dummy_dep.h
10179         lib/object_defaults:
10180         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
10181         again tomorrow with GObject.
10182         
10183         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
10185         **** The rest of the tree should be updated as well ****
10186         
10187 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
10189         * app/render_gdk.h: 
10190         * app/render_gdk.c: 
10191         * app/render_pixmap.c: 
10192         * app/render_pixmap.h: 
10193         * app/render_libart.h: 
10194         * app/render_libart.c: 
10195         * lib/font.h: 
10196         * lib/font.c: Removed freetype stuff (still around in
10197         lib/widgets.c 'cause we might want the font selector widget).
10199 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
10201         * shapes/network/laptop.(xml|shape):
10202         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
10203         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
10205 2002-06-17  Hans Breuer  <hans@breuer.org>
10207         * lib/object_defaults.c : #include <libxml/tree.h> not
10208         <tree.h> pointed out by Xing Wang
10210 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
10212         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
10213         * lib/widgets.c: 
10214         * app/color_area.c: Update to
10215         gtk_color_selection_*_current_color() fixed bad crash issues, plus
10216         updated color conversions.
10218         * sheets/ER/weakentity.xpm: Accepted patch from
10219         quixon@gnuchina.org to make icon match actual appearance.
10221         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
10222         quixon@gnuchina.org.
10224 2002-06-16  Hans Breuer  <hans@breuer.org>
10226         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
10227         good tradition of information hiding. Add new function
10228         dia_plugin_get_symbol()
10229         * app/sheets.c app/sheets_dialog_callbacks.c : use it
10231         * app/sheets.c : stop complaining about object_get_type() 
10232         returning NULL. This is a consequence of e.g. disabling 
10233         plug-ins at runtime _and_ it was and is gracefully handled. 
10234         Spitting out g_warning for it isn't appropriate. 
10236         * lib/object.[ch] : removed dead code
10238         * app/plugin-mangager.c : almost complete rewrite for gtk2
10239         using GtkListStore/GtkTreeView
10241         * lib/libdia.def : updated externals
10243         * todo.gtk2 : updated, that is removed already done steps
10245 2002-06-15  Hans Breuer  <hans@breuer.org>
10247         * objects/uml/class_dialog.c : clean some left-over
10248         utf8-mess, return 0 from "focus_out_event" handlers
10249         to avoid asserting in gtk (#78305). Reconstruct 
10250         stereotype/NULL behaviour to avoid rendering empty
10251         stereotypes on classes and member functions
10253         [#56109 - Provide object defaults for StdProp objects,
10254          some remaining issues are discussed in bugzilla]
10256         * lib/object_defaults.c : (new file) manage default properties 
10257         of dia objects. The serialization is done with standard
10258         object methods in a diagram compatible format.
10260         * lib/object.c : add object_registry_foreach() which allows
10261         to iterate over all registered object types
10263         * lib/object.h : added prototypes object_default*() and
10264         object_registry_foreach()
10266         * lib/makefile.am lib/makefile.msc : add new file to build
10268         * lib/libdia.def : export new functions
10270         * app/defaults.c : provide StdProp based defaults if the
10271         ObjectType doesn't implement it's own default functions
10273         * app/create_object.c : through dia_object_default_create()
10274         * app/disp_callbacks.c : same here
10276 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10278         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
10279         sensitivity for deleting segments.
10281 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
10283         * app/color_area.c: (color_area_events):
10284         * app/diagram.c: (diagram_destroy):
10285         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
10286         (fill_sheet_menu):
10287         * app/load_save.c: (diagram_data_load):
10288         * app/menus.c: (menus_get_item_from_path):
10289         * app/preferences.c: (prefs_load):
10290         * app/render_gdk.c: (get_text_width):
10291         * lib/arrows.h:
10292         * lib/color.c: (color_convert):
10293         * lib/dia_dirs.c: (dia_config_filename):
10294         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
10295         * lib/intl.c: (intl_get_language_list):
10296         * lib/message.c: (message):
10297         * lib/message.h:
10298         * lib/paper.c: (get_default_paper):
10299         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
10300         * lib/widgets.c: (dia_file_selector_get_file):
10301         * lib/widgets.h:
10302         * objects/standard/image.c: (get_directory):
10304         warningectomy.
10305         
10306 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10308         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
10310 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10312         * app/interface.c: sscanf now returns EOF on empty string, so
10313         handle no match for zoom factor better => correct zoom at start.
10315         * app/sheets.c (create_object_pixmap): Tried to display empty error.
10316         (sheets_optionmenu_create): Died when not finding specified
10317         sheet.  Don't think it should.
10319         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
10320         (bug #84367) to place the text better.
10322 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
10324         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
10325                         
10326         * app/commands.c: Removed unnecessary gnome include. Removed
10327         GNOME-Print support.
10329         * app/menus.h: Removed now unnecessary gnome include.
10330         
10331         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
10332         GNOME-specific stock buttons
10333         
10334 2002-06-09  Hans Breuer  <hans@breuer.org>
10336         * app/app_procs.c : convert 'Modified diagrams exits'
10337         dialog to use GtkMessageDialog. That gives us:
10338         - icons without Gnome dependency
10339         - much less code, also cross platform
10340         - improved useability ?
10342         * app/color_area.c : the Color Selection Widget looked
10343         quite wrong (alpha problems). Fix it by merging in required
10344         changes stolen from The Gimp cvs
10345         * app/color_area.h : to get the right appearance the maskes
10346         needed to be taken into account
10347         * app/interface.c : adapt to color_area_create changes.
10348         Also remove some dead code and finally remove cvs autexpansion, 
10349         I was bothered enough by irrelevant differences :-)
10351         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
10352         api, i.e stocks and response to make the GnomeDialog usage
10353         obsolete. Also fixed the issue with closing the 'parent'
10354         before closing the dialog
10356         * app/display.[ch] : removed some dead code and conversion
10357         to new GtkDialog api. Also trying to conform to new HIG
10358         standard http://developer.gnome.org/projects/gup/hig/
10360 2002-06-09  Hans Breuer  <hans@breuer.org>
10362         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
10363         build ps-utf8.c
10365         * lib/dia_image.c : gtk_widget_set_default_visual()
10366         remove. It does nothing with Gtk2.
10368         * lib/libdia.def : added ps_unicoder exports
10370         * lib/message.c : remove #GNOME use GtkMessageDialog.
10371         Yeah, Dia gets dialogs wit icons cross-platform.
10373         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
10374         to gtk_spin_button_get_value()
10376         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
10378         add #undef GTK_DISABLE_DEPRECATED to still use ...
10379         * lib/prop_text.c :  ... GtkText
10380         * lib/prop_widgets.c : ... GtkList
10381         * lib/prop_dialogs.c : ... gtk_signal_connect and more
10382         * lib/widgets.c : ... (too much to list here)
10384         * lib/ps-utf8.c : #include <string.h>
10386 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
10388         * configure.in:
10389         * Makefile.am:  Adapted for gtk2.
10390         Removed dependencies on libunicode, on iconv(), on langinfo().
10392         * acconfig.h: removed (now obsolete)
10394         * lib/charconv.[ch]: removed (superceded by glib)
10395         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
10397         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
10398         libunicode types for their glib counterparts. Fixed the include
10399         paths for libxml2. Removed all traces of libxml1 or non-UTF8
10400         support (there were remains in objects/uml).
10402         
10403 2002-06-08  Hans Breuer  <hans@breuer.org>
10405         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
10406         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
10407         Also use g_strdup()'s handling of NULL by returning NULL
10408         again at all places I found (remove unnecessary if's)
10410         * todo.gtk2 : new file to keep notes about gtk2 porting,
10411         further issues and thoughts and some status information.
10412         Also sent to dia-list ('Dia goes Gtk2 ...').
10413         
10414         [make it compile with GTK+ 2.0]
10416         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
10417         removed definition of S_ISDIR, S_ISREG and getlogin
10419         * */makefile.msc : Use GTK2 and libxml2
10420         BEWARE: makefile.am, configure.in not yet ported !
10422         * app/app_procs.c app/diagram.c : remove 
10423         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
10424         but set use gtk_menu_set_accel_path() on menu creation
10426         * app/color_area.c lib/widgets.c : 
10427         make use of gtk_color_selection_set_has_palette ()
10429         * app/commands.c : gdk_pixbuf_new_from_file wants an 
10430         extra argument. Convert from DIR to GDir usage.
10432         * app/diagram_tree.c(button_press_callback) : need to return 
10433         FALSE in the signal handler to let gtk process it further.
10434         (get_object_name) : don't leak 'prop'
10435         
10436         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
10437         dia_page_layout_destroy() getting called more than once
10439         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
10440         GtkTypeInfo changes
10442         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
10444         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
10445         IIRC this code will not compile unchanged when USE_XIM is defined ...
10447         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
10449         * app/interface.c : there is no widget->klass anymore in Gtk, 
10450         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
10451         parameter. Some tweaking of GtkWrapBox usage to get four tools in
10452         a row again.
10453         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
10454         get triple buffering and flicker.
10455         Replace call to GTK private function _gtk_accel_group_attach()
10456         with public gtk_window_add_accel_group()
10458         * app/layer_dialog.c : adapt to GtkTypeInfo changes
10460         * app/load_save.c lib/plug-ins.c lib/sheet.c 
10461           objects/custom/custom.c : 
10462         simplified by using g_file_test()
10464         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
10465         to gtk_accel_map_<save|load>. Also added common stock-icons
10466         to the menu.
10467         
10468         * app/preferences.c : use gtk_button_set_label() instead
10469         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
10471         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
10472         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
10473         in config.h.win32
10475         * app/recent_files.c : removed GLIB_CHECK_VERSION
10477         * app/render_eps.c 
10478           plug-ins/metapost/render_metapost.c
10479           plug-ins/pstricks/render_pstricks.c
10480           plug-ins/svg/render_svg.c :
10481         replace getlogin() with g_get_user_name() which always
10482         returns non NULL
10484         * app/render_gdk.c : gdk_region_union_with_rect() modifies
10485         inplace now and returns nothing, also less #hell
10487         * app/render_libart.c : some initial #hell cleaning, SuckFont
10488         still needs to vanish
10490         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
10491         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
10493         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
10494         * app/sheets_dialog_callbacks.c : some #hell and adaptions
10495         needed to GtkWrapBox api changes
10498         * lib/charconv.[hc] : removed from build
10499         [changed appropriate]
10500         * lib/prop_inttypes.c lib/prop_text.c : 
10501         all utf-8 cleaning 
10502         * lib/text.c : ported from HEAD but keep original indent
10503         intact. Original was done by Akira TAGOH.
10505         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
10507         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
10509         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
10510         same on all platforms now!
10512         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
10514         * lib/message.c : remove "charconv.h"
10516         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
10518         * lib/plug-in.c :
10519         * lib/sheet.c : convert from DIR to GDir usage
10521         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
10523         * lib/widgets.h : include gtk<label|colorseldialog>.h
10526         * objects/fs/flow.c :
10527         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
10529         * objects/custom/custom.c : convert from DIR to GDir usage
10532         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
10535 2002-05-03  Hans Breuer  <hans@breuer.org>
10537         * lib/dia_xml.c : make the well formed utf8 check
10538         actually work for &#251; (non 7-bit ascii encoding)
10539         and fixed the file re-writing if the check fails.
10540         Thanks to Vitaly Lipatov for noticing the misbehaviour.
10542         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
10543         comment on last ressort font. Thanks to Maxim Sobolev.
10545 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
10547         * sheets/network.sheet.in: corrected a typo in plotter invocation.
10549 2002-06-03  Steffen Macke  <sdteffen@web.de>
10551         * shapes/network/digitizing_board.png:
10552         * shapes/network/digitizing_board.shape:
10553         * shapes/network/plotter.png:
10554         * shapes/network/plotter.shape:
10555         * shapes/network/Makefile.am
10556         * sheets/network.sheet.in: added new plotter and digitizing
10557         board shapes
10558         
10559 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
10561         * lib/font.c: made a symptomatic fix to a segfault reported by 
10562         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
10563         won't prevent dia from terminating, but should give more
10564         user-friendly information about why did it terminate.
10566         Two patches from <robert.young@dsto.defence.gov.au>:
10567         
10568         * app/display.c: fix the size of the canvas area which gets
10569         redrawn. There was an off-by one error (Closes #83659)
10571         * app/display.c: make sure we redraw all screen only when we
10572         really have to (some update_areas were mistakenly ignored) (Closes
10573         #83496). 
10575         * NEWS: added a new entry for the future. Put there a reminder to
10576         update the dependencies.
10578         * configure.in: put in notes about what will change shortly.
10579         upped the version to 0.90+cvs (did also in config.h.win32)
10580         upped the minimum version for intltools (now 0.21)
10581         
10582 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
10584         * dia.spec:
10585         * configure.in:
10586         * NEWS:
10587         * config.h.win32:
10588         bumped up version number to 0.90. Yay!
10590 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
10592         * doc/pl/Makefile.am:
10593         * doc/en/Makefile.am: fixed a "make install" problem when db2html
10594         is not present (Reported by Andrew Ferrier
10595         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
10596         problem which prevented me from ever seeing the problem in doc/en...
10597         
10598         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
10599         
10600         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
10601         way to read the font path from the XFS configuration files in
10602         order to enable FreeType (fixes #83098).
10604         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
10605         shipped nowadays.
10606                 
10607         * dia.spec:
10608         * configure.in:
10609         * NEWS:
10610         * config.h.win32:
10611         bumped up version number to 0.90.RC3
10613 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
10615         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
10616         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
10617         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
10618         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
10619         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
10620         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
10621         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
10622         Added Polish documentation.
10624 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
10626         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
10627         format for the UML State object. Now there's a hack to reload
10628         older files, and get them converted on the fly. 
10629         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
10631         * lib/properties.h:
10632         * lib/propobject.c:
10633         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
10634         and adapter the proplist predicates. A LOAD_ONLY property is for
10635         when you have legacy to support but can't resist moving your
10636         fields around... (was needed to support the above state.c fix).
10638         If the in-core of your object changes and you need a LOAD_ONLY
10639         property for the old format, you must keep some spare room in your
10640         object's struct to accomodate for the potential old-style
10641         attributes. Then in foo_load(), after having called
10642         object_load_using_properties(), you must inspect the old-style
10643         fields and act accordingly. Don't ever change the on-disk formats...
10645         * objects/UML/object.c:
10646         * objects/UML/small_package.c: added a check against empty
10647         stereotypes still consuming space. Reported by Dolores Alia de
10648         Saravia <loli@unsa.edu.ar>. Thanks!     
10649         
10650 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
10652         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
10653         using libtool on an AFS partition.
10655         * po/update_potfiles_in.sh: now simply calls the recent intltools 
10656         features; they work better than hand-crafted half-ignorant
10657         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
10658         for the tip.
10660         * po/POTFILES.in: added back two files update_potfiles_in.sh
10661         didn't take into account. Now this file is not automatically
10662         generated anymore!      
10663         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
10664         (the usual suspects, in fact).
10666         * configure.in: improved the isinf() / isfinite() detection on
10667         Solaris (MÃ¥rten Svantesson)
10668         
10669 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
10671         * configure.in: one expression was replacing $CFLAGS, removing
10672         whatever was previously in.
10673         Added more checks for isinf() and finite() on Solaris.
10675         * lib/geometry.h: added a macro defintion for isinf() if not
10676         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
10677         on Win32)
10679         * app/commands.c: "cut" did not set the 'modified' bit (paste has
10680         been for a little while). Fixes #82994.
10682         * Makefile.am: added more stuff to distclean-local. This should make
10683         "make distcheck" pass! Thanks to the author of
10684         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
10685         ... I wonder who this Henstridge guy is ... ;-)
10686         Darn. Still doesn't pass. I give up for tonight.
10687         
10688         * po/update_potfiles_in.sh: updated to take care of sheet files,
10689         and to filter out the EML plug-in.
10690         * po/POTFILES.in: updated with all .c and all .sheet.in files 
10692         * po/dia.pot, po/*.po: again updated all .po files with all
10693         strings (with the updated POTFILES). Now with the up-to-date
10694         POTFILES, just all languages have some fuzzy or untranslated
10695         strings (not that the 100% team was that large beforehand...)
10697         * po-checktrans: removed the comment about .po files not holding
10698         all translatable stuff, since now they do.
10699         
10700 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
10702         * dia.spec:
10703         * configure.in:
10704         * NEWS:
10705         * config.h.win32:
10706         bumped up version number to 0.90.RC2
10708 2002-05-20  Hans Breuer  <hans@breuer.org>
10710         * app/load_save.c : starting to increase
10711         Dias tolerance on incomplete/broken files. The 
10712         corresponding bug is #56233. But the patch there does
10713         neither apply anymore nor does it really fix the problem
10714         but only delays it, e.g. even if it would be allowed
10715         to read a file without any layers, the later code can't
10716         handle it.
10717         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
10718         handle passing in NULL for the node gracefully.
10720         * shapes/network/printer.shape : added two more connection
10721         points - one at each side - to fix bug #60359
10723         * app/commands.c (edit_copy_callback) : 
10724         add ddisplay_do_update_menu_sensitivity() to make 
10725         sequence select-copy-paste work.
10727 2002-05-20  Hans Breuer  <hans@breuer.org>
10729         * app/create_object.c (create_object_button_press) :
10730         added a call to ddisplay_do_update_menu_sensitivity()
10731         to make Ctrl^D etc work after object creation. 
10732         Fixes #80983.
10734 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
10736         * objects/ER/entity.c: 
10737         * objects/ER/attribute.c: 
10738         * objects/ER/relationship.c: Patch to allow text size change from
10739         Celso Tetsuo Nagase Suzuki.
10741 2002-05-18  Steffen Macke <sdteffen@web.de>
10743         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
10744         libxml2)
10745         * doc/en/graphics/greendots.png:
10746         * doc/en/home_network.png:
10747         * doc/en/line_props.png: 
10748         * dia-diagram.png:
10749         * dia_gnome_icon.png:
10750         * dia_gnome_menu_icon.png:
10751         * dia_logo.png:
10752         * shapes/network/telephone.png:
10753         * shapes/Logic/and.png:
10754         * shapes/Logic/buffer.png:
10755         * shapes/Logic/connector.png:
10756         * shapes/Logic/inverter.png:
10757         * shapes/Logic/nand.png:
10758         * shapes/Logic/nor.png:
10759         * shapes/Logic/not.png:
10760         * shapes/Logic/or.png:
10761         * shapes/logic/xor.png:
10762         * samples/ER-demo.dia:
10763         * samples/SADT.dia:
10764         * samples/UML-demo.dia:
10765         * samples/chronograms.dia:
10766         * samples/grafcet.dia: re-added as binary files
10768 2002-05-17  Hans Breuer  <hans@breuer.org>
10770         * lib/libdia.def : reflect removing of render_store.[ch]
10772         * */makefile.mingw : remove VERSION definition it's
10773         done in config.h.win32. Dia still doesn't work if
10774         build with mingw ...
10776         * RELEASE-PROCESS : removed */makefile.mingw
10778         * app/sheets_dialog_callbacks.c : if we use those
10779         ugly charconv_gtk_* functions lib/charconv.h needs to
10780         be #included ...
10781         * lib/charconv.h : ... and needs to contain the 
10782         necesseray prototypes _and_ #defines
10784         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
10785         is deprecated and does nothing but spit a warning. This broke
10786         the shape format writing. Fixed.
10787         Also with libxml2 pretty formatted xml isn't the default
10788         anymore, but needs to be enabled explicit: It is done now 
10789         for shape files, which almost always needed to be edited by
10790         hand ... 
10792         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
10793         from stderr - which is invalid on Dia/win32 - to g_print -
10794         which opens up a console window if necessary. This way
10795         a xml-deprecation-error shouldn't stay unnoticed next time
10797 2002-05-17  Steffen Macke <sdteffen@web.de>
10799         * shapes/Misc/folder.png:
10800         * shapes/Misc/file.png: re-added as binary files
10801         
10802 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10804         * lib/font.c: Fixed segfault for fonts without family_name.
10806 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
10808         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
10810         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
10811         Lars' request, minor cosmetic stuff (mostly _() of human-readable
10812         XML comments in .sheet files; one translator booby-trap disarmed).
10814         * lib/charconv.c: moved #hell inside the body of the new
10815         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
10816         will yell)
10817         
10818 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10820         * plug-ins/wpg/Makefile.am (INCLUDES): 
10821         * plug-ins/shape/Makefile.am (INCLUDES): 
10822         * plug-ins/svg/Makefile.am (INCLUDES): 
10823         * plug-ins/pstricks/Makefile.am (INCLUDES): 
10824         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
10825         and DEBUG_CFLAGS in some missing places.
10827         * MAINTAINERS: New file containing list of known package
10828         maintainers. 
10830         * lib/charconv.h: 
10831         * lib/charconv.c: Charconv versions of some common gtk calls.
10833         * app/sheets_dialog_callbacks.c
10834         (on_sheets_new_dialog_button_ok_clicked),
10835         (on_sheets_dialog_button_edit_clicked),
10836         (on_sheets_dialog_button_remove_clicked),
10837         (on_sheets_edit_dialog_button_ok_clicked):
10838         * app/sheets.c (sheets_optionmenu_create),
10839         (sheets_optionmenu_create): Added utf8 translations.
10841         * app/sheets_dialog.c: 
10842         * app/sheets.c: 
10843         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
10845 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
10847         * po/POTFILES.in: added app/sheets_dialog.c
10849 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
10851         * lib/charconv.c: (charconv_local8_to_utf8),
10852         (charconv_utf8_to_local8): tweaked the warnings to get more 
10853         informations
10854         * lib/font.c: (font_get_suckfont): handled a potential case of
10855         uninitialised data being used (just paranoid)
10856         
10857         * objects/GRAFCET/boolequation.c: (opstring),
10858         (opblock_get_boundingbox), (opblock_draw),
10859         (boolequation_calc_boundingbox): some extra hoops needed now dia
10860         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
10861         symbols can't yet be used with their proper Unicode cells, since
10862         gtk will demand them in the Symbol font, expressed in the local
10863         8-bit encoding.
10864         
10865         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
10866         the fix just above).
10868 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10870         * app/diagram_tree.c (get_object_name): Check that name property
10871         doesn't have null string.
10873 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10875         * autogen.sh (DIE): Added conditional --force to gettextize.
10877         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
10878         function call.
10880 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
10882         * RELEASE-PROCESS: added James' notes on how to properly make the
10883         tarball.
10885         * configure.in: removed macro nesting related to libpng.h, which
10886         was causing some problems on some systems (like mine, which made
10887         the snapshots bad).
10889         Made --enable-unicode, previously an option, the mandatory case.
10891         * app/Makefile.am: updated EXTRA_DIST
10892         
10893         * NEWS:
10894         * app/makefile.mingw:
10895         * dia.spec:
10896         * doc/en/dia-manual.sgml:
10897         * plug-ins/makefile.mingw:
10898         * configure.in: bumped up the version number to 0.90.RC1
10900         * lib/render_objects.[ch]:
10901         * po/POTFILES.in: removed render_objects from the build.
10903         * plug-ins/Makefile.am:
10904         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
10905         so we keep its source in the tarball.
10907         * objects/network/*.c, Makefile.am:
10908         * objects/sybase/*.c, Makefile.am:
10909         * po/POTFILES.in: cleaned up the non-existent files from the po
10910         build process.
10912         * plug-ins/Makefile.am: re-enabled metapost plug-in.
10913         
10914 2002-05-13  Steffen Macke <sdteffen@web.de>
10916         * AUTHORS:
10917         * app/command.c: added M. C. Nelson to the Authors
10918         * sheets/Circuit/Makefile.am: added firewall shape to build
10919         * sheets/network/Makefile.am: added telephone and microphone
10920           shapes to build
10922 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10924         * RELEASE-PROCESS: Added list of files that contain the release
10925         number or should otherwise be changed at each release.
10927 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10929         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
10930         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
10932 2002-05-12  Hans Breuer  <hans@breuer.org>
10934         * config.h.win32 : changed VERSION to 0.90.RC1
10936         * app/makefile.msc lib/makefile.msc : use renamed
10937         gdk-pixbuf version (same content but renamed because
10938         all the other gtk+ dlls are renamed) to avoid trouble
10939         mixing gtk versions (of which one would not 
10940         be initialized ...
10942         * app/app_procs.c : removed recently unneeded
10943         inclusion of "sheets.h"
10945         * app/render_gdk.c : removed my own debug spew
10946         which should never made it to cvs
10948         * lib/render_object.[hc] : added
10949         #error "File not used anymore."
10951         * lib/libdia.def : updated externals
10953         * app/interface.c : dropped filenames need to be
10954         converted from uri with Gtk+2.0
10956 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
10958         * RELEASE-PROCESS (new): a draft document about how to release. To
10959         be discussed. (already with some input from Hans Breuer)
10961 2002-05-12  Steffen Macke <sdteffen@web.de>
10963         * sheets/Makefile.am: re-added Misc sheet to make process
10964         
10965 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10967         * objects/FS/function.c: Added comments to humungous list of menu
10968         items, to aid translators.
10970 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10972         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10974         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10976         * app/interface.c (create_toolbox): Disallow shrinking beyond
10977         requested size.  Fixes bug #59439, and confirms to GTK guidelines
10978         (see gtk_window_set_policy).
10979         (create_sheets): Removed now unnecessary set_usize call.
10981 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10983         * lib/beziershape.c (remove_handles): Fixing removal of last
10984         segment.  Undo of removal still hokey.
10986 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
10988         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
10989         handles. 
10990         * lib/beziershape.c (beziershape_init): Removed early call to
10991         beziershape_update_data where points aren't set yet.
10992         (beziershape_add_segment): Use segment 0 instead of overflowing
10993         points array with segment+1.
10994         (beziershape_remove_segment): Proper offset for fixing
10995         connectionpoints. 
10996         (remove_handles): Proper offset.
10998 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
11000         * objects/GRAFCET/action.c (action_update_data): Init x value of
11001         click point for call to connpointlist_adjust_count.
11003         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
11005         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
11006         setting to where values are inited.
11008         * lib/polyshape.c (polyshape_init): Removed call to
11009         polyshape_update_data that tried to use uninitialized data.
11011 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11013         * app/sheets_dialog.c: Mass removal of //-style comments.  The
11014         Irix compiler doesn't like them:(  I do...
11016 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
11018         * app/render_libart.c (draw_string): Bail out when no GDK font is
11019         found.
11020         (set_font): Give error when font not found.
11021         (set_fillstyle): Intlized error msg.
11023         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
11024         modified when applied (and ok only does apply if apply is set
11025         sensitive).  Fixes bug #75623.
11027 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
11029         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
11031 2002-05-05  Steffen Macke <sdteffen@web.de>
11033         * app/Makefile.am: added $(UNICODE_CFLAGS)
11034         
11035 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11037         * app/commands.c (help_manual_callback): Check return value of
11038         opendir.
11040         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
11042         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
11043         checks for errors.
11045 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11047         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
11049         * objects/UML/uml.c (uml_operation_read): Fix of UML default
11050         inheritance. 
11052 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11054         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
11055         Added button to toggle diagram compression.
11057 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11059         * lib/font.c: Support for loading extra kerning files, plus got
11060         rid of rounding errors.  Bounding box mostly perfect for freetype
11061         fonts.
11062         (font_string_width): Fudge factor to get around nonlinearity of
11063         font scaling.
11065 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
11067         * lib/font.c (font_string_width): YA font calculation scheme, with
11068         comments.
11070         * objects/UML/class.c (umlclass_calculate_data): Uses the same
11071         font for drawing and calculating now.
11073         * configure.in: Added utime.h check.
11075         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
11076         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
11078 2002-04-26  Hans Breuer  <hans@breuer.org>
11080         [ Instead of fixing about 70 occurances in 20 files
11081           where GTK_TALKS_UTF8_WE_DONT needed to be handled
11082           Dia on win32 from now on uses glib-2.0 and not 
11083           only talks utf-8 with gtk-1.3 but also internally.
11084           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
11085           anymore. ]
11087         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
11088         #undef GTK_TALKS_UTF8_WE_DONT
11090         * */makefile.msc : changes to use glib-2.0 (still
11091         using gtk+1.3(win32-production)
11093         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
11094         adapt kevent->string handling, add <string.h>
11095         * app/render_gdk.c (get_text_width) : the length given
11096         is in chars, gdk_text_width() needs bytes
11098         * app/render_libart.c : 
11099         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
11100         (could simplify the same way as done in render_gdk.c)
11102         * app/diagram_tree.c app/paginate_gdiprint.cpp
11103           app/sheets.c :
11104         * lib/prop_basic.c lib/prop_geomtypes.c 
11105           lib/propdialgs.c lib/propobject.c :
11106         added <string.h> which is now removed from charconv.h
11108         * lib/charconv.h : optional use infrastructure from
11109         glib-2.0 -> only five direct function mapping left
11111         * lib/charconv.c : avoid to build this with glib-2.0
11113         * lib/font.c : no string conversion needed anymore      
11114         when Dia and Gtk talk utf-8, also code adaptions
11115         for GLIB_CHECK_VERSION(2,0,0)
11117         * lib/libdia.def : removed charconv functions
11119         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
11120         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
11122         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
11123         removed GTK_TALKS_UTF8_WE_DONT
11125         * lib/text.c : finally(?) fixed cursor <place|move>ment 
11126         for Umlauts. Also fixed char insertion, still wondering
11127         how this could ever work. Does realloc on Linux 
11128         initialize the memory with zeros ?
11130         * objects/chronogram/chronoline_event.c
11131           objects/grafcet/boolequation.c :
11132         there is no uni_get_utf8 when building for glib-2.0.
11133         Replace with g_utf8_get_char() and g_utf8_next_char().
11135         * objects/uml/stereotype.c (bracketted_to_string) : 
11136         simplify while adding code for glib-2.0 build
11138 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
11140         * app/diagram.h: Autosave field
11141         * app/diagram.c (diagram_set_modified): Sets autosave field.
11142         
11143         * objects/UML/usecase.c (usecase_update_data): 
11144         * objects/flowchart/ellipse.c (ellipse_update_data): 
11145         * objects/flowchart/parallelogram.c (pgram_update_data): 
11146         * objects/flowchart/diamond.c (diamond_update_data): 
11147         * objects/custom/custom_object.c (custom_update_data): 
11148         * objects/UML/state.c (state_update_data): 
11149         * objects/UML/small_package.c (smallpackage_update_data): 
11150         * objects/UML/object.c (objet_update_data): 
11151         * objects/UML/note.c (note_update_data): 
11152         * objects/UML/node.c (node_update_data): 
11153         * objects/UML/component.c (component_update_data): 
11154         * objects/UML/classicon.c (classicon_update_data): 
11155         * objects/UML/actor.c (actor_update_data): 
11156         * objects/SADT/box.c (sadtbox_update_data): 
11157         * objects/FS/function.c (function_update_data): 
11158         All now update text boundaries from update_data.
11159         
11160         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
11161         correctly. 
11163 2002-04-26  Hans Breuer  <hans@breuer.org>
11165         * config.h.win32 : added VERSION definition here
11166         (and removed from makefile.msc's)
11168         * app/makefile.msc : added new files
11170         * app/app_procs.c (app_init): remove sheets_dialog_create()
11171         from start-up and ... 
11173         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
11174         sheet_dialog here when it is really needed.
11175         #include "../lib/message.h", make sheets_dialog_create() 
11176         return it's success or failing on (!custom_type_symbol). 
11177         Although editing shapes is nice IMHO it isn't crucial enough 
11178         to abort() Dia if       it isn't possible.
11180         * app/sheet.h : adapt create_sheet_dialog() prototype
11182         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
11184         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
11185         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
11186         name space corrections for utime() and utim_buf #ifdef
11187         G_OS_WIN32
11189         * lib/libdia.def : export new sheet functions
11191         * lib/makefile.msc : added new files
11193         * lib/render.c : don't put draw_bezier_with_arrows() in
11194         the DrawLineWithArrowsFunc slot
11196         * objects/custom/custom_object.c : #include <gmodule.h>
11197         and export 'custom_type' via G_MODULE_EXPORT
11199         * objects/uml/class_dialog.c : removed 'incompatible 
11200         types' warnings. Some refactoring while making it fit
11201         on screen with 800x600 again.
11203         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
11205         * plug-ins/python/pydia-handle.h : extra parameter to
11206         PyDiaHandle_New to store the owner of the handle
11207         * plug-ins/python/pydia-handle.c : store handle owner
11208         on construction and use it in new method .connect()
11209         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
11210         adapt to changed prototype
11212 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
11214         * lib/text.c (text_calc_boundingbox): Will now return early if box
11215         passed is NULL.
11217         * objects/flowchart/box.c (box_update_data): Now updates text
11218         width info from update_data.
11220 2002-04-23  Steffen Macke <sdteffen@web.de>
11222         * plug-ins/xfig/xfig-import.c: fixed text import
11223         
11224 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
11226         * app/export_png.c: Moved dialog functions to their own file.
11227         * app/dialogs.[ch]: New files with standard functions for creating
11228         small, transient dialogs (e.g. export options).
11229         * app/Makefile.am: Added dialogs.[ch]
11231 2002-04-19  Steffen Macke <sdteffen@web.de>
11233         * shapes/Misc/folder.*:
11234         * shapes/Misc/file.*:
11235         * shapes/Misc/Makefile.am:
11236         * shapes/Makefile.am:
11237         * sheets/Misc.sheet.in:
11238         * sheets/Makefile.am:
11239         * configure.in: added new Misc sheet containing filesystem shapes
11240         
11241 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
11243         * app/lineprops_area.c: Arrow selector in toolbox changed to use
11244         standard arrowdraw code.  Line is thinner to make some arrowheads
11245         distinguishable. 
11247 2002-04-18  Steffen Macke <sdteffen@web.de>
11249         * sheets/network.sheet.in:
11250         * shapes/network/telephone.shape:
11251         * shapes/network/Makefile.am: added telephone shape
11252         
11253 2002-04-16  Steffen Macke <sdteffen@web.de>
11255         * sheets/EML.sheet.in: commented out unavailable shapes
11256         
11257 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
11259         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
11260           variable assignment.
11261         
11262 2002-04-15  Steffen Macke <sdteffen@web.de>
11264         * plug-ins/dxf/dxf-import.c: text import works again
11265         * shapes/Pneumatic/Makefile.am: added compush shape
11266         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
11267         and dist53
11268         
11269 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
11271         * All these modifications are for the 'Sheets and Objects' dialog
11272           (new feature):
11274         * app/pixmaps/line_break.xpm: new icon representing a line break.
11275         
11276         * app/pixmaps/n_a.xpm: new empty icon representing not available.
11278         * app/Makefile.am: added sheets_*.[ch] files to compile list.
11279         
11280         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
11281         
11282         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
11284         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
11285         
11286         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
11287         
11288         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
11290         * app/sheets_dialog_callbacks.h: [new file] support for " " "
11292         * app/interface.c: added 'interface_current_sheet_name' global to 
11293           fill_sheet_wbox(); made fill_sheet_menu() non-static
11295         * app/interface.h: added extern declaration for aboves.
11297         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
11299         * app/sheets.h: [new file] declarations for backing store structures
11301         * lib/sheet.c: modification of new_sheet() parameters; introduction
11302           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
11303           changes to load_register_sheet().
11305         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
11306           added 'has_icon_on_sheet' flag to SheetObject structure; added 
11307           'filename', 'scope', 'shadowing' fields to Sheet structure.
11309         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
11310           it belongs.
11312         * lib/plug-isn.h: see above.
11314         * lib/object.c: added 'sheet.h' to include list; added several 
11315           functions
11316           to detect objects which are not found on any sheet (for future use)
11317           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
11318           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
11320         * lib/object.h: added public declarations for above functions where
11321           necessary.
11323         * objects/custom/custom.c: made custom_object_load() non-static so we
11324           can load and interpret .shape files from the Sheets & Objects dialog
11326         * objects/custom/custom_object.c: made 'custom_type' non-static so 
11327           we can differentiate between SVG shapes and other types.a
11329 2002-04-07  Hans Breuer  <hans@breuer.org>
11331         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
11332         from 2002-01-22 to not destroy diagram->data->selected. 
11333         Avoids to crash on Objects/Align/Vertical/Top
11335         * app/render_eps.c (draw_string) : un-const buffer
11336         It isn't at all const (g_malloc(), assignment, g_free()).
11337         Doesn't gcc catch such ?
11339         * lib/arrows.h : prototype calculate_arrow_point()
11341         * lib/font.c (font_get_suckfont) : no need to
11342         special case gdk_draw_string() with GTK_TALKS_UTF8,
11343         cause all the parameter differences are handled above
11345         * lib/libdia.def : updated externals
11347         * lib/makefile.msc : removed string_prerenderer, added render
11349         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
11350         is expected. [Sometimes it's good to read compiler warnings.]
11352         * objects/standard/image.c : simplified by use of g_strconcat()
11354         * plug-ins/python/makefile.msc : updated for Python 2.2
11356 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
11358         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
11359         directionality problem for zero-length line segments.
11361 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
11363         * app/diagram.c (diagram_ungroup_selected) 
11364         (diagram_update_menu_sensitivity): Now allows ungrouping of
11365         several groups at once.
11367 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
11369         * lib/render.c, all renderers: Binary incompatibility, change to
11370         expandable renderops structure.
11372 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
11374         * objects/standard/Makefile.am:
11375         * objects/network/Makefile.am:
11376         * objects/UML/Makefile.am:
11377         * objects/ER/Makefile.am:
11378         * objects/FS/Makefile.am:
11379         * objects/flowchart/Makefile.am:
11380         * objects/custom/Makefile.am:
11381         * objects/GRAFCET/Makefile.am:
11382         * objects/chronogram/Makefile.am:
11383         * objects/SADT/Makefile.am:
11384         * plug-ins/cgm/Makefile.am:
11385         * plug-ins/pstricks/Makefile.am:
11386         * plug-ins/hpgl/Makefile.am:
11387         * plug-ins/wpg/Makefile.am:
11388         * plug-ins/svg/Makefile.am:
11389         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
11390         
11391 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11393         * app/render_eps.c: Support for dumping TrueType fonts (taken from
11394         ttfps).
11396 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11398         * lib/render.c: New abstract super class for renderers.
11400 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
11402         * objects/ER/attribute.c (attribute_save): save a font property.
11403         (attribute_load): load a font property, and if can't load it, it's
11404         initialized.
11406         * objects/ER/entity.c (entity_save): save a font property.
11407         (entity_load): load a font property, and if can't load it, it's
11408         initialized.
11410         * objects/ER/relationship.c (relationship_save): save a font property.
11411         (relationship_load): load a font property, and if can't load it, it's
11412         initialized.
11414         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
11415         has a vaule.
11416         (umlclass_save): save the font and the font size properties.
11417         (umlclass_load): load the font and the font size properties.
11419 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
11421         * lib/string_prerenderer.[ch] (REMOVED):
11422         * lib/render.h:
11423         * lib/diagramdata.c:
11424         * lib/Makefile.am:
11425         * app/render_eps.c: got rid of the string-specific string
11426         prerenderer, transitioned its functionality towards Lars'
11427         two-phase rendering
11429 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
11431         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
11432         may need to rerun aclocal.
11434 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11436         * lib/font.c: First attempt at Unicodeness for Freetype.
11438 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11440         * lib/font.c (font_string_width): Fixed font_string_width for
11441         freetype.  BB is now almost right.
11443 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11445         * app/render_eps.h: 
11446         * app/paginate_psprint.c (paginate_psprint): 
11447         * lib/font.c: 
11448         * app/render_eps.c: Support for dumping postscript fonts into
11449         postscript files with freetype.  Fairly primitive, but works.
11450         Unicode version may have problems.
11452 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11454         * objects/UML/class_dialog.c (class_read_from_dialog)
11455         (class_fill_in_dialog), (class_create_page): add the font selector and
11456         the font size selector.
11458         * objects/UML/class.c (umlclass_draw): uses each font_height.
11459         (umlclass_calculate_data): ditto.
11460         (fill_in_fontdata): add initial value of new font_height.
11461         (umlclass_copy): add new font_height.
11463 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
11465         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
11466         
11467         * lib/font.c: calculate font metrics properly and stop guessing at
11468         string widths.
11470 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11472         * configure.in: changed gtk_advancement value to dia_talks_utf8.
11473         right now Dia is working with UTF-8 internally. it means Dia probably
11474         support most languages also including the languages which heretofore
11475         didn't work correctly.
11477 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
11479         * objects/FS/function.c: add related text properties.
11480         (function_get_props), (function_set_props): add handling attribute.
11482         * objects/FS/flow.c: add related text properties.
11483         (flow_get_props), (flow_set_props): add handling attribute.
11485         * objects/FS/flow-ortho.c: add related text properties.
11486         (orthflow_set_props), (orthflow_get_props): add handling attribute.
11488         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
11490         * objects/ER/entity.c: ditto.
11492         * objects/ER/attribute.c: ditto.
11494 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
11496         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
11497         
11498         * autogen.sh: add a check for missing intltoolize.
11500 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
11502         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
11503         charcode, it was registered the duplicate item to HashTable. fix.
11505         * app/render_gnomeprint.c (get_width_string): add new function.
11506         (draw_string): fix non-multibyte specific code.
11508 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
11510         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
11511         
11512         * lib/font.c: do not try to search paths that do not begin with
11513         '/', like X Font Server addresses.
11514         
11515         * objects/UML/message.c (message_draw): free mname when not 
11516         message->text but CREATE or DESTROY.
11517         
11518         * objects/UML/uml.h:
11519         * objects/UML/uml.c:
11520         * objects/UML/class_dialog.c: added code to handle a stereotype 
11521         attribute for operations.
11523 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
11525         * lib/Makefile.am: add LIBART_CFLAGS.
11527 2002-02-15  Hans Breuer  <hans@breuer.org>
11529         * lib/font.c (font_get_suck_font): the black and white pixel values 
11530         need to be taken from a 1 bit colormap rather than the default colormap.
11531         (fixed again, last time was 2000-05-26)
11533         Also handle the case where GTK_TALKS_UTF8 and expects all strings
11534         passed in to be in this encoding.
11536         * lib/libdia.def : export suck_font_free()
11538         * lib/text.c (text_draw) : avoid circular dependency to ../app
11539         at least for the !USE_XIM case, where it is unnecessary.
11541 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
11543         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
11544         
11545         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
11546         * sheets/Circuit.sheet.in: added new shape microphone
11547         * shapes/Circuit/speaker_de.shape: Added a connection point.
11548         
11549 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
11551         * app/render_libart.c (draw_string): fixed build issue for Win32.
11553         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
11554         Win32.
11556         * configure.in: fixed testing gtk_advancement.
11558         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
11560 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
11562         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
11563         diagram window.
11565 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11567         * app/group.c (group_copy): Made new object properly initialized
11568         before copy.
11570 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
11572         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
11573         
11574 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
11576         * lib/text.c (text_draw): fixed XIM transaction.
11578         * app/interface.c (create_display_shell): add signal for
11579         size_allocate.
11581         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
11582         XIM transaction.
11583         (set_input_dialog): remove.
11584         (ddisplay_canvas_events): remove XIM transaction. it can't transact
11585         correctly on this function.
11587 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11589         * app/app_procs.c:
11590         * app/export_png.c: Added checks for interactivity (maybe this
11591         should be a hook after all?).
11593         * app/filedlg.c (file_export_callback): Made export dialog add
11594         suffix when reopened.
11596         * app/export_png.c: Added dialog asking for export size.
11598 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11600         * lib/widgets.c: Fixed font reselection problem and first font
11601         bogus warning.
11603         * objects/UML/actor.c (actor_update_data): Changed to have
11604         connection points below text.
11606 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
11608         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
11609         and memcpy().
11611 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
11613         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
11614         strings which is given.
11615         (suck_font): remove. it's any longer needed.
11617         * app/render_libart.c (set_font): don't get suckfont.
11618         (draw_string): get suckfont only which is needed for now.
11620 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11622         * lib/text.c: Fixes for misunderstood width functions.
11624 2002-02-05  Hans Breuer  <hans@breuer.org>
11626         * lib/dia_xml.c : use g_strconcat() instead of 
11627         malloc, strcpy, strcat dance
11628         * app/properties.c : same here and plug memory leak
11629         (gtk functions don't eat strings)
11631         * objects/UML/message.c : there is no g_sprintf()
11632         use g_strdup_printf() instead ...
11634 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
11636         * lib/message.c (gtk_message_internal): doesn't need to convert to
11637         UTF-8.
11639         * app/render_libart.c (draw_string): fixed transaction for UTF-8
11640         support.
11641         (get_text_width): ditto.
11643         * app/Makefile.am (EXTRA_DIST):
11644         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
11646         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
11647         This function needs ifdef HAVE_FREETYPE because don't use it for
11648         --disable-freetype
11650 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
11652         * NEWS: updated with the new dependencies.
11653         
11654         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11656         * objects/UML/class.h:
11657         * objects/UML/class.c:  
11658         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
11659         property using a GtkMenu. Options are Undefined, In, Out, In & Out
11661 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11663         * app/render_libart.c: Slow but working libart freetype renderer,
11664         with color!
11666 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11668         * app/render_gdk.c (draw_string): Fixed gc_function bug.
11670         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
11672         * lib/font.c (freetype_render_string): 
11673         * lib/font.h:
11674         * app/render_gdk.c:
11675         * app/render_gdk.h: Changed freetype_render_string to use
11676         callback.  Rendering is broken.
11678 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
11680         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11682         * objects/UML/uml.h:    
11683         * objects/UML/uml.c: added UMLInheritanceType and isQuery
11684         (constant) UML Operation attributes. UMLInheritanceType is either
11685         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
11687         * objects/UML/class.h:
11688         * objects/UML/class.c:  
11689         * objetcs/UML/class_dialog.c: added code to handle new
11690         UMLOperation attributes via a GtkMenu and a checkbox.
11692 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
11694         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
11695         several client doesn't work with previous codes.
11697 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11699         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
11700         seem to use it.
11702 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
11704         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
11705         when doing the operation like invert the objects after active view is
11706         destroyed. when changes focus, it needs to set active_display.
11708         * app/layer_dialog.c (dia_layer_update_from_layer):
11709         (layer_dialog_edit_layer): need to convert to locale encoding
11710         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11711         (edit_layer_ok_callback):
11712         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11714         * lib/diagramdata.c (new_diagram_data): ditto.
11716         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
11718         * lib/diagramdata.c (new_layer): use utfchar instead of char for
11719         argument.
11721         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
11722         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
11723         it's needed for now. also this function needs prototype declaration.
11725 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
11727         * lib/widgets.c: Style now functional on font selector.  Some leak
11728         possible, but doesn't show up under stress test.
11730 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
11732         * app/plugin-manager.c (clist_select_row): name and description needs to
11733         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11734         (get_plugin_manager): ditto.
11736         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
11738         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
11739         support.
11741         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
11742         when prop->string_data is NULL.
11744 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11746         * lib/widgets.c: 
11747         * lib/widgets.h: New font selector separating font and style.
11748         Style not functional yet.
11750 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11752         * lib/text.c: 
11753         * app/render_gdk.c (draw_string): More freetype support, now
11754         renders text.  Still broken is font selection and exporting.
11756 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
11758         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
11759         for font.
11761         * objects/chronogram/chronoline.c (chronoline_create): ditto.
11763         * objects/UML/usecase.c (usecase_create): ditto.
11765         * objects/UML/state.c (state_create): ditto.
11767         * objects/UML/object.c (objet_create): ditto.
11769         * objects/UML/node.c (node_create): ditto.
11771         * objects/UML/message.c (message_create): ditto.
11773         * objects/UML/component.c (component_create): ditto.
11775         * objects/UML/classicon.c (classicon_create): ditto.
11777         * objects/UML/actor.c (actor_create): ditto.
11779         * objects/SADT/box.c (sadtbox_create): ditto.
11781         * objects/SADT/annotation.c (annotation_create): ditto.
11783         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
11785         * objects/GRAFCET/step.c (STEP_FONT):
11786         * (step_create): ditto.
11788         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
11790         * objects/GRAFCET/action.c (ACTION_FONT):
11791         (action_create): ditto.
11793         * objects/FS/function.c (function_create): ditto.
11795         * objects/FS/flow.c (flow_create):
11796         (flow_load): 
11797         (flow_apply_defaults): ditto.
11799         * objects/FS/flow-poly.c (flow_create):
11800         (flow_load):
11801         (flow_apply_defaults): ditto.
11803         * objects/FS/flow-ortho.c (orthflow_create):
11804         (orthflow_load):
11805         (orthflow_apply_defaults): ditto.
11807         * objects/ER/relationship.c: use utfchar instead of char for structure.
11808         (relationship_create): name needs to convert to UTF-8.
11810         * objects/ER/attribute.c: use utfchar instead of char for structure.
11811         (attribute_create): name needs to convert to UTF-8.
11813         * objects/ER/entity.c: use utfchar instead of char for structure.
11814         (entity_create): name needs to convert to UTF-8.
11816         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
11817         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
11818         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
11819         items. if GTK_TALKS_UTF8 isn't defined.
11821 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
11823         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
11824         it was my careless mistake...
11826         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
11827         a font name, because there are strings which isn't shown by "Courier".
11828         We need to consider a way to feel free to choose a font at runtime.
11830         * lib/render_object.c (render_object_load): ditto.
11832         * lib/text.c (data_text): ditto.
11834         * objects/EML/instantiation.c (instantiation_create): ditto.
11836         * objects/EML/interaction-ortho.c (interaction_ortho_create):
11837         (interaction_ortho_load): ditto.
11839         * objects/EML/interaction.c (interaction_create):
11840         (interaction_load): ditto.
11842         * objects/EML/process.c (fill_in_fontdata): ditto.
11844         * objects/ER/attribute.c (attribute_create): 
11845         (attribute_load): ditto.
11847         * objects/ER/entity.c (entity_create): 
11848         (entity_load): ditto.
11850         * objects/ER/relationship.c (relationship_create): 
11851         (relationship_load): ditto.
11853         * objects/UML/association.c (association_create): 
11854         (association_load): ditto.
11856         * objects/UML/class.c (fill_in_fontdata): ditto.
11858         * objects/UML/constraint.c (constraint_create): ditto.
11860         * objects/UML/dependency.c (dependency_create): ditto.
11862         * objects/UML/generalization.c (generalization_create): ditto.
11864         * objects/UML/implements.c (implements_create): ditto.
11866         * objects/UML/large_package.c (largepackage_create): ditto.
11868         * objects/UML/note.c (note_create): ditto.
11870         * objects/UML/realizes.c (realizes_create): ditto.
11872         * objects/UML/small_package.c (smallpackage_create): ditto.
11874         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
11876         * objects/custom/custom_object.c (custom_create): ditto.
11878         * objects/network/antenna.c (render_to_store): ditto.
11880         * objects/network/computer.c (render_to_store): ditto.
11882         * objects/network/disc.c (render_to_store): ditto.
11884         * objects/network/flash.c (render_to_store): ditto.
11886         * objects/network/hub.c (render_to_store): ditto.
11888         * objects/network/modem.c (render_to_store): ditto.
11890         * objects/network/modularswitch.c (render_to_store): ditto.
11892         * objects/network/monitor.c (render_to_store): ditto.
11894         * objects/network/printer.c (render_to_store): ditto.
11896         * objects/network/rj45plug.c (render_to_store): ditto.
11898         * objects/network/scead-plug.c (render_to_store): ditto.
11900         * objects/standard/textobj.c (textobj_load): ditto.
11902         * objects/sybase/client.c (render_to_store): ditto.
11904         * objects/sybase/dataserver.c (render_to_store): ditto.
11906         * objects/sybase/ltm.c (render_to_store): ditto.
11908         * objects/sybase/repserver.c (render_to_store): ditto.
11910         * objects/sybase/rsm.c (render_to_store): ditto.
11912         * objects/sybase/stableq.c (render_to_store): ditto.
11914         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
11916         * objects/UML/uml.h (UML_STEREOTYPE_START):
11917         (UML_STEREOTYPE_END): changes default strings.
11919 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
11921         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
11922         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
11923         which is given to arguments isn't UTF-8. so don't need to convert it.
11924         if GTK+ handle UTF-8, also don't need to convert it.
11925         (strend): remove.
11926         (bracketted_to_string): fixed transaction for UTF-8 support.
11927         also start/end bracket is not necessarily 1 character. so that when use
11928         strend(), it doesn't work correctly.
11929         (string_to_stereotype): use utfchar instead of char.
11930         (remove_stereotype_from_string): ditto.
11931         (stereotype_to_string): ditto.
11933         * objects/UML/stereotype.h: ditto.
11935         * objects/UML/message.c: use utfchar instead of char for structure.
11936         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
11938         * objects/UML/small_package.c: use utfchar instead of char for structure.
11940         * objects/UML/realizes.c: ditto.
11942         * objects/UML/object.c: ditto.
11944         * objects/UML/large_package.c: ditto.
11946         * objects/UML/implements.c: ditto.
11948         * objects/UML/generalization.c: ditto.
11950         * objects/UML/dependency.c: ditto.
11952         * objects/UML/constraint.c: ditto.
11954         * objects/UML/component.c: ditto.
11956         * objects/UML/class_dialog.c (attributes_get_current_values):
11957         (attributes_list_new_callback, attributes_fill_in_dialog):
11958         (parameters_set_values, parameters_get_values):
11959         (parameters_get_current_values, parameters_list_new_callback):
11960         (operations_set_values, operations_get_values):
11961         (operations_get_current_values, operations_list_new_callback):
11962         (operations_fill_in_dialog, templates_set_values):
11963         (templates_get_values, templates_get_current_values):
11964         (templates_list_new_callback, templates_fill_in_dialog):
11965         fixed transaction for UTF-8 support.
11967 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
11969         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
11971         * objects/UML/class_dialog.c (class_read_from_dialog):
11972         (class_fill_in_dialog):
11973         (attributes_get_values): ditto.
11975         * objects/UML/actor.c (actor_create): ditto.
11977         * objects/UML/class.c (umlclass_calculate_data): ditto.
11979         * objects/UML/association.c (association_apply_properties):
11980         (fill_in_dialog): ditto.
11982         * objects/UML/uml.c (uml_get_attribute_string):
11983         (uml_get_operation_string):
11984         (uml_get_parameter_string):
11985         (uml_get_formalparameter_string): use utfchar instead of char.
11987         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
11988         UML_STEREOTYPE_END.
11990         * objects/UML/class.h: use utfchar instead of char.
11992         * lib/dia_xml.c (data_add_string): ditto.
11994         * lib/text.c (text_insert_char): fixed characters# calculation
11995         when includes multibytes character in strings.
11997 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
11999         Patch from Richard Rowell <rwrowell@bellsouth.net>:
12001         * app/lineprops_area.c:
12002         * lib/arrows.h:
12003         * lib/arrows.c: 
12004         * lib/widgets.c: added crow foot arrow and cross arrow
12005         
12006         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
12007         
12008         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
12010 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
12012         * po/update.pl (REMOVED):
12013         * po/update.sh (REMOVED):
12014         * xml-i18n-merge.in.kg (REMOVED):
12015         * xml-i18n-update.in.kg (REMOVED):
12016         * sheets/Makefile.am:
12017         * Makefile.am:
12018         * autogen.sh:
12019         * configure.in: converted from xml-i18n-tools to intltools
12021         This looks like it fixes the build bugs of the snapshot tarballs, 
12022         and it supersedes #69611.       
12024 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
12026         * lib/text.c (text_insert_char): fixed characters# calculation.
12027         it's not string length.
12029         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
12030         is defined, needs to convert a description to UTF-8.
12032         * app/render_gdk.c (get_text_width): fixed transaction for
12033         UTF-8 support. also should uses gdk_text_width_wc() instead
12034         of gdk_text_width().
12036         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
12037         is defined, needs to convert to locale encoding for display.
12038         Also use utfchar instead of char for argument.
12040 2002-01-24  Hans Breuer  <hans@breuer.org>
12042         * app/commands.c(edit_paste_callback and more) : 
12043         call diagram_modified(ddisp->diagram) to fix #68083
12044         (help_menu_callback) : plug a DIR leak
12046         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
12047         GTK_TALKS_UTF8_WE_DONT
12049         * app/render_gdk.c(get_text_with) : it's a bad idea to use
12050         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
12051         gdk_text_width(). The length value is still questionable ...
12053         * lib/charconv.c : use functions already available in early
12054         GLIB-1.3 days whiches API hasn't changed since, to avoid
12055         version problems with the win32 build
12057         * lib/font.c : finally fix #58045 and #68208
12059         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
12061 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
12063         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
12064         no strings, fixed transaction.
12066         * lib/charconv.h: fixed typo.
12068         * app/menus.c: fixed typo.
12070         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
12072         * objects/UML/object.c: attrib's type uses utfchar instead of char.
12074         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
12076         * lib/text.c (text_create_change): use unichar instead of char.
12078         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
12079         use utfchar instead of char.
12081         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
12082         UTF-8 support.
12084         * lib/charconv.c (charconv_utf8_get_char): add new function.
12086 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
12088         * lib/text.c (text_delete_forward, text_delete_backward,
12089         text_split_line): fixed transaction for UTF-8 support.
12091         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
12092         strlen[] has string length for UTF-8, so has to use alloclen[].
12094         * dia.pot: remove.
12096         * .cvsignore: add dia.pot.
12098 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
12100         * configure.in: Added "sk" to ALL_LINGUAS.
12102 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
12104         * lib/text.c (text_set_string, new_text, text_copy,
12105         text_get_string_copy, text_join_lines): use utfchar instead of gchar
12106         for strings.
12108         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
12109         strchr().
12111         * lib/charconv.c (charconv_utf8_strchr): add new function.
12113         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
12115         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
12117         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
12118         strings to the appropriate encoding.
12120 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
12122         * app/object_ops.c (object_list_align_[hv]): Leak fix.
12124         * lib/Makefile.am (INCLUDES): Added debug flags.
12126         * app/object_ops.c: Fixed ordering problem of align equi-distant &
12127         adjacent. 
12129 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
12131         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
12132         gdk_string_width().
12134         * objects/GRAFCET/boolequation.c: fixed invalid comment.
12136         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
12137         when defined UNICODE_WORK_IN_PROGRESS.
12139         * lib/dia_xml.c (data_add_string): fixed typo.
12141 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
12143         * configure.in: fixed test gtk_advancement.
12145 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
12147         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
12148         exported to SVG
12150         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
12152         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
12153         tool tips, preferences, and arbitrarily long ~/.dia/history
12155         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
12156         removed 'Open Recent'; added new separators for recent documents on
12157         File menu.
12159         * app/interface.[ch] (interface_get_toolbox_shell): new function
12161         * app/diagram.c: added new parameter to recent_file_history_add() call
12163         * app/preferences.[ch]: added new 'Recent documents list size'
12164         preferences item
12165         
12166 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
12168         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
12169         if it failed, should be used gdk_font_load ().
12171         * lib/font.c (font_data): added the font entries for CJK.
12173 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
12175         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
12177         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
12178         
12179 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
12181         Patch from Martin Cracauer <cracauer@cons.org>:
12182         
12183         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
12184         non-GNOME case ?)
12186 2002-01-01  Hans Breuer  <hans@breuer.org>
12188         * app/command.c : optional use GDI printing on windoze
12190         * app/preferences.[hc] : add option 'prefer_psprint' to 
12191         select the print engine to use (could be used for Dia/Gnome
12192         as well)
12194         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
12195         wmf plug-in with the common win32 print api. Now printing
12196         should work almost as expected from a windows program :-)
12198         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
12199         to .edit_delete to avoid clashes with C++
12201         * app/makefile.msc : updated for GDI printing
12203         * plug-ins/wmf/wmf.cpp : some small modifications to support
12204         GDI printing. Also swap R and B channel in draw_image()
12206         * app/makefile.am : added windows only files to EXTRA_DIST
12208         * objects/uml/class.c(umlclass_set_props) : force recalculation
12209         when applying properties
12211         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
12212         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
12213         many incompatible changes (and would force a gtk update)
12215         * objects/makefile.msc : don't build C-Objects which are
12216         already available as 'pure shape'
12218         * plug-ins/makefile.msc : remove diaimport from build. It was
12219         only available via mailing-list and is broken since the
12220         StdProp overhaul.
12223         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
12225         * app/preferences.[hc] : tweaked preferences.c to make 
12226         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
12227         added some more DiagramTree prefererences and their own
12228         notebook page.
12230         * app/diagram_tree.[hc] : allow to sort by object type or name
12231         and hide by type ...
12232         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
12233         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
12235         * app/diagram_tree_window.c : handle hidden types and window
12236         size restoring.
12238 2001-12-20  Hans Breuer  <hans@breuer.org>
12240         * plug-ins/python/Makefile.am : patch from Peter Moulder 
12241         <pmoulder@csse.monash.edu.au> to make the python plug-in
12242         compile on *nix too.
12244 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
12246         Patch from Alan <horkana@tcd.ie>:
12248         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
12250 2001-11-20  Hans Breuer  <hans@breuer.org>
12252         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
12254 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
12256         * app/diagram_tree.[hc] : Added new functions and types for
12257         sorting diagram and objects, and attaching the popup menus.
12259         * app/preferences.h: Added more diagram tree preferences, using a
12260         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
12261         height and width of the diagram tree window and the default sort
12262         orders for diagrams and objects.
12264         * app/preferences.c (prefs_data): Added new entries for the new
12265         diagram tree preferences.
12267         * app/preferences.c (prefs_tabs): New tab for diagram tree
12268         preferences.
12270         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
12271         * app/diagram_tree_window.c (diagram_tree_window_new): 
12272         * app/interface.c (create_tree_window): The diagram tree window is
12273         initialised using the DiagramTreeConfig part of prefs.
12276 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
12278         * app/diagram_tree_menu.[hc]: New files. Functions to create the
12279         diagram tree popup menus.
12281         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
12282         the diagram tree popup menus.
12284         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
12285         added.
12287 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
12289         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
12290         double-clicking a diagram tree node raises the diagram window
12291         to the foreground (and, if a object node was clicked, selects the
12292         object in the diagram).
12294         * app/diagram_tree.c (select_tree_widget): selecting an object
12295         node with single click simply updates it (no raise).
12297 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
12298         These changes make the diagram tree lazy: it is not created unless
12299         the diagram tree window is requested.
12300         
12301         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
12302         function for creating the tree window.
12304         * app/interface.c (create_tree_window): call
12305         create_diagram_tree_window() instead of diagram_window().
12307         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
12308         (diagram_tree_update, diagram_tree_update_name) 
12309         (diagram_tree_add_object, diagram_tree_add_objects) 
12310         (diagram_tree_remove_object, diagram_tree_remove_objects) 
12311         (diagram_tree_update_object): accept a NULL tree as a nominal
12312         argument (and do nothing in this case!), so that the diagram tree
12313         is not initialised if not used.
12315         * app/diagram_tree_window.c (diagram_tree): do not create the
12316         diagram tree until diagram_window() or diagtree_show_callback()
12317         are invoked.
12319 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
12320         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
12322         * app/diagram_tree_window.[hc] : (new files) implementation of 
12323         the diagram tree window, a container for a diagram tree. [Removed
12324         the horizontal scroll bar glitch by disableing it]
12326         * app/diagram_tree.[hc] : (new files) implementation of the 
12327         diagram tree widget. [Don't rely on the layers GPtrArray to be
12328         NULL terminated, but use its ->len field] 
12330         * app/Makefile.am (dia_core_files): added new files
12331         diagram_tree.[hc] and diagram_tree_window.[hc]
12333         * app/interface.[hc] : (create_tree_window): this function 
12334         creates the new diagram tree window widget
12336         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
12337         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
12338         (ungroup_objects_apply) (ungroup_objects_revert): 
12339         every time that an undoable command modifies a diagram 
12340         adding/removing/(un)grouping objects, a diagram_tree_something() is 
12341         invoked to keep the diagram tree window in sync
12343         * app/properties.c (properties_apply): call to
12344         diagram_object_modified(), which updates the diagram tree window
12345         when the properties of an object are modified
12347         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
12348         (whether the diagram tree window should be shown on dia startup)
12350         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
12352         * app/diagram.h (diagram_object_modified): callback notifying of a
12353         diagram object modification
12355         * app/diagram.c (diagram_load_into): added call to
12356         diagram_tree_add() to add newly loaded diagrams to the diagram
12357         tree window
12358         (diagram_destroy): call to diagram_tree_remove() to remove a
12359         destroyed diagram from the diagram tree window
12360         (diagram_add_object): call to diagram_tree_add_object() to add an
12361         object to the diagram tree window
12362         (diagram_add_object_list): as above, but with an object list
12363         (diagram_selected_break_external): deletion of objects from the
12364         diagram is detected here, and diagram_tree_remove_object() is
12365         invoked to remove the object from the diagram tree window (it
12366         would be nice to have a diagram_remove_object() in the Diagram
12367         interface)
12368         (diagram_set_filename): update the diagram tree window when a
12369         diagram's filename changes
12371         * app/commands.c (file_new_callback): added call to
12372         diagram_tree_add() to add newly created diagrams to the diagram
12373         tree window
12375         * app/app_procs.c (app_init): added call to create_tree_window()
12377         * app/makefile.msc : updated
12379 2001-10-28  Hans Breuer  <hans@breuer.org>
12381         * app/preferences.h (DiaPreferences): 
12382         * app/preferences.c (prefs_data): new "show_diagram_tree"
12383         configuration option (whether the diagram tree window should be
12384         shown on dia startup)
12386         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
12387         entry (both for GNOME and gtk)
12389         * app/diagram.h (diagram_object_modified): callback notifying of a
12390         diagram object modification
12392         * app/diagram.c (diagram_load_into): added call to
12393         diagram_tree_add() to add newly loaded diagrams to the diagram
12394         tree window
12395         (diagram_destroy): call to diagram_tree_remove() to remove a
12396         destroyed diagram from the diagram tree window
12397         (diagram_add_object): call to diagram_tree_add_object() to add an
12398         object to the diagram tree window
12399         (diagram_add_object_list): as above, but with an object list
12400         (diagram_selected_break_external): deletion of objects from the
12401         diagram is detected here, and diagram_tree_remove_object() is
12402         invoked to remove the object from the diagram tree window (it
12403         would be nice to have a diagram_remove_object() in the Diagram
12404         interface)
12405         (diagram_set_filename): update the diagram tree window when a
12406         diagram's filename changes
12408         * app/commands.c (file_new_callback): added call to
12409         diagram_tree_add() to add newly created diagrams to the diagram
12410         tree window
12412         * app/app_procs.c (app_init): added call to create_tree_window()
12414 2001-10-28  Hans Breuer  <hans@breuer.org>
12416         * plug-ins/python/pydia-property.c : apparently I missed
12417         to commit this last time. Now it has some more SetAttr
12418         support (apply from property)
12420         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
12422         * plug-ins/python/pydia-text.[ch] : new files
12424 2001-10-14  Hans Breuer  <hans@breuer.org>
12426         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
12427         strings. Use g_strdup() for these.
12429         libxml2 does not produce 'any extra indentation when saving a tree'
12430         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
12431         libxml(1). To get human readable XML some extra tweaking is required.
12432         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
12433         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
12434         * app/preferences.[ch] : initialize 'pretty_formated_xml'
12436         * lib/libdia.def : updated externals
12438         * lib/properties.h : add prototype for prop_list_from_single ()
12440         * plug-ins/makefile.msc : build metapost plug-in
12442         * plug-ins/metapost/render_metapost.c : msvc does not like
12443         switch labels without operation 'default: }'. Added a noop.
12445         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
12446         * plug-ins/python/diamodule.c : added PyDiaText 
12447         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
12448         Although the python plug-in does not use libxml at all, the
12449         headers are required to use the lib/prop*.h headers
12451         * plug-ins/python/pydia-diagramdata.c : added wrappers for
12452         update_extents and get_sorted_selected (should I duplicate
12453         more functions from PyDiaDiagram or should they be moved?)
12455         * plug-ins/python/pydia-properties.c : allow to set (some) properties
12456         through the dictionary api
12457         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
12458         * plug-ins/python/pydia-property.c : implement it (currently only
12459         string properties can be set)
12461         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
12462         Quoting myself: 'Still not convinced that this is better than an 
12463          integral property->type and some casting ...
12464          It is trading a straightforward 40 lines switch statement to
12465          this nice 'type safe' function mapping (about 125 lines)'
12466         (But now it works again, better than changing the News file :)
12467         
12468 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
12470         patch from <robert.young@dsto.defence.gov.au>: 
12471         * objects/UML/component.c: remember to set font in UML component
12472         object (fixes #62132)   
12474 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
12476         * plug-ins/metapost/metapost.c: 
12477         * plug-ins/metapost/Makefile.am:
12478         * plug-ins/metapost/render_metapost.c:
12479         * plug-ins/metapost/render_metapost.h:
12480         Metapost renderer from Chris Sperandio
12482 2001-09-14  Hans Breuer  <hans@breuer.org>
12484         * app/render_gdk.c : reflect the fact, that GTK already talks
12485         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
12487         * lib/font.c : 
12488         * app/render_libart.c : trying to fix #58045 but it appears
12489         to be an Gdk/win32, too. 
12491         * lib/charconv.c : handle utf8 conversion with the help of
12492         glib-1.3 even in the !HAVE_UNICODE case.
12494         * lib/dia_xml.c : reduce complaing about missing encoding, by
12495         detecting if the default (utf8) would break the file.
12497 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
12499         * lib/charconv.c: (get_local_charset): at least please try to not 
12500         silently change the logic, while avoiding crashes. 
12502         * lib/font.c: (suck_font): put a #error, we have a nasty something
12503         to fix there before we switch to Gtk 2.0.
12504         
12505 2001-09-09  Hans Breuer  <hans@breuer.org>
12507         * **/makefile.mingw : Approach to compile Dia with mingw.
12508         Compiling mostly works but running does not (yet) ... 
12510         * lib/geometry.h : 
12511         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
12512           Apparently mingw needs it too.
12513         - enable 'normalization' of a null verctor. Otherwise the beziergon
12514           bounding box calculation would be broken at least with msvc. What's
12515           the mathematical correct result of 0.0/0.0 ?
12517         * lib/dia_xml.c : isinf() for mingw too.
12519         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
12520         and msvc)
12522         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
12523         Please don't do it.
12525         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
12527         * lib/libdia.def : updated externals. Apparently mingw needs
12528         them to produce the right mangling.
12530         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
12531         and xmlDiaSaveFile
12533 2001-09-08  Wang Jian  <lark@linux.net.cn>
12535         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
12537 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
12539         * lib/dia_xml_libxml.h:
12540         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
12541         libxml1's code, to rework the output file before it gets committed
12542         to disk. This is rubbish, and will be removed when libxml2
12543         switches from discouraged to mandatory. 
12544         All in all, this fixes #60152. 
12545         
12546         * lib/charconv.h: 
12547         * lib/charconv.c: (charconv_unichar_to_utf8):
12548         made the type of the input parameter explicitly an unsigned long.
12550         * configure.in: Added a check for libz (we must now include it
12551         explicitly, for xmlDiaSaveFile).
12552         
12553         * app/load_save.c: (diagram_data_save):
12554         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
12555         (dia_pluginrc_write):
12556         * plug-ins/shape/shape-export.c: (new_shape_renderer),
12557         (end_render), (draw_string):
12558         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
12559         (draw_string):
12561         Made sure we always write UTF-8 XML files, and through
12562         xmlDiaSaveFile().
12564         * NEWS: documented that fact.
12565         
12566 2001-09-07  James Henstridge  <james@daa.com.au>
12568         * configure.in (found_libxml): refactor the check for libxml a
12569         little so that it handles finding both libxml1 and 2 better.
12571 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
12573         * app/app_procs.c: removed a spurious } which caused a compilation
12574         error in the (!HAVE_GNOME && HAVE_POPT_H) case
12576         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
12577         don't know what ANSI X3.4-1968 is. I didn't know until this day,
12578         but it's just plain old ASCII. Added a check to shield the poor
12579         XML library.
12581         Patches from <robert.young@dsto.defence.gov.au>:
12583         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
12584         width and height of text before calculating bounds. Fixes #59928
12586         * app/preferences.c: Moved grid related items into Grid Tab.
12587         
12588 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
12590         * app/interface.c: (create_zoom_widget): connected one more signal
12591         to the Zoom selector combo's list. Fixes #59879.
12593         * app/app_procs.[ch]: (app_init) (do_convert)
12594         (build_output_file_name): brought back into the main executable
12595         the rare useful bits of the ill-fated diaconv. This means we have
12596         one new feature : --export-to-format (-t), which should make
12597         writing conversion scripts easier, and a crude implementation of
12598         -t and -e for the poptless argument parsing, which means the Win32
12599         port should be able to take advantage of it (that should make
12600         resolving #58197 possible).
12602         * app/diaconv.c: kept the poor duck compiling (but that's about
12603         it).
12605         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
12606         I've got it right).
12608         * NEWS: updated about the new feature above, and documented the 
12609         "missing encoding specification" complaint. 
12610         
12611 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
12613         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
12615 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
12617         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
12618         care of #59837.
12620 2001-09-01  James Henstridge  <james@daa.com.au>
12622         * */Makefile.am: various changes to include missing files, and fix
12623         sheets dir to handle building with builddir != srcdir.
12625         * autogen.sh: unconditionally pass the --enable-maintainer-mode
12626         and --enable-db2html flags so that builds from CVS work correctly.
12628         * configure.in: increment version number.  Also add an
12629         --enable-db2html flag.  Without the flag, db2html won't be run (if
12630         the flag is passed and db2html is not present, do nothing).
12632 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
12634         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
12635         even compiled. It's really too bad there is no lint tool easily
12636         available (or a more cautious, pedandic, paranoid and verbose
12637         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
12639 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12641         * app/load_save.c:
12642         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
12643         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
12645         * app/menu.c: added ellipsis(...) to diagram properties menu item.
12646         * app/dia-props.c: diagram properties dialog contents did not
12647         represent current diagram settings.
12648         * app/dia-props.[ch]:
12649         * app/display.c: diagram properties contents now follows currently
12650         selected diagram.
12651         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
12653         * AUTHORS: added Robert Young.
12654         
12655 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12657         * app/modify_tool.c: (modify_button_release): Patch from
12658         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
12659         #59090: if selection dragging was released outside of the window, 
12660         artifacts of the selection box remained.
12662 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
12664         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
12666 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
12668         * configure.in:
12669         * sheets/Makefile.am: prepared the terrain for the Version of
12670         xml-i18n-tools Which Comes After 0.9 (and which will feature at
12671         last a sane behaviour with XML files). Some reasonible delay
12672         before enforcing that version *will* be given.
12674         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
12675         
12676         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
12677         becomes a nonexistent symbol.
12678         
12679 2001-08-18  Hans Breuer  <hans@breuer.org>
12681         * app/app_procs.c : made it compile without ENABLE_NLS
12683         * app/diap_callbacks.c : strcmp isn't guaranteed to work
12684         with NULL pointers
12686         * app/load_save.c :
12687         * lib/plug-ins.c : 
12688         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
12689         It has to be :
12690                 xmlGetProp, ... -> xmlFree
12691                 malloc, strdup -> free
12692                 g_new, g_malloc, g_strdup - > g_free
12694         * app/win32print.c : some more error checking, still not
12695         working on Win9x
12697         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
12699         * lib/dia_xml.c : msvc still has no unistd.h
12701         * lib/dia_xml.c :
12702         * lib/sheets.c : temporary resolved libxml include brokeness
12704         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
12705         changes. Compiles again, but doesn't do anything useful anymore.
12706         (see THE_PROP_TYPE_IS_INTEGRAL)
12708         * **/makefile.msc : updated to use LIBXML2
12710         * lib/libdia.def : reflect api changes
12712 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
12714         * config.h.win32: added defines telling that gtk speaks UTF8.
12715         Hans, I believe this reflects what GTK on Win32 does.
12717         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
12718         strings.        
12719         * lib/prop_inttypes.c: 
12720         * lib/prop_text.c:
12721         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
12722         code path.
12723         
12724         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
12725         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
12726         search for plug-ins is done.
12727         * app/Makefile.am: made app/run_dia.sh use the // capability. No
12728         need to update this anymore if we get a new plug-in library (or
12729         remove one).
12731         * lib/dia_xml.c: #include <unistd.h> was missing.
12732         
12733         * lib/properties.h: 
12734         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
12735         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
12736         support.        
12738 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
12740         * sheets/civil.sheet: removed duplicate "Danish" entries.
12742         * autogen.sh:
12743         * configure.in: 
12744         * .cvsignore:
12745         * sheets/Makefile.am: 
12746         * po/POTFILES.in:
12747         * Makefile.am: applied the xml-i18n-tools README's instructions.
12749         * po/(da de fr hu nl nn no sl).po: merged the translations from
12750         the sheet files into the .po files. I hope I haven't mixed
12751         languages...
12752         * sheets/*.sheet (REMOVED):
12753         * sheets/*.sheet.in (NEW): moved the sheet files sans
12754         translations into .sheet.in files. 
12755         
12756         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
12757         because we don't yet want to force all translators to work using
12758         UTF-8 editors. We'll want to do that sometime (sooner rather than
12759         later). Okay, I sing a slightly different tune in po/ChangeLog...
12761         * dia.desktop (REMOVED):
12762         * dia.desktop.in (NEW): used also the x18t infrastructure for
12763         this too.
12765         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
12766         "official" version of x18t with support for .sheet files is available.
12767         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
12768         "official" version of x18t which doesn't corrupt UTF-8 data in XML
12769         is available.
12770         
12771         ** yes, we are now using xml-i18n-tools to manage the sheet
12772         translations. For the Win32 build, Nemo stores snapshots of
12773         translated strings next to the CVS snapshots. **
12775         * sheets/checktrans.py: suddenly, some sheets have lots of
12776         translations (objects which existed before sheets, mostly).
12777         Adapted the formatting.
12779         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
12781         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
12782         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
12783         <robert.young@dsto.defence.gov.au>, to fix #59090.
12785         * app/display.c: (ddisplay_scroll): While at it, added some
12786         margin, so that autoscrolling can happen within a margin outside
12787         the diagram's extents.
12789         * app/tool.[ch]: 
12790         * app/interface.c:
12791         * app/disp_callbacks.c: Robert "forced" me to go when I usually
12792         don't, namely the app/ directory. So while I was there, I
12793         scratched a long-time itch. If no object has focus, pressing the
12794         space bar will select back the tool which was selected before the 
12795         current one (I find this especially useful with "reset after create" !)
12796         
12797         * lib/proplist.c: (prop_list_from_single): Renamed
12798         prop_list_singleton() to avoid confusion with the Singleton
12799         pattern (which it definitely is not).
12800         
12801         * lib/propobject.c: (object_prop_by_name_type),
12802         (object_prop_by_name): The "flags" parameter was not necessary.
12803         These don't return synthetic properties, but properties built from
12804         a real property description list; therefore, we don't call
12805         make_new_prop() but use the existing property descriptor, which
12806         has perfectly valid (and meaningful) flags.
12808         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
12809         new predicates better reflect the reason why properties exist when
12810         they're created by make_new_prop() or object_prop_by_name().    
12812         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12813         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
12814         of pdtpp_true().
12816         * lib/properties.h: reflects all the above changes.
12818         * objects/SADT/arrow.c:
12819         * objects/SADT/annotation.c:
12820         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
12821         IDEF0 terminology.
12822         
12823 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
12825         * lib/properties.h:
12826         * lib/proplist.c: (prop_list_singleton):
12827         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12828         Added these, to simplify interactions of plug-ins with the StdProp
12829         core.
12831         * lib/Makefile.am:
12832         * lib/dia_xml.h:
12833         * lib/dia_xml_libxml.h (NEW): 
12834         * app/load_save.c:
12835         * lib/dia_xml.c:
12836         * lib/plug-ins.c:
12837         * lib/sheet.c:
12838         * objects/custom/shape_info.c: A few prototypes were causing
12839         #include hell, because we generally attempt to not pull the whole
12840         libxml header set when we include dia_xml.h. Moved those
12841         prototypes away for the rare cases they're necessary.
12842         
12843 2001-08-15  Hans Breuer  <hans@breuer.org>
12845         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
12847         * lib/libdia.def : 
12848         * lib/makefile.msc : updated
12850         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
12851         use G_GNUC_FUNCTION instead.
12853         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
12855         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
12856         msvc instead of cleaning missing includes
12858         * plug-ins/wmf/wmf.cpp :
12859         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
12861 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12863         * app/app_procs.c:
12864         * app/load_save.c:
12865         * lib/dia_xml.c:
12866         * lib/plug-ins.c:
12867         * lib/sheet.c:
12868         * objects/custom/shape_info.c:
12869         * plug-ins/shape/shape-export.c:
12870         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
12871         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
12872         removed xmlKeepBlanksDefault(0) in favour for proper
12873         xmlIsBlankNode() testing. Lots of other fixups to use the
12874         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
12875         make libxml1 output correct files.
12877         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
12878         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
12879         packages). If both devel packages are found, the build will stop 
12880         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
12882         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
12883         allocate the first handle :-)
12884         
12885         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
12886         a cast and a sizeof.</gratuitous>
12888         * objects/custom/custom_object.c: (custom_copy): don't call
12889         text_get_attrbutes if the shape has no text...
12890         (custom_update_data): The info->resize_with_text code was a bit
12891         directive; basically, the shape's bounding box was forced to be 
12892         proportional to the text's bounding box.... This fixes #57187.
12893         
12894         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
12895         default for info->aspect_ratio; unobfuscated a line about
12896         info->resize_with_text;
12897         
12898 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12900         * lib/properties.h: added comments next to the PROP_TYPEs to tell
12901         which C Property subclass to use.
12902         
12903         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
12904         cast-ridden form of setting properties in a list, in favour for
12905         the "local pointers" form. I'll take any better offer...
12907 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
12908         
12909         * lib/font.c: fprintf(...) --> fprintf(format...)
12911         * configure.in: added a disabled versioned test for glib.
12912         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
12913         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
12914         g_critical() with a simple g_error(). Proper fix is to implement
12915         that stuff. 
12917         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
12918         PROP_TYPE_STRING.
12919         
12920         * lib/properties.h:     
12921         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
12922         * lib/proplist.c: (find_prop_by_name_and_type):
12923         * lib/prop_basic.c: (make_new_prop), (initialize_property):
12924         * lib/propoffsets.c: (do_set_props_from_offsets),
12925         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
12926         Added a type_quark member to PropDescription, Property and
12927         PropOffset. Used it to implement a safety in
12928         do_[sg]et_props_from_offsets().
12929                 
12930         * objects/flowchart/diamond.c: the diamond's text was not saved,
12931         and thus not even copied (c&p).
12932         * objects/standard/textobj.c: ditto.
12934         Most of the above changes thanks to Robert Young's testing. Thanks !
12935         
12936 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
12938         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
12939         and bokmÃ¥l).
12940         
12941 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
12943         * lib/proplist.c (prop_list_from_descs): added a call to
12944         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
12945         too embarrassing to tell.
12946         
12947         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
12948         while loop to a for loop, for symmetry with
12949         prop_offset_list_calculate_quarks().
12951         * lib/geometry.h: new inline function, rectangle_equals.
12953         * lib/diagramdata.[ch]: refactored a bit the diagram extents
12954         computation logic, and changed it to always be the union of the
12955         visible layers' extents. This should close #58882 (Debian
12956         #107167), and fixes #55498.
12958         * app/display.c: made the initial visible box more coherent with
12959         the diagram being loaded's extents.
12961         * app/prop_attr.c: don't set the font (from offset) if font_data
12962         is NULL. Two brainos in colorprop_load() and fontprop_load().
12963         
12964 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
12966         * lib/properties.[ch]: split in a lot of pieces: 
12968         * lib/prop_*.[ch] (NEW): all property types are now first-class
12969         objects, inheriting from the original abstract Property type.
12970         * lib/propdesc.c (NEW): property description handling routines
12971         * lib/propoffsets.c (NEW): property offset handling routines
12972         * lib/proplist.c (NEW): property list handling routines
12973         * lib/propobject.c (NEW): property list <-> object routines
12974         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
12975         relations.
12976         * lib/propinternals.h: prototypes for stuff not usually needed by 
12977         the outside of StdProps.
12978         * lib/Makefile.am: a lot of new files have been added...
12980         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
12981         BOTH INTERFACES AND RUN-TIME STABILITY.
12983         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
12984         
12985         * lib/object.h: removed the incestuous relationship with
12986         properties.h' contents. Now a Property list is a GPtrArray -->
12987         object interface change !
12989         * app/app_procs.c/app_init(): removed a disabled call to a
12990         non-existent routine. Added a call to stdprops_init().
12991         
12992         * objects/Makefile.am: disabled the construction of EML. I'm not
12993         touching these until a certain issue is solved (or this module
12994         removed).
12995         * app/group.c:  
12996         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
12997         objects to the interface changes.
12998         
12999         * app/disp_callbacks.c: killed a warning.
13000         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
13002         * app/commands.c: 
13003         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
13004         interface.
13006         * plug-ins/dxf/dxf-import.c: 
13007         * plug-ins/xfig/xfig-import.c: 
13008         PROP_VALUE_* macros have been removed. Converted to the new API.
13010         * plug-ins/python/**/*: I gave up converting this; I can't
13011         compile --with-python (problems with object.h defined both by us
13012         and by Python). I'll gladly help whomever cares to fix it !
13013         (or, fix it myself if someone tells me how to compile it).
13014         
13015         * configure.in: added the UNICODE-related progress defines.
13016                 
13017         * configure.in:
13018         * lib/geometry.h: On Solaris and perhaps other systems, finite()
13019         is defined in ieeefp.h rather than in math.h. Patch from Andrew
13020         Halper <ashalper@acm.org> with further modifications, isinf() is
13021         provided by -lsunmath (sunmath.h).
13022         
13023         * lib/font.c: conditionally disabled Lars' debugging messages.
13024         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
13025         
13026 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
13028         * lib/bezier_conn.h: 
13029         * objects/standard/bezier.c (bezierline_create): 
13030         * lib/bezier_conn.c (bezierconn_init): 
13031         Preparations for use of userdata for bezier lines.
13032         
13033         * objects/standard/polygon.c: 
13034         * objects/standard/create.h:
13035         * lib/polyshape.c:
13036         * lib/polyshape.h:
13037         * plug-ins/xfig/xfig-import.c:
13038         Use of user_data for polygon as well, including adding
13039         polyshape_set_points.  Include file for non-interactive 
13040         creation of standard objects, objects/standard/create.h
13042 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13044         * app/render_gdk.c: 
13045         * app/render_gdk.h: 
13046         * lib/font.c:
13047         * lib/font.h:
13048         * lib/widgets.c:
13049         More preliminary freetype support.  Not at all functional, crashes
13050         when rendering.
13052         * lib/poly_conn.h: 
13053         * lib/poly_conn.c: 
13054         * objects/standard/polyline.c: 
13055         Support for creating polyline objects with more than two points.
13056         This includes an extra function and a prototype change in the
13057         poly_conn lib object.
13059         * lib/object.c (object_copy): Fixed memory leak of handles and
13060         connections.
13062 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
13064         * dia.desktop: added traditional Chinese strings
13066 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
13068         * NEWS: updated to reflect build-time dependencies.
13070         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
13071         around obj->ops->describe_props(obj). Quarks are none of an
13072         object's business in the general case... 
13073         * lib/text.c: Added an apply_textattr_properties() function to
13074         factor out some common code related to applying a dialog's text
13075         attribute properties to a (Text *) which wasn't edited there. 
13076         Ditto for textstr, for the string part of an objet.
13078         * objects/GRAFCET/action.c:
13079         * objects/SADT/annotation.c:
13080         * objects/SADT/box.c: used apply_textattr_properties().
13081         
13082         * objects/UML/actor.c: 
13083         * objects/UML/branch.c:
13084         * objects/UML/component.c:
13085         * objects/UML/constraint.c:
13086         * objects/UML/small_package.c:
13087         * objects/UML/state.c:
13088         * objects/UML/usecase.c:
13089         * objects/UML/large_package.c:
13090         * objects/UML/note.c:
13091         * objects/UML/node.c:
13092         * objects/UML/message.c:
13093         * objects/UML/classicon.c:
13094         * objects/UML/object.c:
13095         * objects/UML/realizes.c:
13096         * objects/UML/dependency.c:
13097         * objects/UML/implements.c:
13098         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
13099         (most objects were already using StdProps to some extent ; this
13100         systematises usage and removes some dead wood). 
13101         
13102         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
13103         * objects/UML/uml.[ch]: audited for UTF-8.
13105         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
13106         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
13107         private (ISO-8859-1) definition.
13108         
13109         * lib/charconv.c: Added a warning if we didn't run
13110         nl_langinfo(CODESET) but rely instead on a hardcoded default.
13111         
13112 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
13114         * lib/diamenu.h:
13115         * app/disp_callbacks.c: added a way for an object to cause an
13116         already realised menu to be destroyed (for instance if it changes
13117         too much).
13119         * objects/custom/custom_object.c: used the above to fix #55073.
13121 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13123         * configure.in: Remove 2.50 prereq.
13125 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
13127         * po-checktrans.py: under some circumstances, there was one column 
13128         more than what was supposed to be, thus breaking the formatting.
13129         
13130 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
13131         
13132         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
13134         * NEWS: updated with new stuff since 0.88
13136         * shapes/network/antenna.shape: the text was misplaced ; fixed.
13138         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
13139         firewall router (upon request from Cyril Lacoux
13140         <clacoux@easter-eggs.com>)
13142         * configure.in (didn't rename to configure.ac): autoconf 2.50
13143         constructs were used ; added an AC_PREREQ call to guard against
13144         older autoconfs.
13145         
13146 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
13148         * lib/properties.c: minor clean-ups with the event delivery code.
13150         * EML/instantiation.c: brought this object back from stone and ice
13151         age.    
13153         * app/diaconv.c(NEW): added a command-line conversion tool. Still
13154         lacks a man page and correctness. In fact, it doesn't work. Please
13155         see #58196 if you want to finish it.
13156         
13157         * lib/message.[ch]: redefined things a little so that a different
13158         message_internal routine could be passed.
13159         applications can use that to fit themselves to the display model.
13161 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13163         * objects/SADT/box.c: 
13164         * objects/GRAFCET/action.c: spelling in property descriptors (name
13165         field...)
13166         * objects/SADT/annotation.c: ditto, plus a temporary test of the
13167         event delivery code (try to click on the "click me !" button !).
13169         * app/group.c: 
13170         * lib/properties.[ch]: improved (fixed) support for group event 
13171         handlers. Fixed various things from yesterday's code to make it
13172         not too obviously crash.
13174 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13176         * app/group.c: added delivery of events to the first member of the
13177         group which is able to process it.
13179         * lib/properties.c(prop_desc_lists_intersection): properties
13180         don't match if they don't have identical event handler.
13181         * lib/properties.h: simplified the PropEventHandler signature.
13183         Event delivery code is still untested so far, but should be
13184         lurking harmless.
13185         
13186 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
13188         * lib/properties.[ch]: Added (untested !) property event handler
13189         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
13190         generating such events. This stuff compiles, and should lurk
13191         around silently as long as you don't declare property descriptors
13192         with events (AFAICT).
13193         In object_create_props_dialog() and friends:
13194         attached a single structure with lots of data instead of lots of
13195         little attachments of data to the dialog widget.
13196         
13197         * lib/object.h: fixed mild typedef breakage introduced by the above.
13199 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
13201         * lots of files: Changed Font to DiaFont
13202         * */Makefile.am: Added FREETYPE_LIBS
13203         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
13205 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
13207         * configure.in: Added "nn" to ALL_LINGUAS.
13208         
13209 2001-07-09  Alex Larsson  <alexl@redhat.com>
13211         * app/disp_callbacks.c:
13212         Add gdk_im_ready() calls to XIM code.
13214 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
13216         * lib/properties.[ch]: splitted prop_get_widget() into
13217         prop_get_widget() (gives a widget but doesn't fill it) and 
13218         prop_reset_widget() (fills an existing widget with a property's value).
13220         * lib/widgets.[ch]: const enforcement police work.
13222         * shapes/network/antenna.shape: added a connection point at top,
13223         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
13224         
13225 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
13227         * intl/*: tested with gettext-0.10.38
13228         * configure.in: moved a macro call around (AM_PROG_CC) to keep
13229         some of autogen.sh from complaining.
13230         * INSTALL: added a warning against gettext older than at least 0.10.36
13231         
13232 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
13234         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
13235         AM_ICONV (both provided by gettext)
13237 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
13239         * lib/charconv.c: corrected the degraded mode for when
13240         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
13242         * objects/chronoline/chronoline_events.c: UTF8 compliance.
13243         
13244 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
13246         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
13247         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
13248         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
13249         into a frame box.
13251         * objects/chronogram/chronoline.c:
13252         * objects/chronogram/chronoref.c: took advantage of the above to
13253         make nicer looking dialogs.
13255         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
13256         from libunicode's internals).
13257         * lib/message.c: convert strings to local encoding prior to
13258         display (UNICODE_WORK_IN_PROGRESS)
13259         * lib/properties.[ch]: convert strings to local encoding prior to
13260         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
13261         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
13262         * lib/stringprerenderer.[ch]: ditto
13264         (lib/text.c has been audited for UTF8, but the size of the changes
13265         make them inappropriate for commit before 0.89)
13266         
13267 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13269         * objects/boolequation.h (<save|load>_boolequation): made the 
13270         prototypes for match the .c file.
13271         
13272         * samples/grafcet.dia: minor non-conformance with IEC-848
13273         fixed (in the transition from step 100 to step 101).
13275         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
13276         disallow editing of properties if the object is part of a group.
13278         * objects/chronogram/chronoline.c: 
13279         * objects/SADT/annotation.c:
13280         * objects/SADT/box.c:
13281         * objects/GRAFCET/step.c:
13282         * objects/GRAFCET/transition.c:
13283         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
13284         
13285 2001-06-12  Hans Breuer  <hans@breuer.org>
13287         * lib/libdia.def : removed lazyprop exports
13288         * lib/makefile.msc : removed lazyprop.obj
13290         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
13291         and avoid crashes by always creating a custom->text,
13292         when (custom->info->has_text) 
13294         * objects/makefile.msc : removed sybase from build
13296         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
13297         ObjectNode is a pointer already, which is what we want
13298         instead of a pointer pointer.
13300         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
13301         and implemented working export for images
13303         * shapes/network/zip-disk.shape : added connection points 
13305 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13307         * objects/SADT/box.c: removed lazyprops for standard props.
13308         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
13309         * objects/chronograms/chronoref.c: ditto 
13311         * lib/Makefile.am:
13312         * lib/dummy_dep.h:
13313         * lib/connpoint_line.c:
13314         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
13315         * lib/properties.[ch]: new property types:
13316             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
13317             - PROP_TYPE_MULTISTRING: same as string, but renders as a
13318             multi-line entry box.
13319             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
13320             in a tabbed-notebook style (this is a bit complicated to use; 
13321             see objects/chronograms/chronoline.c for an example).
13322                
13323 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
13325         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
13326         * objects/GRAFCET/step.c: ditto.
13327         * objects/GRAFCET/vector.c: ditto.
13328         * objects/SADT/annotation.c: ditto.
13329         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
13330         
13331         * lib/properties.[ch]: two more non-visible types
13332         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
13334         * lib/neworthconn.[ch]:
13335         * lib/orthconn.[ch]: added support for manipulation through
13336         standard properties.
13338         * configure.in: removed -fomit-frame-pointer, this seems to
13339         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
13340         bugzilla.
13342         * charconv.[ch]: more functions from unicode.h.
13343         get_local_charset() wasn't working properly, fixed now.
13344         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
13345         ElectricFence !)
13346         
13347         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
13348         * lib/lazyprops.[ch]: put a big fat warning in.
13350         * app/render_eps.c: one line mysteriously went away, causing a
13351         variable to be used uninitialised....
13353 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
13355         * app/app_procs.c: commented out the call to
13356         bind_textdomain_codeset(): it's premature.
13357         
13358         * lib/connpoint_line.c: a NULL point can be given to
13359         connpointline_adjust_count(), in case there's not really a clicked
13360         point.
13362         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
13363         #include order troubles. #included by lib/text.h, so there is no 
13364         impact outside lib/.
13365         * lib/properties.[ch]: added support for CONNPOINT_LINE and
13366         (nonvisible) TEXT properties.
13368         * objects/GRAFCET/action.c:
13369         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
13370         properties.
13371         
13372         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
13373         standard properties code). Grafted a dynamic number of connection
13374         points (heavily inspired from what Vergent does). This is the real
13375         fix for #55863.
13377         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
13379         * lib/fonts.c: some hardening (mostly g_assert())
13380 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
13382         * app/app_procs.c (app_init): added a call to
13383         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
13384         (UNICODE_WORK_IN_PROGRESS).
13385         
13386 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
13388         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
13390         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
13391         (fixes #55863) : some clean-ups in the handling of connection
13392         points. Now the total number of connection points is just a
13393         #define (the proper solution is to retrofit the GRAFCET Vergent's
13394         dynamic behaviour wrt connection points).
13395         
13396 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
13398         * app/app_procs.c (app_init): added a call to unicode_init() (only
13399         if HAVE_UNICODE, of course).
13401         * lib/charconv.c: simplified the code which detects the local
13402         charset. No need to use <langinfo.h>, libunicode already takes the
13403         burden of figuring that out. Also, if local charset is utf8, no
13404         conversion will take place.
13405         Exposed a way to get the current charset (similar to
13406         unicode_get_charset() but actually working, hopefully).
13408         * lib/charconv.h: Added a partial non-UTF8 implementation of
13409         unicode.h if !HAVE_UNICODE (actually, all the time for the
13410         moment). The UTF8 implementation is just macros on libunicode (use
13411         the functions prefixed by uni_, as defined by charconv.h, not
13412         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
13413         From now on, all strings which don't *need* to be ASCII should be
13414         utfchar *, not gchar *. Just include charconv.h, let it sort out
13415         the details (such as: "is libunicode available and enabled?") 
13417         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
13418         "API" instead of directly libunicode. Removed the now unnecessary
13419         speculative clustering of characters in encoding pages.
13421         * app/render_eps.c: made the local8->utf8 conversions dependent of
13422         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
13423         boundary will be when this WIP is done).
13425         * lib/dia_xml.c (data_point): fixed a format string typo.
13427         * po/POTFILES.in: added all C files from lib/ 
13428         
13429 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
13431         * app/disp_callbacks.c: make sure the objects' connected objects
13432         are updated when the objects' size changes after a keypress event
13433         (fixes #51222)
13435         * configure.in: added a big warning about the possible future
13436         non-optionality of --enable-unicode. 
13438         * TODO: removed entries which look like done ; added a few ones
13439         (Bugzilla "enhancement" bugs may be a better way to keep track of
13440         this)
13441         
13442 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
13444         * objects/UML/message.c: got rid of #55564 and of message_copy()
13445         by using more standard properties (are the message_state_*()
13446         functions still necessary ?)
13448 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
13450         * lib/plug-ins.c: 
13451         * objecs/custom/shape_info.c:
13452         * plug-ins/shape/shape-export.c:
13453         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
13454         use xmlChar instead of obsolete CHAR.
13456 2001-06-03  Hans Breuer  <hans@breuer.org>
13458         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
13459         * app/commands.c : give the right number of parameters
13460         to diagram_update_menu_sensitivity ()
13462         * app/preferences.c : do proper initialization for DiaPrefsData:
13463         render_bounding_boxes. It would be a real surprise if 'hidden'
13464         properties would have ever worked before.
13465         Don't try to access the widgets of hidden property, it does not
13466         have one.
13468         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
13469         it is defined in libdia, but initialized from dia app, which 
13470         otherwise gave nice start-up crashes.
13472         * lib/diagramdata.c : initialize the color for rendering bounding 
13473         boxes in the Dia range (0 .. 1.0)
13475         * lib/libdia.def : added *_bbox functions for export
13477         * lib/makefile.msc : added new sources
13479         * objects/custom/custom_object.c : use HAVE_UNISTD_H
13481 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
13483         * app/interface.c:
13484         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
13485         removes a translation of menus (in a place where there shouldn't
13486         have been), which gets rid of a waterfall of warnings if LANG!=C,
13487         and a fix to #55047.
13489 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
13491         * lib/charconv.c : added #include <errno.h>
13493         * app/dia_embedd.c : updated menus_get_item_from_path usage
13494         
13495 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
13497         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
13498         Added a special case for Symbol strings, so that they're not
13499         re-encoded using the LN encoding (we use the bare Adobe encoding
13500         instead).
13502         * objects/custom/custom_object.c: Now that #52912 is fixed,
13503         I could remove the ugly hack I wrote to squash the shape bounding box
13504         problem shown by Ben A. Hetland a few months ago, and fix it
13505         properly this time.
13506         
13507         * lib/text.c: enlarged a little the bounding box to account for
13508         the cursor in rightmost position.
13509         
13510         * lib/diagramdata.c: draw bounding boxes only if the relevant
13511         variable is set (as before), but also only if the rendere is
13512         interactive (ie, don't bother rendering bounding boxes on 
13513         Postscript...)
13514         Made the bounding box's line width a fixed value, 0.01
13515         
13516         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
13517         and assymmetric control beziers. Implemented ellipse_bbox().
13518         
13519         * Makefile.am: incantations to get po/dia.pot build, as suggested
13520         by Hubert in #55075.
13521         
13522         * shapes/network/computer.shape: typo fixed.
13523         * shapes/network/antenna.shape: fixed #55074 (antenna is now
13524         properly translucent, except for its base where it makes sense. It
13525         doesn't look that ugly anymore if transparent mode is on).
13527         * configure.in: --enable-unicode is now the default. This
13528         still currently affects only printing.
13529         
13530 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13532         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
13533         The overshoot code is buggy, and the bounding boxes for polyshapes
13534         looks a bit cheezy. To be done ASAP.
13536 2001-05-26  James Henstridge  <james@daa.com.au>
13538         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
13539         This should clear up some of the build problems people have been
13540         having.
13542         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
13544 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13546         * lib/Makefile.am:
13547         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
13548         box code (beginning with lines, polylines and polybeziers), into a
13549         more generic facility. While at it, a better shot at correctly
13550         computing the bounding box of a Bezieroid (should take care of
13551         #53424, #51233 and of course is part 1 of #52912).
13553         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
13554         into a hidden preference (set render_bounding_boxes in diarc).
13555         * app/preferences.[ch]: Added support for hidden preferences.
13557         * lib/geometry.[ch]: sprinkled with "const" modifiers.
13558         
13559         * lib/bezier_conn.[ch]:
13560         * lib/beziershape.[ch]:
13561         * lib/connection.[ch]:
13562         * lib/element.[ch]:
13563         * lib/poly_conn.[ch]:
13564         * lib/orth_conn.[ch]:
13565         * lib/neworth_conn.[ch]:
13566         * lib/polyshape.[ch]: adapted to take advantage of
13567         boundingbox.[ch] instead of relying on private (duplicate) code.
13569         * object/FS/flow.c:
13570         * object/GRAFCET/action.c:
13571         * objects/GRAFCET/condition.c:
13572         * objects/GRAFCET/vergent.c:
13573         * objects/GRAFCET/vector.c:
13574         * objects/SADT/annotation.c:
13575         * objects/SADT/arrow.c:
13576         * objects/ER/participation.c:
13577         * objects/UML/constraint.c:
13578         * objects/UML/implements.c:
13579         * objects/UML/lifeline.c:
13580         * objects/UML/message.c:
13581         * objects/UML/realizes.c:
13582         * objects/UML/generalization.c:
13583         * objects/UML/association.c:
13584         * objects/UML/dependency.c:
13585         * objects/FS/flow-ortho.c:
13586         * objects/network/bus.c:
13587         * objects/standard/arc.c:
13588         * objects/standard/bezier.c:
13589         * objects/standard/beziergon.c:
13590         * objects/standard/line.c:
13591         * objects/standard/polygon.c:
13592         * objects/standard/zigzagline.c:
13593         
13594         * objects/standard/polyline.c: Some *BBExtras structures changed
13595         names while moving to boundingbox.[ch]. A trivial mass-renaming.
13596         
13597 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
13599         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
13600         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
13602         * app/display.c (ddisplay_update_scrollbars): from Patrick's
13603         suggestion, remove the extra scrollable area (it was only visible
13604         to the scrollbars). This is experimental.
13605         
13606         * objects/custom/custom_object.c: If a shape's icon file doesn't 
13607         exist, warn and substitute a default icon, instead of crashing.
13608         (fixes #52913)
13609         
13610         * objects/network/network.c:
13611         * shapes/network/modularswitch.(shape|xpm) (NEW):
13612         * shapes/network/printer.(shape|xpm) (NEW):
13613         * shapes/network/genmonitor.(shape|xpm) (NEW):
13614         * shapes/network/computer.(shape|xpm) (NEW):
13615         * shapes/network/Makefile.am: four less objects, four more shapes.
13616         These were the last known RenderObjects. (phew !)
13618         * lib/Makefile.am:
13619         * lib/dummy_dep.h:
13620         * objects/sybase/Makefile.am: 
13621         * objects/network/Makefile.am: Removed the older Renderobjects
13622         from the build, and their infrastructure (not yet deleted,
13623         though).
13625         * shapes/network/sceadplug.shape:
13626         * shapes/network/antenna.shape:
13627         * shapes/network/modem.shape:
13628         * shapes/network/hub.shape:
13629         * shapes/network/rj45plug.shape:
13630         * shapes/sybase/client.shape:
13631         * shapes/sybase/dataserver.shape:
13632         * shapes/sybase/ltm.shape:
13633         * shapes/sybase/repserver.shape:
13634         * shapes/sybase/rsm.shape:
13635         * shapes/sybase/stableq.shape: Minor corrections (line widths were
13636         ten times too narrow).
13637         
13638 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
13640         * objects/network/network.c:
13641         * shapes/network/sceadplug.(shape|xpm) (NEW):
13642         * shapes/network/antenna.(shape|xpm) (NEW):
13643         * shapes/network/modem.(shape|xpm) (NEW):
13644         * shapes/network/Makefile.am: four less objects, four more shapes.
13645         
13646         * lib/Makefile.am:
13647         * lib/diagramdata.c:
13648         * lib/render.h:
13649         * lib/string_prerenderer.[ch] (NEW):
13650         Add a new renderer primitive, predraw_string() (does nothing, to be
13651         used as a hook to optimise the character encodings if needed). 
13652         Added a string pre-renderer, which can be viewed as a filter
13653         renderer (to route draw_string() to predraw_string() and ignore
13654         the rest, in a first rendering pass)
13655         
13656         * app/render_eps.c: Took advantage of the above to make wholly
13657         optimised Postscript encoding page(s), even (especially) with 
13658         non-latin1 code (HAVE_UNICODE must be true).
13660         (#53512 in fact is wholly resolved).
13661         
13662 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
13664         * lib/charconv.c: steps towards resolution of #53512 (inspired by
13665         Alexey Novodvorsky <aen@logic.ru>'s patch).
13667         * app/menus.c (dia_menu_signal_proxy): checked that the signal
13668         handler is not NULL before transferring control to it... (fixes #52836)
13670         * app/app_procs.c (app_init): removed non-constant initialiser
13671         (fixes #52950)
13673         * objects/custom/custom_object.c:
13674         * objects/custom/shape_info.[ch]:
13675         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
13676         <skh@mathstar.com>. This add support for a <svg:text> shape
13677         element, and some related style properties (font, font height, 
13678         alignment)
13680         * doc/custom_shapes: a precision about the meaning of case in a
13681         SVG path (closes #52364)
13683         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
13684         fixed by <drk@sgi.com>)
13685         
13686 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
13688         * objects/network/network.c:
13689         * shapes/network/Makefile.am:
13690         * shapes/network/hub.(shape|xpm) (NEW):
13691         * shapes/network/flash.(shape|xpm) (NEW):
13692         * shapes/network/rj45plug.(shape|xpm) (NEW):
13693         More shapes, less renderobjects.
13695 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
13696         
13697         * plug-ins/svg/render_svg.c: typo made exported ellipses
13698         corrupted (zero Y pseudo-radius).
13700         * objects/network/network.c:
13701         * objects/network/disc.c:
13702         * shapes/network/disc.(shape|xpm): Converted the first
13703         Renderobject into a shape. Normally, old diagrams should reload
13704         without problems (please check this against your diagrams). More
13705         flexibility should be gained that way. I intend to hunt and
13706         eradicate all renderobjects as I can commit cycles to that. 
13708         * objects/Makefile.am:
13709         * configure.in:
13710         * app/Makefile.am:
13711         * objects/sybase/sybase.c:
13712         * shapes/sybase/Makefile.am(NEW):
13713         * shapes/sybase/client.(xpm|shape) (NEW):
13714         * shapes/sybase/dataserver.(xpm|shape) (NEW):
13715         * shapes/sybase/ltm.(xpm|shape) (NEW):
13716         * shapes/sybase/repserver.(xpm|shape) (NEW):
13717         * shapes/sybase/rsm.(xpm|shape) (NEW):
13718         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
13719         renderobjects into shapes. The Sybase objects are now not compiled
13720         anymore, and ready to be nuked if nobody objects in the next few weeks.
13721         
13722         * app/commands.c:
13723         * app/diagram.[ch]:
13724         * app/disp_callbacks.c:
13725         * app/display.[ch]:
13726         * app/interface.[ch]:
13727         * app/menus.[ch]:
13728         * app/modify_tool.c:
13729         * app/preferences.[ch]:
13730         * app/recent_files.c:
13731         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
13732         a menu bar reflecting the popup menu, to each display window. This
13733         is optional (changing the preference currently doesn't affect
13734         already opened windows; a few other rough edges to cut).
13736         * plug-ins/wpg/wpg.c:
13737         * plug-ins/xfig/xfig-import.c:
13738         * plug-ins/python/pydia-property.c:
13739         * plug-ins/python/pydia-properties.c:
13740         * plug-ins/python/pydia-geometry.c:
13741         * plug-ins/pstricks/render_pstricks.c:
13742         * lib/arrows.c:
13743         * objects/EML/dbox.c:
13744         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
13745         #53054.
13747         * lib/ps-utf8.c: improved the clustering of alphabetic character
13748         definitions in custom encodings pages.
13749         
13750 2001-05-02  Hans Breuer  <hans@breuer.org>
13752         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
13753         of 'obj_bb' to PROP_TYPE_RECT
13755         * objects/custom/custom_object.c : take all quarks into account, 
13756         not only 4 as copy&paste suggests
13758         * objects/uml/objects.c : completed the implementation of the
13759         property api to avoid reading of totally bogus data. Removed
13760         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
13761         there was too much but too less ...
13762   
13763         The above changes removed all known crashes (mentioned below) 
13764         from the Property API. Property access is still incomplete though.
13766         * objects/flowchart/box.c :
13767         * objects/flowchart/diamond.c :
13768         * objects/flowchart/ellipse.c :
13769         * objects/flowchart/parallelogram.c :
13770         * objects/uml/classicon.c :
13771         * objects/uml/state.c : calculate number of quarks from quark array 
13772         size instead of using hardcoded values for consistence and to avoid 
13773         future bugs like the above
13774         
13775         * objects/eml/nlist.c : include <string.h> for strcmp()
13777         * lib/dia_xml.c : relax g_warning for values, which
13778         appear to be too small. There is nothing which prevents
13779         them while saving
13781         * plug-ins/python/pydia-geometry.c : changed stringifying of
13782         geometry objects accept BezPoint back to %f, which does not
13783         crash anymore, because all the data is intialized now and it
13784         simply is more readable than %e ...
13786         * plug-ins/python/python-startup.py : removed dependency
13787         to PyGtk, because it isn't required here and probably won't
13788         in i.e.: export filters.
13790         * plug-ins/python/gtkcons.py : create the gtkoutfile even
13791         if sys.stderr.fileno() isn't supported
13793         * app/makefile.msc : make version 0.88
13794         * plug-ins/makefile.msc : make version 0.88 an added new
13795         xfig files to build
13797 2001-05-11  James Henstridge  <james@daa.com.au>
13799         * NEWS: remember to add news items this time.
13801         * dia.spec: update spec file for 0.88 release.
13803         * configure.in: up version number to 0.88
13805         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
13806         preventing any of the useful python scripts from being
13807         distributed.
13809         * sheets/Makefile.am (sheet-translation-report): fix bustage I
13810         introduced in my fixups for the 0.87 release :(
13812 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13814         * plug-ins/xfig/xfig-import.c: Finally got groups working.
13816 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
13818         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
13819         group manipulation.
13821 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
13823         * lib/ps-utf8.[ch]:
13824         * lib/Makefile.am: fix makefile breakage which led to not
13825         including ps-utf8.[ch] in the released tarballs. 
13827 2001-05-09  James Henstridge  <james@daa.com.au>
13829         * Makefile.am (core-translation-report): dist scripts needed for
13830         this target, and change to $(srcdir) before running.
13832         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
13833         files aren't automatically included in the tarball by automake
13834         because they could be generated files.
13836         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
13838         * doc/en/Makefile.am (install-data-hook): fix up where graphics
13839         are installed.
13841         * configure.in: up version number to 0.87
13843         * plug-ins/python/*.py: no longer necessary to explicitly set
13844         sys.argv, as python.c does it for us now (like it should).
13846         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
13847         python plugin.
13849         * plug-ins/python/python-startup.py: startup script that imports
13850         all modules in $(datadir)/dia/python and ~/.dia/python.
13852         * plug-ins/python/python.c (dia_plugin_init): change so that it
13853         only runs the $(datadir)/dia/python-startup.py script.  Make sure
13854         that sys.argv and __main__.__file__ are set when calling the
13855         startup script.
13857         * plug-ins/python/Makefile.am: update makefile.  Make it install
13858         gtkcons.py plugin.  I haven't set any other plugins to install, as
13859         they look like they are mainly for debugging purposes.
13861         * configure.in: add tests to detect if python is available, so we
13862         can build the python plugin.  Only run if --with-python passed to
13863         configure.
13865 2001-05-08  James Henstridge  <james@daa.com.au>
13867         * acinclude.m4: add macros for detecting python.
13869         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
13870         at GNOME_APP_UI_SUBTREE entries.
13871         (menus_add_path): function to add a menu item to the menubars.
13872         Uses a hash table to keep track of extra menu items it adds.  Also
13873         notifies the item factory about the entries so that accels can be
13874         saved for them.
13875         (menus_add_path): implement gtk only version.
13876         (menus_init): use menus_add_path() to add the menu.
13877         (plugin_callback): simplify.
13879 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
13881         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
13882         
13883 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
13885         * plug-ins/xfig/xfig-export.c: 
13886         * plug-ins/xfig/xfig-common.c: 
13887         * plug-ins/xfig/xfig-import.c: 
13888         * plug-ins/xfig/xfig.c: 
13889         * plug-ins/xfig/xfig.h: 
13890         * app/Makefile.am: Added support for exporting to Fig format
13891         (except splits, which are less powerful in Fig).  Some refactoring
13892         along the way.
13894 2001-05-02  Hans Breuer  <hans@breuer.org>
13896         * plug-ins/python/debug_objects.py : added another
13897         test to get massive crashes from the Property API due
13898         to unintialized data.
13900         * app/menu.c : the callback_action wasn't incremented
13901         (should have checked my last optimization). Now more
13902         than one plug-in callback is supported again.
13904         * plug-ins/python/pydia-geometry.c : avoid crashes from
13905         glib, when trying to g_strdup_printf unintialized floats.
13907         * plug-ins/python/pydia-property.c : avoid crashes from
13908         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
13910 2001-05-01  Hans Breuer  <hans@breuer.org>
13912         * objects/makefile.msc : added eml
13913         * objects/eml/instantiation.c : initialize 'inst' pointer
13914         before using, zero initialization for objects
13915         * objects/eml/interaction-ortho.c :
13916         * objects/eml/interaction.c : zero initialization for objects
13918         * app/menus.c : removed Gimp mru stuff which slipped in at
13919         2000-08-15, was never activated and will never be needed, 
13920         because of Steffens recent file list patch added at 2001-01-05.
13922         * objects/eml/*.c : some more zero initialization of objects
13923         to avoid infinite (uninitialized) bounding boxes
13925         Implemented a callback api which allows plug-ins to register
13926         menu call backs. Dia for Gnome should compile, but will need 
13927         some extra tweaking to make it work because I can't test it.
13929         * plug-ins/python/pydia-error.h :
13930         * plug-ins/python/pydia-render.c : moved Pxthon function return 
13931         value handling from pydia-render.c to pydia-error.h, to make it
13932         usable for
13933         * plug-ins/python/diamodule.c : implement callback function
13934         registration from and relaying to Python code
13936         * app/menus.c : register and use plug-in menu callbacks
13938         * lib/filter.[hc] : implement filter_register_callback() and
13939         filter_get_callbacks() for the above
13940         * lib/libdia.def : export them
13942         * plug-ins/python/debug_objects.py (new file): 
13943         sample using the above
13945 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
13947         * plug-ins/shape/shape-export.c (new_shape_renderer): 
13948         The name of a shape is now taken from the dir, to conform with
13949         standard naming.
13951 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
13953         * app/properties.c (properties_show): Added title containing
13954         object type, plus (hopefully) fix of the ghost properties dialog.
13956 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
13958         * app/display.c: remove the display idle handler in case we
13959         destroy the ddisplay (caused crashes in ddd, probably random
13960         crashes elsewhere).
13962         * autogen.sh: 
13963         * configure.in:
13964         * Makefile.am: hack around gettext-0.10.36's new "features".
13965         
13966         * lib/properties.[ch]: added new function object_copy_props().
13967         Added new property type PROP_TYPE_ENDPOINTS
13969         * lib/connection.h: added support for load/saving through the
13970         properties interface.
13972         * lib/object.[ch]: object_load/save/copy_using_properties()
13973         support functions (code factorisations).
13974         
13975         * objects/GRAFCET/boolequation.c: check against null values in
13976         boolequation_set_value() and boolequation_destroy().
13978         * objects/GRAFCET/transition.c: Converted from lazyprops to
13979         standard properties. 31% less (x86) code !
13981         * objects/GRAFCET/condition.c: also converted from lazyprops to
13982         standard properties. Also killed lots of code.
13983         
13984 2001-04-13  Hans Breuer  <hans@breuer.org>
13986         * plug-ins/wmf/wmf.cpp : changed text conversion from
13987         g_utf8_utf16 to g_convert usage. The latter function is already
13988         available in tml's last "official" Gtk+ version (2000-12-26).
13989         This change allows to use recent Dia with either the official
13990         version or the latest cvs "gtk-1-3-win32-production"-branch.
13992 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
13994         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
13995         * app/disp_callbacks.c:
13996         - Allow submenus in DiaMenus.
13997         - Don't require DiaMenu.title to be non-null (so that
13998           submenus aren't required to have titles)
14000         * objects/FS/function.c:
14001         - object menu now has submenus, an almost complete list of
14002           standard-basis verbs, and a start on nouns.
14003         - box padding, dash length, and other visual attributes are
14004           scaled by the font size... eventually font height will be
14005           a function property.
14006         - draw functions with smaller font to make initial view hold
14007           a reasonable number of functions.
14008         
14009 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
14011         * sheets/ER.sheet:
14012         * sheets/chronogram.sheet:
14013         * sheets/jigsaw.sheet:
14014         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
14015         Wieers <dag@wieers.com>
14017 2001-04-13  Hans Breuer  <hans@breuer.org>
14019         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
14020         to ensure that all the deinitialization is only done once. Fixes
14021         recent app exit crash on win32
14023         * lib/dia_xml.c : provide isinf() replacement for msc which does only
14024         have _finite()
14026         * lib/libdia.def : updated
14028         * objects/makefile.msc : added wanlink.c 
14030         * objects/network/wanlink.c : added M_PI_2 definition for poor
14031         platforms which don't have one
14033         * objects/standard/arc.c :
14034         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
14035         initialized which led to rather huge bounding boxes (try Ctrl^A on
14036         diagrams with Arcs or ZigZagLines).
14037         * objects/*/*.c : to avoid further bugs like the above changed all
14038         object initializations to g_malloc0 or g_new0
14041 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
14043         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
14044         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
14046         * objects/UML/class.c: 
14047         * objects/UML/usecase.c:
14048         * objects/UML/large_package.c:
14049         * objects/UML/message.c:
14050         * objects/UML/object.c:
14051         * objects/UML/lifeline.c:
14052         * objects/FS/flow.c:
14053         * objects/FS/flow-ortho.c:
14054         * objects/FS/function.c:
14055         * objects/custom/custom_object.c:
14056         * objects/GRAFCET/vergent.c:
14057         * objects/chronogram/chronoref.c:
14058         * objects/SADT/box.c:
14059         * objects/SADT/annotation.c:
14060         * plug-ins/dxf/dxf-import.c:
14061         * plug-ins/xfig/xfig-import.c:
14062         * plug-ins/wpg/wpg.c:
14063         * app/command.c:
14064         * app/app_procs.c:
14065         * app/display.c: /* certainly more WIP than dead code there */
14066         Unused variables, unused static function definitions, forgotten or
14067         incomplete prototypes added or fixed, lack of const or unwanted const,
14068         etc. (mostly clean-ups of leftovers of the pre-properties era).
14069         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
14070         please check these.
14072         * app/lineprops_area.c: More of the same. Missing prototypes
14073         added, and functions unused outside made static.
14075         * app/recent_files.c:
14076         * app/properties.c:
14077         * app/defaults.c: some variables are used only when doing a GNOME
14078         build.
14079         
14080         * app/magnify.c: missing #include <stdlib.h>.
14082         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
14084         These are a lot of clean-ups (by the way, this compiles and runs
14085         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
14086         for DEAD_CODE, and if it's yours, judge it.
14087         
14088 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
14090         * plug-ins/dxf-import.c: some progress with the arcs; still some
14091         clean-ups to do and line width scaling issues to figure out.
14093         * objects/standard/arc.c: start_point and end_point properties
14094         (duplicated from standard/line.c)
14096         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
14097         code there.
14098         
14099 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
14101         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
14102         preliminary support for arcs (doesn't work). Circles and ellipses are
14103         now transparent. Coordinate and width scaling are now a common 
14104         static constant (probably before morphing into a preference).
14105         
14106         * sheet/checktrans.py: improved error reporting. Made checktrans
14107         count lack of <name xml:lang="code"> as a lack of translation for
14108         language "code" (no, it's not a plot to bring down other
14109         language's scores !)
14110         
14111         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
14112         in the header, and have <name xml:lang="fr"> components.
14113         
14114 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14116         * objects/custom/custom_object.c: temporary hack to fix the shape
14117         bounding box reported by Ben A. Hetland. Proper fix isn't .87
14118         material, see bugzilla #52912.
14120 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14122         * objects/standard/image.c (get_directory): Now uses
14123         G_SEPARATOR_CHAR_S instead of "/"
14125         * sheets/network.sheet: 
14126         * sheets/Logic.sheet:
14127         * sheets/Flowchart.sheet:
14128         * sheets/Electric.sheet:
14129         * sheets/Circuit.sheet:
14130         * sheets/ER.sheet:
14131         * sheets/Pneumatic.sheet:
14132         * sheets/SDL.sheet:
14133         * sheets/UML.sheet:
14134         * sheets/GRAFCET.sheet:
14135         * sheets/MSE.sheet:
14136         * sheets/chronogram.sheet:
14137         * sheets/civil.sheet:
14138         * sheets/network.sheet:
14139         Danish translations.
14140         
14141         * objects/standard/image.c (get_directory): Changed get_directory
14142         to use g_dirname to find the directory part.
14144 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14146         * sheets/ER.sheet:
14147         * sheets/Electric.sheet:
14148         * sheets/Flowchart.sheet:
14149         * sheets/Logic.sheet:
14150         * sheets/network.sheet: More Dutch translations from Dag Wieers.
14152 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14154         * sheets/checktrans.py: now emits a warning when two descriptions
14155         for a single language code are found.
14157         * Makefile.am:
14158         * sheets/Makefile.am: -translation-reports now also depend on their
14159         checktrans.py
14160         
14161 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14163         * sheets/Circuit.sheet:
14164         * sheets/Contact.sheet:
14165         * sheets/Logic.sheet:
14166         * sheets/chronogram.sheet:
14167         * sheets/sybase.sheet: 
14168         Dutch translations from Dag Wieers <dag@wieers.com>
14170 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14172         * po-checktrans.py: Now shows the detailed counts alongside the
14173         percentage of translations.
14174         
14175 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14177         * Makefile.am:
14178         * po-checktrans (NEW):
14179         * po-checktrans.py (NEW): builds core-translation-report:
14180         percentages of core (gettext) translations done [Not placed into
14181         po/ where that should belong, because of integration fear^Wissues
14182         with gettextize]. 
14184         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
14185         sheets/sheet-translation-report probably ought to be copied on the 
14186         user's /usr/share/doc/dia (or equivalent) directory.
14188         * sheets/Makefile.am: sheet-translation-report now a simple
14189         EXTRA_DIST; make install won't install it by default. 
14190         
14191 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14193         * app/preferences.c: changed the default grid colour to something
14194         less intrusive. 
14196         * shapes/SDL/*.shape:
14197         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
14198         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
14199         DIA FILES (well, for files using SDL), see the mailing list
14200         archive "SDL (ab)using the global shape namespace" for a script to
14201         do this conversion.
14203         * sheets/SDL.sheet: translated into French
14204         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
14205         
14206 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
14208         * lib/dia_xml.c: made data_point() more paranoid
14210         * sheets/Makefile.am:
14211         * sheets/checktrans (NEW):
14212         * sheets/checktrans.py: Made checktrans handle more gracefully the
14213         absence of python and python-xml packages, and made the error
14214         message more helpful.
14215         
14216 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
14218         * lib/render_object.c (new_render_object): Made initial handles
14219         behave like on most other objects.
14221         * app/load_save.c (read_objects): Fixed premature free'ing ofr
14222         typestr causing garbage.
14224 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
14226         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
14227         accouting for handle ordering through copy and save. (#51479)
14229 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
14231         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
14233 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
14235         * sheets/Circuit.sheet
14236         * sheets/UML.sheet
14237         * sheets/network.sheet: Updated German translations
14238         
14239 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14240         * lib/arrows.[ch]:
14241         * lib/widgets.c:
14242         * app/lineprops_area.c: The return of the revenge of the arrow
14243         heads. Now all types covered by ISO 10303-201 should be covered.
14244         
14245 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14247         * sheets/Flowchart.sheet: translations in probably Hungarian were
14248         a victim of cut-n-paste from the German one. Fixed (hopefully).
14249         * sheet/UML.sheet: translation in probably Norwegian was a victim
14250         of cut-n-paste from the French one. Fixed (hopefully).
14251         * sheets/Logic.sheet: French translation not tagged with
14252         xml:lang="fr".
14253         
14254         * sheets/checktrans.py:
14255         * sheets/Makefile.am: new file, sheet-translation-report, to be
14256         installed along the sheets, show how much of them has been
14257         translated into which language (I wish the result was prettier...)
14259         * po/README: most translators don't read this file, but anyway...
14261         * sheets/.cvsignore:
14262         * objects/network/.cvsignore: the usual negotiation with CVS.
14264 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14266         * sheets/*.sheet: French translations
14268 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
14270         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
14272         ** objects/network/network.c:
14273         ** objects/network/wanlink.c:
14274         ** objects/network/pixmaps/wanlink.c:
14275         ** sheets/network.sheet:
14276         ** objects/network/Makefile.am: a better object to use instead of
14277         the older WAN Connection.
14278         
14279         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
14281         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
14282         name clash 
14284         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
14285         Arc; kept the C file name (because CVS wouldn't like it), and
14286         still registering the older object name (but advertising the newer
14287         one in sheets/GRAFCET.sheet).   
14289 2001-03-24  Hans Breuer  <hans@breuer.org>
14291         * app/dia.def : some plug-ins (currently only python, xfig) are using 
14292         functions from the dia executable. To get them working these functions 
14293         need to be explicit exported on win32. IMO the much cleaner way would
14294         be to move these functions to libdia, but that would require some
14295         long term restructuring ...
14297         * lib/libdia.def : updated
14299         * plug-ins/makefile.msc : build xfig plug-in
14301 2001-03-24  Hans Breuer  <hans@breuer.org>
14303         * app/diagram.c : g_strdup (dia->filename) because it will be
14304         g_free ()d
14306         * app/display.c : set ddisp->renderer to NULL after destruction.
14307         This may solve or help to identify erroneous access to it after
14308         destruction.
14310         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
14311         get 'umlauts' working
14313 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
14315         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
14316         were reversed... (look for the patch, and drink a beer to my
14317         stupidity)      
14318         
14319 2001-03-23  Hans Breuer  <hans@breuer.org>
14321         * app/app_procs.c : don't g_error () if the config directory
14322         can't be created (at least not on windoze) because it's quite
14323         common that the user don't read or understand the FAQ ...
14325         * app/cursor.c : use ddisplay_active () instead of active_display
14326         from app/display.c
14328         * app/display.[hc] : made active_display var static and provide
14329         an accessor funtion ddisplay_active_diagram ()
14331         * app/dia-props.c : don't store the active_diagram, but ask
14332         for it everytime it needed.
14334         * lib/properties.h : #include "intl.h"
14336         * lib/makefile.msc : need to take care of inclusion order to
14337         avoid clashes with gtk+2.0's gdk-pixbuf
14339         * objects/makefile.msc : added uml/stereotype.c to build
14341 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14343         * **/*.c: Added config.h to the remaining .c files, and changed
14344         all to be <config.h>.
14346 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
14348         * lib/arrows.c
14349         * lib/arrows.h
14350         * lib/widgets.c
14351         * app/lineprops_area.c: added new arrow types with double
14352         heads
14353         
14354 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
14356         * shapes/Civil/civil_gas_bottle.xpm
14357         * shapes/Civil/civil_gas_bottle.shape
14358         * sheets/civil.sheet
14359         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
14360         Battermann
14361         
14362 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14364         * objects/custom/shape_info.c (load_shape_info): 
14365         * objects/custom/shape_info.h: 
14366         * objects/custom/custom_object.c (custom_update_data): 
14367         Better support for text outside the box -- new attributes 'resize'
14368         and 'align' for text entity.  Align not fully supported yet.
14370         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
14372 2001-03-20  James Henstridge  <james@daa.com.au>
14374         * app/interface.c (display_data_received_callback): comment out
14375         status message.
14377 2001-03-19  James Henstridge  <james@daa.com.au>
14379         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
14381         * objects/UML/realizes.c: similar here.
14383         * objects/UML/implements.c: similar here.
14385         * objects/UML/component.c: similar here.
14387         * objects/UML/generalization.c: same here.
14389         * objects/UML/dependency.c: allow NULL for ->name and
14390         ->stereotype.  This fixes a number of problems in loading saved
14391         files.
14393         * lib/properties.c: various changes so that NULL string properties
14394         should work.
14396         * objects/standard/line.c (line_update_data):
14397         line->extra.start_long and line->extra.end_long were not being
14398         initialised.  This fixes potential problems with the bounding box
14399         of "Standard - Line" objects.
14401 2001-03-19  Hans Breuer  <hans@breuer.org>
14403         * app/commands.c : added win32 specific code to display a html
14404         file. #include "text.h" for text_delete_all prototype.
14406         * app/dia.ico :
14407         * app/dia.rc : (new) to give Dia win32 an icon
14409         * app/win32print.[ch] : new files to support direct postscript
14410         file printing on win32. Beware: it *requires* a ps-printer!
14412         * app/paginate_psprint.c : disable the signal code for win32 build
14413         and added small specific changes to support win32print.
14415         * app/makefile.msc : added win32print and linking shell32.lib
14417         * lib/libdia.def : updated
14419 2001-03-18  Kevin Breit <battery841@mediaone.net>
14421         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
14422           Help tabs.
14424 2001-03-17  James Henstridge  <james@daa.com.au>
14426         * app/paginate_psprint.c (diagram_print_ps): add code that traps
14427         SIGPIPEs during printing.  This gets rid of a number of crashes
14428         caused by printing (eg. typing an incorrect print command).
14430         * dia.spec (%install): gzip the manpage.
14432         * lib/beziershape.c (beziershape_save): fix off by one error in
14433         beziershape save code, which was adding an extra segment to the
14434         object on save.
14436         * app/menus.c: add a separator in the gnome version of the help
14437         menu.
14439         * app/app_procs.c (app_init): add a --nosplash argument which
14440         disables the splash screen.
14442         * app/dia_embedd.c (main): don't leave the splash screen open for
14443         embeddable component.
14445         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
14446         didn't seem to be showing the splash screen like expected, so I
14447         have replaced it with some code that calls gtk_main() until the
14448         first exposure of the window.
14450 2001-03-16  James Henstridge  <james@daa.com.au>
14452         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
14454         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
14455         stereotype.h
14457         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
14459         * app/Makefile.am (dia_core_files): remove splash.h from file
14460         list, as it doesn't exist.
14462         * doc/en/Makefile.am (uninstall-local): remove the docdir on
14463         uninstall.
14465         * doc/Makefile.am (uninstall-local): target to remove the C
14466         symlink.
14468         * dia.spec (%files): include the documentation in the package.
14470         * app/menus.c (toolbox_menu_items): add menu item for manual,
14471         which calls help_manual_callback.
14473         * app/commands.c (help_manual_callback): find help file and load
14474         netscape to view it.
14476         * app/commands.h: add prototype for help_manual_callback()
14478         * doc/Makefile.am (helpdir): similar here.
14480         * doc/en/Makefile.am (helpdir): make the helpdir
14481         $(pkgdatadir)/help/en in the non gnome case.
14483         * configure.in (HAVE_GNOME): add conditional.
14485         * doc/en/Makefile.am: handle the graphics in a more general way,
14486         so it is easier for Kevin to add them to the build (just add them
14487         to the GRAPHICS var).
14489         * app/Makefile.am (embed_extra_print_files): make the case of
14490         building without gnome-print support but with bonobo support work.
14491         dia-embedd needs to be include the gnome-print
14493 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14495         * samples/Makefile.am: included all samples in the distribution....
14496         
14497 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14499         * configure.in: removed premature test for DPS. Added -*- m4 -*-
14500         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
14501         vanished, removed it from ALL_LINGUAS.
14503         * lib/charconv.[ch] (NEW): a very small wrapper around
14504         unicode_iconv to convert strings between utf8 and local charset
14505         (actually, ISO-8859-1, though one can do
14506         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
14508         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
14509         library to help build Postscript streams which use as many custom
14510         font encodings as necessary to correctly represent all characters
14511         used (testing from users with non-latin1 and/or more than 256
14512         characters in routine use *very* welcome).
14514         * app/Makefile.am, lib/Makefile.am: integrated these into the
14515         build process.
14517         * shapes/Logic/.cvsignore (NEW): .cvsignore
14518         
14519         * app/render_eps.h: forwarded some changes Lars forgot to include.
14520         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
14521         doesn't yet build.
14523 2001-03-08  Kevin Breit <battery841@mediaone.net>
14525         * doc/en/home_network.png: Added file.
14526         * doc/en/line_props.png: Added file.
14527         * doc/en/usage-objects.sgml: Added two graphics to file.
14528         * doc/en/usage-quickstart.sgml: Added one graphic to file.
14530 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
14532         * app/grid.h: Place comment around text after #endif.
14533         * lib/bezier_conn.c: #include <string.h>.
14534         * lib/beziershape.c: #include <string.h>.
14535         * lib/connpoint_line.h: Comment after #endif.
14536         * lib/dia_dirs.c: #include <string.h>.
14537         * lib/element.c: Same.
14538         * lib/lazyprops.c: #include <config.h> and "intl.h".
14539         * lib/lazyprops.h: Comment out text after #endif.
14540         * lib/neworth_conn.c: #include <string.h>
14541         * lib/orth_conn.c: Same here.
14542         * lib/poly_conn.c: Here too.
14543         * lib/polyshape.c: And here.
14544         * lib/properties.c: Remove #include "intl.h" from here and add
14545         an array of static strings to work around bug in gettext that
14546         makes it miss strings in a #define body.
14547         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
14548         * objects/GRAFCET/boolequation.h: Same here.
14549         * objects/chronogram/chronoline_event.h: Add prototype for
14550         destroy_cle().
14551         
14552 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14554         * objects/FS/function.c: 
14555         * objects/FS/flow.c: 
14556         * objects/FS/flow-ortho.c: 
14557         Updated to use properties.
14559 2001-03-03  James Henstridge  <james@daa.com.au>
14561         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
14562         button labels when creating them.
14564 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14566         * objects/UML/actor.c
14567         * objects/UML/realizes.c 
14568         * objects/UML/implements.c 
14569         * objects/UML/generalization.c 
14570         * objects/UML/dependency.c 
14571         * objects/UML/constraint.c
14572         Updated to use properties.
14573         
14574         * objects/UML/stereotype.c 
14575         * objects/UML/stereotype.h
14576         Generalized to any kind of bracketting.
14577         
14578 2001-02-28  James Henstridge  <james@daa.com.au>
14580         * app/menus.c: add help entry to the help menu.  Need to get this
14581         working for the non GNOME case as well (maybe put help under
14582         $(datadir)/dia/help for non GNOME?)
14584         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
14586         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
14587         this element so that we get a meaningful filename in the html
14588         translation.
14590         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
14591         documentation.
14593         * configure.in (DB2HTML): add a check for the db2html program, and
14594         set an automake conditional if it is found.
14596         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
14597         and descend into doc/ directory while building.
14599         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
14600         we need more complex rules for building the docs.
14602 2001-02-25  Hans Breuer  <hans@breuer.org>
14604         * config.h.win32 : some cleanup
14606         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
14607         are deprecated since glib-1.3.2. Sorry needing to use them
14608         contionally, but there is no glib-1.2 for win32
14610         * app/recent_files.c : use g_strescape (params) conditionally
14612         * lib/connection.c : include string.h for memcpy
14614         * lib/geometry.h : added some stuff for compatibility with
14615         msvc, which previously came from included config.h
14617         * lib/libdia.def : updated
14619         * objects/makefile.msc : updated
14621         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
14622         'extra' used without having been initialized
14624         * objects/network/bus.c(658) : initialize 'extra'
14626         * plug-ins/makefile.msc : updated
14628         * plug-ins/cgm/cgm.c :
14629         * plug-ins/pstricks/render_pstricks.c : 
14630         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
14631         huge memory leaks.
14633         * plug-ins/python/python.c : use HAVE_DIRENT_H
14635 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14637         * lib/connection.c (connection_update_boundingbox): 
14638         Made the BB shrink on right and lower sides, too.
14640 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
14642         * */*.c: #incude <config.h> at the top.
14643         * */*.h: Remove include of "config.h" since it should only
14644         be included in .c files and at the very top for things to
14645         work.
14646         * sheets/*.sheet: Updated Norwegian translations.
14647         
14648 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14650         * objects/UML/small_package.c: 
14651         * objects/UML/class.c: 
14652         * objects/UML/node.c: 
14653         * objects/UML/usecase.c:
14654         * objects/UML/lifeline.c: 
14655         * objects/UML/message.c:
14656         Various cleanup of properties in particular.  Now much more use of
14657         standard properties.
14659         * lib/diagramdata.c (layer_render): Visualization of bounding
14660         boxes, for debugging purpoises.
14662 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
14664         * lib/geometry.h:
14665         * lib/connection.[ch]:
14666         * lib/poly_conn.[ch]:
14667         * lib/polyshape.[ch]:
14668         * lib/bezier_conn.[ch]:
14669         * lib/beziershape.[ch]:
14670         * lib/orth_conn.[ch]:
14671         * lib/neworth_conn.[ch]:
14672         * lib/element.[ch]: Changed a bit the _update_boundingbox()
14673         interface. Now the parent elements have an extra_spacing
14674         structure, which child objects just need to fill, to take care of
14675         most arrow & line width extra space needs.
14677         * objects/**/*.c: updated all objects to the new interface.
14678         While at it, killed all instances of (Object *) downcasts (phew !)
14680         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
14681         doesn't speak about.
14682         
14683 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14685         * sheets/Logic.sheet: New sheet for Logic symbols.
14687 2001-02-21  James Henstridge  <james@daa.com.au>
14689         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
14690         widget by its path name.  Walks the GnomeUIInfo heirachy rather
14691         than widget tree, compares untranslated label names and ignores
14692         underscores in the labels.
14693         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
14694         lookups are not dependent on the current locale, as with
14695         gnome_app_find_menu_pos.
14697         * acconfig.h: guard against multiple inclusion of config.h.
14699         * app/select.c (select_style_callback): simply set the selection
14700         style to the value of action.
14702         * app/menus.c (menus_init): simplify the item factory based menu
14703         code a bit.  It looks like it was using some code cut and pasted
14704         from the gimp, which looked a bit unnecessary.  Things work fine
14705         without it.
14706         (selectmenu): set the action to the type of selection mode
14707         requested.
14708         (display_menu_items): use the symbolic enumeration values for the
14709         action field.
14711         * app/plugin-manager.c: 
14712         * app/plugin-manager.h: 
14713         * app/filedlg.c:
14714         * app/filedlg.h: 
14715         * app/select.c:
14716         * app/select.h: change prototypes.
14718         * app/commands.c: update all callback prototypes, and get rid of
14719         some #ifdef GNOME's.
14721         * app/commands.h: change function prototypes.
14723         * app/dia_embedd.c (save_fn):
14724         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
14726         * app/menus.c (menus_init): for gnome menus, use
14727         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
14728         structure that proxies the callbacks to have the same signature as
14729         GtkItemFactory type 1 callbacks.
14730         (menus_init): for GTK menus, change from callback type 2 to type
14731         1.
14732         (display_menu_items): add back tearoffs.  I don't know who removed
14733         these for the gtk menu case.
14735 2001-02-20  Kevin Breit <battery841@mediaone.net>
14737         * doc/en/usage-objects-special.sgml: Fixed a few of the special
14738         object descriptions.  More to come in the next few days.
14740 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14742         * app/render_eps.c: Fixed for internationalized floating point
14743         output. 
14745         * objects/UML/note.c: Fixed properties -- was missing
14746         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
14747         position. 
14749 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
14751         * plug-ins/xfig/xfig-import.c: 
14752         File added importing xfig files.  Still very rough, but good
14753         enough to let others hack on it.
14755 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
14757         * app/interface.c:
14758         * app/linewidth_area.c:
14759         * lib/lazyprops.c:
14760         * lib/properties.c:
14761         * lib/widgets.c:
14762         * objects/ER/attribute.c:
14763         * objects/ER/entity.c:
14764         * objects/ER/relationship.c:
14765         * objects/custom/custom_object.c:
14766         * objects/flowchart/box.c:
14767         * objects/flowchart/diamond.c:
14768         * objects/flowchart/ellipse.c:
14769         * objects/flowchart/parallelogram.c:
14770         * objects/standard/box.c:
14771         * objects/standard/textobj.c: per Vlad Harchev's request, made
14772         page sizes of gtk_adjustments different than their step sizes.
14773         When sensible values of page size weren't found (overwhelming
14774         majority of cases), page sizes were set to 10.0 * respective step
14775         size.   
14777 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
14779         * objects/network/hub.c: 
14780         Patch from Hubert Figuiere applied, adding connection points.
14782 2001-02-02  James Henstridge  <james@daa.com.au>
14784         * app/display.c (new_display): set update id to 0 here.
14785         (ddisplay_update_handler): rename from ddisplay_flush, and set
14786         update_id to 0 at end of processing.
14787         (ddisplay_flush): new implementation that simply sets an idle
14788         handler to perform the actual drawing.
14790         * app/display.h: add structure member to hold the redraw idle
14791         handler id.
14793 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
14795         * objects/standard/ellipse.c (ellipse_copy): 
14796         * objects/standard/zigzagline.c (zigzagline_copy): 
14797         Fix of copying provided by Martin Hawlisch.
14799 2001-01-23  Kevin Breit <battery841@mediaone.net>
14801         * doc/en/graphics/: added directory
14803         * doc/en/graphics/greendots.png: added file
14805         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
14806         release.
14808 2001-01-23  Kevin Breit <battery841@mediaone.net>
14810         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
14811                         thanks to John Fleck!
14813 2001-01-21  Kevin Breit <battery841@mediaone.net>
14815         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
14817 2001-01-12  Michael Meeks  <michael@helixcode.com>
14819         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
14820         so our POA gets setup properly.
14822         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
14823         things we g_malloc.
14825         * configure.in: Use bonobox_print.
14827         * app/dia_embedd.c (embeddable_factory): add print interface.
14828         (object_print): impl.
14830 2001-01-11  Michael Meeks  <michael@helixcode.com>
14832         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
14833         (load_fn, save_fn): impl.
14834         (view_factory): hide modified status bar, & use activate fn.
14835         (refresh_view): force redraws of the views.
14836         (view_show_hide): split from
14837         (dia_view_activate): here.
14839         * app/diagram.c (diagram_load_into): split from diagram_load.
14840         (new_diagram): simplify bu splittin stuff into
14841         (diagram_init): here.
14843 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
14845         * shapes/jigsaw/*.shape: replaced #000000 with foreground
14846         and #ffffff with background
14847         
14848 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
14850         *configure.in: GTK+-build was broken due to missing
14851         have_bonobo=no
14852         
14853 2001-01-06  Michael Meeks  <michael@helixcode.com>
14855         * app/dia_embedd.c (main): add running context support.
14856         (dia_embeddable_destroy): remove old running object counting.
14857         (embeddable_factory): ditto.
14858         (view_factory): comment out menu path hiding.
14860         * lib/sheet.c (load_register_sheet): use free to free
14861         stuff from libxml not g_free.
14863         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
14865         * configure.in: remove USE_OAF checks, check for a precice
14866         Bonobo version >= 0.31, revamp bits.
14868         * app/dia_embedd.c (init_server_factory): upd.
14869         (init_dia_factory): remove OAF conditionals, everything uses
14870         oaf now.
14872         * app/GNOME_Dia.oafinfo: rename OAFIIDs
14874         * app/Makefile.am: remove ancient gnorba code.
14875         rename dia.oafinfo to GNOME_Dia.oafinfo
14877 2001-01-07  Hans Breuer <Hans@Breuer.Org>
14879         * config.h.win32
14880         * install.win32
14881         * readme.win32 : some more files required or useful to build 
14882         Dia on win32
14884         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
14885         fill_bezier implementation, boundary drawing in fill mode, etc.
14886         Next one complaining gets the source, uncommented ...
14888         * shapes/network/router-symbol.xpm 
14889         * shapes/network/switch-atm-symbol.xpm 
14890         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
14891         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
14892         the files as XPMs. Maybe the X versions of these functions are more
14893         tolerant ...
14895 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
14897         * plug-ins/python/Makefile.am: added libart path
14899         * plug-ins/python/python.c: added dirent.h
14901         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
14902         
14903 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14905         * objects/uml/actor.c
14906         * objects/uml/branch.c
14907         * objects/uml/class.c
14908         * objects/uml/classicon.c
14909         * objects/uml/component.c
14910         * objects/uml/large_package.c
14911         * objects/uml/node.c
14912         * objects/uml/note.c
14913         * objects/uml/object.c
14914         * objects/uml/small_package.c
14915         * objects/uml/state.c
14916         * objects/uml/usecase.c : started to implement the generic property
14917         interface for the uml objects. Would appreciate some help on how
14918         to implement properties which are list of properties themselves,
14919         e.g. member functions and their parameters of UMLClass.
14921 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14923         * plug-ins/python/diamodule.c : finally ported to win32.
14924         Added new objects and implemented register_export function.
14926         * plug-ins/python/pydia-object.h
14927         * plug-ins/python/pydia-display.c
14928         * plug-ins/python/pydia-handle.c
14929         PyObject_HEAD_INIT needs some tweakink on win32. Done in
14930         pydia-object.h; others files simply using it.
14932         * plug-ins/python/pydia-layer.c : reflect 
14933         layer_find_closest_connection(_)point renaming
14935         * plug-ins/python/pydia-object.c : add property properties.
14936         Also change bounding_box to DiaRectangle.
14938         * plug-ins/python/python.c : extended error reporting; use
14939         all *.py files from Dia's plug-in dir instead of hardcoded
14940         test.py. This sollution should be fine with Win32, but on
14941         Unix it may need some tweaking (dunno) ...
14943         * plug-ins/python/export-object.py
14944         * plug-ins/python/export-render.py : test and documentation 
14945         implementations for export filter implementations in Python
14947         * plug-ins/python/pydia-color.[hc]
14948         * plug-ins/python/pydia-diagramdata.[hc]
14949         * plug-ins/python/pydia-error.[hc]
14950         * plug-ins/python/pydia-export.[hc]
14951         * plug-ins/python/pydia-font.[hc]
14952         * plug-ins/python/pydia-geometry.[hc]
14953         * plug-ins/python/pydia-image.[hc]
14954         * plug-ins/python/pydia-properties.[hc]
14955         * plug-ins/python/pydia-property.c
14956         * plug-ins/python/pydia-render.c : new objects in new files 
14958         * plug-ins/python/makefile.am : added new files but can't test it
14960         * plug-ins/python/pydia.def
14961         * plug-ins/python/makefile.msc : for win32 build
14963         * plug-ins/cgm/cgm.c
14964         * plug-ins/dxf/dxf-import.c
14965         * plug-ins/dxf/dxf-export.c
14966         * plug-ins/hpgl/hpgl.c : reflect export API change
14968         * plug-ins/shape/shape-export.c : reflect export API change
14969         and check for libart (better the availibility of a png exporter) 
14970         at run-time instead of compile-time. 
14972 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
14974         * app/recent_files.h was missing from Hans's commit
14976         * plug-ins/shape/shape_export.c: shape export was broken
14977         due to interface changes
14978         
14979 2001-01-05  Hans Breuer <Hans@Breuer.Org>
14981         Applied Steffen's recent file list patch :
14982         * app/Makefile.am : added recent_files.[hc]
14983         * app/diagram.c : add files to recent file list
14984         * app/menus.c : add recent file menu
14985         * app/app_procs.c : changed initialization order to
14986         make recent file list work with command line processing.
14988         The Filter export()/import() functions have got an additional 
14989         parameter to allow multiple filters via one C callback (required
14990         for Python bindings)
14992         * app/commands.[hc] : corrected the signature for gtk menu callback
14993         functions, which actually use the second or third parameter. This
14994         is the absolute minimum change to make these functions/menu entries
14995         work again. Using the other possible gtk menu callback signature
14996         would have required one more function to change. (see mailing list
14997         thread "Objects/Align/Equal Distance" for more information.
14999         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
15000         zoom-combo focus patch
15002         * app/display.c
15003         * app/interface.c : wrapped the Zoom Combo code into 
15004         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
15005         improvement but cluttering the user interface. Also it wasn't
15006         compiling on Win32 anyway. The win32 version does define 
15007         WITHOUT_ZOOM_COMBO to keep the old look. 
15008         There are plans to use the statusbar to display size and placement
15009         of selected objects, whereas the Zoom Combo would need to get out
15010         of the way as well.
15012         Added "Save Changes?" to diagram close dialog. Hopefuly the
15013         Yes/No/Cancel option isn't too much windoze like. IHMO this is
15014         an useability improvement.
15016         * app/export_png.c
15017         * app/filedlg.c
15018         * app/load_save.c
15019         * app/layer_dialog.c
15020         * app/paginate_psprint.c
15021         * app/render_eps.c
15022         - reflect signature changing of filter->export function
15023         - replaced '/' with G_DIR_SEPARARTOR where appropriate
15025         * app/diaunitspinner.c
15026         * app/render_libart.c
15027         added misssing headers like <string.h>
15029         * app/object_ops.c : fixed copy&paste bug in dialog string
15031         * app/splash.c : gdk_widget_show_now () does not ensure actual
15032         drawing of the splash screen, at least not on win32. Reuse the
15033         previous implementation with gtk_main_iteration() again.
15035         * */makefile.msc : make use of the build module (available in
15036         gnome-cvs/build. Updated for other source changes
15038         * lib/filter.h : added an user_data pointer to <ex/im>port()
15039         function signature and Dia<Im/Ex>portFilter to allow different
15040         filters to reuse the same callback function
15042         * lib/font.c : #include <string.h>
15044         * lib/orth_conn.c 
15045         * lib/poly_conn.c 
15046         * lib/poly_shape.c 
15047         * lib/neworth_conn.c
15048         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
15050         * */*.def : export function definition files required by win32 build
15052         * objects/custom/custom.c : #include <string.h>
15054         * plug-ins/pstricks/render_pstricks.c
15055         * plug-ins/shape/shape_export.c
15056         * plug-ins/svg/render_svg.c
15057         reflect changes to filter export function signature
15059         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
15060         mostly work as expected
15061         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
15062         to build the wmf plug-in because on the one hand the GDI emulation 
15063         isn't finished and on the other hand it isn't required when building
15064         for win32. Is there anybody out there, who wants to save WMF on non
15065         windoze platforms ?
15067         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
15068         offset into account.
15070 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
15072         * app/Makefile.am: added missing plug-ins to run_dia.sh
15074         * lib/paper.c: added paper sizes A0, A1, A2
15076         * objects/UML/class.c
15077         objects/UML/class.h
15078         objects/UML/class_dialog.c: added support for colored UML
15079         classes
15080         
15081 2000-12-30  Kevin Breit <battery841@mediaone.net>
15083         * doc/en/usage-customization.sgml: added more content
15085 2000-12-24  Kevin Breit <battery841@mediaone.net>
15087         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
15088         <remy.viard@laposte.net>
15090 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
15092         * added limiting lines to Civil Engineering sheet,
15093         fixed vertical pump icon
15094         
15095 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
15097         * updated/additional Civil Engineering shapes: better icons,
15098         shapes use foreground/background colors now and are filled
15099         
15100 2000-12-03  Kevin Breit  <battery841@mediaone.net>
15102         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
15103         the selection <sect1>
15105 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
15107         * app/load_save.c (diagram_data_save): avoid using obsoleted
15108         libxml calls (only matters when compiling with libxml2)
15110 2000-11-25  James Henstridge  <james@daa.com.au>
15112         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
15113         handle the tool drops on the canvas.
15115         * app/interface.c (display_data_received_callback): do the check
15116         to make sure that the drag is from a local toolbox here as well.
15118         * app/interface.c (create_tools): unref the pixmap/mask after
15119         creating the GtkPixmap.
15120         (tool_setup_drag_source): function to set up a drag source for
15121         create object tool buttons.
15122         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
15123         (fill_sheet_wbox): same here.
15124         (create_display_shell): set up the display canvas as a drag
15125         destination.
15126         (display_drop_callback, display_data_received_callback): functions
15127         to handle drops of tool buttons.
15129         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
15130         does weird shit to the user_data pointer for a menu item.  Object
15131         alignment should work again now.
15133         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
15134         NULL, and mark this function static.
15135         (app_splash_init): use gtk_widget_show_now() instead of the
15136         gtk_main_iteration loop.
15137         (app_splash_init): connecting gtk_widget_destroy to the destroy
15138         signal of a widget seems pretty useless.
15140 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
15142         * doc/en/dia-manual.sgml:
15143                 Added sect1 for advanced object types.  Starting development
15144                 on that part.
15146 2000-11-18  Kevin Breit <battery841@mediaone.net>
15148         * doc/en/dia-manual.sgml:
15149                 Stupid spelling fixes.
15151 2000-11-18  Kevin Breit <battery841@mediaone.net>
15153         * doc/en/dia-manual.sgml:
15154                 Just some small changes I made.  Props to Greg LeBlanc on the
15155                 recommendations.
15157 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
15159         * app/display.c:
15160         (ddisplay_add_display_area): Clip input rectangle to
15161         the visible part of the display.
15162         (ddisplay_scroll): Optimization, don't scroll and
15163         redraw if moving to the same position as before.
15165         * app/render_libart.c (renderer_libart_copy_to_window):
15166         Removed sanity check. Now moved to ddisplay_add_display_area().
15168         * lib/diavar.h:
15169         Added return at end of file.
15170         
15171 2000-11-13 Kevin Breit <battery841@mypad.com>
15172         * doc/en/dia-manual.sgml
15173                 Commited manual changes from Henry House <hajhouse@houseag.com>
15175 2000-10-21 Hans Breuer <Hans@Breuer.Org>
15176         * lib/beziershape.c :
15177                 The previous code was accessing unowned memory due to IHMO
15178                 wrong index calculation. Now it appears to be fixed.
15179                 *Please Review!*
15181         * lib/makefile.msc
15182         * plug-ins/makefile.msc
15183         * objects/makefile.msc
15184         * app/makefile.msc: (new files)
15185                 Makefiles for Dia on Win32, Micro$oft VC only.
15187         * plug-ins/pstricks/render_pstricks.c
15188         * plug-ins/dxf/dxf-import.c
15189         * plug-ins/shape/shape-export.c
15190         * plug-ins/svg/render_svg.c
15191         * app/commands.c
15192         * app/filedlg.c
15193         * app/preferences.c
15194         * app/render_eps.c
15195         * lib/sheet.c
15196         * lib/plug-ins.c
15197         * objects/custom/custom.c
15198         * objects/standard/image.c
15199                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
15200                 where   appropriate, add missing prototypes like <string.h>
15202         * plug-ins/wmf/wmf_gdi.cpp
15203         * plug-ins/wmf/wmf_gdi.h:
15204                 start of wmf write functions for non Win32 platform. Not 
15205                 finished yet. The other way to get it working maybe to
15206                 link the plug-in against wine libs.
15207                 
15208         * plug-ins/wpg/wpg.c : add missing brace
15210         * app/load_save.c :
15211                 Handling for unknown objects at load time. Previously Dia
15212                 was crashing, if you try to load a file referencing objects
15213                 whiches plug-ins aren't installed/available. Now it spits out 
15214                 a warning and ignores the unknown objects.
15216         * app/interface.c
15217                 toolbox DND support for files like The Gimp does it.
15219         * app/main.c
15220         * app/app_procs.h
15221                 Simple splash screen support and usage.
15223         * app/app_procs.c
15224                 Splash screen, portability fixes, dont' g_error if there is
15225                 g_get_homedir return NULL. This may remove the one and only
15226                 FAQ for Win32.
15228         * app/menus.c :
15229                 Make it compile without ENABLE_NLS
15231         * app/render_libart.c :
15232                 Sanity check to avoid calling libart with wrong window coordinates.
15233                 They come from the update handler. Direct Gdk is dealing nicely
15234                 with coordinates out of range, libart does access un-owned memory
15235                 in this case, mostly causing crashes.
15237         * app/winmain.c: (new file) Export the Win32 Gui version of the
15238                 main function. This file is only required for Windoze.
15240         * app/splash.c: (new file) splash screen implementation
15242         * lib/color.h
15243         * lib/font.h
15244         * lib/diavar.h: (new file)
15245                 moved special variable export code to diavar.h, because it is
15246                 needed in color.h and font.h
15248         * lib/paper.c :
15249                 M$VC cann't export inlined functions. Quick hack to let it
15250                 link again. Probably the glib mechanics should be used here?
15252         * objects/UML/lifeline.c : initialize var before usage
15254         * objects/GRAFCET/step.c : removed unused var
15256 2000-10-14  James Henstridge  <james@daa.com.au>
15258         * app/render_gnomeprint.c (draw_image): change code so images
15259         don't get flipped when printing.
15261         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
15262         sure that the return value of
15263         gnome_print_context_new_with_paper_size is not NULL.
15265         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
15266         into a series of bezier segments.
15267         (fill_arc): similar code to handle filled arc segments.
15269 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
15271         * app/app_procs.c
15272         * app/commands.c
15273         * app/dia-props.c
15274         * app/diagram.c
15275         * app/diagram.h
15276         * app/disp_callbacks.c
15277         * app/display.c
15278         * app/linewidth_area.c
15279         * app/paginate_psprint.c
15280         * app/preferences.c
15281         * app/undo.c
15282         * app/font.c
15283         * app/message.c
15284         * app/neworth_conn.c
15285         * app/orth_conn.c
15286         * objects/standard/box.c: various small changes to get rid of 
15287         annoying warnings (eg faulty prototypes and unused variables)
15289         * app/disp_callbacks.c
15290         * app/cursor.h
15291         * app/magnify.c
15292         * app/magnify.h: update magnify tool icon when pressing/releasing
15293         shift. I will try to make something more general so that similar
15294         things can be used by other tools.
15296         * shapes/SDL/inout.shape
15297         * shapes/SDL/return.shape: fixed some typos
15299 2000-10-09  James Henstridge  <james@daa.com.au>
15301         * objects/custom/shape_info.c (parse_path): apply patch from
15302         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
15303         #25221
15305 2000-10-08  James Henstridge  <james@daa.com.au>
15307         * objects/standard/image.c (image_set_props): if the file could not
15308         be loaded, show the broken image icon.
15310         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
15312         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
15314         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
15315         object icon when loading from a file.  This allows you to have PNG
15316         icon files for shapes.
15318 2000-10-07  James Henstridge  <james@daa.com.au>
15320         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
15322         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
15323         GDK_IMLIB_CFLAGS reference.
15325         * app/commands.c (help_about_callback): remove imlib code.
15327         * lib/dia_image.c: only include the pixbuf version of the image
15328         routines.
15330         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
15332         * configure.in (CPPFLAGS): remove the check for imlib, as we now
15333         require gdk-pixbuf.
15335         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
15336         conditionally define \setfont as well.
15338 2000-10-05  James Henstridge  <james@daa.com.au>
15340         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
15341         preamble so that we define \setlinejoinmode and \setlinecaps
15342         commands conditionally on them being undefined.  This way, the
15343         pstricks output files should work without modification, and will
15344         support the commands when they are implemented in pstricks.
15346 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
15348         * dia.desktop: added hungarian translations to dia.desktop
15350 2000-10-04  James Henstridge  <james@daa.com.au>
15352         * sheets/UML.sheet: fix typo.
15354         * objects/custom/shape_info.c: use strtod instead of g_strtod.
15355         (parse_path): actually call setlocale around strtod calls.
15357         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
15358         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
15359         the g_strtod wrapper.
15361         * shapes/SDL/: add SDL shapes from Rubens Ramos
15362         <rubens_ramos@yahoo.com>
15364         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
15366         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
15368         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
15369         W. Michael Petullo <mike@flyn.org>.
15371         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
15372         from the 0.86 tarball) and jigsaw.sheet.
15374         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
15376         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
15378         * shapes/network/: add network-additional shapes here.
15380         * sheets/network.sheet: add the network-additional shapes from
15381         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
15382         sheet.
15384 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15386         * configure.in: Updated ALL_LINGUAS
15388         * po/nl.po: Removed newline from translation
15390 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
15392         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
15393         logo filename generation. 
15395         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
15396         Avoiding "//dia_logo.png".
15398 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
15400         * app/filedlg.c: add include <sys/types.h> to
15401         remove warning. (OS/2)
15403 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
15405         * objects/chronogram/chronoline_event.c (reparse_clevent):
15406         the __checksum routine was simply bogus. Redone it in a slightly
15407         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
15409 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
15411         * app/create_object.c (create_object_button_press): 
15412         * app/modify_tool.c (click_select_object): 
15413         * lib/object.h: select renamed to selectf to prevent
15414         compiler problems with function select().  OS/2 version.
15416 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
15418         * po/de.po: Updated.
15420 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
15422         * dia.desktop: Added German translation
15423         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
15425 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
15427         * configure.in (ALL_LINGUAS): added "es"
15429 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15431         * app/magnify.c:
15432         * app/cursor.h:
15433         * app/cursor.c:
15434         * app/scroll_tool.c:
15435         Standardized cursor function get_cursor().  Magnify now has
15436         looking-glass cursor with + and -.
15438         * app/create_object.c (create_object_button_press): 
15439         Newly created connections now snap to connection points even when
15440         off the grid. 
15442 2000-08-17  Daniel Egger  <egger@suse.de>
15444         * app/menus.c: #ifdef'ed some code for the none GNOME
15445         case.
15446         * app/dia_embedd.c: Changed obvious hackery. Can anyone
15447         please have a look at the GNOME UI menu creation? The
15448         gnome-app-helper code is ages old and plainly broken!
15450 2000-08-15  Daniel Egger  <egger@suse.de>
15452         * app/commands.c:
15453         * app/commands.h:
15454         * app/diagram.c:
15455         * app/display.c:
15456         * app/menus.c:
15457         * app/select.c: First big patch to get the menus
15458         working again in the international version. Copied
15459         some code written by Sven and me from GIMP and
15460         thus implemented automatic tearoffmenu creation and
15461         proper translation. I also removed that pseudo
15462         radiomenu hack and cleaned up several translation
15463         hacks which have never really worked. All in all
15464         this is part I of the big menu patch. Enjoy and tell
15465         me if you detect any problems.
15467 2000-08-14  Daniel Egger  <egger@suse.de>
15469         * sheets/UML.sheet: Changed one German translation as
15470         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
15472 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15474         * app/diapagelayout.c:
15475         * lib/diagramdata.c:
15476         * lib/diagramdata.h:
15477         * lib/Makefile.am:
15478         * lib/paper.c:
15479         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
15480         selecting paper size for a new diagram. TODO: Use libpaper if 
15481         available and use gnome_paper-stuff if using GNOME.
15483         * sheets/Electric.sheet: fixed typo.
15484         
15485 2000-08-08  James Henstridge  <james@daa.com.au>
15487         * po/README: added a readme file to tell translators to translate
15488         the .sheet files as well.
15490         * app/commands.c (help_about_callback): fix small bug where we tried
15491         to gdk_bitmap_unref() the mask for the about box image, even though
15492         it was NULL.  Now check for a NULL mask.
15494 2000-08-07  Daniel Egger  <egger@suse.de>
15496         * sheets/*.sheet: Added translations for the name
15497         in the toolbar tab. Brushed up some descriptions 
15498         and some translations a bit.
15500 2000-08-06  James Henstridge  <james@daa.com.au>
15502         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
15503         identifier and dtd url for SVG output.
15504         (new_svg_renderer): fix the output of the viewBox output.  The
15505         second two numbers are the width and height -- not the right
15506         and bottom sides of the box.
15508         * shapes/*/*.shape: update svg namespace URI.
15510         * objects/custom/shape_info.c (load_shape_info): change the
15511         namespace URI for custom shapes yet again to match the Candidate
15512         Recommedation.  It looks like this one will probably be the final
15513         one.
15515         * app/display.c (new_display): remove the code that sets ic and
15516         ic_attr members to NULL, as one of the previous function calls
15517         causes the display to be realised.  This means that the ic gets
15518         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
15519         this one.
15521 2000-08-06  James Henstridge  <james@daa.com.au>
15523         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
15525         * NEWS: fixed date in NEWS file, as I will release today.
15527         * README: updated the README a little.  Added note that Dia is now
15528         a GNU program.
15530         * dia.spec: fix up spec file.
15532         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
15534         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
15535         get heaps of warnings when you turn off debugging.
15536         Also made a few other warning fixes.
15538 2000-08-02  James Henstridge  <james@daa.com.au>
15540         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
15542         * configure.in: update version number.
15544 2000-08-01  James Henstridge  <james@daa.com.au>
15546         * app/commands.c (help_about_callback): add Hans to about dialog.
15548         * doc/shape.dtd: dtd for shape file format.
15550         * doc/custom-shapes: update doc file about creating custom shapes.
15552         * shapes/*/*.shape: change namespace URI for the SVG portion to the
15553         one for the latest draft.
15555         * shapes/*/*.shape: fix up rect definitions.
15557         * objects/custom/shape_info.c (load_shape_info): recognise newer
15558         namespace tag for SVG.
15559         (parse_svg_node): the rect element should take attributes x, y, width
15560         and height -- not x1,y1,x2,y2.
15562         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
15563         output to use the newest draft DTD.
15565         * plug-ins/svg/svg.c: initialisation code for plugin.
15567         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
15569         * plug-ins/svg/Makefile.am: makefile for svg plugin.
15571         * app/app_procs.c (internal_plugin_init): don't register the svg
15572         export filter here.
15574         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
15576 2000-07-31  James Henstridge  <james@daa.com.au>
15578         * objects/standard/textobj.c (textobj_get_defaults): 
15579         * objects/standard/polygon.c (polygon_get_defaults): 
15580         * objects/standard/image.c (image_get_defaults): 
15581         * objects/standard/ellipse.c (ellipse_get_defaults): 
15582         * objects/standard/box.c (box_get_defaults): 
15583         * objects/standard/beziergon.c (beziergon_get_defaults): 
15584         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
15585         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
15586         * objects/flowchart/diamond.c (diamond_get_defaults): 
15587         * objects/flowchart/box.c (box_get_defaults): 
15588         * objects/custom/custom_object.c (custom_get_defaults): 
15589         * objects/FS/flow.c (flow_get_defaults): 
15590         * objects/FS/flow-poly.c (flow_get_defaults): 
15591         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
15592         defaults widget.
15594         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
15595         widgets for various object types.
15596         (create_dialog): ref and sink the no_defaults_dialog.
15598         * app/preferences.c (prefs_create_dialog): change
15599         gtk_container_border_width call to gtk_container_set_border_width.
15601 2000-07-29  James Henstridge  <james@daa.com.au>
15603         * app/commands.c (view_aa_callback): show a warning dialog if
15604         you start AA mode.
15606         * app/interface.c (fill_sheet_menu): don't add a menu item for
15607         empty sheets.
15609 2000-07-26  James Henstridge  <james@daa.com.au>
15611         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
15613         * app/menus.c: remove edit grid menu item.
15615         * app/commands.[ch] (view_edit_grid_callback): removed.
15617         * app/display.c (new_display): don't initialise removed Grid members.
15619         * app/grid.c: remove unused functions.
15621         * app/grid.h: remove dialog related stuff from Grid structure.
15622         Remove prototypes for dialog functions.
15624         * app/menus.c: add to menus
15625         
15626         * app/commands.[ch] (view_diagram_properties_callback): new command
15627         for showing the diagram properties dialog.
15629         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
15630         the edit grid dialog.
15632 2000-07-25  James Henstridge  <james@daa.com.au>
15634         * app/grid.c (grid_x_update): 
15635         (grid_y_update): as the grid setting is stored with the diagram,
15636         update all displays when a change is made.
15638         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
15640         * app/create_object.c (create_object_button_press): 
15641         (create_object_motion): use new snap_to_grid signature.
15643         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
15644         and handle invisible grid lines.
15645         (snap_to_grid): use new grid settings.  Also changed signature to
15646         take a DDisplay rather than Grid pointer.
15647         (grid_show_dialog): get the defaults from the correct place.
15649         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
15651         * app/diagram.c (new_diagram): set the grid size defaults from the
15652         user preferences.
15654         * app/load_save.c (diagram_data_save): save grid and guide info to
15655         diagram file.
15656         (diagram_data_load): add guide and grid load support.
15658         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
15659         members.
15661         * lib/diagramdata.h: add members to DiagramData for grid and guide
15662         settings.
15664         * configure.in (BONOBO_LIBS): update configure scripts
15666         * app/dia.oafinfo: oafinfo file for dia embeddables.
15668         * app/dia_embedd.c: add OAF support.
15670 2000-07-24  James Henstridge  <james@daa.com.au>
15672         * plug-ins/wpg/Makefile.am: 
15673         * plug-ins/pstricks/Makefile.am: 
15674         * plug-ins/hpgl/Makefile.am: 
15675         * plug-ins/dxf/Makefile.am: same here.
15677         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
15678         the required libraries, and the link line was causing libtool not
15679         to build a shared library on some systems :(
15681         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
15682         be checking x, not n.
15684 2000-07-23  James Henstridge  <james@daa.com.au>
15686         * app/preferences.c (prefs_data): set the "reset tools after
15687         create" preference to true by default.  That seems to be what most
15688         people expect.
15690         * app/interface.c (create_sheets): instead of a notebook, use an
15691         option menu that updates the sheet tools.  The notebook tabs were
15692         getting a bit unwieldly, so the option menu should fix that.  This
15693         also reduces the number of widgets in the tools radio button
15694         group, which should make the UI a little more responsive.
15696 2000-07-19  Fatih Demir <kabalak@gmx.net>
15697         
15698         * configure.in: Added tr to ALL_LINGUAS.
15699                 [ Yeah, we're now having a Turkish translation,
15700                    too. ]
15701         
15702         * dia.desktop: Added the Turkish entries.
15704 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
15706         * doc/diagram.dtd: changed string-element so it conforms to the
15707         output from dia.
15709 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15711         * configure.in: added chinese. 
15712         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
15714         * app/app_procs.c:
15715           app/load_save.c:
15716           app/render_svg.c:
15717           lib/dia_xml.c:
15718           lib/plug-ins.c:
15719           lib/sheet.c:
15720           objects/custom/shape_info.c: 
15721           shapes/Circuit/npn.shape:
15722           shapes/Circuit/pnp.shape:
15723           sheets/*.sheet: dia now works with libxml2.
15724         Libxml2 is a bit more picky when parsing xml and reported errors on all 
15725         sheet files because they use non ascii characters (added 
15726         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
15727         I commented out these.
15729 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
15731         * configure.in (ALL_LINGUAS): added Italian
15733 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
15735         * configure.in (ALL_LINGUAS): added Korean
15737 2000-06-25  James Henstridge  <james@daa.com.au>
15739         * objects/flowchart/parallelogram.c (pgram_create): use default font
15740         and add properties interface support.
15742         * objects/flowchart/ellipse.c (ellipse_create): use default font and
15743         add properties interface support.
15745         * objects/flowchart/diamond.c (diamond_create): use default font and
15746         add properties interface code.
15748         * objects/flowchart/box.c (box_create): use default font.
15750         * objects/custom/custom_object.c (custom_create): use default font
15751         here too.
15753         * objects/standard/textobj.c (textobj_create): update to use default
15754         font.
15756         * lib/attributes.c: add implementations.
15758         * lib/attributes.h (attributes_[gs]et_default_font): add function
15759         prototypes for setting/getting a default font.
15761 2000-06-24  James Henstridge  <james@daa.com.au>
15763         * app/paginate_gnomeprint.h: updated prototype.
15765         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
15766         diagram page settings.
15768         * objects/standard/beziergon.c (beziergon_copy): same here.
15770         * objects/standard/polygon.c (polygon_copy): copy the fill colour
15771         as well.
15773         * app/undo.h: 
15774         * app/tool.h (tool_options_dialog_show): 
15775         * app/scroll_tool.h (free_scroll_tool): 
15776         * app/render_svg.h: 
15777         * app/render_libart.h (renderer_libart_copy_to_window): 
15778         * app/render_gdk.h (renderer_gdk_copy_to_window): 
15779         * app/properties.h (properties_hide_if_shown): 
15780         * app/preferences.h (prefs_load): 
15781         * app/object_ops.h: 
15782         * app/modify_tool.h (free_modify_tool): 
15783         * app/magnify.h (free_magnify_tool): 
15784         * app/linewidth_area.h (linewidth_area_create): 
15785         * app/layer_dialog.h: 
15786         * app/handle_ops.h (handle_is_clicked): 
15787         * app/group.h: 
15788         * app/grid.h (grid_destroy_dialog): 
15789         * app/defaults.h (defaults_show): 
15790         * app/cut_n_paste.h (cnp_exist_stored_objects): 
15791         * app/create_object.h (free_create_object_tool): 
15792         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
15793         * app/commands.h: 
15794         * app/color_area.h (color_area_create): 
15795         * app/app_procs.h (app_is_embedded): remove extern keyword from
15796         function prototypes.
15798         * lib/text.h: 
15799         * lib/sheet.h (load_all_sheets): 
15800         * lib/render_store.h: 
15801         * lib/render_object.h (render_object_load): 
15802         * lib/polyshape.h (polyshape_closest_segment): 
15803         * lib/poly_conn.h (polyconn_closest_segment): 
15804         * lib/orth_conn.h: 
15805         * lib/object.h: 
15806         * lib/objchange.h (new_object_state_change): 
15807         * lib/neworth_conn.h (neworthconn_add_segment): 
15808         * lib/message.h (message_error): 
15809         * lib/lazyprops.h: 
15810         * lib/geometry.h: 
15811         * lib/font.h (font_descent): 
15812         * lib/focus.h (remove_focus): 
15813         * lib/element.h: 
15814         * lib/diagramdata.h: 
15815         * lib/dia_xml.h (data_add_composite): 
15816         * lib/dia_image.h: 
15817         * lib/connpoint_line.h: 
15818         * lib/connection.h (connection_move_handle): 
15819         * lib/color.h: 
15820         * lib/attributes.h (attributes_set_default_line_style): 
15821         * lib/arrows.h (arrow_draw): remove extern keyword from function
15822         definitions.  It is not required for functions.
15824         * plug-ins/dxf/Makefile.am (INCLUDES): 
15825         * plug-ins/pstricks/Makefile.am (INCLUDES): 
15826         * plug-ins/cgm/Makefile.am (INCLUDES): 
15827         * objects/SADT/Makefile.am (INCLUDES): 
15828         * objects/chronogram/Makefile.am (INCLUDES): 
15829         * objects/GRAFCET/Makefile.am (INCLUDES): 
15830         * objects/flowchart/Makefile.am (INCLUDES): 
15831         * objects/sybase/Makefile.am (INCLUDES): 
15832         * objects/FS/Makefile.am (INCLUDES): 
15833         * objects/standard/Makefile.am (INCLUDES): 
15834         * objects/network/Makefile.am (INCLUDES):
15835         * objects/UML/Makefile.am (INCLUDES): same here.
15837         * objects/ER/Makefile.am: changed inclusion of some macros to
15838         variables.
15840         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
15841         handle the plug in extension, rather than have all the #ifdef's in
15842         the code.
15844         * plug-ins/Makefile.am: add renderer.inc to dist.
15846         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
15848 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
15850         * lib/plug-ins.c: Handle OS/2 dll's too.
15852 2000-06-07  James Henstridge  <james@daa.com.au>
15854         * app/plugin-manager.c (get_plugin_manager): set some table
15855         packing options to make it look a little nicer.
15857         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
15858         makefiles for these plug-ins.
15860         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
15862         * configure.in: added hpgl and wpg directories to build.  Added
15863         note about whether gnome-print support was enabled, and noted that
15864         it is not recommended.
15866 2000-06-06  James Henstridge  <james@daa.com.au>
15868         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
15869         a little work, but I am checking them in so I don't lose them.
15871 2000-06-01  James Henstridge  <james@daa.com.au>
15873         * objects/standard/arc.c: added extra properties.
15875         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
15876         was using the wrong index into the handles array.  This gets corner
15877         type changing working correctly.
15879         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
15880         to properties code (no editing or loading yet though).  Also added
15881         support for point array manipulation through the offsets interfaces.
15883         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
15885         * app/interface.c (origin_button_press): changes so the origin
15886         button doesn't grab the pointer when we pop up the menu.
15888         * app/commands.c (help_about_callback): fix small memory leak in
15889         about box code.
15891         * app/menus.c (menus_init): fixed breakage I introduced in the non
15892         gnome menus when I was doing the menu changes.  The tearoffs work
15893         really nicely in plain gtk mode as well.
15895         * objects/standard/beziergon.c (beziergon_create): changed the
15896         returned handles to match the handle numbering changes.  Now
15897         segment addition and removal works correctly with undo!
15899         * lib/beziershape.c: various changes to the code.  Changed the
15900         numbering of handles, and fixed the segment removal code.
15902 2000-05-31  James Henstridge  <james@daa.com.au>
15904         * objects/standard/beziergon.c: remove connection point handling.
15905         There is still a bit of work to be done to get adding and removing
15906         of segments working correctly.
15908         * lib/beziershape.c: add connection point handling to beziershape.
15909         I set it for two connection points per segment.
15911 2000-05-30  James Henstridge  <james@daa.com.au>
15913         * objects/standard/polygon.c: don't do connectionpoint handling.
15915         * lib/polyshape.c: changed to handle connection points internally.
15916         Also, don't worry about connections to handles on polyshape, as
15917         all handles are non connectable.
15919 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
15921         * configure.in: Added finnish
15922         
15923 2000-05-30  James Henstridge  <james@daa.com.au>
15925         * sheets/*.sheet: translation updates to the .sheet files.
15927         * po/fr.po: updated po file from Christophe Merlet.
15929         * menus.h: removed prototypes for functions which have been removed.
15931 2000-05-29  James Henstridge  <james@daa.com.au>
15933         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
15934         item in the option menu when changing selected diagram.
15936         * app/dia_embedd.c (view_factory): fix up function to work with new
15937         menus API.
15939         * app/disp_callbacks.c (ddisplay_realize): remove call to
15940         display_set_active from here.
15941         (ddisplay_canvas_events): move call here.  This gets rid of all the
15942         warnings, as the renderer has been fully set up correctly at this
15943         point.
15945         * app/menus.c (menus_init): add the tearoff item to the start of the
15946         right click menu.
15948         * app/app_procs.c (create_user_dirs): we don't need to create the
15949         menus directory anymore.
15951         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
15952         necessary to update the menu state here, as it was done when the
15953         active display was set.
15955         * app/display.c (display_set_active): update the menu state when
15956         changing active displays.
15958         * app/interface.c (origin_button_press): set the display as active
15959         when a click is made on the menu button.
15961         * app/menus.c (menus_init): set up a quit function to save the accels
15962         at exit.
15963         Add tearoff items for the non GNOME menus, add accelerators for
15964         several GNOME menus.
15966         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
15967         menus_get_image_menu().
15969         * app/menus.c (menus_get_item_from_path): use display_menus here
15970         rather than ddisp->popup.
15972         * app/display.h: remove the popup member in the DDisplay structure.
15974         * app/interface.c: remove option of not using wrap box.
15975         (create_toolbox): change to always use menus_get_toolbox_menubar
15976         even when using gnome menus.
15977         (create_display_shell): use menus_get_image_menu to load accelerators
15978         only -- not the actual popup menu.
15980         * app/menus.c (menus_init): new function to create the menus.
15981         (menus_get_toolbox_menubar): use this function whether gnome is
15982         in use or not.  Changed to use menus_init.
15983         (menus_get_image_menu): same here.  Also, now this function always
15984         returns the same menu, rather than a new one each time.
15985         (menus_init): read a menurc file to load accelerators here.
15987 2000-05-28  James Henstridge  <james@daa.com.au>
15989         * app/display.c (ddisplay_really_destroy): unset active display if
15990         active display is destroyed.
15991         (ddisplay_active): simplify function to return active_display as set
15992         by display_set_active.  This allows using a pinned menu with any
15993         display -- not just the one it was popped up from.
15994         (display_set_active): notify the layer dialog of change of diagrams
15995         when active diagram changes.
15997         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
15998         on button and key presses.
15999         (ddisplay_realize): set active display on realize.
16001         * app/display.c (display_set_active): simple implementation of this
16002         function.
16004         * app/display.h (display_set_active): add prototype for setting
16005         the active display.
16007         * app/interface.c (create_display_shell): don't give focus to the
16008         menu button.
16010         * app/menus.c: fix up menus for Beziergon.
16012         * app/interface.c (create_display_shell): make the widget in the
16013         top left corner a button that can be used to pop up the right click
16014         menu, like in gimp and sketch.
16016         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
16017         the display menu.
16019         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
16020         add code to set corner types for beziergon.
16022         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
16023         setting code.
16024         (beziershape_move_handle): use the previous corner type for right
16025         controls.
16027         * app/interface.c (tool_data): add beziergon to toolbox.
16029         * objects/standard/standard.c (dia_plugin_init): initialise the new
16030         Beziergon object type.
16032         * objects/standard/beziergon.c: an object based on BezierShape.
16034         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
16036         * lib/beziershape.[ch]: new files implementing a bezier shape.
16038 2000-05-26  James Henstridge  <james@daa.com.au>
16040         * lib/text.c (text_key_event): handle multibyte inserts.
16041         (text_key_event): also add home and end keybindings.
16043         * app/interface.c (create_display_shell): connect handlers for
16044         focus_in_event, focus_out_event, realize and unrealize signals.
16046         * app/display.[ch] (new_display): initialise input context members.
16048         * app/disp_callbacks.[ch]: added XIM support here.
16050         * lib/font.c (suck_font): the black and white pixel values should be
16051         taken from a 1 bit colormap rather than the default colormap.
16053         Hans Breuer's Windows patches ...
16055         * lib/font.c: use Courier New for fixed width font on windows
16056         machines.
16058         * lib/dia_image.h: change to "struct _DiaImage".
16060         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
16062         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
16063         mouse button for object menu.  This will make two button mouse owners
16064         happier.
16066 2000-05-25  James Henstridge  <james@daa.com.au>
16068         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
16070         * app/app_procs.c (app_init): add extra NULL argument to call of
16071         diagram_load.
16073         * app/load_save.h: remove prototype.
16075         * app/load_save.c: remove diagram_data function here.
16077         * app/diagram.h: added prototype.
16079         * app/diagram.c (diagram_load): new function here, which uses import
16080         filters.
16082         * plug-ins/dxf/dxf.c: register the import filter as well.
16084         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
16085         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
16087         * objects/standard/line.c: add start_point and end_point properties
16088         to standard line object.
16090 2000-05-21  James Henstridge  <james@daa.com.au>
16092         * app/paginate_psprint.c: added missing include of locale.h.
16094         * objects/custom/custom_object.c (custom_draw): use fabs rather than
16095         abs for scaling factors.
16096         (custom_distance_from): same here.
16098         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
16100 2000-05-18  James Henstridge  <james@daa.com.au>
16102         * po/POTFILES.in: updated POTFILES.in.
16104         * dia.spec: incremented version number in spec file.
16106         * NEWS: added (lots of) news items for the 0.85 release.
16108         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
16109         the config file.
16111         * configure.in: updated version number here.
16113         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
16115 2000-05-17  James Henstridge  <james@daa.com.au>
16117         * app/app_procs.c (internal_plugin_init): register the native import
16118         filter.
16120         * app/load_save.c (diagram_data_load, diagram_load): split this
16121         function into two -- one that does all the work on the DiagramData
16122         structure, and the other that provides compatibility with the old
16123         function.
16124         (dia_import_filter): use diagram_data_load to define an import
16125         filter.
16127         * app/diagram.h (new_diagram): added const to prototype.
16129         * app/filedlg.c (file_open_callback): change to use new import filter
16130         code.
16132         * lib/filter.c: added import filter management functions.
16134         * lib/filter.h: added prototypes for import filter interface.
16136         * app/commands.c (help_about_callback): updated about dialog to
16137         contain a few more names.
16139 2000-05-16  James Henstridge  <james@daa.com.au>
16141         * configure.in (Configuration): added a status message to the end of
16142         the configure script to give the user some idea of what was
16143         configured.
16145         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
16147         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
16148         plugin.
16150         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
16151         filter for dia.
16153         * configure.in (AM_PATH_LIBART): use the check function provided
16154         with libart rather than our own code.  It is more reliable, and
16155         it only requires that people who build out of CVS have libart.m4
16156         installed (not necessarily all of libart).
16157         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
16159 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
16161         * dia.desktop: Added Swedish translation.
16163 2000-05-09  James Henstridge  <james@daa.com.au>
16165         * lib/dia_xml.c: you can't free a const pointer, so remove const
16166         from variable definitions.
16168         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
16169         initialised correctly.
16171         * app/render_svg.c (export_svg): set locale to C.
16173         * app/paginate_psprint.c (paginate_psprint): set locale to C.
16175         * app/render_eps.c (export_eps): set locale to C for EPS export.
16177         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
16178         (data_add_point): same here.
16179         (data_add_rectangle): same here.
16180         (data_real): use g_strtod to convert strings to real numbers, so that
16181         locales are taken into account.
16182         (data_point): same here.
16183         (data_rectangle): same here.
16185         * AUTHORS: added Henk and Jacek to authors file.
16187         Daniel Egger's code cleanups.
16189         * app/select.c (select_invert_callback): remove unused variable.
16191         * app/plugin-manager.c (get_plugin_manager): fix typo.
16193         * app/load_save.c (read_connections, write_objects): 
16194         (write_connections): made some functions static.
16196         * app/interface.c (toolbox_delete, toolbox_destroy): made some
16197         functions static.
16199         * app/filedlg.c (file_export_callback): remove unused variable.
16201         * app/app_procs.c: various warning fixes.
16203         Integrating Jacek Pliszka's pstricks export filter.
16205         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
16207         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
16208         renderer (with a few small modifications by me).
16210         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
16212         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
16214 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16216         * configure.in:
16217         * sheets/Makefile.am:
16218         * shapes/Makefile.am:
16219         * shapes/Civil/Makefile.am:
16220         * sheets/civil.sheet:
16221         * shapes/Civil/*:
16222         Added civil/hydraulic/structural engineering objects from
16223         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
16224         
16225 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16227         * objects/FS/flow-poly.c:
16228         * objects/FS/flow.c:
16229         Fix division by zero in point_normalize().
16230         Patch by David Thompson <dcthomp@mail.utexas.edu>
16232 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
16234         * lib/arrows.c:
16235         * lib/bezier_conn.c:
16236         * lib/connpoint_line.c:
16237         Added checks for zero-length lines before calls to point_normalize.
16239 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16241         * app/preferences.c (prefs_data): Changed
16242         reversed_dragging_intersects to not make the dialog ridiculously
16243         wide.
16244         
16245 2000-04-22  James Henstridge  <james@daa.com.au>
16247         Hans's win32 patches:
16249         * app/export_png.c: include message.h
16250         * app/interface.c: include dia_dirs.h
16251         * app/linewidth_area.c: check for rint
16252         * app/main.c: include interface.h
16253         * app/paginate_psprint.c: remove unused variable.
16254         * app/preferences.c: include message.h
16255         * app/render_svg.c: include stdlib.h
16256         * app/select.c: include object_ops.h
16257         * lib/dia_dirs.c: miscelaneous fixes for win32.
16258         * lib/dia_image.c: include string.h
16259         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
16260         * lib/properties.c: include stdlib.h
16261         * lib/properties.h: define extra data for standard properties as
16262         static variables on win32 (to get around dynamic linker problems).
16263         * objects/standard/polygon.c: polygon_create_change missing return
16264         statement.
16266 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
16268         * configure.in (ALL_LINGUAS): added Catalan
16270 2000-04-18  James Henstridge  <james@daa.com.au>
16272         * objects/standard/bezier.c (bezierline_get_object_menu): add a
16273         separator to the object menu between the add/remove segment items
16274         and the corner type items.
16275         (bezierline_get_object_menu): add code to disable the menu item for
16276         the current corner type.  Really just a cosmetic change.
16278         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
16279         a NULL for the label or with no associated callback.
16281         * objects/standard/bezier.c (bezierline_menu_items): use the
16282         enumeration values rather than numeric values for the corner types.
16284         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
16285         structure, and add code to handle it.  Also, don't save the corner
16286         types inline in the bez_points node.  The way it is conditionally
16287         including the element just feels like it will break.
16289         * lib/geometry.h (BezPoint): removed the corner_type stuff from
16290         BezPoint.  The corner type stuff is a user interface level idea rather
16291         than something required by the renderer, so should be taken care of
16292         at the object level.
16294 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16296         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
16297         checks.  Weren't able to reproduce original bug, tough.
16299 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
16301         * sheets/Electric.sheet:
16302         * sheets/Contact.sheet:
16303         * sheets/Pneumatic.sheet:
16304         * sheets/Circuit.sheet: sprayed some <br/>'s around.
16305         (added a few French translations in the last file)
16306         
16307 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16309         * lib/geometry.h: 
16310         * lib/bezier_conn.h: 
16311         * objects/standard/bezier.c: 
16312         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
16313         bezier points.  Only one minor problem known:  Menus are active
16314         for endpoints minor handles.
16315         11:28: Save and load now works, too.
16316         (bezierconn_closest_major_handle): 12:03: New function to get the
16317         non-control point handle associated with the nearest control
16318         point.  
16319         Also fixed the menu activation problem, and made remove_segment
16320         not remove the endpoint.
16322 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16324         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
16325         new API is in use.
16327 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
16329         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
16330         <sys/stat.h>.   OS/2 patch.
16332 2000-04-15  James Henstridge  <james@daa.com.au>
16334         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
16335         Thompson's patch that adds undo support to the function structure
16336         diagram objects.
16338 2000-04-14  James Henstridge  <james@daa.com.au>
16340         * objects/custom/custom_object.c (custom_distance_from): new
16341         implementation of distance algorithm that actually takes the
16342         display list into account when calculating the distance.  Much nicer
16343         than a simple bounding box.
16345 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
16347         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
16349 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16351         * objects/standard/polygon.c: Start of polygons own changes (for
16352         connectionpoints).  Need to do seperate changes in polyshape, too,
16353         rather than reuse the bezier changes.
16355 2000-04-13  James Henstridge  <james@daa.com.au>
16357         * lib/dia_image.c (dia_image_draw): use the new enumeration values
16358         from after the gdk-pixbuf cleanup.
16360         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
16361         on for loop.  Last set of coefficients were not beeing calculated,
16362         which caused a bit of breakage.
16364         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
16365         functions in geometry.c for calculating the closest segment.
16366         (bezierconn_distance_from): use distance_bez_line_point to calculate
16367         the distance.
16369         * lib/geometry.c (distance_bez_line_point): new function to calculate
16370         the distance from an open bezier line to a point.
16371         (distance_bez_shape_point): new function to calculate the distance
16372         from a closed bezier shape.
16373         (distance_ellipse_point): new function to calculate the distance from
16374         a filled ellipse to a point.
16376         * lib/geometry.h (BezPoint): moved this structure here from render.h
16378 2000-04-12  James Henstridge  <james@daa.com.au>
16380         * lib/geometry.c (distance_bez_seg_point): new function to calculate
16381         the distance from a bezier segment.
16383         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
16384         to calculate the distance from the object.
16386         * lib/geometry.c (distance_polygon_point): function for calculating
16387         the distance from a polygon to a point.
16389 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
16391         * app/interface.c:
16392         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
16393         breaks can be inserted in the tool box. 
16395         * doc/sheet.dtd: updated the DTD
16396         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
16397         
16398 2000-04-12  James Henstridge  <james@daa.com.au>
16400         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
16401         macro if the dialog is a GtkDialog :(
16403 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16405         * objects/standard/polygon.c: Connectionpoints now properly
16406         managed in a GList.  As far as I can tell, this will not dieturb
16407         the order (but I have the nagging doubt...)
16409         * lib/polyshape.c: No longer knows about connectionpoints.
16411 2000-04-11  James Henstridge  <james@daa.com.au>
16413         * app/Makefile.am: fix makefile for bonobo build.
16415         * configure.in: fix checks for bonobo.
16417         * app/menus.c: added entries for the plugin manager.
16419         * app/Makefile.am (dia_core_files): added plugin manager to files
16420         list.
16422         * app/plugin-manager.[ch]: the plugin manager dialog.
16424         * app/display.c (display_update_menu_state): set the antialiased
16425         menu entry to the correct value.
16427 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
16429         * objects/custom/custom_object.c: not all renderers like ellipses with
16430         negative dimensions. This could cause ellipses to disappear when using
16431         the flip_h and flip_v functions.
16433         * samples/grafcet.dia: fixed speling and correctness.
16434         
16435 2000-04-11  James Henstridge  <james@daa.com.au>
16437         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
16438         exposed the dia_plugin_load and dia_plugin_unload functions.
16440         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
16441         already created PluginInfo structure.
16443         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
16444         the pluginrc file.
16446         * lib/sheet.c: fix up call to dia_config_filename.
16448         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
16449         file.  This would save information such as which plugins not to
16450         load during startup.
16452 2000-04-09  James Henstridge  <james@daa.com.au>
16454         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
16456 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
16458         * lib/plug-ins.c (dia_register_plugins):
16459         Don't free the value returned from g_getenv.
16461 2000-04-09  Anders Carlsson  <andersca@gnu.org>
16463         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
16465         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
16467         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
16468         right to left, select objects that intersect the rubberbanding rectangle
16469         instead of selecting objects that are in the rectangle.
16471         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
16473         * lib/diagramdata.h: Likewise.
16476 2000-04-09  James Henstridge  <james@daa.com.au>
16478         * lib/plug-ins.[ch]: add copyright messages to files.
16480         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
16481         plugin interface.
16483         * objects/sybase/sybase.c (dia_plugin_init): 
16484         * objects/network/network.c (dia_plugin_init): 
16485         * objects/flowchart/flowchart.c (dia_plugin_init): 
16486         * objects/custom/custom.c (dia_plugin_init): 
16487         * objects/chronogram/chronogram.c (dia_plugin_init): 
16488         * objects/UML/uml.c (dia_plugin_init): 
16489         * objects/SADT/sadt.c (dia_plugin_init): 
16490         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
16491         * objects/FS/fs.c (dia_plugin_init): 
16492         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
16493         object libraries.
16495         * objects/standard/standard.c (dia_plugin_init): change over to new
16496         plugin interface.
16498         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
16499         the version checker for plugins.
16501         * app/app_procs.c: remove plugin loading code from here, and use
16502         code from plug-ins.[ch].  Also move registration of internal
16503         objects/filters to a `builtin' plugin.
16505         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
16507         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
16509         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
16510         defined variable in EXTRA_DIST.
16512         * app/preferences.h: removed dia_config_filename from header.
16514         * app/preferences.c: removed dia_config_filename function.
16516         * lib/dia_dirs.c (dia_config_filename): moved function over to this
16517         file.  Also changed implementation slightly so that it should work
16518         on the win32 port correctly (and use NT home directories).
16520         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
16521         it should have been.
16523         * lib/plug-ins.[ch]: new plugin loading code.
16525 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16527         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
16529         * lib/polyshape.c: Fix closest segment finding, exposes deeper
16530         bugs in adding corners to 'wraparound' segment.
16532         * objects/standard/polygon.c: Added connection points (fixed so
16533         far), set menu sensitivity.
16535         * lib/polyshape.c: Changed to box-style handles, fixed for start
16536         and ends not being special, added initial connections,
16538         * lib/dummy_dep.h: Added polyshape (gotcha!)
16540         * objects/standard/pixmaps/ellipse.xpm: 
16541         * objects/standard/pixmaps/box.xpm: 
16542         Filled element pixmaps with white.
16544         * lib/polyshape.c: 
16545         * objects/standard/polygon.c: 
16546         * lib/polyshape.h: 
16547         * objects/standard/standard.c: 
16548         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
16549         * lib/Makefile.am (libdia_a_SOURCES): 
16550         * app/menus.c: 
16551         * app/interface.c (tool_data): 
16552         Added Standard/Polygon object and PolyShape lib object.  Still
16553         needs inside grab and connection points.
16555         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
16556         available. 
16558         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
16559         not wanted.
16561         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
16562         if (argv) outside ifdefs.
16564 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16566         * objects/standard/image.c (image_set_props): 
16567         Aspect ratio is back in town.
16569         * app/Makefile.am (dia_LDADD): 
16570         * acconfig.h: 
16571         * configure.in: 
16572         Check for gdk_pixbuf (by default disabled, for now)
16574         * app/render_eps.c (draw_image): 
16575         * app/render_libart.c (draw_image): 
16576         * app/render_gnomeprint.c (draw_image): 
16577         Support for alpha mask in rendering.  Color postscript, too.
16579         * lib/dia_image.c: 
16580         * lib/dia_image.h: 
16581         Support for gdk_pixbuf and proper masking for exports.
16583 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
16585         * sheets/*.sheets: Updated Norwegian translations.
16586         
16587 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16589         * lib/text.c (text_insert_char): 
16590         * lib/render_store.c (add_data): 
16591         Made realloc double the alloced space rather than add
16592         a fixed amount, to reduce memory stress.
16594         * app/select.c: Added new select method 'Transitive'
16595         that select every reachable (by connections) object.
16597 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
16599         * dia.desktop: Added Norwegian translation.
16600         
16601 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16603         * app/render_eps.c:
16604         * app/render_svg.c:
16605         Don't dereference NULL pointer if the renderer
16606         couldn't open the file. Fix by Lars Clausen.
16607         Bug reported by Martin Chisholm <b1mt@unb.ca>
16608         
16609 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16611         * dia.desktop:
16612         * po/pt.po:
16613         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
16615 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16617         * app/dia.gnorba (location_info):
16618         Changed to correct executable name.
16620 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16622         * app/app_procs.c:
16623         Don't do any argument parsing or initialization
16624         if argv==NULL.
16626         * app/dia_embedd.c:
16627         Call init_server_factroy before app_init.
16628         Call app_init with argv==NULL
16629         Now we don't get any critical error on startup.
16631         * configure.in:
16632         Add Electric and Pneumatic to makefile list.
16633         
16634 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
16636         * shapes/Electric/*:
16637         * sheets/Electric.sheet:
16638         Add some Electric circuit shapes.
16640         * shapes/Pneumatic/*:
16641         * sheets/Pneumatic.sheet:
16642         Add some Pneumatic & Hydraulic circuit shapes
16643         (both sheets are still incomplete, though feature enough 
16644         things for basic circuits).
16646         * shapes/Contact/l_*.(xpm|shape):
16647         * sheets/Contact.sheet
16648         * shapes/Contact/Makefile.am
16649         made the older electric circuit shapes in Contact obsolete (disabled
16650         them in the sheet, made that sheet Ladder only). Fixed the makefile
16651         for forgotten items.
16652         
16653 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
16655         * app/Makefile.am:
16656         Add support for Dia bonobo component.
16657         Currently a bit raw, so it's commented out.
16658         
16659         * app/dia_embedd.c:
16660         * app/dia.gnorba:
16661         New files for embedding dia.
16662         The menu disabling hack is a bit gross. Esp. for GNOME.
16664         * app/app_procs.h:
16665         Add new function app_is_embedded();
16667         * app/diagram.c:
16668         Don't destroy diagram when last display is destroyed if embedded.
16669         
16670         * app/display.c:
16671         Change initialization of display so it works with embedding.
16673         * app/display.h:
16674         Clarify comment about display destruction.
16676         * app/interface.[ch]:
16677         Added top_level_window argument to create_display_shell.
16678         Don't open a top-level window if embedding.
16679         Don't quit app if trying to close toolbox window when embedding.
16680         Add toolbox_show() and toolbox_hide().
16682         * app/main.c:
16683         Added app_is_embedded() function (just returns false).
16684         Added toolbox_show() call in main().
16686         * app/menus.c:
16687         Added code for getting toolbox menus. This is used to
16688         hide some menu items when running embedded.
16689         
16690         * app/app_procs.c:
16691         Include sheet.h to remove warning.
16693         * objects/UML/association.c:
16694         Clarify association direction text.
16695         
16696 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
16698         * dia.1
16699         Fixed man page so whatis parsing works.
16701 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
16703         * app/render_libart.c (new_libart_renderer):
16704         Fix from segg <segg@infonet.ca> to compile without libart.
16705         I forgot to change the stub for new_libart_renderer when doing
16706         the interactive renderer stuff for libart.
16708 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
16710         * dia.desktop: Added Irish translation.
16711         
16712         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
16714 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
16716         * app/load_save.c (fchmod): OS/2 defines only.
16718 2000-03-07  James Henstridge  <james@daa.com.au>
16720         * lib/properties.c (prop_get_widget): set the position in the option
16721         menu correctly.
16723 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
16725         * app/display.c:
16726         * app/export_png.c:
16727         * app/render_libart.[ch]:
16728         Don't export png:s with an interactive libart renderer.
16730 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
16732         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
16734 2000-03-02  James Henstridge  <james@daa.com.au>
16736         * dia.spec (%build): unset LINGUAS before running configure.  This
16737         ensures that all translations get included in the RPM.
16739         * lib/properties.c (object_create_props_dialog): put in a check for
16740         a NULL return from the describe_props() object method.
16741         (prop_desc_lists_union): make sure that the returned array is not
16742         NULL.
16743         (prop_desc_lists_intersection): same here.
16745 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
16747         * objects/ER/Makefile.am:
16748         * objects/FS/Makefile.am:
16749         * objects/UML/Makefile.am:
16750         Don't link object libs with gtk.
16752 2000-02-29  James Henstridge  <james@daa.com.au>
16754         * app/preferences.c (prefs_save): check to see if the file could
16755         be opened before writing the prefs.
16757         * app/disp_callbacks.c (popup_object_menu): pass the button event
16758         to gtk_menu_popup.  This allows you to click and release to open
16759         the object menu.
16760         (ddisplay_canvas_events): same here.
16761         (create_object_menu): set the object type menu item in the object
16762         menu to be insensitive.
16764         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
16765         as we are now requiring a new version of libxml.
16767         * dia.spec: updated version number.  Added requirement for
16768         libxml >= 1.8.5
16770         * configure.in: incremented version number to 0.84.
16771         Added check for libxml >= 1.8.5.  This will prevent some of the
16772         problems people have had with broken libxml versions.
16774         * NEWS: added news items.
16776         * app/interface.c (create_color_area): removed call to realize parent
16777         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
16778         but I haven't seen it on my copy of dia.
16780 2000-02-28  James Henstridge  <james@daa.com.au>
16782         * app/export_png.c: added copyright notice, and made the band height
16783         a constant.
16785 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
16787         * lib/font.c (suck_font):
16788         Fixed off-by one bug in font pixmap height.
16789         Fixes the problem with garbage at the bottom of some text in aa mode
16790         and in png exported files.
16792 2000-02-27  James Henstridge  <james@daa.com.au>
16794         * app/app_procs.c: add the png export filter if it was compiled in.
16796         * app/export_png.c (export_png): new PNG export filter.  This requires
16797         the libart renderer to work as it needs a renderer that renders to a
16798         pixel buffer.
16800         * configure.in: add check for libpng.
16802         * lib/message.c (message_internal): use a GNOME dialog here as well.
16804         * app/display.c (ddisplay_close): use a GNOME dialog here.
16806         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
16807         when exporting to EPS.  This is because some people said the EPS
16808         output was too large
16810 2000-02-26  James Henstridge  <james@daa.com.au>
16812         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
16813         window.
16815         * app/app_procs.c (app_exit): use a GNOME dialog here.
16817         * app/preferences.c (prefs_create_dialog): if GNOME support is
16818         enabled, show a GNOME dialog.
16820         * app/grid.c (grid_draw): use preferences when drawing page break
16821         lines.
16823         * app/preferences.c: add page break preferences to dialog.
16825         * app/preferences.h: added page break preferences.
16827 2000-02-25  James Henstridge  <james@daa.com.au>
16829         * sheets/UML.sheet: added new objects.
16831         * objects/UML/uml.c: link in the two new objects.
16833         * objects/UML/node.c: 
16834         * objects/UML/branch.c: new UML objects from Stfan Seefeld
16835         <seefelds@magellan.umontreal.ca>.
16837 2000-02-24  James Henstridge  <james@daa.com.au>
16839         * objects/custom/custom_object.c: converted to use the properties
16840         interface.  In the future, it would be nice to add support for
16841         defining custom properties for custom objects, but that can wait.
16843 2000-02-22  James Henstridge  <james@daa.com.au>
16845         * sheets/Circuit.sheet: added new circuit shapes to sheet.
16847         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
16848         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
16849         and adds a few new features.
16851 2000-02-21  Daniel Egger  <egger@suse.de>
16853         * sheets/*.sheets: Added German translations and made some
16854         corrections to the others.
16855         
16856 2000-02-21  James Henstridge  <james@daa.com.au>
16858         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
16860         * shapes/Circuit/...: added new shapes from Erik Janssens.
16862 2000-02-20  James Henstridge  <james@daa.com.au>
16864         * app/interface.c (create_color_area): realize the parent window
16865         first.
16867         * objects/standard/image.c: properties patch for standard image
16868         object, from Lars Clausen.
16870         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
16872         * lib/properties.h (PropType): added file property type.
16874         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
16875         other shapes.
16877         * app/interface.c: use wrap box for toolbox.
16879         * app/Makefile.am: added new files.
16881         * app/gtk*wrapbox.[ch]: added wrap box widget.
16883 2000-02-19  James Henstridge  <james@daa.com.au>
16885         * sheets/network.sheet: added extra shapes to networks sheet.
16887         * configure.in (AC_OUTPUT): added shapes/network/Makefile
16889         * shapes/network/*: added shapes that were posted to the list a while
16890         back.
16891         
16892         * shapes/Makefile.am (SUBDIRS): added network subdirectory
16894         * app/menus.c (toolbox_menu_items): don't right justify help menu for
16895         gtk+ version of menus.
16897         * app/properties.c (create_dialog): use a GnomeDialog if we happen
16898         to be using gnome.
16900 2000-02-18  James Henstridge  <james@daa.com.au>
16902         * objects/flowchart/box.c: set extra data for corner radius and text
16903         padding properties.
16905         * objects/standard/box.c: set extra data for corner radius property.
16907         * lib/properties.h: set extra data in some standard properties.
16909         * lib/properties.c (prop_get_widget): look at the extra data for
16910         int, real and enum property types.  They now use GtkSpinButton and
16911         GtkOptionMenu respectively.
16913         * lib/properties.h: extra data members for creating property setting
16914         widgets.
16916 2000-02-17  James Henstridge  <james@daa.com.au>
16918         * objects/flowchart/box.c: reverted load/save functions back to
16919         previous implementations.  Made box use standard property names.
16921         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
16923         * app/grid.c: add more digits to the grid edit dialog.  This patch
16924         was also from Lars Clausen.
16926         * objects/standard/zigzagline.c: 
16927         * objects/standard/textobj.c:
16928         * objects/standard/polyline.c:
16929         * objects/standard/line.c:
16930         * objects/standard/ellipse.c:
16931         * objects/standard/box.c: 
16932         * objects/standard/bezier.c: 
16933         * objects/standard/arc.c: patches to add properties code to standard
16934         objects.  Based on patches from Lars Clausen.  I have also removed
16935         some dead code from the files.
16937         * lib/properties.h (PROP_STD_*): define a number of standard
16938         properties.  Where appropriate, objects should include these
16939         properties in their PropDescription list.  This way, the intersection
16940         of properties of two different shapes will be greater.
16942 2000-02-14  James Henstridge  <james@daa.com.au>
16944         * objects/flowchart/box.c (box_load, box_save): use property save
16945         routines.  Make sure that any props not handled by object_load_props
16946         are loaded before calling object_load_props, or we get errors because
16947         update_data is called.
16949         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
16950         error that could cause properties to be loaded incorrectly.
16951         (object_set_props_from_offsets): similar here.
16953         * lib/properties.[ch] (prop_{load,save}): functions for loading
16954         or saving a property in Dia's XML file format.
16955         (object_{load,save}_props): load or save some properties of an
16956         object.  These functions should help simplify the load/save methods
16957         of objects that implement the properties interface.
16959 2000-02-13  James Henstridge  <james@daa.com.au>
16961         * objects/flowchart/box.c: use offset code to simplify property
16962         get/set routines.
16964         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
16965         properties.
16966         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
16968         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
16969         properties.
16970         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
16972         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
16973         functions 
16975 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
16977         * app/Makefile.am:
16978         Add the custom object to DIA_LIB_PATH in run_dia.sh
16980 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
16982         * sheets/Circuit.sheet:
16983         * shapes/l_sout* (NEW):
16984         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
16985         variants of simple, inverted, set and reset outputs.
16986         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
16987         probably a split of Contact and Ladder sheets. And then a major 
16988         revamping of the Contact sheet.
16990 2000-02-10  James Henstridge  <james@daa.com.au>
16992         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
16994         * app/app_procs.c (register_all_objects): don't explicitely
16995         register the custom objects library -- let it be loaded by the
16996         normal plugin loading methods.
16998         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
17000         * objects/custom/Makefile.am: build libcustom_objects as a shared
17001         library again.
17003         * objects/custom/shape_info.[ch]: don't read the description field
17004         of custom shapes.  It makes more sense to have these in the sheet
17005         file to localise the parts of dia that translators have to deal
17006         with.
17008         * objects/custom/custom_object.c (custom_object_new): do not
17009         create the sheet object for the new custom shape -- this is
17010         handled by the custom sheet code.
17012         * objects/custom/custom.c: change over to being a normal plug-in
17013         rather than being linked with the main dia executable.
17015 2000-02-09  James Henstridge  <james@daa.com.au>
17017         * sheets/Circuit.sheet: 
17018         * sheets/Flowchart.sheet: 
17019         * sheets/Contact.sheet: fixed up sheets.
17021         * objects/custom/custom_object.c (custom_object_new): set the
17022         extra ObjectType fields.
17024         * lib/sheet.c: use extra ObjectType fields when creating sheet
17025         objects.  Give a warning if <shape> tags are found in a sheet
17026         file.  Now the custom sheet code does not know about custom
17027         shapes -- they look like any other object type.
17029         * lib/object.h (ObjectType): added extra members
17031 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17033         * app/linewidth_area.c:
17034         Added code to set arbitrary line width.
17035         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
17037 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17039         * app/linewidth_area.c: 
17040         * lib/font.[ch]:
17041         Add support for font-sucking.
17042         Implementation borrowed from gnome-canvas.
17043         
17044         * app/render_libart.[ch]:
17045         Implement text rendering.
17047 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
17049         * app/properties.c (create_dialog):
17050         ref and sink no_properties_dialog.
17052 2000-02-07  James Henstridge  <james@daa.com.au>
17054         * app/group.c (group_describe_props): new function.  Return the
17055         intersection of the properties of the contained objects that
17056         implement the describe_props interface.
17057         (group_get_props): implement by iterating through contained objects
17058         and calling their get_props method until all properties have been
17059         set.  Maybe this should go through all objects all the time??
17060         (group_set_props): implement by calling set_props method on all
17061         contained objects.
17062         (group_ops): use standard props dialog creation routines.
17064         * lib/properties.c (prop_desc_lists_intersection): fix implementation
17065         of intersection -- I was using i++ instead of i-- in a for loop :(
17067         * objects/custom/custom.c (custom_register_objects): fix usage
17068         of dia_get_data_directory again.
17070         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
17071         actually read the sheets.
17073 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
17075         Win32 port by Hans Breuer <Hans@Breuer.org>
17077         * app/Makefile.am:
17078         Remove DATADIR and LIBDIR defines.
17080         * lib/Makefile.am:
17081         Add dia_dirs.c and dia_dirs.h
17082         Added DATADIR and LIBDIR defines.
17084         * lib/dia_dirs.[ch]:
17085         New files for handling special directories.
17087         * app/app_procs.c:
17088         * app/commands.c:
17089         * lib/sheet.c:
17090         * objects/custom/custom.c:
17091         Fix warnings.  Use directory functions.
17093         * app/diagram.h:
17094         Add prototype for diagram_redraw_all.
17096         * app/diaunitspinner.c:
17097         * app/filedlg.c:
17098         * app/interface.c:
17099         * app/preferences.c:
17100         Fix warning.
17102         * app/load_save.c:
17103         Win32 doesn't have mkstemp and fchmod.
17105         * app/paginate_psprint.c:
17106         Win32 calls popen _popen and pclose _pclose.
17107         
17108         * app/arrow.c:
17109         Win32 calls finite _finite.
17111         * lib/color.h:
17112         Win32 needs to dllexport the color vars.
17114         * objects/GRAFCET/step.c:
17115         * objects/chronogram/chronoref.c:
17116         snprintf -> g_snprintf
17118 2000-02-05  James Henstridge  <james@daa.com.au>
17120         * lib/properties.c: more fixes so that it doesn't crash when using
17121         properties.  The undo/redo stuff also works!!
17123         * objects/flowchart/box.c (box_{describe, get, set}_props): test
17124         object where I have implemented the new properties interface
17125         complete with automatic properties dialog generation.
17127         * lib/properties.c (object_apply_props): fixed stupid error when
17128         creating the old_props array.  Also, it no longer frees the props
17129         array -- you will have to do that yourself.
17131 2000-02-04  James Henstridge  <james@daa.com.au>
17133         * app/properties.c (properties_apply): pass object_part to
17134         apply_properties.
17136         * lib/object.h (ApplyPropertiesFunc): added widget argument.
17138         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
17139         created this way as well.
17141         * objects/*/*.c: ref and sink the properties dialog window for each
17142         widget.  It can't rely on ref count being incremented by
17143         properties_show anymore.
17145         * app/properties.c (properties_show): don't ref the widget before
17146         removing it, or its ref count will increase each time you open the
17147         properties dialog.  Don't unparent the widget, as container_remove
17148         does that for us.
17150         * lib/object.h: fixed up prototypes for new object methods.
17152         * lib/properties.[ch]: added functions for automatically creating
17153         a properties dialog from the output of describe_props, get_props and
17154         set_props.
17155         (object_apply_props): apply properties and return an ObjectChange
17156         structure that can be used for undo.
17158 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
17160         * objects/GRAFCET/transition.c: minor leak plugged.
17162         * sheets/GRAFCET.sheet:
17163         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
17164         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
17165         conditions.
17166         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
17167         new ones (for condition.c).
17168         * objects/GRAFCET/action.c: added connection points for the conditions.
17169         * samples/grafcet.dia: updated the sample to improve conformance to
17170         IEC 848 and take advantage of dia's new features.
17171         
17172         * lib/geometry.h: (point_get_normed) fixed a typo.
17174 2000-02-02  James Henstridge  <james@daa.com.au>
17176         * lib/object.h: added object functions describe_props, get_props and
17177         set_props.  Do type definitions so that object.h doesn't need to
17178         include properties.h, since properties.h includes object.h.
17180         * lib/properties.[ch]: more hacking.
17182         * po/de.po: updated po file.
17184 2000-01-30  James Henstridge  <james@daa.com.au>
17186         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
17187         check to see if the C compiler accepts the flag beforehand.
17189         * lib/properties.[ch]: start of properties code.
17191         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
17193 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
17194         
17195         * sheets/GRAFCET.sheet:
17196         * sheets/GRAFCET/etapemc.xpm: (NEW)
17197         * sheets/GRAFCET/etapesp.xpm: (NEW)
17198         * objects/GRAFCET/step.c: Added the macro and
17199         sub-program call step types.
17201         * objects/GRAFCET/receptivity.[ch]: renamed to 
17202         objects/GRAFCET/boolequation.[ch]. 
17203         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
17204         (BoolEquation *)
17206         * lib/connpoint_line.[ch]: 
17207         * objects/chronogram/chronoline.c:
17208         * objects/chronogram/chronoref.c:
17209         * objects/GRAFCET/vergent.c:
17210         * objects/standard/line.c:
17211         * objects/SADT/box.c: Minor CPL interface changes, factored out the
17212         point count adjustment code into the CPL object.
17213         
17214 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17216         * app/render_libart.c:
17217         Added support for images and bezier curves.
17218         Only text/fonts missing now.
17220         * app/render_gdk.c:
17221         Removed old erronous comment.
17223 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
17225         * objects/chronogram/chronoline_event.c: removed references to
17226         lround(). Please don't insist, I'm already red of shame.
17227         
17228 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17230         * app/render_libart.[ch]:
17231         * app/Makefile.am:
17232         Non-finished libart renderer.
17234         * acconfig.h:
17235         Added HAVE_LIBART flag
17237         * configure.in:
17238         Added libart probe
17240         * app/app_procs.c:
17241         Call gdk_rbg_init().
17243         * app/connectionpoint_ops.c:
17244         * app/disp_callbacks.c:
17245         * app/grid.c:
17246         * app/handle_ops.c:
17247         * app/magnify.c:
17248         * app/modify_tool.c:
17249         Change ddisp->renderer type from RendererGdk * to Renderer *
17250         Draw zoom and select rects in ddisp->canvas->window instead
17251         of ddisp->renderer->renderer->pixmap.
17253         * app/display.[ch]:
17254         Add aa_renderer to DDisplay, and  support for it.
17255         New function ddisplay_set_renderer() for changing renderer.
17256         Add ddisplay_transform_coords_double() function, used by aa renderer.
17257         Change ddisp->renderer type from RendererGdk * to Renderer *
17259         * app/menus.c:
17260         Add antialias to menu.
17261         
17262         * app/commands.[ch]:
17263         add view_aa_callback function
17264         Change ddisp->renderer type from RendererGdk * to Renderer *
17266         * lib/geometry.[ch]:
17267         Added IntRectangle and int_rectangle_union.
17269 2000-01-28  James Henstridge  <james@daa.com.au>
17271         * app/commands.h: removed prototypes.
17273         * app/commands.c: removed the functions that have been moved to
17274         filedlg.c.
17276         * app/filedlg.h: added new prototypes.
17278         * app/filedlg.c (file_open_callback): move open dialog to this
17279         file.  This implementation should remember the current directory
17280         between file loads.
17281         (file_save_as_callback): moved this dialog as well.
17282         (file_save_callback): moved this function here.
17284         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
17285         align page boundaries to the origin.
17287         * app/diagram.c (diagram_update_extents): redraw the diagram if the
17288         scaling factor changes while updating the extents.  This is so the
17289         page breaks get redrawn correctly.
17291         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
17292         applying changes.
17294         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
17295         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
17296         the corner of the bounding box.
17298         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
17299         into page setup dialog.
17300         (pagesetup_apply): apply new `fit to' attributes to the diagram.
17302         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
17303         (diagram_data_save): save `fit to' data.
17305         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
17306         (data_update_extents): when in `fit to' mode, update scale factor
17307         when we update the extents.
17309         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
17310         structure.
17312         * .../.cvsignore: added some cvsignore files to quieten cvs.
17313         
17314         * app/pagesetup.c (pagesetup_changed): added code to change the
17315         scaling/fit to values as you change the options in the page setup
17316         dialog.  I haven't added code so that the fit to options are saved
17317         though.
17319         * app/diapagelayout.[ch]: changed the scaling portion of the widget
17320         to make it easier to set a `fit to' style scaling factor.
17322 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
17323         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
17324         but connpoint_line-based, so that there's a connection point at the 
17325         middle of each segment. Currently only the SADT arrow uses this.
17327         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
17328         
17329 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
17330         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
17331         saving and editing of properties (and default properties). 
17332         See the new objects (GRAFCET, SADT, chonograms) for examples.
17333         For already too hairy stuff, see objects/chronogram/chronoline.c.
17335         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
17336         evenly spaced connection points, which the user can add or remove at
17337         will. An object can own several connection point lines. See the SADT
17338         Box, or the GRAFCET vergents for examples.
17340         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
17341         quiet about unused stuff.
17343         * objects/GRAFCET (NEW):
17344         * samples/grafcet.dia (NEW):
17345         Added support for GRAFCET charts. 
17347         * objects/chronogram (NEW):
17348         * samples/chronograms.dia (NEW):
17349         Added support for chronograms (feature requested by Ronald L. Chichest;
17350         I found I'd use it often, too).
17352         * objects/standard/line.c: Replace the middle connectionpoint by 
17353         a whole connection point line, which defaults to one point (hint, 
17354         hint). New Line object menu to take advantage of this. 
17355         "Bothwards" compatibility is preserved (although you may loose 
17356         connections if you load a newer file in a older dia).
17358         * app/lineprops_area.c:
17359         * lib/arrows.[ch]:
17360         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
17361         (feature requested by Benjamin Kahn).
17362         Merged in Steffen Macke's slashed arrow head type.
17364         * app/Makefile.am (app/run_dia.sh actually):
17365         Added $DEBUGGER in front of dia's invocation, so that
17366         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
17367         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
17368         "EFENCE=-lefence" to link with Electric Fence.
17370         * configure.in: Made gcc do more aggressive optimisations on i386, and
17371         enabled warnings.
17372         
17373 2000-01-24  James Henstridge  <james@daa.com.au>
17375         * lib/geometry.[ch]: added inline versions of functions.  Used
17376         glib's G_INLINE_FUNC stuff, so it should still work on systems
17377         without inline funcs.
17379         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
17380         it outputs the correct element id for the ellipse objects.
17382 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
17384         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
17385         object_add_handle_at. Message typo fixed.
17386         
17387         * lib/sheet.c (load_register_sheet):
17388         potential bug fixed (warning hunt).
17390         * objects/custom/custom.c (custom_object_load): disabled an assertion
17391         which made dia abort upon failure to load a shape file. Fixed a
17392         subsequent crash. 
17394         * objects/custom/shape_info.c (load_shape_info): Made the custom 
17395         shape load code ignore XML comments between <?xml ...?> and the 
17396         root object (mostly useful to put the emacs magic comments).
17397         
17398         * app/load_save.c: Made dia do backup copies of files when saving,
17399         and complain in case of failure.
17401 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
17403         * AUTHORS: fixed my address (ISP thought it was a great idea to change
17404         the domain name)
17405         
17406         * configure.in:
17407         * shapes/Contact:
17408         * shapes/Contact/*:
17409         * sheets/Contact.sheet:
17410         * sheets/Makefile.am:
17411         Added support for Contact and LADDER charts.
17413         * dia.desktop: Added a French translation.
17414         
17415 2000-01-23  James Henstridge  <james@daa.com.au>
17417         * app/commands.c (help_about_callback): don't die if can't load
17418         logo image.
17420         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
17421         out NaN's when performing bezier curve subdivision.
17423         * objects/custom/custom_object.c: initialise memory of Custom structs
17424         to zero.
17426         * app/render_svg.c (draw_image): added image support to the XML
17427         output filter.  The image is just referenced, rather than being
17428         included inline, so if you copy the SVG file somewhere else, you
17429         may need to move the images or fix up the links.
17431         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
17432         so the text is not just displayed in black all the time.
17434 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
17436         * configure.in: fixed libpopt test so we wont try to build with
17437         too old libpopt.
17439 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
17441         * configure.in: Added "uk" to ALL_LINGUAS.
17443 1999-12-24  James Henstridge  <james@daa.com.au>
17445         * po/ru.po: updated russian translation from Valek Filippov.
17446         
17447         * app/render_svg.c (new_svg_renderer): make output use 19991203
17448         version of SVG DTD.  Use viewBox to set the extents of the view.
17450         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
17451         ftp.gnome.org as the download.
17453         * TODO (TODO): weeded out completed todo items and added a few extra.
17455         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
17457         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
17458         be good to get rid of the object/shape distinction and separate
17459         the custom shape code out from the main application.
17461         * objects/custom/README, diagram.dtd: moved to new doc directory.
17462         Renamed the custom shapes README to custom-shapes.  Also updated
17463         custom shape docs a bit and removed the section on sheet files, as
17464         that has changed a bit.
17466         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
17467         of the image data is larger than the maximum cell array.  I should
17468         add code to break scan lines down further in this case, but for now
17469         an error message is better than an infinite loop.
17471         * app/filedlg.c (file_export_ok_callback): show a dialog if we
17472         couldn't determine the export filter to use.
17474         * app/commands.c (help_about_callback): fixed up about box logo
17475         expose bug.  Now just use a GtkPixmap widget rather than a
17476         GtkDrawingArea and calling gdk_imlib_paste_image.
17478         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
17479         because automake does not always get things right.
17481         * configure.in: updated version number to 0.83.
17483         * app/preferences.c (prefs_save): 
17484         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
17485         for fopen.  Text is the default file mode anyway.
17487         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
17488         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
17489         * app/load_save.c (write_objects, write_connections): 
17490         * app/filedlg.c (file_export_ok_callback): 
17491         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
17492         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
17493         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
17494         snprintf to calls to g_snprintf.
17496         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
17497         as the picture name.
17499 1999-12-23  James Henstridge  <james@daa.com.au>
17501         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
17502         negative numbers.  This fixes the upside down text problem I was
17503         having previously.
17504         (draw_image): implemented the image code.  It will try to split the
17505         image data up into bands if it is too big to fit into a single
17506         cgm cell array element.  It will have problems if you try to insert
17507         an image wider than about 10,000 pixels though.
17509         * Makefile.am: use gnomedatadir for the files that need to be
17510         installed in gnome's datadir.  This is mainly to help people doing
17511         packages for weird setups.
17513 1999-12-22  James Henstridge  <james@daa.com.au>
17515         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
17516         beziers are left to do.  The text seems to be the wrong way up
17517         still.  This is probably a problem with character orientation
17518         element, but I have used what the settings given in the standard.
17519         Other than this, the CGMs dia produces are readable (and displayable)
17520         by ralcgm and corel draw.
17521         (draw_string): subtract from the X coord rather than the Y coord for
17522         center and right aligned text.
17524         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
17525         the size of a real number, and changed name of write_double to
17526         write_real.  Consider changing to fixed real encoding.  Also, now
17527         all element headers are correct.  Once the real number encoding is
17528         fixed, only text, beziers and images are left to do.
17530 1999-12-21  James Henstridge  <james@daa.com.au>
17532         * Makefile.am (SUBDIRS): recurse into plug-ins.
17534         * configure.in: add plug-ins directory makefiles to list.
17536         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
17537         not done yet.  Also, the output files are not quite correct.
17539         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
17540         font.  It doesn't work if you do.
17542 1999-12-20  James Henstridge  <james@daa.com.au>
17544         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
17545         export the files.  Instead, use filter_guess_export_filter to
17546         guess the correct format to save in and use the appropriate filter.
17547         It defaults to postscript for compatibility.
17549         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
17550         function.
17552         * app/commands.[ch]: removed export to eps functions.
17554         * app/menus.c: removed export to eps menu items.
17556         * app/app_procs.c: register new export filters.
17558         * app/load_save.[ch]: define dia native export filter.
17560         * app/render_eps.[ch]: define eps export filter.
17562         * lib/filter.h: added diafilename argument to the DiaExportFunc
17563         prototype.  This is useful for putting the source of the diagram
17564         into the output file for instance.
17566         * app/app_procs.c (app_init): register the SVG export filter.  Have
17567         to get EPS code converted to this API, and maybe also allow saving in
17568         DIA's native format from the export dialog.  In fact, it is now
17569         possible to load an export filter from a shared library and it will
17570         integrate into the interface correctly.
17572         * app/menus.c: removed references to the SVG renderer.
17574         * app/commands.[ch]: removed svg stuff.
17576         * app/diagram.[ch]: removed diagram_export_to_svg function.
17578         * app/render_svg.[ch]: added a DiaExportFilter structure for this
17579         renderer.
17581         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
17582         probably move the open/save dialogs to this file as well.
17584 1999-12-19  James Henstridge  <james@daa.com.au>
17586         * lib/filter.[ch]: start of interface for generalised handling of
17587         filters.  I have only done code for export filters so far.  I still
17588         need to do the gui for this, and convert the current SVG and EPS
17589         filters to the new API.
17591         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
17592         weren't setting the last handle correctly.  It was actually assigning
17593         to the wrong position in the handles array, so the last handle was
17594         left as NULL, which caused the segfault.
17596         * objects/standard/image.c (image_copy): modified routine so that
17597         it just adds a reference to the DiaImage structure in the new image
17598         object.  This seems to have cleared up the problems with copying
17599         image objects.
17601         * dia.spec: spec file additions from John Gotts.
17603 1999-12-12  James Henstridge  <james@daa.com.au>
17605         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
17606         has not been released yet though.
17608         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
17610         
17611         The following based on a patch from Lars Clausen:
17612         
17613         * objects/standard/bezier.c (bezierline_move_handle): when performing
17614         the initial drag of the bezierline, move the control points to keep
17615         the line straight.
17617         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
17618         make the new control points a bit closer to the major point.
17620         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
17621         as the reason for the move.
17622         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
17623         move reason.
17625         * lib/handle.h: new handle move reasons.
17627 1999-12-09  James Henstridge  <james@daa.com.au>
17629         * dia.spec: include the new files in RPMs.
17631         * Makefile.am: install these new files.
17633         * dia.keys.in: file describing actions and icon for dia diagrams for
17634         use in the gnome file manager.
17635         
17636         * dia.mime: a file defining the application/x-dia-diagram mime type.
17637         
17638         * dia-diagram.png: an icon for dia diagrams.
17640 1999-12-08  James Henstridge  <james@daa.com.au>
17642         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
17644         * plug-ins/python/pydia-display.[ch]: wrapper for display.
17646         * objects/standard/ellipse.c: applied Lars's patch to optionally not
17647         draw the background of the ellipse.
17649         * app/load_save.c (read_connections): do some sanity checking on the
17650         handle and connection point numbers before performing the object
17651         connection.
17653         * lib/bezier_conn.c (bezierconn_load): give the correct number of
17654         handles when loading a BezierConn.
17656 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
17658         * sheets/*.sheet: Finished Norwegian translations.
17659         
17660 1999-12-07  James Henstridge  <james@daa.com.au>
17662         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
17663         (PyDia_GetObjectType): find object type function.
17665         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
17666         method for diagrams.
17668         * plug-ins/python/pydia-object.c: added methods for DiaObject and
17669         DiaObjectType.
17671         * AUTHORS: added Lars and Cyrille to the authors file.
17673         * objects/standard/bezier.c (bezierline_add_segment_callback): place
17674         new point correctly.
17676         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
17678         * lib/bezier_conn.c: applied Lars's patch for placement of the new
17679         point when adding a segment to a BezierConn.
17681 1999-12-06  James Henstridge  <james@daa.com.au>
17683         * plug-ins/python/test.py: test script for the python plug-in.
17685         * plug-ins/python/python.c: this file contains the plug-in startup
17686         code for the python plugin.  Right now, it just initialises the
17687         dia module and executes a script.
17689         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
17691         * objects/standard/bezier.c (bezierline_draw): draw control lines for
17692         bezier curve if we are using an interactive renderer (ie. only if
17693         displaying to the screen).
17695         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
17696         to draw control lines on to a bezier curve.  Based on implementation
17697         from Lars.
17699         * objects/standard/bezier.c (bezierline_delete_segment_callback):
17700         calculate segment number using closest_segment rather than
17701         closest_handle.  Sometimes the closest handle is part of a different
17702         segment.
17703         (bezierline_draw): use correct size for start arrow.
17705         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
17706         * lib/geometry.c (distance_line_point): added notes to documentation
17707         in comment.
17708         * app/object_ops.c (object_list_align_v): 
17709         (object_list_align_h): fix of by one error when calculating free space
17710         for equal distance alignment.
17711         * app/menus.c (objects_align_h, objects_align_v): include align
17712         adjacent menu items in the gnome version of the menus.
17713         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
17714         align adjacent menu items correctly.
17717         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
17718         table.
17720         * objects/standard/bezier.c: converted bezierline to use BezierConn.
17721         Still a few bugs.  It crashes on deleting line segments.
17723         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
17725 1999-12-05  James Henstridge  <james@daa.com.au>
17727         * lib/bezier_conn.[ch]: start of BezierConn object
17729         * app/interface.c: add bezierline to toolbox.
17731         * objects/standard/standard.c: initialise bezierline.
17733         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
17734         made a few modifications to get it working nicely.  It still needs
17735         a bit of work though.  Maybe create a BezierConn object in lib.
17737 1999-12-02  James Henstridge  <james@daa.com.au>
17739         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
17740         
17741         * plug-ins/python/Makefile.am: tried building everything.  It is
17742         building as a library at the moment.  I will have to convert it
17743         to a libtool library and add some initialisation code.
17744         
17745         * plug-ins/python/diamodule.c: start of the dia module, using the
17746         other object wrappers.  Not complete.
17748 1999-12-01  James Henstridge  <james@daa.com.au>
17750         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
17751         the handles and connections attributes.
17753         * plug-ins/python/pydia-layer.c: added functions that use
17754         ConnectionPoint's.
17756         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
17758         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
17760         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
17761         I am currently wrapping the basic elements in the diagram in python
17762         objects -- nothing to see or play with yet.
17764 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
17766         * AUTHORS:
17767         * HACKING:
17768         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
17770 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
17772         * configure.in:
17773         * po/ru.po:
17774         Added russian translation from Valek Filippov <frob@df.ru>
17776 1999-11-24  James Henstridge  <james@daa.com.au>
17778         * sheets/UML/*: 
17779         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
17780         discussed with Alex.  Also added extra makefiles so that make install
17781         works correctly.
17783 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
17785         * app/preferences.[ch]:
17786         * app/display.c:
17787         Added snap to grid preference.
17788         Patch from Michael Leslie <mles@springboardwireless.com>
17790 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17792         * app/load_save.c:
17793         * lib/dia_xml.c:
17794         * lib/sheet.c:
17795         * lib/text.c:
17796         * objects/custom/shape_info.c:
17797         All strings returned by libxml must be freed with free, not
17798         g_free, or there will be problems if you use memory debugging
17799         in glib.
17800         
17801 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17803         * app/create_object.[ch]:
17804         * app/menus.c:
17805         * app/tool.[ch]:
17806         * app/commands.[ch]:
17807         * app/pixmaps.h:
17808         * app/interface.[ch]:
17809         Reverted the tool menu patch. It has some 'issues'.
17810         I liked it though, so it'll probably return.
17812 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17814         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
17815         <bruce@cybersight.com> for some purify runs and analysis.
17816         Also a great thank you to Owen Taylor for creating MemProf, a
17817         free memory leak detector that was used to find and verify a
17818         lot of these fixes.
17819         
17820         * app/diagram.c:
17821         * app/paginate_psprint.c:
17822         * app/render_eps.[ch]:
17823         * app/render_svg.[ch]:
17824         Free renderers.
17826         * app/interface.c:
17827         Don't add a reference to ddisp->shell. Why was this done in
17828         the first place?
17830         * app/load_save.c:
17831         * lib/dia_xml.c:
17832         * lib/sheet.c:
17833         * lib/text.c:
17834         Free all strings returned from xmlGetProp
17836         * app/modify_tool.c:
17837         Plug leak.
17839         * objects/custom/custom.c:
17840         Use closedir() after opendir().
17842         * objects/custom/shape_info.c:
17843         User g_free() instead of "if (tmp) free(tmp)".
17845         * sheets/ER.sheet:
17846         Add newline at end of file.
17847         
17849 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17851         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
17852         Adds tool menu and keyboard shortcuts.
17854         * app/create_object.[ch]:
17855         Use tool_set() instead of tool_reset().
17856         create_create_object_tool() takes extra type argument
17858         * menus.c:
17859         Add tools menu.
17860         
17861         * tool.[ch]:
17862         Moved tool_data here, export it.
17863         Add separate tool type for all create objects tools.
17864         new functions tool_set().
17866         * commands.[ch]:
17867         New callback tool_set_callback.
17869         * pixmaps.h:
17870         Moved some pixmaps to interface.c.
17871         
17872         * interface.[ch]:
17873         Remove tool_data array (moved to tool.c).
17874         Use the tool_data from tool.c.
17875         Remove modify_tool_button global var.
17876         
17877 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17879         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
17880         
17881         * app/app_procs.c:
17882         Interprets command-line arguments as files to open even when
17883         HAVE_POPT is not defined.
17885         * app/magnify.c:        
17886         Shift-clicking when zooming zooms out, like the Gimp.
17888         * app/menus.c:
17889         Has hotkeys for zoom-100% and snap-to-grid.
17891 1999-11-17  James Henstridge  <james@daa.com.au>
17893         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
17894         that it is not jumpy.
17896         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
17898         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
17899         scrolling by pressing the shift key when using the scroll tool.
17901         * sheets/Makefile.am: fixed makefile so that install actually works
17902         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
17903         don't exist.
17904         (SHEETS): install Circuit.sheet
17906 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
17907         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17909         * sheets/Circuit.sheet:
17910         * sheets/ER.sheet:
17911         * sheets/FS.sheet:
17912         * sheets/Flowchart.sheet:
17913         * sheets/UML.sheet:
17914         * sheets/network.sheet:
17915         * sheets/sybase.sheet:
17916         Changed name space
17918         * sheets/Circuit.sheet:
17919         added some missing French translations
17921         * lib/sheet.c:
17922         killed the temporary sheet namespace
17924         * objects/custom/custom.c:
17925         obsolete comment cleaned up
17927 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
17929         * configure.in:
17930         * po/pt.po:
17931         Added portugese translation from Pedro Morais
17932         <pmmm@rnl.ist.utl.pt>
17934 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
17936         Changed all sheets to be specified in xml.
17937         All sheet objects removed from the C code.
17938         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17939         
17940         * Makefile.am:
17941         * configure.in:
17942         Adding shapes dir.
17943         Updated version to 0.81cvs.
17944         
17945         * app/Makefile.am:
17946         Update run_dia.sh with sheet-dir.
17947         
17948         * app/app_procs.c:
17949         Load all sheets on startup.
17950         Create sheet directory first time.
17951         Don't call custom_register_sheets().
17953         * lib/Makefile.am:
17954         Add sheetdir define
17956         * lib/custom.h:
17957         Remove custom_register_sheets().
17959         * lib/sheet.[ch]:
17960         Add sheet loading code.
17962         * sheet/Circuit.sheet:
17963         * sheet/ER.sheet:
17964         * sheet/FS.sheet:
17965         * sheet/Flowchart.sheet:
17966         * sheet/UML.sheet:
17967         * sheet/network.sheet:
17968         * sheet/sybase.sheet:
17969         Added sheet files.
17971         * sheet/ER/weakentity.xpm:
17972         * sheet/UML/aggregation.xpm
17973         * sheet/UML/umlclass_template.xpm
17974         Added sheet pixmaps.
17975         These are moved from their old places.
17977         * sheet/.cvsignore:
17978         Shut up cvs.
17980         * objects/*/*.c:
17981         Removed sheet objects and sheet registration.
17982         
17983         * objects/ER/Makefile.am:
17984         * objects/ER/pixmaps/weakentity.xpm:
17985         * objects/UML/Makefile.am:
17986         * objects/UML/pixmaps/aggregation.xpm:
17987         * objects/UML/pixmaps/umlclass_template.xpm:
17988         Removed alternative pixmaps. (Moved to sheet).
17990         * objects/custom/Makefile.am:
17991         * objects/custom/load_sheet.[ch]:
17992         Removed old sheet loading code.
17993         
17994         * objects/custom/custom.c:
17995         Load all shapes instead of sheets.
17996         Removed custom_register_sheets().
17998         * objects/custom/custom_object.c:
17999         Added debug code.
18001         * objects/custom/shape_info.[ch]:
18002         Added shape_info_getbyname().
18004         * objects/flowchart/Makefile.am:
18005         * objects/flowchart/collate.shape            
18006         * objects/flowchart/delay.shape              
18007         * objects/flowchart/display.shape            
18008         * objects/flowchart/document.shape           
18009         * objects/flowchart/extract.shape            
18010         * objects/flowchart/flowchart.c              
18011         * objects/flowchart/intstorage.shape         
18012         * objects/flowchart/magdisk.shape            
18013         * objects/flowchart/magdrum.shape            
18014         * objects/flowchart/magtape.shape            
18015         * objects/flowchart/manualinput.shape        
18016         * objects/flowchart/manualop.shape           
18017         * objects/flowchart/merge.shape              
18018         * objects/flowchart/offlinestore.shape       
18019         * objects/flowchart/offpageconn.shape        
18020         * objects/flowchart/or.shape                 
18021         * objects/flowchart/predefdproc.shape        
18022         * objects/flowchart/preparation.shape        
18023         * objects/flowchart/punchedcard.shape        
18024         * objects/flowchart/punchedtape.shape        
18025         * objects/flowchart/sort.shape               
18026         * objects/flowchart/sumjunction.shape        
18027         * objects/flowchart/terminal.shape           
18028         * objects/flowchart/transaction.shape        
18029         * objects/flowchart/transmittape.shape       
18030         * objects/flowchart/pixmaps/collate.xpm      
18031         * objects/flowchart/pixmaps/delay.xpm        
18032         * objects/flowchart/pixmaps/display.xpm      
18033         * objects/flowchart/pixmaps/document.xpm     
18034         * objects/flowchart/pixmaps/extract.xpm      
18035         * objects/flowchart/pixmaps/intstorage.xpm   
18036         * objects/flowchart/pixmaps/magdisk.xpm      
18037         * objects/flowchart/pixmaps/magdrum.xpm      
18038         * objects/flowchart/pixmaps/magtape.xpm      
18039         * objects/flowchart/pixmaps/manualinput.xpm  
18040         * objects/flowchart/pixmaps/manualop.xpm     
18041         * objects/flowchart/pixmaps/merge.xpm        
18042         * objects/flowchart/pixmaps/offlinestore.xpm 
18043         * objects/flowchart/pixmaps/offpageconn.xpm  
18044         * objects/flowchart/pixmaps/or.xpm           
18045         * objects/flowchart/pixmaps/predefdproc.xpm  
18046         * objects/flowchart/pixmaps/preparation.xpm  
18047         * objects/flowchart/pixmaps/punchedcard.xpm  
18048         * objects/flowchart/pixmaps/punchedtape.xpm  
18049         * objects/flowchart/pixmaps/sort.xpm         
18050         * objects/flowchart/pixmaps/sumjunction.xpm  
18051         * objects/flowchart/pixmaps/terminal.xpm     
18052         * objects/flowchart/pixmaps/transaction.xpm  
18053         * objects/flowchart/pixmaps/transmittape.xpm 
18054         Moved shapes and their pixmaps to shapes/flowchart
18056         * shapes/Circuit/Makefile.am:
18057         * shapes/Circuit/index.sheet:
18058         Removed index.sheet.
18059         
18060         * shapes/Makefile.am:
18061         * shapes/flowchart/Makefile.am:
18062         * shapes/flowchart/*.shape:
18063         * shapes/flowchart/*.xpm:
18064         Added flowchart shapes. (Moved from objects/flowchart)
18065         
18067 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18069         * app/app_procs.c: Fixed popt stuff.
18071 1999-11-01  James Henstridge  <james@daa.com.au>
18073         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
18074         Andreas Scherf.
18076 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18078         * dia.spec:
18079         * configure.in:
18080         Update version to 0.81.
18081         
18082         * NEWS:
18083         Update with news for 0.81.
18084         
18085         * shapes/Circuit/*:
18086         * shapes/Circuit_eu/*:
18087         Moved european circuit objects to Circuit sheet.
18089 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18090         
18091         * lib/diagramdata.[ch]:
18092         Added layer_set_object_list() function.
18094         * app/undo.[ch]:
18095         Added support for undo of reordered objects.
18096         Fix the undo of delete to keep the right order on undo.
18097         
18098         * app/diagram.c:
18099         changed loop to object_add_updates_list() calls.
18100         Added undo support to bring to front/back.
18102         * app/disp_callbacks.c:
18103         * app/paginate_psprint.c:
18104         Remove warnings.
18106 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
18108         This plugs some leaks. Thanks to
18109         Bruce Mitchener <bruce@cybersight.com> for running
18110         Dia through purify for me.
18111         
18112         * app/app_procs.c:
18113         Free displays and diagrams on exit.
18115         * app/modify_tool.c:
18116         Free gc when freeing tool.
18118         * lib/diagramdata.c:
18119         Free layer name.
18120         
18121         * app/display.c:
18122         Free update and display lists when destroying display.
18123         
18124         * lib/diagramdata.c:
18125         Don't leak layer name.
18127         * objects/custom/load_sheet.c: 
18128         * objects/custom/shape_info.c:
18129         Free loaded xml documents.
18131 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
18133         * app/commands.c:
18134         * app/object_ops.[ch]:
18135         Add undo handling to alignment ops.
18136         Based partially on patch by Dan Cohn <dan@internap.com>.
18138         * objects/standard/image.c (image_move_handle):
18139         Don't divide by zero for small images.
18140         Patch by Dan Cohn <dan@internap.com>.
18142         * objects/UML/class.c (umlclass_destroy): 
18143         * objects/custom/custom_object.c (custom_destroy):
18144         Don't free connectionpoints before calling element_destroy
18145         which unconnects them.
18147 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
18149         * objects/custom/custom_object.c: 
18150         Load and save padding too. Fixes strange load crashes.
18152         * app/group.c (group_destroy):
18153         Don't unconnect already freed connectionpoints when
18154         destroying group. Probably fixes bug reported by
18155         Elliot Lee <sopwith@redhat.com>.
18157         * app/render_gdk.c:
18158         Don't crash on zero-size (broken) bezier curves.
18159         Different sort of fix. This should work on closed bezier curves
18160         too.
18162         * objects/standard/textobj.c:
18163         Activate default properties dialog for Text objects.
18165         * app/render_eps.c: 
18166         * app/load_save.c:
18167         * app/preferences.c:
18168         * app/render_svg.c:
18169         fopen files in binary or text mode.
18171 1999-10-26  Alexander Larsson  <alex@cendio.se>
18173         * app/render_gdk.c (bezier_add_lines):
18174         Don't crash on zero-size (broken) bezier curves.
18175         Fixes a crashing bug.
18177 1999-10-25  James Henstridge  <james@daa.com.au>
18179         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
18180         before it is installed.
18182         * objects/flowchart/flowchart.c: use relative paths to find shapes.
18184         * objects/custom/custom.c (custom_object_load): take file names
18185         relative to $(pkgdatadir)/shape-internal, and check an environment
18186         variable for an alternative directory.
18188         * app/...: added copyright messages to the top of my new code.
18190         * app/paginate_psprint.c: some general clean ups.  Also, give an error
18191         dialog if we can't open the command or output file for writing.
18193         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
18194         function so it would set orientation to landscape correctly.
18196         * app/paginate_psprint.c: use the paper settings that come with
18197         the diagram.  Also implemented landscape printing.
18199         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
18200         in PS header.
18202         * app/commands.[ch] (file_pagesetup_callback): added callback for
18203         the page setup dialog.
18205         * app/menus.c: added page setup menu item.
18207         * app/pagesetup.[ch]: implementation of the page setup dialog.
18209         * app/diapagelayout.[ch]: added accessors for the scaling factor.
18210         
18211         * app/load_save.c (diagram_load): load paper information from save
18212         file.
18213         (diagram_save): save the paper info.
18215         * lib/diagramdata.c (new_diagram_data): initialise paper info section
18216         of DiagramData structure.
18217         (diagram_data_destroy): free the paper name.
18219         * lib/diagramdata.h: added a paper member to the DiagramData structure
18220         that holds the page layout info for a diagram.
18222 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18224         * objects/flowchart/box.c:
18225         * objects/flowchart/ellipse.c:
18226         * objects/flowchart/diamond.c:
18227         * objects/flowchart/parallelogram.c:
18228         Load and save padding too. Fixes strange load crashes.
18230 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18232         * app/app_procs.c (name_is_lib):
18233         .dll, .sl and .so.0.0.0 are also libraries.
18235 1999-10-20  James Henstridge  <james@daa.com.au>
18237         * configure.in: added extra makefile.
18238         
18239         * shapes/Circuit_eu/*: a new set of european circuit shapes from
18240         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
18241         (added fuses to makefile, fill the area of some of the components).
18243 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
18245         * lib/Makefile.am:
18246         * app/Makefile.am: 
18247         Add GDK_IMLIB_CFLAGS to includes.
18248         Changed --export-dynamic to -export-dynamic
18250         * lib/widgets.c:
18251         * objects/UML/message.c:
18252         Removed c++ comment.
18254         * lib/render_store.[ch]:
18255         Don't use empty structure. That is not Ansi C.
18257 1999-10-19  James Henstridge  <james@daa.com.au>
18259         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
18260         the margin entries, as they allow interpretation of units.
18261         (paper_size_change): display the current page dimensions.
18263         * app/diaunitspinner.[ch]: a widget derived from the standard
18264         GtkSpinButton that tries to take units into account.  So if you enter
18265         "1in" into the entry, it will convert it to 2.54cm.
18267 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
18269         * app/app_procs.c:
18270         Removed include of dlfcn.h
18272 1999-10-18  James Henstridge  <james@daa.com.au>
18274         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
18275         bound on margin widths.  It is set to the paper width/height.
18277         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
18278         routine for the diamond.  This bug was found and fixed by Daniel Wang
18279         <danwang@CS.Princeton.EDU>
18281 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
18283         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
18284         remove warning (OS/2 version).
18286 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18288         * README:
18289         Put a pointer to objects/custom/README.
18290         
18291 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18293         * dia.spec:
18294         Updated version to 0.80
18296         * configure.in:
18297         Updated version to 0.80cvs
18299 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18301         * Released Dia 0.80
18302         Tag called DIA_0_80
18303         
18304 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
18306         * app/Makefile.am
18307         * lib/Makefile.am
18308         * objects/UML/Makefile.am
18309         * objects/ER/Makefile.am
18310         * objects/network/Makefile.am
18311         * objects/standard/Makefile.am
18312         * objects/FS/Makefile.am
18313         * objects/sybase/Makefile.am
18314         * objects/flowchart/Makefile.am
18315         * objects/custom/Makefile.am
18316         Added -I$(top_srcdir)/intl which is needed for
18317         --with-included-gettext.
18319         * POTFILES.in
18320         Updated.
18321         
18322         * po/sv.po
18323         Updated swedish translation.
18325 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18327         * configure.in:
18328         Updated version number to 0.80.
18330         * KNOWN_BUGS:
18331         New file.
18333         * TODO:
18334         Updated. Moved bugs to KNOWN_BUGS.
18336         * NEWS:
18337         Updated with 0.80 release notes.
18338         
18339 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18340         
18341         * lib/orth_conn.c:
18342         For backwards compatibility, make sure handle 0 and 1 are the
18343         first and last handle. Fixes compatibility with 0.41, breaks
18344         compatibility with cvs version.
18345         Fixed bug in undo/redo of adding deleting endpoint segments
18346         when the endpoint was connected.
18347         Start OrthConn objects with three segments.
18349 1999-10-16  James Henstridge  <james@daa.com.au>
18351         * objects/custom/custom_object.c (custom_update_data): changed
18352         resizing behaviour a bit so that shapes don't grow huge when you try
18353         to resize them to smaller than the size required by the text box.
18354         Also, now shapes will not grow with fixed aspect ratio when you enter
18355         text into them unless the shape has the fixed aspect ratio flag set.
18357 1999-10-15  James Henstridge  <james@daa.com.au>
18359         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18361         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18363         * objects/flowchart/magdrum.shape: 
18364         * objects/flowchart/offlinestore.shape: 
18365         * objects/flowchart/punchedtape.shape: 
18366         * objects/flowchart/transmittape.shape: 
18367         * objects/flowchart/punchedcard.shape: new shapes.
18369         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18371         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18373         * objects/flowchart/collate.shape:
18374         * objects/flowchart/delay.shape:
18375         * objects/flowchart/extract.shape:
18376         * objects/flowchart/intstorage.shape:
18377         * objects/flowchart/magdisk.shape:
18378         * objects/flowchart/magtape.shape:
18379         * objects/flowchart/merge.shape:
18380         * objects/flowchart/or.shape:
18381         * objects/flowchart/sort.shape:
18382         * objects/flowchart/sumjunction.shape: new shapes.
18384 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
18386         * TODO (BUGS):
18387         Added bug:
18388         Entering an erronous command as print command
18389         crashes dia.
18391         * app/paginate_psprint.c:
18392         Save all print dialog values for next time.
18393         
18394         * app/Makefile.am:
18395         Remove custom lib from DIA_LIB_PATH.
18397 1999-10-14  James Henstridge  <james@daa.com.au>
18399         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18401         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18402         
18403         * objects/flowchart/offpageconn.shape: 
18404         * objects/flowchart/manualop.shape: 
18405         * objects/flowchart/preparation.shape: 
18406         * objects/flowchart/manualinput.shape: 
18407         * objects/flowchart/predefdproc.shape: 
18408         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
18410 1999-10-13  James Henstridge  <james@daa.com.au>
18412         * app/diapagelayout.[ch]: added accessors to paper information.  The
18413         widget should be just about complete now.
18415         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
18416         It actually does something now.
18418 1999-10-12  James Henstridge  <james@daa.com.au>
18420         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
18421         for the page layout widget.
18423         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
18424         built yet as it is not complete.
18426         * objects/flowchart/flowchart.c: added new shapes to sheet.
18428         * objects/flowchart/display.shape:
18429         * objects/flowchart/transaction.shape: new shapes.
18431         * AUTHORS: added my name to the spec file.
18433         * dia.spec: include the dia desktop entry to the spec file.
18435         * Makefile.am: install the dia.desktop file.
18437         * dia.desktop: added a gnome desktop entry so you can start dia
18438         from the gnome panel menu.
18440 1999-10-11  James Henstridge  <james@daa.com.au>
18442         * objects/custom/custom_object.c:
18443         * objects/custom/shape_info.c: warning fixes.
18445         * objects/flowchart/document.shape: a shape file for the `document'
18446         flowchart shape.
18448         * lib/custom.h: new header with the custom shape prototypes.
18450         * app/app_procs.c: register custom objects as well.
18451         (register_objects_in): close shared libraries if they don't load
18452         correctly, and call g_module_make_resident on libraries that load
18453         correctly.
18455         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
18457         * objects/custom/custom.c: removed get_version, added custom_ prefix
18458         to register_objects and register_sheets.
18460         * objects/custom/Makefile.am: converted to a normal library.
18462 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18464         * app/lineprops_area.c:
18465         * app/render_svg.c:
18466         * lib/objchange.c:
18467         * objects/custom/shape_info.c:
18468         * objects/flowchart/box.c:
18469         * objects/flowchart/diamond.c:
18470         * objects/flowchart/ellipse.c:
18471         * objects/flowchart/parallelogram.c:
18472         * objects/network/flash.c:
18473         * objects/network/scead-plug.c:
18474         * objects/sybase/client.c:
18475         Removed -Wall warnings.
18476         
18477         * objects/network/bus.c:
18478         Removed unused functions.
18480         * objects/FS/flow-ortho.c:
18481         * objects/FS/flow-poly.c:
18482         * objects/FS/flow.c:
18483         * objects/FS/function.c:
18484         
18485         Implemented "non-implemented" undo for FS objects.
18486         Now at least it won't crash.
18487         
18488 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18490         * objects/network/bus.c:
18491         Implemented undo.
18492         Handles are now added and removed using the object menu.
18493         Default to 6 handles instead of 10.
18494         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18495         name for backwards compatibility.
18497         * objects/network/network.c:
18498         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18499         name for backwards compatibility.
18501         * app/properties.[ch]:
18502         * app/undo.c:
18503         Update properties in properties dialog if the shown object
18504         is part of and ObjectChange (undo or redo).
18506         * lib/poly_conn.c:
18507         Remove old known bugs list.
18509         * objects/UML/class_dialog.c:
18510         Removed debug printf's.
18512 1999-10-10  James Henstridge  <james@daa.com.au>
18514         * objects/custom/custom.c (custom_object_load): new function that
18515         provides a nice entry point to the custom shape code for when it
18516         gets used by other libraries.
18518         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
18519         speeds builds up a bit.
18521         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
18522         (SUBDIRS): do not descend into pixmaps subdirs.
18524         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
18525         This speeds up build process.
18527         * objects/custom/custom.c (sheets): made variable static.
18529         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
18530         renamed function.
18532         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
18534         * objects/custom/custom.c: look in ~/.shapes instead of
18535         ~/.dia_shapes as the per-user shapes directory.
18537         * app/preferences.c (prefs_save): save config to ~/.diarc.
18538         (prefs_load): load configuration from ~/.diarc.  If the file
18539         does not exist, fallback on the old ~/.diarc location.
18541         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
18542         on startup.
18543         (register_all_objects): look for user specific objects in
18544         ~/.objects rather than ~/.dia_libs.
18546 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18548         * configure.in:
18549         * app_procs.c:
18550         * objects/flowchart/box.c
18551         * objects/flowchart/ellipse.c
18552         * objects/flowchart/flowchart.c 
18553         Use gmodule for dynamic linking. As gmodule is using
18554         RTLD_GLOBAL i had to change flowchart box and ellipse
18555         so the typenames doesn't conflict with the standard
18556         box and ellipse.
18558         * message.c
18559         * commands.c
18560         Use button box to make dialogs look better.
18562 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
18564         * objects/UML/class_dialog.c:
18565         * objects/UML/class.h:
18566         Implemented undo for "UML - Class" objects.
18567         Not 100% tested yet.
18569         * objects/UML/classicon.c:
18570         * objects/UML/constraint.c:
18571         * objects/UML/dependency.c:
18572         * objects/UML/generalization.c:
18573         * objects/UML/implements.c:
18574         * objects/UML/large_package.c:
18575         * objects/UML/lifeline.c:
18576         * objects/UML/message.c:
18577         * objects/UML/object.c:
18578         * objects/UML/realizes.c:
18579         * objects/UML/state.c:
18580         * objects/UML/usecase.c:
18581         Removed warnings.
18582         
18583         * lib/connectionpoint.h:
18584         Fixed typo.
18585         
18586 1999-10-09  James Henstridge  <james@daa.com.au>
18588         * objects/custom/*.[ch]: added copyright notices to custom object
18589         files.
18591         * shapes/Circuit/hdiode.shape:
18592         * shapes/Circuit/hzener.shape: 
18593         * shapes/Circuit/opamp.shape:
18594         * shapes/Circuit/vdiode.shape:
18595         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
18596         shapes look nice after the custom shape code changes.
18598         * objects/custom/README: updated docs to cover changes to drawing
18599         code.
18601         * objects/custom/custom_object.c (custom_draw): honour the line
18602         properties when drawing the shape.
18604         * objects/custom/shape_info.[ch]: added support for setting line
18605         properties for individual drawing elements in a custom shape.  You
18606         can set the dash style, dash length, cap style and join style.
18608 1999-10-07  James Henstridge  <james@daa.com.au>
18610         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
18611         for foreground and background.
18613         * objects/custom/custom_object.c (custom_draw): use the new style
18614         information when drawing the object.
18616         * objects/custom/shape_info.[ch]: store all shape style info in the
18617         GraphicStyle structure.  This makes adding support for extra CSS
18618         attributes easier -- we don't have to keep adding extra arguments to
18619         a lot of functions.
18621 1999-10-05  James Henstridge  <james@daa.com.au>
18623         * lib/intl.c (unalias_lang): merged in changes from the i18n code
18624         swiped from gnome-libs.
18626 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
18628         * objects/standard/image.c (get_directory):
18629         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
18631 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18633         * lib/poly_conn.c (polyconn_destroy):
18634         Fix bug. Access of freed memory.
18635         Rememeber, you can't free the handles of an object
18636         before calling object_destroy(), as it unconnects the handles
18637         therefore referencing them.
18639 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18641         * app/undo.c:
18642         undo_clear() didn't set stack->depth to zero.
18643         This made other undo functions crash after this had been called
18644         on a "full" stack.
18645         
18646         * dia.xpm:
18647         Slightly modified by Chris Love <clove@exactis.com>
18649 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18651         * objects/UML/class.h: 
18652         * objects/UML/class_dialog.c:
18653         Retrun NULL ObjectChange on class property change.
18654         This means no crashes, but "UML - Class" doesn't support undo yet.
18655         
18656 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18657         
18658         * lib/text.c:
18659         Indentation fix.
18661         * objects/UML/classicon.c:
18662         * objects/UML/dependency.c:
18663         * objects/UML/generalization.c:
18664         * objects/UML/implements.c:
18665         * objects/UML/large_package.c:
18666         * objects/UML/lifeline.c:
18667         * objects/UML/message.c:
18668         * objects/UML/object.c:
18669         * objects/UML/realizes.c:
18670         * objects/UML/state.c:
18671         * objects/UML/usecase.c:
18672         Update to new undo (w. get/set_state).
18673         Add object menu to add/delete segments.
18675 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
18677         * app/menus.c:
18678         Add equal distance alignment.
18680         * app/object_ops.c:
18681         Add equal distance alignment.
18682         Fix bug in adjacent alignment.
18684 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
18686         * objects/UML/constraint.c: 
18687         Update to new undo (w. get/set_state).
18689 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
18691         * app/paginate_psprint.c:
18692         Save (parts, more todo) of the info in the print dialog to the
18693         next time it's opened.
18694         Patch from Yo Ric Dude <ricdude@toad.net>
18696 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
18698         * configure.in:
18699         Updated version string to 0.41cvs.
18701         * objects/UML/assocition.c:
18702         Update to new undo (w. get/set_state).
18703         Add object menu to add/delete segments.
18705         * app/app_procs.c:
18706         Added function debug_break() and called it after all
18707         objects and sheets are loaded. Place a breakpoint here if you
18708         want to debug objects. All symbols should be loaded.
18710 1999-09-12  James Henstridge  <james@daa.com.au>
18712         * app/menus.c (display_menu_items): added print menu item.
18713         (filemenu): always add print menu item -- even if gnome-print is
18714         not installed.
18716         * app/commands.h, app/commands.c (file_print_callback): the print
18717         menu item is now available for both gnome-print and non gnome-print
18718         setups.
18720         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
18721         print with the non gnome-print driver.
18723 1999-09-11  James Henstridge  <james@daa.com.au>
18725         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
18726         printer dialog code out of commands.c.
18728         * app/paginate_psprint.c: new file containing the pagination code for
18729         psprint.
18731         * app/render_eps.c: made a few modifications so as well as producing
18732         EPS files, this renderer can be set up to do postscript printing.
18733         This basically entailed adding an extra function to create a RenderEPS
18734         renderer which did not bother setting the viewport for the document.
18735         That was left for the pagination code.
18737 1999-09-10  James Henstridge  <james@daa.com.au>
18739         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
18740         gnome-print does not support elliptic arcs at the moment, approximate
18741         the ellipse with eight bezier curves.  This gives a pretty good
18742         match to a true ellipse.
18744 1999-09-09  James Henstridge  <james@daa.com.au>
18746         * app/commands.c (file_gnome_print_callback): added support for
18747         scaling the diagram.  Also fixed a few other bugs.
18749         * app/paginate_gnomeprint.c (print_page): added ability to scale
18750         document.  Fixed up test to see if the page has no objects on it.
18751         This should prevent some blank pages being printed.  Non square
18752         objects such as lines could still cause problems.
18754 1999-09-08  James Henstridge  <james@daa.com.au>
18756         * app/commands.c (file_gnome_print_callback): changed from using the
18757         standard printer selection dialog to one that also has a paper size
18758         selector as well.
18760         * commands.[ch]: added callbacks for the print menu item.  Currently
18761         it only does A4 output.  I will make it configurable soon.
18762         
18763         * app/menus.c: add a print diagram menu item if gnome-print support
18764         is enabled.
18765         
18766         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
18767         bit higher level than the gnome-print renderer.  It splits the
18768         diagram into page size chunks and then renders them.  For each
18769         page, it only renders the objects whose bounding box intersects
18770         the page, and it sets the clip mask so that the diagram does not
18771         overlap the margins.
18772         
18773         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
18774         that uses gnome-print as its back end.
18775         
18776         * configure.in: added a check for gnome-print.  It is disabled by
18777         default because the code is not really working correctly yet.
18779         * app/menus.c: the delete object menu item was missing from the
18780         GnomeUIInfo style menus.
18782 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18784         * configure.in
18785         Added japanese to ALL_LINGUAS.
18786         Fix for Linux on Alpha.
18788 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
18790         * app/create_object.c (create_object_button_press):
18791         Always initialize tool->obj. Otherwise we store a null
18792         in the undo Change.
18794         * lib/text.c:
18795         Set linestyle before drawing cursor.
18796         Fix undo of backwards delete.
18798 1999-09-05  James Henstridge  <james@daa.com.au>
18800         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
18802         * app/render_svg.c (draw_image): some fixes so that the appropriate
18803         style attributes are set.  Before it was setting line styles on
18804         fill_* functions.  Now it only does this for the draw_* variants.
18806         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
18807         variable so that custom shapes can be loaded.
18809         * shapes/: new directory for custom shapes.  The Circuit sheet has
18810         been moved here.
18812 1999-09-02  James Henstridge  <james@daa.com.au>
18814         * TODO: removed a few todo items that have been implemented.
18816         * app/interface.c (create_sheets): enabled the popup page menu to the
18817         notebook.  This can make it easier to select different sheets.
18819         * object/custom/Circuit/: added diode, zener diode, ground point and
18820         operational amplifier shapes.
18821         
18822         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
18823         if you want the output.
18825         * objects/custom/shape_info.c (parse_path): same here.
18827         * objects/custom/load_sheet.c (load_with_readdir): don't print so
18828         much debugging output.  To get the previous level of output, define
18829         DEBUG_CUSTOM.
18831         * objects/custom/shape_info.c (parse_svg_node): polygons were being
18832         recorded as polylines in the ShapeInfo structure.
18834         * objects/custom/README: some notes on writing new custom shapes.
18835         
18836 1999-09-01  James Henstridge  <james@daa.com.au>
18838         * objects/custom/Circuit/hinductor.*:
18839         * objects/custom/Circuit/vinductor.*: added inductor shapes that
18840         also test out the bezier curve and SVG path support.
18841         
18842         * objects/custom/custom_object.c (custom_draw): added support for
18843         drawing bezier paths and filled shapes.
18845         * objects/custom/shape_info.c (parse_path): new function to parse
18846         SVG path elements.  It does not do quadratic beziers or elliptic
18847         arcs though.  Only moves, lines and cubic beziers.
18848         (*): added support for paths.
18850 1999-08-31  James Henstridge  <james@daa.com.au>
18852         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
18854         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
18855         interface
18857         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
18858         interface
18860         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
18861         interface.
18863         * lib/render_store.[ch]: use newer bezier functions.
18865         * lib/render.h: changed the bezier drawing functions to use an array
18866         of BezPoint structures instead of normal Point structures to allow
18867         lineto's mixed in with the curveto's.
18868         
18869         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
18870         
18871         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
18872         xpm images for different shapes to Makefile.
18874         * objects/custom/custom_object.c (custom_object_new): set the icon
18875         for the sheet button if there is one.  Otherwise fall back on the
18876         default custom object icon.
18878         * objects/custom/shape_info.c (load_shape_info): read the sheet
18879         icon name from the shape file.
18881         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
18882         check the pixmap_file field for the name of a pixmap file to load
18883         for the tool.
18885         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
18886         at the end of the structure, and it isn't used if the pixmap field
18887         is non NULL, so it should not break binary compatibility.
18889         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
18890         added support for the use of an index.sheet file so you can specify
18891         the ordering of the shapes in the sheet, and also internationalise
18892         the sheet name and actually be able to give a description.  The old
18893         readdir based sheet loading code acts as a fallback if an index.sheet
18894         file can not be found.
18896         * objects/custom/custom_util.[ch]: new file containing useful routines
18897         needed by the custom object code.  Currently only contains a simple
18898         routine for resolving relative paths.
18900         * objects/custom/custom_object.c (custom_draw): fixed problem with
18901         drawing rectangles if the shape has been flipped.
18903 1999-08-30  James Henstridge  <james@daa.com.au>
18905         * objects/custom/custom_object.c (custom_get_object_menu): allow
18906         flipping of custom shapes.  This uses the miggle click object
18907         menu.
18909         * objects/custom/Circuit/npn.shape: fix aspect ratio.
18911         * objects/custom/custom_object.c (custom_update_data): honour the
18912         aspect ratio constraints.
18914         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
18915         tag parsing, so you can specify a free, fixed or a range for aspect
18916         ratios for the shape.
18918 1999-08-29  James Henstridge  <james@daa.com.au>
18920         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
18921         up shape namespace tag.
18923         * objects/custom/shape_info.c (load_shape_info): check xml:lang
18924         attribute on <description> elements to support i18n for custom
18925         shape descriptions.
18926         Also changed the shape namespace for custom shapes to something
18927         a little more sensible.
18929         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
18931         * lib/intl.c: new file containing some functions for i18n stuff.
18933         * app/layer_dialog.c (create_button_box): fixed a warning.
18935         * objects/custom/custom_object.c: use current line style.  Save dash
18936         length.
18938         * objects/flowchart/diamond.c: use current line style.  Save dash
18939         length.
18941         * objects/flowchart/parallelogram.c: use current line style.  Save
18942         dash length.
18944         * objects/flowchart/ellipse.c: use current line style.  Save dash
18945         length.
18947         * objects/flowchart/box.c: use current line style.  Save dash length.
18949         * objects/standard/ellipse.c: make ellipse use current line style.
18951         * objects/standard/box.c: use the line style set in the toolbox for
18952         new boxes, and remember the dash length.
18954         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
18955         rulers.
18957 1999-08-24  James Henstridge  <james@daa.com.au>
18959         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
18960         to try to stop ellipse to get infinite width/height when we resize,
18961         while trying to keep the text inside the ellipse.
18963         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
18964         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
18965         resizing behaviour, so that you can't push objects round the screen
18966         with the resize handles.
18968         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
18969         get the OK buttons in the dialogs to take default clicks.
18971         * objects/custom/custom_object.c: added code so that resizing the
18972         shape does not end up pushing it round the screen.
18974 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
18976         * app/display.[ch]:
18977         Generate rectangle with the union of the damaged regions.
18978         This is used to optimize the grid paint and the object rendering.
18979         display_render_pixmap passes this info to grid_draw() and data_render().
18981         * app/grid.[ch]:
18982         grid_draw doesn't draw grid lines outside of damaged rectangle.
18983         Sets dashlength when drawing non-solid grid.
18984         
18985         * lib/diagramdata.[ch]:
18986         data_render() and layer_render() takes an optional damaged rectangle
18987         argument. No objects not intersecting this are drawn.
18989         * app/diagram.c:
18990         Fix warning.
18991         Call data_render with NULL update rectangle.
18992         
18993 1999-08-23  James Henstridge  <james@daa.com.au>
18995         * objects/custom/custom_object.c (custom_update_data): if the aspect
18996         ratio is fixed, make sure the shape is not distorted.
18998         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
18999         a <fixaspectratio/> tag is given in the shape file.
19001         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
19002         added support for stroke-width, stroke and fill CSS attributes
19003         specified in style attributes of the SVG elements.  The line width
19004         is relative to the user specified line width.  The stroke and fill
19005         attributes can only be used to swap the foreground/background
19006         colours.
19008         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
19009         sensitivity on the dash length selector when this function is called.
19011         * objects/standard/arc.c: same.  Also handle dash length.
19012         * objects/standard/zigzagline.c: same.
19013         * objects/standard/polyline.c: same.  Also handle dash length.
19014         * objects/standard/line.c: use default arrow/line styles.
19016         * app/interface.c: added callbacks to set the default attributes.
19018         * lib/attributes.c: added implementations of these functions.
19020         * lib/attributes.h: added extra prototypes for the new line properties
19021         area in the toolbox.
19023         * app/interface.c (create_lineprops_area): added line properties
19024         area to bottom of toolbox.
19026         * app/lineprops_area.h: a header exporting a few routines of the
19027         line properties area widgets.
19029         * app/lineprops_area.c: new file containing a selector for arrows
19030         and line styles to go in the main toolbox.
19032 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
19034         * HACKING:
19035         Update Gtk+ 1.0.5 comment to 1.2.0.
19037         * INSTALL:
19038         Demand libtool 1.3
19040         * acconfig.h:
19041         Add HAVE_LIBPOPT
19043         * configure.in:
19044         Make sure we don't propagate -ldl and -lpopt to all LIBS
19045         by adding new var APP_LIBS that only app/dia links with.
19046                 
19047         * app/Makefile.am:
19048         Update run_dia.sh to load custom and flowchart objects.
19050         * objects/ER/Makefile.am:
19051         * objects/FS/Makefile.am:
19052         * objects/UML/Makefile.am:
19053         * objects/network/Makefile.am:
19054         * objects/standard/Makefile.am:
19055         * objects/sybase/Makefile.am:
19056         Don't build versioned libs.     
19057         
19058 1999-08-22  James Henstridge  <james@daa.com.au>
19060         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
19061         list.
19063         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
19064         should actually work a bit now.
19066         * objects/custom/Circuit/*: a test sheet for the custom shape code.
19067         It is a small collection of circuit elements.
19069         * objects/custom/shape_info.c: fixed up loading of polylines and
19070         polygons.  Before it was removing negative signs :(
19072         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
19073         placeholder was here before.  I still need to work out how to set
19074         icons for individual custom shapes.
19075         
19076         * objects/custom/custom.c: added code to load the shapes into sheets
19077         properly.  The shape files should be arranged into directories, and
19078         each directory represents a different sheet in the toolbox.  This
19079         will make it very easy to distribute a collection of dia shapes as
19080         a tarball.  I still need to work out internationalisation, and maybe
19081         also shape ordering in the sheet.
19083         * objects/custom/custom_object.c: fixed up dialogs for these objects.
19084         (custom_create): fix for objects without text areas.
19086         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
19087         and saving of custom object works correctly now.
19089 1999-08-21  James Henstridge  <james@daa.com.au>
19091         * objects/flowchart/ellipse.c: 
19092         * objects/flowchart/diamond.c: 
19093         * objects/flowchart/parallelogram.c: 
19094         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
19095         copying or loading these object types.  Not all the connection
19096         points would be initialised correctly.
19098         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
19099         similar here.
19101         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
19102         build a versioned library.  It will only ever be dlopen'd, so this
19103         is not a problem.
19105         * objects/custom/custom_object.c (custom_distance_from): allow
19106         selecting the object by clicking on the text.  This fixes problems
19107         where the text box is outside the graphic.
19109         * objects/custom/shape_info.c (load_shape_info): fixed up reading
19110         of connections points.  It should be possible to add connections
19111         to custom objects now.
19113         * objects/custom/custom_object.c (custom_update_data): fixed resizing
19114         due to changes to text.
19116         * configure.in: added extra makefiles.
19117         
19118         * objects/custom/shape_info.[ch]:
19119         * objects/custom/custom_object.c:
19120         * objects/custom/custom.c: the starts of custom shape support in dia.
19121         This is not built by default at the moment, since it is not quite
19122         complete.  When it is, it will let you create more shapes for dia
19123         without writing a line of C.  Its implementation includes buzzwords
19124         such as XML and SVG, so it must be good :)
19126 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19128         * app/app_procs.c (app_exit): Use button labels "Quit" and
19129         "Cancel" instead of "Yes" and "No".
19130         Set default action to "Cancel" instead of "Quit".
19132 1999-08-19  James Henstridge  <james@daa.com.au>
19134         * objects/flowchart/flowchart.c: added ellipse object.
19135         
19136         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
19138 1999-08-18  James Henstridge  <james@daa.com.au>d
19140         * app/color_area.c (color_area_edit): small fix to prevent dia from
19141         segfaulting when you try to change the default foreground/background.
19143 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
19145         * app/diagram.[ch] (diagram_redraw_all):
19146         Added function that redraws all diagrams.
19148         * app/preferences.c (prefs_apply):
19149         Call diagram_redraw_all when prefs are changed.
19151         * app/render_svg.c:
19152         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
19153         older libxml's, and the old version works good enought here.
19154         
19155 1999-08-17  James Henstridge  <james@daa.com.au>
19157         * lib/widgets.c: changed handlers that were connected to the GtkButton
19158         "pressed" signal to connect to the "clicked" signal.  This removes the
19159         problem where dialogs are inactive until you click a mouse button
19160         after using a colour selector.
19162         * configure.in: added extra makefiles to AC_OUTPUT list.
19163         
19164         * objects/Makefile.am (SUBDIRS): added flowchart module
19166         * objects/flowchart/*: a collection of shapes for use in flowcharts.
19168         * app/color_area.c (color_area_events): similar here.
19170         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
19171         event is recieved with event->width == 0, which causes a warning if we
19172         try to create a pixmap of that width.
19174         * app/preferences.c, app/preferences.h, app/grid.c: added code to
19175         allow you to configure the colour of the grid, and also lets you
19176         set the grid to use dotted lines instead of solid ones.
19177         
19178         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
19179         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
19180         
19181         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
19182         export filter.  It is not quite complete, but for most shapes it
19183         works as expected.  Fonts still need a bit of work.
19185 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
19187         * configure.in: Added "en_GB" to ALL_LINGUAS.
19189 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19191         * menus.c
19192         Added Undo and Redo to GNOME menus.
19193         
19194         * objects/ER/attribute.c:
19195         * objects/ER/entity.c:
19196         * objects/ER/participation.c:
19197         * objects/ER/relationship.c:
19198         Added get/set_state functions.
19200         * objects/ER/participation.c:
19201         Added add/delete segment.
19203         * po/sv.po
19204         Updated Swedish translation.
19206 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19208         * app/preferences.[hc]:
19209         Added undo_depth pref.
19210         
19211         * app/undo.[ch]:
19212         Never grow stack larger than pref.undo_depth.
19213         undo_depth == 0 means unlimited.
19214         Converted printfs to conditionally compiled DEBUG_PRINTFs.
19215         
19216 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19218         * app/diagram.c:
19219         * app/group.c:
19220         * lib/object.h:
19221         * lib/render_object.c:
19222         * objects/ER/attribute.c:
19223         * objects/ER/entity.c:
19224         * objects/ER/participation.c:
19225         * objects/ER/relationship.c:
19226         * objects/FS/flow-ortho.c:
19227         * objects/FS/flow-poly.c:
19228         * objects/FS/flow.c:
19229         * objects/FS/function.c:
19230         * objects/UML/actor.c:
19231         * objects/UML/association.c:
19232         * objects/UML/class.c:
19233         * objects/UML/classicon.c:
19234         * objects/UML/component.c:
19235         * objects/UML/constraint.c:
19236         * objects/UML/dependency.c:
19237         * objects/UML/generalization.c:
19238         * objects/UML/implements.c:
19239         * objects/UML/large_package.c:
19240         * objects/UML/lifeline.c:
19241         * objects/UML/message.c:
19242         * objects/UML/note.c:
19243         * objects/UML/object.c:
19244         * objects/UML/realizes.c:
19245         * objects/UML/small_package.c:
19246         * objects/UML/state.c:
19247         * objects/UML/usecase.c:
19248         * objects/network/bus.c:
19249         * objects/standard/arc.c:
19250         * objects/standard/box.c:
19251         * objects/standard/ellipse.c:
19252         * objects/standard/image.c:
19253         * objects/standard/line.c:
19254         * objects/standard/polyline.c:
19255         * objects/standard/textobj.c:
19256         * objects/standard/zigzagline.c:
19257         Removed all traces of is_empty(). It doesn't work in an
19258         Undo/Redo world.
19260 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19262         * app/diagram.c:
19263         * app/group.[ch]:
19264         * app/undo.[ch]:
19265         Undoable grouping and ungrouping.
19267         * app/layer_dialog.c:
19268         * lib/diagramdata.[ch]:
19269         Undoable layer ops.
19271         * app/modify_tool.c:
19272         Undoable unconnect on handle move.
19274         * lib/orth_conn.[ch]:
19275         Working undoable add/remove segment.
19276         Removed endpoint_handles from OrthConn, renamed
19277         midpoint_handles to handles and put the endpoint
19278         handles there.
19280         * objects/standard/zigzagline.c:
19281         * objects/ER/participation.c:
19282         * objects/UML/association.c:
19283         * objects/UML/dependency.c:
19284         * objects/UML/generalization.c:
19285         * objects/UML/realizes.c:
19286         Update for the changes in OrthConn
19287         
19288 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19290         * configure.in: Added "de" to ALL_LINGUAS.
19292 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
19294         * dia.1:
19295         Fixed typo.
19297         * app/display.c:
19298         * po/da.po:
19299         * po/fr.po:
19300         * po/hu.po:
19301         * po/no.po:
19302         * po/pl.po:
19303         * po/sv.po:
19304         Don't have the <Display> etc part of the menu strings
19305         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19307         * app/diagram.c:
19308         Don't have the <Display> etc part of the menu strings
19309         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19310         Don't remove is_empty() objects, that don't work with undo.
19312         * lib/objchange.[ch]:
19313         New files.
19314         Definition of ObjectChange. This is essentially an Change
19315         exported to the object libs. It encapsulates a change made
19316         to an objects internals. It can be applied, reverted and freed.
19317         There are also utility functions for doing ObjectChanges that
19318         only get/set the whole state of an object to store the change.
19319         This cannot be used when the object change deletes or adds a
19320         object which has references from other objects, eg. Handles which
19321         might be connected.
19323         * lib/Makefile.am:
19324         Added objchange.c and objchange.h.
19326         * lib/dia_image.c:
19327         Return NULL when loading fails.
19329         * lib/diamenu.h:
19330         Menu callbacks return an ObjectChange.
19332         * lib/dummy_dep.h:
19333         Reference objchange.o
19335         * lib/focus.h:
19336         Key events return ObjectChange if they modify the object.
19338         
19339         * lib/object.h:
19340         Added object_add_handle_at() function.
19341         Apply properties returns an ObjectChange.
19342         Remove ObjectState and the get/set state functions, these
19343         don't always work. Use the new ObjectChange instead.
19344         
19345         * lib/object.c:
19346         Added object_add_handle_at() function implementation.
19347         
19348         * lib/orth_conn.[ch]:
19349         Use ObjectChange. Not finished yet.
19350         Removed get/set/free state functions
19352         * lib/poly_conn.[ch]:
19353         Use ObjectChange.
19354         Don't remove segments that are small.
19355         Removed get/set/free state functions
19357         * lib/text.[ch]:
19358         Use ObjectChange.
19359         Added functions to get/set all text attributes.
19361         * objects/standard/arc.c:
19362         * objects/standard/box.c:
19363         * objects/standard/ellipse.c:
19364         * objects/standard/image.c:
19365         * objects/standard/line.c:
19366         * objects/standard/polyline.c:
19367         * objects/standard/textobj.c:
19368         * objects/standard/zigzagline.c:
19369         Use ObjectChange.
19370         fixed bug in image_set_state.
19371         zigzagline.c not finished yet.
19373         * app/disp_callbacks.c:
19374         Use ObjectChange that are returned from menu callbacks and
19375         key_events for undo.
19377         * app/properties.c:
19378         Use ObjectChange that are returned from properties apply
19379         for undo.
19381         * app/undo.c:
19382         * app/undo.h:
19383         New undo type: ObjectChangeChange. This wraps a change to the
19384         internals of an object (and ObjectChange) in code that does
19385         app specific stuff (object_add_updates etc.)
19387 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
19389         * lib/orth_conn.[ch]:
19390         Added code for add/delete segment.
19392         * objects/standard/zigzagline.c:
19393         Use the new orth_conn code.
19394         
19396 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19398         * objects/FS/Makefile.am
19399         Removed fs.h from sources.
19401         * Makefile.am
19402         * dia.1
19403         Added man page.
19405 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
19407         * app/disp_callbacks.c (ddisplay_canvas_events):
19408         Fix for bug. Every other arrow-key press got lost.
19409         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
19411         * INSTALL:
19412         change automake.sh to autogen.sh
19413         
19414 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
19416         * app/diagram.c:
19417         Don't remove 'empty' objects.
19418         This violent destruction of objects won't work
19419         with the new undo framework.
19421         * app/disp_callbacks.c:
19422         Save undo info for object menu calls and key_events.
19424         * app/properties.c:
19425         Save undo info on properties apply.
19427         * lib/dia_image.[ch]:
19428         Add refcounting for images.
19430         * app/render_eps.c:
19431         * app/render_gdk.c:
19432         * lib/render.h:
19433         DiaImage * -> DiaImage
19435         * app/undo.[ch]:
19436         Add undo functions for object state changes.
19438         * lib/focus.h:
19439         * lib/text.c:
19440         change of semntics for focus->key_event.
19441         Now returns TRUE if the object recieving the event
19442         was changed.
19444         * lib/object.h:
19445         Comment changes.
19447         * lib/orth_conn.[ch]:
19448         Don't automatically create and delete segments when
19449         handles are moved. This is incompatible with undo.
19450         Added state get, set and free functions.
19452         * lib/orth_conn.[ch]:
19453         Added state get, set and free functions.
19455         * objects/UML/object.c:
19456         * objects/UML/uml.c:
19457         Fixed typo "UML - Objet" -> "UML - Object".
19458         Saved old for backwards compatibility.
19460         * objects/standard/arc.c:
19461         * objects/standard/box.c:
19462         * objects/standard/ellipse.c:
19463         * objects/standard/image.c:
19464         * objects/standard/line.c:
19465         * objects/standard/polyline.c:
19466         * objects/standard/textobj.c:
19467         * objects/standard/zigzagline.c:
19468         Added get/set state functions.
19469         Textobj has a redo crash-bug.
19470         Zigzagline needs object menus to add segments.
19471         
19473 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
19475         * app/render_eps.c (set_dashlength):
19476         Don't generate eps files with zero dash-length.
19478 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
19480         * app/commands.c:
19481         * app/create_object.c:
19482         * app/undo.[ch]:
19483         Finished undo for create and paste.
19484         
19485         * lib/object.h:
19486         Started properties undo.
19488 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
19490         * TODO:
19491         Added resizeable groups.
19493         * app/app_procs.c:
19494         Removed unused variable.
19496         * app/commands.c:
19497         * app/undo.[ch]:
19498         Undo/redo for cut/delete done.
19500         * app/create_object.c:
19501         * app/modify_tool.c:
19502         * lib/diagramdata.[ch]:
19503         * app/diagram.[ch]:
19504         renamed diagram_add_selected -> diagram_select
19505         renamed diagram_remove_selected -> diagram_unselect
19506         
19507         * app/properties.[ch]:
19508         Added properties_hide_if_shown() function.
19510 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
19512         * app/undo.[ch]:
19513         * app/Makefile.am:
19514         Undo functions.
19515         
19516         * app/commands.[ch]
19517         * app/modify_tool.[ch]
19518         * app/object_ops.[ch]
19519         * app/connectionpoint_ops.c
19520         * app/menus.c
19521         Use undo functions.
19522         WARNING: Not finished. Will break.
19523         Finished: move object, move handle.
19525         * app/diagram.[ch]
19526         Added diagram_selected_break_external() function.
19527         It removes all connections between selected objects
19528         and non-selected.
19529         Add undo stack to Diagram.
19530         
19531         * lib/diagramdata.[ch]
19532         Added layer_remove_objects() function
19533         
19534 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
19536         * objects/FS/Makefile.am
19537         * objects/sybase/Makefile.am
19538         Now uses GNOME_CFLAGS.
19540         * app/app_procs.c
19541         Now compiles with GNOME even if popt.h isn't available.
19543 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
19545         * configure.in
19546         * objects/Makefile.am
19547         * objects/sybase/*
19548         First version of sybase objects from
19549         Brian Bruns <camber@umcc.ais.org>
19551 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
19553         * configure.in
19554         Added fr to ALL_LINGUAS
19556 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
19558         * configure.in
19559         * app/app_procs.c
19560         Popt-code is activated if popt is available.
19562 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
19564         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
19565         
19566         * lib/orth_conn.[ch]:
19567         Added orthconn_get_middle_handle()
19569         * lib/text.[ch]:
19570         Added text_set_cursor_at_end()
19571         
19572         * objects/FS/*
19573         Added first version of functions structure diagrams.
19574         
19575 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
19577         * app/modify_tool.c:
19578         Include math.h to remove warning.
19580         * app/commands.c (dialogs_properties_callback):
19581         Bring up correct properties dialog when selected
19582         from menu.
19583         From Dan Cohn <dan@internap.com>
19585 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
19587         Patch from Lars R. Clausen 
19588         
19589         * app/modify_tool.c:
19590         Changed abs to fabs.
19592 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
19594         * INSTALL: 
19595         * configure.in:
19596         Require Gtk+ 1.2.0
19598 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19600         Patches from Dan Cohn <dan@internap.com>
19601         
19602         * app/commands.[ch]: 
19603         * app/display.[ch]: 
19604         * app/menus.c:
19605         * app/preferences.[ch]:
19606         Implements ability to turn on/off connection points in
19607         current drawing and in global prefs.
19609 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19611         * lib/widgets.c (dia_line_style_selector_init): 
19612         Fixed warnings.
19613         
19614         * lib/diagramdata.c (layer_update_extents):
19615         Fixed uninitialized variable error.
19617 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
19619         * lib/dia_image.c:
19620         Made some changes to the gdk_imlib visual+colormap setup.
19622 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19624         * objects/UML/usecase.c: 
19625        * objects/UML/lifeline.c
19626         Fine tunning.
19628         * objects/UML/object.c: 
19629         * objects/UML/message.c: 
19630         Changed font from Courier to Helvetica.
19632         * lib/widgets.c: 
19633         * lib/widgets.h:
19634         Added dash lenth to the LineStyle widget.
19635         
19636         * objects/standard/ellipse.c :
19637         * objects/standard/zigzagline.c: 
19638         * objects/standard/line.c: 
19639         Added dash lenght property.
19641 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19643         * app/render_eps.c:
19644         First shot at latin1 encoded eps files.
19645         Works, but the eps files get a bit large.
19646         
19647 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19649         * objects/UML/class.[ch]: 
19650         * objects/UML/uml.[ch]:
19651         Reverted the line wrap changes.
19652         Some day this might return, but it has to be selectable and
19653         default to off for loaded objects, otherwise it breaks file
19654         format compatibility.
19655         There was also some complains about how it looked, so a making it
19656         selectable is good for this too.
19658 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
19660         * objects/UML/class.[ch]:
19661         Some indentation cleanup.
19662         Added wrap_lines variable to class.
19663         I'll fix the line break stuff tomorrow.
19665 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19667         * lib/dummy_dep.h:
19668         Added ref to poly_conn.o.
19670         * objects/standard/polyline.c (polyline_draw): 
19671         * objects/standard/zigzagline.c (zigzagline_draw): 
19672         * objects/standard/arc.c (arc_draw): 
19673         * objects/standard/line.c (line_draw):
19674         Draw lines before arrows. This makes hollow arrows not
19675         show the line.
19677 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19679         Changes from Kim Peasley <kpeasley@ior.com> 
19680                 
19681         * objects/UML/class.c:
19682         Break lines with long operations so classes won't be
19683         so wide.
19685         * objects/UML/uml.[ch]:
19686         Helperfunctions for the above.
19687         
19688         * objects/UML/objects.c:
19689         Fix bug that duplicated the text in the attributes
19690         textwidget each time the object was selected.
19691         
19692 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
19694         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
19695         
19696         * app/modify_tool.c:
19697         * app/modify_tool.h:
19698         Control-drag is restricted to vertical/horizontal movement
19699         
19700         * lib/object.h:
19701         ModifierKeys argument added to object_move_handle
19703         * app/connectionpoint_ops.c:
19704         * app/create_object.c:
19705         * app/object_ops.c:
19706         * objects/ER/attribute.c:
19707         * objects/ER/entity.c:
19708         * objects/ER/participation.c:
19709         * objects/ER/relationship.c:
19710         * objects/UML/actor.c:
19711         * objects/UML/association.c:
19712         * objects/UML/class.c:
19713         * objects/UML/classicon.c:
19714         * objects/UML/component.c:
19715         * objects/UML/constraint.c:
19716         * objects/UML/dependency.c:
19717         * objects/UML/generalization.c:
19718         * objects/UML/implements.c:
19719         * objects/UML/large_package.c:
19720         * objects/UML/lifeline.c:
19721         * objects/UML/message.c:
19722         * objects/UML/note.c:
19723         * objects/UML/object.c:
19724         * objects/UML/realizes.c:
19725         * objects/UML/small_package.c:
19726         * objects/UML/state.c:
19727         * objects/UML/usecase.c:
19728         * objects/network/bus.c:
19729         * objects/standard/arc.c:
19730         * objects/standard/box.c:
19731         * objects/standard/ellipse.c:
19732         * objects/standard/image.c:
19733         * objects/standard/line.c:
19734         * objects/standard/polyline.c:
19735         * objects/standard/textobj.c:
19736         * objects/standard/zigzagline.c:
19737         Changed calls to move_handle to pass the new argument.
19738         
19739         * lib/widgets.c:
19740         * lib/widgets.h:
19741         Default line width, color etc #define'd
19742         
19743         * po/da.po:
19744         Updates of danish menus
19746 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19748         * dia.xpm
19749         * dia_gnome_icon.png
19750         * dia_gnome_menu_icon.png
19751         * dia_logo.png
19752         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
19754         * app/commands.c
19755         About dialog shows dia_logo.png. Removed the GNOME about dialog.
19757         * Makefile.am
19758         Distribute the icons and install logo in pkgdatadir.
19759         
19760         * app/Makefile.am
19761         Added DATADIR-define.
19762         
19763 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19764         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
19766         * dia.spec:
19767         Updated version number, made setup quiet, can build from cvs,
19768         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
19770         * lib/Makefile.am
19771         * objects/ER/Makefile.am
19772         * objects/UML/Makefile.am
19773         * objects/network/Makefile.am
19774         * objects/standard/Makefile.am
19775         now builds better with gnome
19777         * objects/UML/class_dialog.c
19778         Fixed typo -> po files must be updated too!!
19779         
19780 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19782         * lib/dummy_dep.h:
19783         Added reference so that widgets.o gets linked to the app.
19785 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19787         * objects/UML/classicon.c: 
19788         Added object mode.
19790         * objects/UML/actor.c: 
19791         Changed position of 'snap-to-grid' so connection points are
19792         in the grid.
19794 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19796         * objects/UML/classicon.c:
19797         Changed position of 'snap-to-grid'.
19798         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19799         
19800 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19802         * objects/network/antenna.c
19803         * objects/network/flash.c
19804         * objects/network/hub.c
19805         * objects/network/modem.c
19806         * objects/network/modularswitch.c
19807         * objects/network/rj45plug.c
19808         * objects/network/scead-plug.c
19809         * objects/network/network.c
19810         * objects/network/Makefile.am
19811         * objects/network/pixmaps/antenna.xpm
19812         * objects/network/pixmaps/flash.xpm
19813         * objects/network/pixmaps/hub.xpm
19814         * objects/network/pixmaps/modem.xpm
19815         * objects/network/pixmaps/modularswitch.xpm
19816         * objects/network/pixmaps/rj45plug.xpm
19817         * objects/network/pixmaps/sceadplug.xpm
19818         * objects/network/pixmaps/Makefile.am
19819         Lots of new network objects from
19820         Roland Steinbach <roland@support-system.com>.
19822 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19824         * objects/UML/classicon.c: 
19825         Fixed connection positions, saved type as int (it has 3 states),
19826         and other small fixes.
19827         
19828 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
19830         * app/preferences.c:
19831         * app/load_save.c:
19832         Added preference compress_save. It lets dia save uncompressed
19833         xml files.
19835         * objects/UML/class.c:
19836         Fixed bug with size calculation on methods that had class scope.
19837         
19838 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19840         * objects/UML/usecase.c: 
19841         Added collaboration mode
19842         Fixed connection points with text > ellipse bug and other 
19843         small things
19845         * objects/UML/state.c:
19846         Fixed bug of bad position of text after being either end
19847         or begin, moved and returned to text
19849 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19851         * app/preferences.c: Add prototype declaration for prefs_apply.
19853 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
19855         * app/preferences.c:
19856         Added 'ok' button.
19857         Apply don't hide window.
19859         * app/properties.c:
19860         Add 'ok' button.
19862         * objects/UML/object.c:
19863         * objdcts/UML/state.c:
19864         Some data was not copied on copy.
19866         This patch is from
19867         Ben Hochstedler <benh@eeyore.moneng.mei.com>
19869 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
19871         * app/Makefile.am:
19872         Changed link order between X and libxml.
19873         Some people had problems with an old libz in their
19874         x11 directory.  
19876 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
19878         * po/no.po: updated translation.
19879         
19880 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
19882         * lib/message.c (message_error):
19883         Fixed small error.
19885         * app/commands.[ch]:
19886         * app/diagram.[ch]:
19887         Added begining of xfig importing
19889 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19891         * objects/UML/pixmaps/state.xpm: 
19892         * objects/UML/state.c: 
19893         New UML object state machine.
19895         * objects/UML/uml.c:
19896         * objects/UML/Makefile.am:
19897         * objects/UML/pixmaps/Makefile.am:
19898         Added the state object.
19899         
19900 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
19902         * objects/UML/usecase.c: 
19903         Added dialog to allow move text outside the ellipse.
19905 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19907         * Released Dia 0.41
19908         Tag called DIA_0_41
19910         * NEWS:
19911         Updates for 0.41.
19912         
19913 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19915         * configure.in:
19916         Updated version number to 0.41
19918         * po/*.po:
19919         Update po-files
19921 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19923         * app/app_procs.c
19924         Changed errormessage for --export-to-ps. Removed call to 
19925         g_log_set_always_fatal().
19927         * app/diagram.c
19928         * app/disp_callbacks.c
19929         * app/load_save.c
19930         (i18n) Removed gettext from some debugmessages.
19932         * app/menus.c
19933         Small fix in GNOME-menus. Added warning that will help track
19934         problems with translations.
19936         * po/sv.po
19937         (i18n) Updated swedish translation.
19939 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
19941         * po/da.po:
19942         New updates
19944 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
19946         * po/da.po:
19947         * po/no.po:
19948         Some fixes.
19949         
19950 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
19952         * po/da.po:
19953         (i18n) Updated the danish translation.
19954         From Lars R. Clausen.
19956 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
19958         * app/menus.c
19959         (i18n) The popup menu is translated now.
19961         * po/sv.po
19962         (i18n) Updated swedish translation.
19964 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19966         * Released Dia 0.40
19967         Tag called DIA_0_40
19969         * NEWS:
19970         Updated for new release
19971         
19972 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19974         * objects/network/bus.c:
19975         Added initialization of properties dialog to NULL.
19977         * app/commands.c (edit_cut_callback):
19978         Update menu sensitivity when cut object.
19980         * app/modify_tool.c (click_select_object):
19981         * app/modify_tool.c (modify_button_release): 
19982         Call diagram_update_menu_sensitivity() when
19983         selecting objects to update stuff that depends
19984         on selected/not selected.
19986 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19988         * Makefile.am:
19989         Change order of subdir so that libintl.a builds.
19990         Now passed make distcheck.
19992 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19994         * lib/font.c (init_x11_font):
19995         Stupid bug fixed.
19997 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19999         * objects/UML/pixmaps/classicon.xpm: 
20000         * objects/UML/classicon.c:
20001         * objects/UML/uml.c:
20002         Added the class stereotype icon objects.
20004         * app/commands.c:
20005         Changed default ps extension from .ps to .eps.
20006         
20007 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20009         * lib/Makefile.am:
20010         Added diamenu.h and intl.h
20012         * lib/font.c:
20013         Stupid typo fix.
20014         
20015         * objects/UML/pixmaps/Makefile.am:
20016         Added message.xpm
20018         * objects/standard/pixmaps/Makefile.am:
20019         Added image.xpm
20021 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20023         * lib/font.c:
20024         Use a scalable font before fixed when real font not found.
20026         * app/commands.c:
20027         Removed warning.
20029         * objects/standard/image.c:
20030         Better handling of loading/saving of images.
20032         * INSTALL:
20033         Added some text about cvs, fonts and rewrote some parts.
20035         * TODO:
20036         Updated with new stuff.
20037         
20038         * configure.in:
20039         Bump up version number to 0.40.
20040         
20041 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20043         * app/display.c:
20044         Moved diagram_add_ddisplay() call into new_display().
20045         Fixed new_display to not use uninitialized variables
20046         causing loaded files to show up as black (or garbage).
20047         
20048         * app/commands.c:
20049         * app/app_procs.c:
20050         Removed unneeded calls to diagram_add_ddisplay().
20051         
20052 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20054         * objects/UML/lifeline.c:
20055         Fixed bug in copy.
20056         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20058         * objects/UML/message.c:
20059         Fixed bug loading messages with null-text.
20060         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20062 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
20064         * po/sv.po
20065         Updated swedish translation.
20067         * app/menus.c
20068         (GNOME) Removed help-browser from help menu. Fixed typo.
20070         * app/interface.c
20071         (GNOME) Accelerators in diagrams should work now. 
20073 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20075         * app/app_procs.c
20076         * app/commands.c
20077         * app/defaults.c
20078         * app/disp_callbacks.c
20079         * app/display.c
20080         * app/interface.c
20081         * app/menus.c
20082         * app/preferences.c
20083         * app/render_eps.c
20084         * lib/diagramdata.c
20085         * lib/font.c
20086         * lib/message.c
20087         * lib/widgets.c
20088         * objects/ER/*.c
20089         * objects/UML/*.c
20090         * objects/network/*.c
20091         * objects/standard/*.c
20092         * po/update_pofiles_in.sh
20093         * po/POFILES.in
20094         More i18n. All strings (expect rare debug messages) can be
20095         translated now. Moved intl.h from app to lib. Updated
20096         update_pofiles_in.sh to check all .c-files.
20098 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
20100         * app/disp_callbacks.c (ddisplay_canvas_events):
20101         Don't drop keys while num-lock, scroll-lock etc is on.
20103 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20105         * app/render_eps.c (draw_image):
20106         Fixed exporting of images.
20107         Still not perfect, but not outright buggy.
20108         
20109 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20111         * configure.in:
20112         * po/hu.po:
20113         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
20115         * app/Makefile.am:
20116         Added $* to the dia call in run_dia.sh
20118 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20119         
20120         * lib/color.[ch]:
20121         Added color_equals() call.
20123         * objects/standard/arc.c:
20124         * objects/standard/line.c:
20125         Don't save unneccesary data.
20126         
20127         * objects/standard/box.c:
20128         * objects/standard/ellipse.c:
20129         * objects/standard/image.c:
20130         * objects/standard/polyline.c:
20131         * objects/standard/zigzagline.c:
20132         Share properties dialog.
20133         Don't save unneccesary data.
20134         
20135 1999-03-22  Seth Alves  <alves@hungry.com>
20137         * app/menus.c:
20138         * app/diagram.c:
20139         * app/display.c:
20140         small changes so that gnome menus aren't broken
20141         
20142 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20144         * po/da.po:
20145         Added danish translation from lrclause@cs.uiuc.edu.
20147         * po/POFILES.in:
20148         Updated file.
20150         * po/update_pofiles_in.sh:
20151         Added script that updates POFILES.in.
20152         This should probably be run automatically from somewhere.
20154 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
20156         * app/diagram.[ch]:
20157         Added function diagram_update_menu_sensitivity() which
20158         sets the sensitivity of some menu items. This function
20159         is called at each diagram state change (from diagram_modified()).
20160         This is needed  because otherwise the keyboard accelerators
20161         don't work correctly.
20163         * app/display.[ch]:
20164         Changed display_set_menu_sensitivity() to display_update_menu_state().
20165         Moved lots of code to diagram_update_menu_sensitivity() in
20166         diagram.c. Optimized to only look up menu-items from path:s once.
20167         
20168         * app/disp_callbacks.c:
20169         * app/interface.c:
20170         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
20171         Need to set GDK_FOCUS_CHANGE_MASK.
20172         
20173         * app/create_object.c:
20174         Call diagram_modified when an object has been created and
20175         selected so that the menu sensitivity is updated. 
20177         * app/menus.[ch]:
20178         removed menus_set_sensitive() and menus_set_state(). Exported
20179         renamed function menus_get_item_from_path().
20181 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
20183         * app/disp_callbacks.c:
20184         Show (empty) object menus on object that has none.
20185         Show title on object menus.
20187         * app/display.c:
20188         Set zoom factor correctly when opening new displays.
20189         Better setting of scrollbars.
20191         * app/grid.c:
20192         * app/menus.h:
20193         Some reformating cleanup.
20195         * lib/diamenu.h:
20196         Added title to object menus.
20198         * objects/*/*.c:
20199         Added object menu method (NULL-valued) to all objects.
20201         * objects/standard/polyline.c:
20202         Added title to object menu.
20204 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
20206         * app/preferences.[ch]:
20207         New files. Implements the preferences dialog and
20208         loading/saving of ~/.diarc.
20210         * app/Makefile.am:
20211         Added preferences.[ch].
20213         * app/app_procs.c:
20214         Load preferences on startup.
20216         * app/commands.[ch]:
20217         Added file_preferences_callback to show the preferences dialog.
20219         * app/create_object.c:
20220         Update extents when creating object.
20221         Use the reset_tools_after_create preferences setting.
20223         * app/display.c:
20224         Use preferences when creating new display.
20226         * app/menus.c:
20227         Add preferences to menu.
20229         * app/defaults.c:
20230         * app/layer_dialog.c:
20231         * app/properties.c:
20232         Don't allow shrinking of dialog.
20233         Add i18n of some strings.
20235 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
20236         * po/no.po:
20237         Norwegian translation added.
20238         
20239 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
20241         * objects/standard/line.c: 
20242         * objects/standard/arc.c: 
20243         * objects/standard/polyline.c: 
20244         * objects/standard/zigzagline.c:
20245         Loading of arrow data fixed.
20247 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
20249         * app/commands.c:
20250         Update extents when saving and exporting to postscript.
20251         Fixes a bug with postscript bounding-box being wrong.
20253         * app/defaults.c:
20254         Changed border width from 5 to 2.
20256         * app/group.c:
20257         Move grouped objects by the move-point of the first object.
20258         Fixes bug that made all objects in the group be off-grid
20259         when moving the group, even though all objects was on-grid.
20261         * app/layer_dialog.c:
20262         Update extents when changing layer.
20264 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20266        * objects/UML/uml.c: 
20267        * objects/UML/component.c: 
20268        * objects/UML/pixmaps/component.xpm: 
20269        Added the UML component object
20270         
20271 1999-03-04  Seth Alves  <alves@hungry.com>
20273         * objects/UML/generalization.c (generalization_create): avoid
20274         math on uninitialized genlz->text_width (NaN causes sigfpe)
20275         
20276         * objects/UML/realizes.c (realizes_create): same
20278         * objects/UML/dependency.c (dependency_create): same
20280 1999-03-01  Seth Alves  <alves@hungry.com>
20282         * app/display.c (ddisplay_active): don't fly a warning panel
20283         if ddisplay_active is called when no views are open.
20285         * app/commands.c (set_default_file_selection_directory): set
20286         file selector's default directory if there is already
20287         a document open.
20289 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20291         * INSTALL:
20292         New info about imlib requirements.
20294         * Configure.in:
20295         Added lib/pixmaps/Makefile to created makefiles.
20297         * app/app_procs.c:
20298         * app/commands.c:
20299         Change from obsoleted to newer gtk calls.
20300         
20301         * load_save.c:
20302         Pass filename of the diagram when loading and saving.
20303         This creates better oportunities to handle filename saving.
20305         * lib/object.h:
20306         Pass filenames to load and save methods.
20307         
20308         * lib/dia_image.[ch]:
20309         Added dia_image_get_broken() call that returns a image which
20310         is used for 'broken' images.
20311         
20312         * lib/pixmaps/.cvsignore:
20313         * lib/pixmaps/Makefile.am:
20314         * lib/pixmaps/broken.xpm:
20315         New files for the broken image bitmap.
20317         * lib/widgets.c:
20318         Fixed bug with double destroyed filedialog.
20320         * objects/*/*.c:
20321         Updated load and save prototypes to use the new filename argument.
20323         * objects/image.c:
20324         Render broken image instead of line when got no image.
20325         Use the new filename in load and save to save (if possible)
20326         relative pathnames and to better try to find loaded images.
20328 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20330         * TODO:
20331         Some updates to the todo file.
20332         
20333         * app/menus.c:
20334         * app/display.c:
20335         Place over/place over => sent to back/bring to front.
20336         Added some keyboard shortcuts to menus.
20337         
20338 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20340         * lib/dia_xml.c:
20341         Changed string saving/loading to a new method. This should
20342         be much better att handling &,<,> and whitespaces.
20343         Loading strings of the old kind is still supported for backwards
20344         compatibility.
20346         * samples/ER-demo.dia:
20347         * samples/UML-demo.dia:
20348         Updated to use the new strings.
20349         
20350         * app/load_save.c:
20351         statusbar modified update fix.
20353 1999-02-27  Seth Alves  <alves@hungry.com>
20355         * app/app_procs.c (app_init): added a --export-to-ps option
20356         which will cause dia to load a dia file and save it as ps
20357         and then exit.  this is a little bogus, because it still
20358         pops up a window.  this option only shows up if --enable-gnome
20359         is used
20361         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
20362         menu when built with --enable-gnome
20364         * app/interface.c (create_display_shell): build status bar
20365         even if --enable-gnome is used
20367         * app/menus.c: menu fixes for --enable-gnome
20369         * app/commands.c (file_open_dialog_ok_callback): fixed up
20370         menus when --enable-gnome is used
20371         (file_export_to_eps_callback): set a default file name
20372         when dialog is created
20374 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20376         * objects/UML/association.c (association_create):
20377         Fixed usage of not initialized variable.
20378         Pointed out by Seth Alves <alves@hungry.com>.
20380 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20382         * configure.in:
20383         Fixed detection of gnome-xml.
20384         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20385         
20386         * app/app_procs.c:
20387         Fixed error detection on dlsym calls. 
20388         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20390 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
20392         * objects/UML/message.c (fill_in_dialog):
20393         Fixed warnings.
20395 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20397         * objects/standard/zigzagline.c:
20398         * objects/standard/polyline.c:
20399         * objects/standard/line.c:
20400         * objects/standard/arc.c:
20401         * lib/widgets.h:
20402         * lib/arrows.h:
20403         * lib/widgets.c:
20404         Support for sizeable arrows. 
20406         * objects/standard/box.c:
20407         * objects/standard/ellipse.c:
20408         * objects/standard/image.c:
20409         Changed creation handle to lower-right.
20410         Transparent box/ellipse.
20411         
20412         * objects/standard/image.c:
20413         Better layout of properties boxes.
20415 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20417         * objects/UML/message.c (fill_in_dialog): 
20418         Fixed dialog fill in. Common dialog for all messages.
20420         * objects/UML/object.c: 
20421         Added multiple instance. Dialog related bugs fixed.
20422         Common dialog for all instances. Completed copy and destroy.
20424         * objects/UML/lifeline.c (lifeline_load): 
20425         Conn initialization bug fixed and few bad loading prevention flags.
20426         Common dialog for all lifeline objects.
20427         
20428 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20430         * lib/dia_image.[ch]:
20431         More work on the DiaImage abstraction.
20432         
20433         * app/app_procs.c:
20434         * app/render_eps.c:
20435         * app/render_gdk.c:
20436         * objects/standard/image.c:
20437         Use the new DiaImage calls.
20439 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20441         * app/menus.c:
20442         * app/display.c:
20443         Reversed the meaning of align horizontal/vertical.
20445 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20447         * app/load_save.c (diagram_load):
20448         Statusbar update fix.
20450 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20452         * app/interface.c (create_display_shell):
20453         Fixed status bar size.
20454         
20455 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20457         * lib/dia_image.[ch]:
20458         Added extern declaration for dia_image_release.
20459         Removed dia_image_draw, as it's not neseccary.
20461 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20462         
20463         * app/object_ops.c: 
20464         * app/menus.c: 
20465         Added equal distance alignment both vertical and horizontal.
20466         
20467         * objects/UML/object.c: 
20468         Added a couple of attributes to load/read that were missing.
20470         * objects/UML/lifeline.c: 
20471         Better handling of handles. Fixed another bug I forgot to add
20472         to my last patch.
20473         
20474 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
20476         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
20477         
20478         * lib/dia_image.[ch]:
20479         * lib/Makefile.am:
20480         New files. DiaImage wraps the GdkImlibImage.
20482         * lib/render.h:
20483         * app/render_eps.c:
20484         * app/render_gdk.c:
20485         * lib/render_store.[ch]:
20486         * objects/standard/image.c:
20487         Use the new DiaImagetype.
20489         * lib/widgets.c:
20490         Removed unused variable to eliminate  warning.
20492 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
20494         * objects/standard/box.c:
20495         Added rounded corners on the box object.
20497         * lib/widgets.[ch]:
20498         Updated the DiaFileSelector widget.
20499         
20500 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20502         * objects/UML/object.c (objet_draw): 
20503         Completed underlining of all object name lines. 
20505         * objects/UML/message.c (fill_in_dialog): 
20506         Fixed a bug that filled incorrectly the message's dialog.
20508         * objects/UML/lifeline.c (lifeline_load): 
20509         Some cleanning and fixed a couple of bugs that caused
20510         crashes after reading diagrams with lifelines.
20512         * lib/text.c: 
20513         Added flags to prevent crash with void strings
20515 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
20516         * app/display.[ch]:
20517         Added statusbar to the display widget. Currently shows the zoom
20518         factor and modified flag of the viewed diagram. The statusbar is
20519         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
20520         This caused the following additions:
20521         
20522         * app/diagram.[ch]:
20523         Added function diagram_set_modified. Calls
20524         ddisplay_update_statusbar for all displays showing the modified diagram.
20525         Changed diagram_modified to call diagram_set_modified.
20526         
20527         * app/interface.c:
20528         Added the creation of the statusbar.
20529         
20530         * app/load_save.c:
20531         diagram_save now calls diagram_set_modified instead of setting
20532         dia->modified. Needed to force call to display_update_statusbar
20533         
20534         * app/commands.c:
20535         Changed the way view_show_all works. Now calls ddisplay_zoom
20536         instead of directly setting the zoom_factor, so the zoom factor is
20537         correctly shown in the statusbar.
20539         * app/magnify.c:
20540         Fixed rubberband zoom to use ddisplay_zoom().
20541         
20542 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
20544         * app/app_procs.c
20545         Rudimentary GNOME session management.
20546         
20547         * app/disp_callbacks.c
20548         * app/interface.c
20549         * app/menus.c
20550         * app/menus.h
20551         GNOME menus. Problems: 
20552         Callbacks doesn't get user_data.
20553         Weird warnings when creating popup menus.
20554         menus_set_sensitive(), menus_set_state() doesn't work.
20556 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20558         * configure.in:
20559         Add AM_PATH_GDK_IMLIB() call.
20561         * app/Makefile.am:
20562         Add gdk_imlib to linking flags.
20564         * app/app_procs.c:
20565         Init gdk_imlib.
20566         Print library-loading error messages on stdout too.
20568         * app/interface.c:
20569         Add standard image to toolbox.
20570         
20571         * app/render_eps.c: 
20572         Set a more reasonable dot length.  Fixed
20573         missing initialization of dot length.
20574         Added draw_image methods.
20576         * app/render_gdk.c (new_gdk_renderer): 
20577         Dot a bit wider.  Looks good in normal mode now.
20579         * objects/standard/image.c:
20580         * objects/standard/pixmaps/image.xpm:
20581         New files. Standard object for images.
20582         
20583         * app/render_eps.c (set_linestyle):
20584         * app/render_gdk.c (set_linestyle):
20585         * lib/widgets.c (dia_line_style_selector_init): 
20586         * lib/render.h: 
20587         New line style DOTTED.
20589         * lib/render.h:
20590         * lib/render_store.c:
20591         Change DrawImage call to use gdk_imlib.
20593         * lib/widgets.[ch]:
20594         Added widgets for selecting files.
20595         Added dotted to the linestyle selector.
20597 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20599         * objects/network/printer.c:
20600         * objects/network/network.c:
20601         * objects/network/pixmaps/printer.xpm:
20602         * objects/network/.cvsignore:
20603         * objects/network/Makefile.am:
20604         * objects/network/pixmaps/Makefile.am:
20605         New printer object in network.
20606         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
20608         * TODO:
20609         Added known XML bug.
20610         
20611 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20613         * app/load_save.c:
20614         * lib/dia_xml.c:
20615         Reverted back from #include <gnome-xml/tree.h> to
20616         #include <tree.h> as this is fixed by the xml-config program.
20617         The former way broke for some people.
20618         Reported by blizzard@redhat.com.
20620         * objects/UML/lifeline.c:
20621         * objects/UML/message.c:
20622         * objects/UML/object.c:
20623         Removed some warnings.
20624         
20625 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20627         * objects/UML/lifeline.c: 
20628         Fixed connection points over the life line when the focus of
20629         control is not drawn.
20631         * objects/UML/message.c: 
20632         Now a recursive message can be freely resized using the handles.
20634 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20636         * objects/UML/lifeline.c:
20637         Added connection points.
20638         Added properties dialog with the option to draw/hide focus of control
20639         box and destruction mark.
20641         * objects/UML/object.c: 
20642         Added properties dialog and stereotype, explicit state and attributes. 
20643         It's also possible to mark the object as active.
20645         * objects/UML/pixmaps/object.xpm: 
20646         Cosmetic change.
20648         * objects/UML/message.c:
20649         Added "recursive" message type (was not necessary to use OrthConn).
20651 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
20653         * objects/standard/arc.c:
20654         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
20656 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
20658         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
20659         
20660         * app/load_save.c:
20661         * lib/dia_xml.c:
20662         Update xml includes to gnome-xml/*.h.
20664         * objects/standard/arc.c:
20665         Only one property dialog per type.
20666         Fix arrows directions.
20668         * objects/standard/box.c:
20669         * objects/standard/ellipse.c:
20670         * objects/standard/textobj.c
20671         Added default properties dialog.
20672         
20674 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20676         * objects/UML/Makefile.am: 
20677         * objects/UML/uml.c:
20678         * objects/UML/lifeline.c: 
20679         * objects/UML/object.c: 
20680         * objects/UML/message.c:
20681         * objects/UML/pixmaps/lifeline.xpm: 
20682         * objects/UML/pixmaps/object.xpm: 
20683         * objects/UML/pixmaps/message.xpm:
20684         Added 3 new UML objects for dynamic modeling. To avoid internal 
20685         conflicts, the name "objet" is used for object "object".        
20687         * lib/arrows.[ch]: 
20688         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
20689         UML messages.
20690         
20691 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
20693         * app/display.[ch]:
20694         * app/modify_tool.c:
20695         Added autoscrolling while doing rubber-band select.
20696         This patch from Matthias Köster
20697         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
20698         
20700 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
20702         * app/defaults.[ch]:
20703         New files, deals with default properties dialog.
20705         * lib/diamenu.h:
20706         New file. Contains definitions for the new object menu.
20708         * lib/poly_conn.[ch]:
20709         New file. Base class for poly-line like objects.
20711         * objects/standard/polyline.c:
20712         * objects/standard/pixmaps/polyline.xpm:
20713         New files. Polyline object.
20715         * app/app_procs.c:
20716         Fixed bug with infinite loop when registering sheets.
20717         
20718         * app/commands.c:
20719         Removed unneccesary stuff.
20721         * app/disp_callbacks.c:
20722         Support for object menus.
20724         * app/interface.c:
20725         Added polyline to toolbox.
20726         Added call to tool_options_dialog_show() when double clicking on
20727         tool.
20729         * app/tool.[ch]:
20730         New function tool_options_dialog_show() for tool properties.
20732         * lib/arrows.[ch]:
20733         Added ARROW_NONE.
20735         * lib/object.h:
20736         Added ObjectType methods for handling object default dialogs.
20737         Added Object method for handling object_menu.
20738         Added unused methods to ObjectTypeOps for future binary
20739         compatibility.
20741         * lib/widgets.[ch]:
20742         Added DiaArrowTypeSelector widget.
20744         * objects/standard/arc.c:
20745         * objects/standard/zigzagline.c:
20746         Added support for default properties.
20748         * objects/standard/line.c:
20749         Added support for default properties.
20750         Just use one properties dialog for all line objects. NOTE: This
20751         seems to have a bug. We're working on it.
20753         * standard/standard.c:
20754         Add the polyline object.
20756 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
20758         * app/modify_tool.c:
20759         Commented out buggy transitive select function. It wasn't really
20760         meant to go into cvs.
20761         
20763 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20765         * autogen.sh:
20766         * acconfig.h:
20767         * configure.in:
20768         * Makefile.am:
20769         * app/Makefile.am:
20770         * po/POTFILES.in:
20771         * app/intl.h
20772         i18n-support.
20774         * po/sv.po:
20775         Swedish translation. Not completed.
20776         
20777         * configure.in:
20778         * acconfig.h:
20779         Added possibility to enable GNOME specific code with configure.
20781         * configure.in:
20782         Added possibility to set debug level with configure.
20784         * commands.[hc]:
20785         Added about dialog.
20787         * app_procs.c
20788         * commands.c
20789         * interface.c
20790         * menus.c
20791         Added some GNOME specific code. Not ready for use.
20793 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
20795         * INSTALL:
20796         Added text about needing gtk 1.1.13 and gnome-xml.
20797         
20798         * NEWS:
20799         Described changes since last version (0.20).
20801         Released version 0.30, tagged DIA_0_30.
20803 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
20805         * app/magnify.c (magnify_button_release):
20806         Fixed a problem when zooming in on a very small box would
20807         not release the grabbed pointer-focus.
20809 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20811         * app/load_save.c (diagram_load):
20812         Be somewhat more robust when loading files that
20813         are not diagrams.
20814         
20815 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20817         * app/app_procs.c:
20818         * objects/ER/er.c:
20819         * objects/UML/uml.c:
20820         * objects/network/network.c:
20821         * objects/standard/standard.c:
20822         Added versioning of object libraries.
20824         * app/create_object.c:
20825         Don't change tool when an object is created.
20826         
20827         * objects/network/network.c:
20829         * TODO:
20830         Update
20832 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
20834         * configure.in:
20835         Updated gtk requirement to Gtk+ 1.1.13.
20837         * app/display.c:
20838         Always add one screenful of scrolling space on
20839         each side of a diagram window.
20841 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
20843         * autogen.sh:
20844         Tell automake to auto-install missing files.
20846         * app/menus.c:
20847         Renamed deprecated Gtk+ function.
20849 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20851         * Makefile.am:
20852         * configure.in:
20853         * samples/Makefile.am:
20854         * samples/ER-demo.dia:
20855         * samples/UML-demo.dia:
20856         Added samples directory.
20857         Added samples for ER and UML.
20858         
20859         * app/commands.c:
20860         * app/disp_callbacks.c:
20861         * app/menus.c:
20862         Zoom is done by sqrt(2) instead of 2.
20863         Lots of more zoom options in the menu.
20865         * objects/ER/relationship.c:
20866         Relationships have 8 connectionpoints instead of 4.
20868         * objects/UML/class.c:
20869         UML class name font a bit smaller.
20870         Fixed stupid bug in the copy operation.
20871         
20872         * app/display.c:
20873         Displays are opened at 500x400 instead of 256x256.
20875         * app/load_save.c:
20876         Fixup of internal error message.
20878         * app/color_area.c:
20879         * app/diagram.c:
20880         * app/modify_tool.c:
20881         * lib/object.c:
20882         Removed debug printf's.
20883         
20884         * TODO (BUGS):
20885         Added new known bug.
20887 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20889         * app/interface.c:
20890         * app/menus.c:
20891         Fixed so accelerator groups work in all windows.
20892         Updated to new gtk function names.
20894         * TODO (BUGS):
20895         Removed fixed bug.
20897         * app/display.c:
20898         Updated to new gtk function names.
20899         Set sensitivity of the align menu items.        
20901         * objects/ER/pixmaps/Makefile.am:
20902         * objects/UML/pixmaps/Makefile.am:
20903         * objects/network/pixmaps/Makefile.am:
20904         Fix so that make dist works.
20906         * app/app_procs.c:
20907         * app/color_area.c:
20908         * app/commands.c:
20909         * app/diagram.c:
20910         * app/grid.c:
20911         * app/layer_dialog.c:
20912         * app/load_save.c:
20913         * app/object_ops.c:
20914         * app/properties.c:
20915         * lib/diagramdata.[ch]: 
20916         * lib/message.c:
20917         * lib/objects/ER/attribute.c:
20918         * lib/objects/ER/entity.c:
20919         * lib/objects/ER/participation.c:
20920         * lib/objects/ER/relationship.c:
20921         * lib/objects/ER/.c:
20922         * objects/UML/actor.c:
20923         * objects/UML/association.c:
20924         * objects/UML/class_dialog.c:
20925         * objects/UML/dependency.c:
20926         * objects/UML/generalization.c:
20927         * objects/UML/large_package.c:
20928         * objects/UML/realizes.c:
20929         * objects/UML/.c:
20930         * objects/UML/.c:
20931         Updated to new gtk function names.
20932         Removed warnings.
20934 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
20936         * TODO:
20937         Update TODO.
20939         * app/app_procs.c:
20940         Fixed loading of diagrams specified as arguments.
20942         * objects/ER/attribute.c:
20943         * objects/ER/entity.c:
20944         * objects/ER/er.c:
20945         * objects/ER/participation.c:
20946         * objects/ER/relationship.c:
20947         Updated the ER objects.
20948         
20950 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
20952         * configure.in:
20953         * app/Makefile.am:
20954         * objects/Makefile.am:
20955         * objects/ER/attribute.c:
20956         * objects/ER/entity.c:
20957         * objects/ER/er.c:
20958         * objects/ER/participation.c:
20959         * objects/ER/relationship.c:
20960         * objects/ER/pixmaps/Makefile.am:
20961         * objects/ER/pixmaps/attribute.xpm:
20962         * objects/ER/pixmaps/entity.xpm:
20963         * objects/ER/pixmaps/participation.xpm:
20964         * objects/ER/pixmaps/relationship.xpm:
20965         * objects/ER/pixmaps/weakentity.xpm:
20966         First commit of entity relationship objects.
20967         These were done by hallon@lysator.liu.se.
20968         There are still stuff to do on these.
20969         
20970 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
20972         * TODO:
20973         Updates.
20975         * app/diagram.[ch]:
20976         Change diagram_remove_all_selected to take new argument
20977         delete_empty. Empty objects are deleted only if it is TRUE.
20978         Removed call to close_eps_renderer. This is now done in end_render
20979         in the eps renderer.
20981         * app/create_object.c:
20982         * app/layer_dialog.c:
20983         Update calls to diagram_remove_all_selected.
20985         * app/commands.c:
20986         Update calls to diagram_remove_all_selected.
20987         Some code reformating.
20988         Changed order of adding updates i align_h and align_v.
20990         * app/modify_tool.c:
20991         Update calls to diagram_remove_all_selected.
20992         Added pointer grab when doing rubber-band selection, this fixes
20993         the bug when draging the box over to another window.
20995         * app/connectionpoint_ops.[ch]:
20996         diagram_update_connections_object changed to take an argument
20997         update_nonmoved. This lets connections that has not moved, but
20998         the stuff they're connected to has been moved work.
20999         Update calls to the new diagram_update_connections_object.
21001         * app/properties.c:
21002         Update calls to the new diagram_update_connections_object.
21003         Update extents when properties are applied.
21004         
21005         * app/disp_callbacks.c:
21006         Added support for zooming with the '+' and '-' keys.
21008         * app/menus.c:
21009         Removed old keyboard shortcuts for zoom.
21011         * lib/render.h:
21012         Added calls begin_render and end_render to renderer.
21013         These can be used for setup and cleanup.
21015         * lib/diagramdata.c:
21016         Added calls to begin_render and end_render in data_render.
21018         * app/render_gdk.c:
21019         Added begin_render and end_render.
21021         * app/render_eps.[ch]:
21022         Added begin_render and end_render.
21023         Moved close_eps_renderer code to end_render.
21024         Various fixes to the generated eps code. This fixes importing
21025         generated eps into LYX.
21026         
21027 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
21029         * TODO:
21030         Update of todo.
21031         
21032         * app/menus.c:
21033         Menus for alignment updated.
21035         * app/object_ops.[ch]:
21036         Functions for object alignment updated.
21038         * app/commands.[ch]:
21039         Object alignment callbacks updated.
21040         New diagrams are called Untitled-<nr>.
21042         * app/layer_dialog.c:
21043         Active layer selected when showing layers from new
21044         diagram.
21046         * app/load_save.c:
21047         Compress xml files when saving.
21048         Use xml namespace 'dia'.
21050         * lib/object.h:
21051         Minor comment update.
21053         * objects/UML/class_dialog.c:
21054         Cleanup of the gkt_list_item moving code.
21055         Fixed bug with update of operation when moving parameters.
21057 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
21059         * app/layer_dialog.[ch]:
21060         Fixed the rest of the layers dialog.
21062         * app/dialog.c:
21063         Added call to redo layer dialogs diagram list when changing
21064         diagram name.
21066         * lib/diagramdata.[ch]:
21067         Added data_raise_layer and data_lower_layer functions for
21068         raising/lowering layers. Added data_add_layer_at for adding a
21069         layer at a specified index.
21071 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
21073         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
21074                 
21075         * app/app_procs.c:
21076         Added support for reading diagrams from the command line.
21078 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
21080         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
21081                 
21082         * app/commands.[ch]:
21083         Added objects_align_callback().
21085         * app/menus.c:
21086         Added align objects to menu.
21088         * app/object_ops.[ch]:
21089         Add object_list_align().
21090         
21091 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
21092         * app/layer_dialog.[ch]:
21093         New files. Handles the layers dialog. Needs a bugfix for glib to
21094         work. Sent patch to gtk-list.
21095         
21096         * app/pixmaps/new.xpm:
21097         * app/pixmaps/eye.xbm:
21098         * app/pixmaps/lower.xpm:
21099         * app/pixmaps/raise.xpm:
21100         * app/pixmaps/delete.xpm:
21101         New files. Images for the layer dialog buttons.
21102         
21103         * lib/diagramdata.h
21104         * lib/diagramdata.c
21105         New files for the DiagramData and Layer structures and functions.
21106         
21107         * app/app_procs.c:
21108         Added call to create_layer_dialog() on startup.
21109         
21110         * app/commands.[ch]:
21111         New callbacks for showing the properties and layout dialog.
21112         Changes for the new DiagramData structure.
21114         * app/connectionpoint_ops.c:
21115         * app/cut_n_paste.c:
21116         * app/diagram.[ch]:
21117         * app/display.[ch]:
21118         * app/group.c:
21119         * app/modify_tool.c:
21120         * app/object_ops.[ch]:
21121         * app/render_eps.c:
21122         * lib/object.[ch]:
21123         Changes for the new DiagramData structure.
21125         * app/interface.c:
21126         * app/properties.c:
21127         Set correct wmclasses.
21129         * app/load_save.c:
21130         Fix load and save of layers.
21132         * diagram.dtd:
21133         Update DTD for layers.
21134         
21135         * app/menus.c:
21136         New menus for dialogs.
21138         
21139         * TODO:
21140         Some updates.
21141         
21142 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
21144         * TODO:
21145         Removed the gtk 1.1.5 stuff.
21147         * configure.in:
21148         Updated gtk check to version 1.1.5.
21149         Updated version from 0.20 to 0.30
21151         * app/commands.[ch]:
21152         Updated some callbacks to be of type GtkItemFactoryCallback1.
21153         Not all are done yet, but it works anyway.
21155         * app/display.h:
21156         Removed Gtk 1.0.0 GtkAcceleratorTable references.
21157         
21158         * app/interface.c:
21159         * app/menus.[ch]:
21160         Update to Gtk 1.1.x functions.
21161         Use ItemFactory instead of MenuFactory.
21162         
21163         * app/render_gdk.c:
21164         Removed Gtk 1.0.0 references.
21166         * objects/UML/class_dialog.c:
21167         Scrolled window updates for Gtk 1.1.5.
21168         
21169         * lib/dia_xml.c:
21170         Removed ugly fix for gnome-xml bug. Make sure you get the
21171         newest version of gnome-xml from CVS.
21172         
21173 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21175         * TODO:
21176         Removed the xml load/save line.
21178         * lib/files.[ch]:
21179         Removed files.
21180         
21181         * lib/Makefile.am:
21182         Removed building of files.c
21184         * app/load_save.c:
21185         * lib/connection.c:
21186         * lib/element.c:
21187         * lib/object.c:
21188         * lib/orth_conn.c:
21189         * lib/render_object.c:
21190         * objects/UML/actor.c:
21191         * objects/UML/association.c:
21192         * objects/UML/class.c:
21193         * objects/UML/constraint.c:
21194         * objects/UML/dependency.c:
21195         * objects/UML/generalization.c:
21196         * objects/UML/implements.c:
21197         * objects/UML/large_package.c:
21198         * objects/UML/note.c:
21199         * objects/UML/realizes.c:
21200         * objects/UML/small_package.c:
21201         * objects/UML/uml.c:
21202         * objects/UML/usecase.c:
21203         * objects/network/bus.c:
21204         * objects/standard/arc.c:
21205         * objects/standard/box.c:
21206         * objects/standard/ellipse.c:
21207         * objects/standard/line.c:
21208         * objects/standard/textobj.c:
21209         * objects/standard/zigzagline.c:
21210         Removed all includes of files.h
21212         
21213 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21215         * dialog.dtd:
21216         Made the val property of string be implied.
21217         This makes it possible to save strings that
21218         are NULL. Just leave out val.
21220         * objects/lib/dia_xml.c:
21221         Fixed string so that it is possible to save strings
21222         that are NULL. Also made an ugly workaround of a
21223         bug in gnome-xml which removes empty properties.
21224         
21225         * objects/lib/orth_conn.c:
21226         Fixed a bug in saving. Forgot to step through the
21227         directions.
21228         
21229         * objects/UML/association.c: 
21230         * objects/UML/class.c: 
21231         * objects/UML/constraint.c: 
21232         * objects/UML/dependency.c: 
21233         * objects/UML/generalization.c: 
21234         * objects/UML/implements.c: 
21235         * objects/UML/large_package.c: 
21236         * objects/UML/note.c: 
21237         * objects/UML/small_package.c:
21238         * objects/UML/realizes.c:
21239         * objects/UML/usecase.c: 
21240         * objects/UML/actor.c: 
21241         Fixed UML objects to save as xml.
21242         The last two were done by asierra@servidor.unam.mx (asierra-981204)
21243         
21244         * objects/UML/uml.[ch]:
21245         Updated *_write() and *_read() functions to use xml.
21247         * objects/network/bus.c: 
21248         * objects/network/computer.c: 
21249         * objects/network/disc.c: 
21250         * objects/network/monitor.c:
21251         Updated network diagrams to use xml.
21253 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
21255         * dialog.dtd:
21256         New file. DTD that describes the xml file format
21257         dia uses.
21259         * lib/dia_xml.[ch]:
21260         New files. Support for saving object to xml files.
21262         * configure.in:
21263         * app/Makefile.am:
21264         * lib/Makefile.am:
21265         Added check for and usage of gnome-xml library.
21267         * app/load_save.c:
21268         Major chages. Now saves/loads diagrams as xml.
21270         * lib/object.[ch]:
21271         * lib/element.[ch]:
21272         * lib/connection.[ch]:
21273         * lib/orth_conn.[ch]:
21274         * lib/render_object.[ch]:
21275         * lib/text.[ch]:
21276         Updated object support load/save functions for xml:
21278         * object/standard/arc.c:
21279         * object/standard/box.c:
21280         * object/standard/ellipse.c:
21281         * object/standard/line.c:
21282         * object/standard/textobj.c:
21283         * object/standard/zigzagline.c:
21284         Updated all standard objects to use xml.
21285         
21286         NOTE NOTE NOTE
21287         Only the standard objects are converted right now, don't
21288         save or load uml or network diagrams yet. Also, since this
21289         is new code it is deemed a bit unstable.
21290         
21291         * TODO
21292         Added a know bug.
21294 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
21296         * objects/UML/class.c:
21297         Changed classname font to Helvetica.
21298         Added more space above the classname
21300         * objects/UML/usecase.c:
21301         Correct placements of connectionpoints on ellipse.
21302         Better algorithm for deciding aspect ration on
21303         ellipse.
21305         These changes were made by Alejandro Aguilar Sierra
21306         <asierra@servidor.unam.mx>. (asierra-981201)
21308 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21310         * objects/UML/actor.c:
21311         Changed the extents and alignment of the element
21312         and the text.
21314         * objects/UML/.cvsignore:
21315         Added usecase.lo and actor.lo.
21317 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21319         * objects/UML/actor.c:
21320         * objects/UML/usecase.c:
21321         * objects/UML/pixmaps/actor.xpm:
21322         * objects/UML/pixmaps/case.xpm:
21323         New files. Implements usecase and actor UML objects.
21324         These objects are done by Alejandro Aguilar Sierra
21325         <asierra@servidor.unam.mx>.
21326         
21327         * objects/UML/Makefile.am:
21328         * objects/UML/pixmaps/Makefile.am:
21329         Added usecase and actor to makefile.
21330         
21331         * AUTHORS:
21332         Added Alejandro and Jerome to autors list.
21333         
21334 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
21336         * objects/UML/class.c (umlclass_load):
21337         Fixed typo. Reported by Jerome.Abela@solsoft.fr
21339 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21341         * app/properties.c:
21342         Update connections when doing apply in the properties window.
21344         * objects/UML/uml.[ch]:
21345         * objects/UML/class.[ch]:
21346         * objects/UML/class_dialog.c:
21347         Added connection points on both sides of attributes and
21348         operations in UML classes.
21349         Based on idea from Jerome.Abela@solsoft.fr
21350         
21351 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21353         * README:
21354         Some new documentation about handles and connectionpoints.
21355         
21356         * lib/object.[ch]:
21357         Added functions object_add_connectionpoint and
21358         object_remove_connectionpoint for handling a dynamic
21359         number of connectionpoints.
21361         * objects/UML/class.c:
21362         Only reserve space for stereotype when it is shown.
21364         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
21366 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
21368         * app/connectionpoint_ops.c:
21369         * app/commands.c:
21370         * app/disp_callbacks.c:
21371         * app/display.[ch]:
21372         * app/grid.c:
21373         * app/handle_ops.c:
21374         * app/magnify.c:
21375         * app/modify_tool.c:
21376         * app/render_gdk.[ch]:
21377         * lib/render.h:
21378         Huge cleanup of internal rendering system.
21379         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
21380         This gives a few new methods for Interactive Renderers for setting
21381         clipping regions and drawing pixel based lines and rects.
21382         Updated the rest of the code to use the new stuff.
21383         
21384         * app/render_eps.c:
21385         Fixed warning.
21387         * lib/widgets.c:
21388         * objects/standard/zigzagline.c
21389         Fixed unused variable warnings.
21391         * lib/font.c:
21392         Fixedbug with stringwidth where width==0.
21394         * TODO:
21395         Added known bug.
21397 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
21399         * lib/widgets.[ch]:
21400         Added suppot for setting the font of a
21401         DiaFontSelector widget.
21402         Also fixed some typos in the header.
21404         * lib/object.h: 
21405         Added a comment about the GetPRoperties method call.
21406         You have to make sure to update widget state when
21407         this method is called. (Not all objects do this yet,
21408         to be fixed.)
21410         * TODO:
21411         Some small updates
21413 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
21415         * lib/font.c
21416         Fixed problem with height of ascent and descent for fonts.
21417         It didn't use the whole height (==ascent+descent) when calculatine
21418         ascent_ratio and descent_ratio.
21420         * objects/standard/textobj.c:
21421         * objects/standard/box.c:
21422         * objects/standard/ellipse.c:
21423         * objects/standard/line.c:
21424         * objects/standard/arc.c:
21425         Updated and added property dialogs for these objects.
21426         Also added line width/color/style to those objects
21427         that didn't have it.
21428         This change breaks fileformat compatibility for these objects.
21429         
21430         * objects/standard/zigzagline.c:
21431         Changed zigzagline to be based on OrthConn, much nicer.
21432         Also added line style and color to properties.
21433         This change breaks fileformat compatibility for zigzagline.
21435         * lib/message.c:
21436         Fixed bug in message(). Forgot a pair of '&'.
21438 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
21440         * lib/widgets.[ch]:
21441         Added DiaColorSelector widget.
21442         This is a colored button that pops up a color selection
21443         dialog when pressed.
21445 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
21447         * lib/widgets.[ch]:
21448         * lib/Makefile.am:
21449         New files, added widgets for selecting fonts, alignment
21450         and line-style. Will be used later.
21452 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
21454         * app/Makefile.am:
21455         * lib/Makefile.am:
21456         * objects/UML/Makefile.am:
21457         * objects/network/Makefile.am:
21458         * objects/standard/Makefile.am:
21459         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
21460         in all Makefile.am.
21462 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
21464         * app/handle_ops.c (handle_draw):
21465         connected HANDLE_MINOR_CONTROL also becomes red.
21467 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
21469         * Makefile.am:
21470         removed -ldl from linking. This is added if needed by configure.
21472         * app/app_procs.c:
21473         Open dlls with RTLD_LAZY if it is defined.
21474         Some cleanups: char *error -> const char *error
21475         Added fprintf()'s to where we exited because of errors.
21477         * lib/files.c:
21478         Include <sys/types.h>
21480 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
21482         * acconfig.h:
21483         * configure.in:
21484         * app/app_procs.c:
21485         Detect dlopen better.
21486         Detect wether dlopen needs an underscore in the identifier.
21487         This code was mostly borrowed from guile.
21489         * lib/sheet.[ch]:
21490         * app/app_procs.c:
21491         * objects/standard/standard.c:
21492         * objects/network/network.c:
21493         * objects/UML/uml.c:
21494         * most objects:
21495         Changed the way sheets reference objects to use just the
21496         name. Changed module loading to a two stage model:
21497         First register_objects() is called for all modules.
21498         Then register_sheets() is called. This means that
21499         sheets can safely include objects from other modules.
21500         
21502 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21504         * objects/network/bus.c:
21505         * objects/network/network.c:
21506         * objects/network/Makefile.am:
21507         New file bus.c. Added new object: Ethernet bus.
21509         * objects/standard/box.c:
21510         Added call to gtk_spin_button_set_numeric for linewidth spinner
21511         in property dialog.
21513 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21515         * app/connectionpoint_ops.c:
21516         * app/create_object.c:
21517         * app/group.c:
21518         * app/handle_ops.c:
21519         * app/modify_tool.c:
21520         * lib/connection.c:
21521         * lib/element.c:
21522         * lib/handle.h:
21523         * lib/object.c:
21524         * lib/orth_conn.c:
21525         * loads of objects:
21526         Changed handle->connectable to handle->connect_type.
21527         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
21528         that their connections don't break when moving objects.
21530         * app/diagram.c:
21531         Always select the last handle in an object that has
21532         the closest distance.
21533         
21534         * lib/geometry.[ch]:
21535         Added rectangle_add_point function.
21536         
21538 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
21540         * app/properties.[ch]: New files. Handles the new properties
21541         dialog.
21543         * app/modify_tool.c: Changed to use new properties dialog.
21545         * app/object_ops.[ch]: Removed object_changed_callback, as it's
21546         not needed anymore. This is now handled differently in
21547         properties.c
21549         * lib/object.[ch]:
21550         Changed the properties ops for objects. Removed typedefs
21551         ChangedObjectTime and ObjectChangedFunc needed for the old way.
21552         Added object_return_null function.
21553         
21554         * app/group.c:
21555         * lib/render_object.c:
21556         * objects/*/*.c:
21557         Changed objects to use the new properties dialog.
21558         
21560 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
21562         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
21563         builddir.
21565         * autogen.sh: New file. Copied from gtk and added a call to
21566         libtoolize. Anyone knows why this isn't done in gtk?
21568         * Removed autogenerated files.
21570 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
21572         * Added call setlocale(LC_NUMERIC, "C") so that formating of
21573           floating-point numbers in postscript output will be correct.
21574         * Did some cleanup of generated postscript files.