* include/dataobject/Causedomain.php:
[dia.git] / ChangeLog
blobca27768da9edd042e757c3e84ab9e477b946bd24
1 2006-03-08  Steffen Macke <sdteffen@gmail.com>
3         * installer/win32/dia-diagram.ico:
4         * installer/win32/dia-header.bmp:
5         * installer/win32/dia-install.ico:
6         * installer/win32/dia-intro.bmp:
7         * installer/win32/dia-uninstall.ico:
8         * installer/win32/dia.nsi:
9         * installer/win32/langmacros.nsh:
10         * installer/win32/locale/english.nsh:
11         * installer/win32/locale/german.nsh: Added files to build the win32
12         installer using NSIS (http://nsis.sourceforge.net)
13         
14 2006-03-06  Lars Clausen  <larsrc@raeder.dk>
16         * samples/TexChars.dia: Added sample of the escaped chars for TeX.
17         
18         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
19         Changing escape of \, [, and ] to something that works.  $ is fine.
21 2006-03-05  Lars Clausen  <larsrc@raeder.dk>
23         * plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
25         * lib/orth_conn.c (orthconn_update_data): 
26         * app/diagram.c: Removing debug info.
28         * app/object_ops.c (object_find_connectpoint_display): Don't
29         magnet to parents.
31 2006-02-26  Hans Breuer  <hans@breuer.org>
33         * app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
34         * plug-ins/python/python.c : if set use it to find python-startup.py
35         (bug #332599, Torben H. Nielsen)
37         * app/app_procs.c : removed // from gtk_init() [shouldn't have commited
38         my test code]. Really closes #332177, thanks Mateus César Gröess.
40 2006-02-26  Lars Clausen  <lars@raeder.dk>
42         * doc/en/dia.xml: 
43         * doc/pl/dia.xml: 
44         * config.h.win32: 
45         * configure.in: 
46         * NEWS: 
48         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
49         of element_width and element_height until constraints can be 
50         properly checked.  Bug #328200
52         * dia.spec (Requires): Updated GTK requirements.
54 2006-02-25  Lars Clausen  <lars@raeder.dk>
56         * lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
57         other dynamic menus have proper translation.
59         * lib/widgets.c (dia_dynamic_menu_create_string_item): 
60         * app/interface.c (cmp_names): 
61         * app/sheets.c (sheets_optionmenu_create): 
62         * lib/sheet.c (load_register_sheet): Using C locale for sheet
63         names internally, translating on display instead.  Also sorting
64         by gettext order explicitly.  Bug #328570.
66 2006-02-25  Hans Breuer  <hans@breuer.org>
68         * app/interface.c(get_sheet_by_name) : be more tolerant about 
69         localization of the sheet name. ( Steffen Macke, #332070 )
70         
71         * app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
72         in any case. In contrast to X11/*nix displays are not optional on
73         windoze. And we need some help of gtk to render text to bitmaps.
74         ( Rob McDonald, bug #332177 )
75         
76 2006-02-21  Lars Clausen  <lars@raeder.dk>
78         * NEWS: 
79         * doc/pl/dia.xml: 
80         * doc/en/dia.xml: 
81         * configure.in: 
82         * config.h.win32: Update to -pre2.
84         * lib/beziershape.c (add_handles): Fixing CP pos calculation for
85         adding new CP's.  Fixes bug #331557.
87 2006-02-20  Lars Clausen  <lars@raeder.dk>
89         * lib/diarenderer.c (find_center_point): Better handling of some
90         degenerate cases.
91         (draw_arc_with_arrows): Draw line in all cases.  Doesn't handle
92         the truly degenerate cases well enough yet, but at least doesn't
93         break on common cases.  Probably need to do something special for
94         arcs with start and end point the same.  Improves but does not
95         entirely fix bug #331372.
97 2006-02-20  Hans Breuer  <hans@breuer.org>
99         * plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
100         
101 2006-02-18  Hans Breuer  <hans@breuer.org>
103         * plug-ins/metapost/render_metapost.c : text position gives the
104         baseline neither top nor bottom. ( Rob McDonald, #331491 )
106         * plug-ins/wmf/wmf.cpp : finally respecting the print margins
107         ( Rob McDonald, #331371 )
108         * plug-ins/wmf/wmf_gdi.h : some more constants not useful 
109         without a GDI printer (driver)
110         
111 2006-02-17  Hans Breuer  <hans@breuer.org>
113         * plug-ins/metapost/render_metapost.c(draw_string) : dont query
114         the font for it's height but use the 'height' parameter passed
115         in. Close enough to the desired size - and independent of zoom -
116         to close bug #331489 (Rob McDonald)
117         
118 2006-02-12  Lars Clausen  <lars@raeder.dk>
120         * NEWS: 
121         * dia.spec: 
122         * doc/pl/dia.xml: 
123         * doc/en/dia.xml: 
124         * configure.in: 
125         * config.h.win32: Updates for version 0.95-pre1.
127 2006-02-12  Hans Breuer  <hans@breuer.org>
129         * app/makefile.msc : build three components dia.exe (console
130         application), diaw.exe (windows application) and dia-app.dll
131         containing almost all of Dia's application shared between
132         the two executables
133         * app/main.c app/winmain.c app/app_procs.c app/dia.def : some 
134         refactoring to accomplish the new dependency layout
135         * objects/makefile.msc plug-ins/python/makefile.msc : need to
136         link dia-app.lib now - if at all depending on app/*
137         
138 2006-02-11  Hans Breuer  <hans@breuer.org>
140         * makefile.msc : nmake -f makefile.msc just compiles now
141         * app/makefile.msc lib/makefile.msc : make not using FT2
142         on win32 the default (works around bug #150813 by diabaling it)
143         * objects/makefile.msc plug-ins/makefile.msc : remove -GD from
144         $(CC) command line. It isn't understood by newer versions of cl.
145         
146         * app/authors.h : reflect the recent maintainers change
147         
148         * app/display.c app/load_save.c : removed debug spew
149         
150         * app/winmain.c : improved redirection
151         
152 2006-02-05  Hans Breuer  <hans@breuer.org>
154         * app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead 
155         since 0.94. Fix somne left-overs, also properly disable the duplicate
156         menu entry
158         * po/POTFILES.in : added objects/network/wanlink.c
160 2006-02-05  Hans Breuer  <hans@breuer.org>
162         * lib/dialibartrenderer.c(renderer_finalize) : dont unref 
163         parent_instance.font here. It will be done in DiaRenderer::finalize()
164         Just another reason for crashing at diagram close with libart 
165         renderer involved ...
166         
167 2006-02-04  Hans Breuer  <hans@breuer.org>
169         * objects/standard/image.c : added mainpoint, patch from
170         Torben H. Nielsen fixing bug #329603
172         * app/layer_widget.c : avoid writing to Layer::connectable for a
173         diagram possibly already gone. Fixes bug #329096.
175         * lib/persitence.c(persistence_load) : dont leak filename
176         in case of not existing file
178         Code review via regex "[^_l>p](malloc|free|realloc)\("
179         * objects/fs/function.c : what's g_strdup() must be g_free()'d
180         * plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
181         * plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
183         * app/filedlg.c(file_save_as_response_callback) : before destroying 
184         the save as dialog we need to drop the dialogs diagram reference.
185         Fixes behaviour described in bug #123225#c7
187         * app/interface.c(get_sheet_names) : need to sort sheets by their 
188         display name to really fix bug #160101.
189         
190         * objects/UML/association.c : dont leak the role_name calculated
191         with visibility attribute, use g_strdup_printf() instead of strcat().
192         
193         * configure.in : fix typo in error message
195         * lib/object.c : remove duplicated prototype
196         * lib/element.c : element_update_connections_rectangle() assumes nine
197         connection points, i.e. requires 'mainpoint'. g_assert() for this.
198         
199 2006-02-03  Hans Breuer  <hans@breuer.org>
201         * objects/network/bus.c : allow to tint it. Patch from
202         Torben H. Nielsen, closes bug #328580.
203         * objects/network/wanlink.c : allow to tint this as well.
204         
205 2006-01-29  Hans Breuer  <hans@breuer.org>
207         * app/render_libart.c(draw_line) : make setting the pixel side-effect
208         free; account for it in now (less) magic increments. Fixes bug #312147
210 2006-01-28  Hans Breuer  <hans@breuer.org>
212         * po/checktrans.py : make it work with recent pyxml (unknown url type)
213         * po/AADL.sheet.in : remove duplicated _description
214         => translation report works again
216         * app/display.c : revert back to "_Discard Changes" to avoid
217         accelerator clash. Also gtk_button_new_with_mnemonic() to
218         'expand' the accelerator.
220         * lib/dia_svg.c(dia_svg_style_init) : need to initialize
221         linecap, linejoin, linestyle to avoid invalid settings.
222         (Nguyen Thai Ngoc Duy, bug #328945)
223         * lib/diagdkrenderer.c : add a place fro breakpoint to 
224         detect invalid mode
226         * lib/diarenderer.c(setfont) : if we get passed in the
227         same font it must be ref'd before unref.
229         * lib/text.c(set_string) : don't eat the trailing new-line
230         Fixes bug #165092
231         
232         * app/app_procs.c app/display.c app/filedlg.c 
233         attempt to provide more HIG compliant dialogs. Patch from
234         Nguyen Thai Ngoc Duy, part of bug #138183
235         
236         * app/recent_files.c(recent_file_history_clear_menu) : instead of 
237         messing with GtkMenuShell::children and gtk_widget_destroy() just 
238         use gtk_container_remove. Avoids memory corruption causing the
239         most 'random' crashes recently.
240         
241         * objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL 
242         cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the 
243         TextAttributes - not some subset. Fixes bug #327701
244         * objects/UML/implements.c objects/UML/generalization.c
245           objects/UML/constraint.c objects/UML/object.c
246           objects/UML/large_package.c objects/UML/realizes.c : same here.
247         * objects/UML/dependency.c : same here. Also draw the "Name" with the
248         given color, not only the Stereotype.
249         * objects/UML/class.c : same here. But we also need to restore 
250         explicit restore "text_color" for the load case.
251         
252 2006-01-27  Hans Breuer  <hans@breuer.org>
254         * configure.in : error out if GLib/GTK+ version is lower than required
256         * app/filedlg.c lib/widgets.c : more default responses. Patch 
257         from Nguyen Thai Ngoc Duy, part of bug #138183
258         
259         * NEWS : Main point feature correction. The line is supposed to
260         start at the border of the object not the bounding box.
261         
262         * app/commands.c : respect difference between documenters and
263         translators and show both in about dialog. Closes bug #328711.
264         
265         * app/interface.c : instead of g_warning for missing shape icon
266         but use message_warning and show the 'missing' icon
267         
268         * lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
269         not match pango_win32_get_context(). Use gdk_pango_get_context ().
270         Also removed my special win32-modified-pango code for draw_string()
271         without the help of gdk.
273         * Makefile.am : include MAINTAINERS file in tarball
275         * lib/conectionpoint.h : removed double include of "geometry.h"
276         
277 2006-01-22  Hans Breuer  <hans@breuer.org>
279         * app/splash.c app/commands.c : dont share the logo and finally leak
280         it. Instead both place load and unref the logo themself. 
281         Also unbreak GNOME case.
283         * app/commands.c : use GtkAboutDialog instead of homegrown GTK+
284         or GNOME specific one. 120 lines less code and more standard.
285         * configure.in : require GTK+ >= 2.6
287         * app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
288         make GtkTypeInfo static const as usual elsewhere
289         
290         * app/recent_files.c : it almost certainly is an error to ignore
291         the return value of g_list_remove_link()
292         
293         * lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
294           lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
295           lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
296           lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
297           objects/UML/uml.h : documentation fixes
298         
299         * lib/object.h lib/diagramdata.h : avoid circular inclusion
300         * lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
301           lib/properties.h lib/sheet.h lib/diamenu.h
302         : dont include "object.h", "diatypes.h" is enough. 
303         Rule of thumb: only headers declaring an inheritant of DiaObject
304         should include "object.h"
305         * lib/diarenderer.h : include "font.h" not strictly needed by 
306         this header, but needed in almost any plug-in/
307         * app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
308           app/export_png.c app/interface.c app/load_save.c app/sheets.c
309           app/sheets_dialog.c app/sheets_dialog_callbacks.c 
310           lib/diagdkrenderer.c lib/object.c lib/propobject.c
311           lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
312           plug-ins/svg/render_svg.c
313           : some .c files now need to include "object.h" or <gtk/gtk.h>
314         or e.g. "intl.h" direct, formerly dargged in indirectly
315         * plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
316         
317 2006-01-21  Hans Breuer  <hans@breuer.org>
319         * lib/connection.c lib/connection.h lib/connectionpoint.h
320           lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
321           lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
322           lib/object.c lib/object.h : documentation tweaking
324         * objects/UML/class_dialog.c(attributes_create_page,
325         operations_create_page) : dont connect
326         to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
327         g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
328         (This was a leftover of introducing the GtkTextView instead of GtkEntry)
330         * objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
331         Introduce 'comment_tagging' switch which allows to hide the rendering
332         {documentation = } Maybe a choice between ugliness and non-standard.
333         Fixes bug #326214. (Unrelated: started to adapt casing of variables
334         to Dia's common coding style)
335                 
336         * lib/object_defaults.c : pass is_default=TRUE to object_copy_props
337           lib/proplist.c : fixed pdtpp_default()
338           lib/propobject.c : correctly reflect is_default 
339         * object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
340         PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
341         
342         * lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
343         widget in defaults dialog
345         * app/display.c(initialize_display_widgets) : also append the Input 
346         Methods menu to the diagram menubar. Now fixes bug #327862.
348         * config.h.win32 : #undef LOCALEDIR
349         * app/app_procs.c : runtime calculation of localedir. It now is
350         $(executable_dir)/../locale. Should help fix bug #309763
351         
352         * sheets/AADL.sheet.in : remove left over xml:lang tag. 
353         ( Nguyen Thai Ngoc Duy, bug #327519)
355         * lib/dialibartrenderer.c : make text rendering work without
356         PangoFT2 and PangoWin32
359 2006-01-18  Lars Clausen  <lars@raeder.dk>
361         * objects/UML/class.h: Enabling UML class mainpoint after failure
362         to break it.
364         * app/grid.c: Fix bug with grid being incorrectly drawn when gap <
365         1.
367 2006-01-14  Hans Breuer  <hans@breuer.org>
369         * app/paginate_psprint.c : ensure we are not producing pages for
370         epsilon. Floating imprecision is fun. Fixes bug #133856.
371         * app/paginate_gdiprint.cpp : same here.
373         * plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
374         found the nice samples from bug #156171 it was quite simple to
375         confirm that the y value need indeed to be inverted. Fixes bug #304974.
376         Also special case strings starting with \tex - i.e. dont escape them -
377         to keep the use-case of direct tex input.
378         
379         * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
382 2006-01-14  Hans Breuer  <hans@breuer.org>
384         * samples/Self/umlclass.dia : (new file) documenting part of the
385         object relations of UMLClass. Also good for testing connections.
386         
387         * lib/debug.c : replace wrong call to vprintf() - missing file
388         descriptor - with the more appropriate g_vprintf(). Thus 
389         dia_assert_true() does not smash the stack anymore on win32.
390         
391         * objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
392           objects/UML/umlattribute.c objects/UML/umloperation.c :
393         reverted the memory managment of UMLAttribute/UMLOperation's 
394         ConnectionPoint(s) back to how it was up until 0.94. This finally
395         makes the UMLClass work again including undo/redo support. Fixes
396         bug #314153 and en passant bug #326453.
397         
398 2005-01-12  Lars Clausen  <lars@raeder.dk>
400         * objects/UML/umlattribute.c: 
401         * objects/UML/class_dialog.c: Better way of handling
402         connectionpoints: Don't copy them, just reference them.  Finally
403         fixes bug #314153 (not quite the pi bug:)
405         * app/menus.c (display_menu_items): 
406         * app/filedlg.c (file_open_response_callback): 
407         * app/display.[ch] (copy_display): 
408         * app/commands.[ch] (view_clone_view_callback): 
409         Added functionality to clone display.  Preparation for storing
410         display info in diagram files (not happening this version, though).
412         * INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
413         users pointing at dia-installer.
415 2006-01-08  Hans Breuer  <hans@breuer.org>
417         * shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
418         (Narcelio Filho, #326075)
420         * objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
421         plug-ins should not depend on app/* and it even breaks 'make distcheck'.
422         * objects/AADL/Makefile.am : added edit_port_declaration.h
423         * app/Makefile.am : added diaconv.c to EXTRA_DIST
424         => 'make distcheck' passes again.
426         * configure.in : use some more of gcc's useful warnings
428         * lib/geometry.h : removed unused functions just producing warnings
429         [sometimes it's good to read compiler warnings]
430         * plug-ins/cairo/diacairo.c : somehow a function call got lost
431         (left-hand operand of comma expression has no effect)
432         * plug-ins/metapost/render_metapost.c : dia_message_filename()
433         wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
434         from incompatible pointer type)
437 2006-01-07  Hans Breuer  <hans@breuer.org>
439         * objects/custom/shape_info.c(parse_path) : handle the case of 
440         invalid path data more gracefully, i.e. show a warning instead 
441         of crashing later on.
442         * plug-ins/svg/svg-import.c(read_path_svg) : ditto.
443         
444         * configure.in sheets/Makefile.am shapes/Gane_and_Sarson 
445           shapes/Makefile.am : added Gane & Sarson shapes 
446         (Nick Moore, #319544)
448         * objects/makefile.msc : building AADL on win32
450 2006-01-06  Hans Breuer  <hans@breuer.org>
452         * objects/AADL/aadl.h : avoid redefinition warnings by #undef
453         min, #undef max before local definitions
454         * objects/AADL/aadl.h : more prototypes
455         * objects/AADL/aadltext.c : for C89 declarations must be at the
456         beginning of a block. And Dia *must* be compileable with C89.
458         * objects/AADL/** objects/Makefile.am sheets/Makefile.am 
459         configure.in : AADL plug-in from Pierre Duquesne. See
460         http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
461         for more information
462         * sheets/AADL.sheet.in : from the above patch but modified 
463         to become translatable like the other sheet files. That is: the
464         french translation got temporary removed cause it does not belong here.
466         * plug-ins/pgf/render_pgf.c : no C99/C++ comments please
468         * app/app_procs.c app/diaconv.c : get rid of run-on sentences
469         (Adam Weinberger, bug #325567)
470         
471         * app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
472         and change some other to use <control><alt>. They collide with GTK's 
473         Unicode input feature. Fixes bug #320495. For rationale see: 
474         http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
475         
476         * app/display.c : pay attention to g_warnings() [should always run
477         with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
478         actually is a menu bar.
479         
480         * lib/diarenderer.c : the righthand calculation accidentially broke
481         some arcs direction. Should be fixed again.
482         
483 2006-01-02  Hans Breuer  <hans@breuer.org>
485         * app/display.c(new_display) : also append the Input Methods menu to 
486         the diagram menubar. Fixes bug #308576.
488         * lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
489         freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
491         * lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to 
492         their localized name (with g_utf8_collate). Thus not relying on the 
493         capabilities of the C libraries strcmp(). Fixes bug #160101.
495         * lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
496         point and width from the (arrow-)corrected new points. Otherwise a 
497         whole new wrong arc may emerge. Fixes bug #312641.
498         
499 2006-01-01  Hans Breuer  <hans@breuer.org>
501         * objects/custom/custom_object.c(cutom_update_data) : depending 
502         on the handle moving let one scale (x or y) take precedence. 
503         (bug #308515, Eric Deplagne)
504         
505         * objects/UML/class.c : only perform the attributes check with
506         attributes visible to ged rid of false warnings
507         * objects/UML/class_dialog.c : need to setup Connection::object
508         after uml_attribute_new() and uml_operation_new(), again less
509         warnings but bug #314153 still not fixed.
511         * NEWS : updated
513         * plug-ins/python/diasvg.py : more correct svg by also writing 
514         xmlns="http://www.w3.org/200/svg"
516         * plug-ins/python/dot.py : skip unconnected connection lines
517         * plug-ins/python/Makefile.am : added dot.py
519         * plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
520         typos in comments
522 2005-12-31  Hans Breuer  <hans@breuer.org>
524         * objects/UML/class.[hc] objects/UML/class_dialog.c : removed the 
525         caching of UMLClass::attributes_strings, operations_strings, 
526         templates_strings.
527         It was broken by the recent code restructuring in bug #303744 and
528         - if necessary at all - nowadays it should be done on the 
529         UMLAttribute, UMLOperation, UMLFormalParameter level anyway. 
530         A small, much needed simplification of the code.
532 2005-12-30  Hans Breuer  <hans@breuer.org>
534         * objects/UML/class.c : Patch from Dave Klotzbach
535         fixes crash bug #325151
537         * app/app_procs.c : add command line parameter --nonew to allow
538         avoiding the empty start-up diagram
539         Also give a hint on where the object-libs were missing.
540         Finally work around a misbehaviour upstreamm :
541         g_option_context_parse() returning FALSE but not setting error.
543         * app/commands.c app/app_diagram_tree.c app/interface.c :
544         Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
545         http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
546         
547         * lib/widgets.c : image file selection finally ported to the new
548         gtk file chooser. Fixes bug #309383
550 2005-12-28  Hans Breuer  <hans@breuer.org>
552         * app/commands.c(file_new_callback) : convert to filename encoding before
553         passing to new_diagram(), fixes bug #322400
554         
555         * app/interface.c(create_display_shell) : don't clip width on screen 
556         height - now commited. Also lazy creation of tooltips.
557         
558         * objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
559         
560 2005-12-27  Hans Breuer  <hans@breuer.org>
562         * app/diapsft2renderer.c(draw_bezier_outline) : only call
563         FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
564         Prefers no text output over crashing for bug #144212
566         * app/interface.c : removed superfluous call to dia_canvas_set_size().
567         Suggested by Roland Stigge, fixes bug #148149.
569         * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
570         DXF. It is not supported at all. Fixes bug #322101
572         * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
573         define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
576 2005-12-27  Hans Breuer  <hans@breuer.org>
578         * app/navigation.c : protect on_da_button_release_event() against being
579         called twice. Also only popdown the navigation window after the first 
580         draw (reusing nav->is_first_expose). Fixes bug #151696
581         
582         * app/interface.c(create_display_shell): don't clip width on screen height, 
583         but height
585         * lib/plug-ins.c : fixed typo in comment
586         
587         * lib/libdia.def : updated externals
588         * lib/makefile.msc : build debug.obj
590         * plug-ins/makefile.msc : building pgf in the right alphabetical order
591         * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
592         
593 2005-12-08  Lars Clausen  <lars@raeder.dk>
595         * app/authors.h: 
596         * plug-ins/pgf/pgf.c: 
597         * plug-ins/pgf/render_pgf.[ch]: 
598         * plug-ins/pgf/Makefile.am: 
599         * plug-ins/Makefile.msc: 
600         * plug-ins/Makefile.am (SUBDIRS): 
601         * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
602         support for PGF output for including in (La)TeX documents that
603         allows PDF generation.
605         * samples/render-test.dia: Added samples of text in different
606         sizes, standard fonts and styles with size markers.
608 2005-12-04  Lars Clausen  <lars@raeder.dk>
610         * lib/Makefile.am (gen_sources): Mark marshal files as generated.
611         (BUILT_SOURCES): Added marshal files.
613 2005-12-03  Lars Clausen  <lars@raeder.dk>
615         * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
616         about $(srcdir) and confusing everybody.
618         * app/undo.c:
619         * lib/diagramdata.c:
620         * lib/diagramdata.h:
621         * lib/diamarshal.list:
622         * plug-ins/python/pydia-diagram.c:
623         * plug-ins/python/pydia-diagramdata.c:
624         * plug-ins/python/python-startup.py: Patch from David Johansson
625         <david.lgj@gmail.com>: Add signals emitted when objects are
626         inserted or removed.
628 2005-11-13  Lars Clausen  <lars@raeder.dk>
630         * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
631         (small) buffer overflow by using g_strdup_printf instead of sprintf.
633 2005-11-09  Lars Clausen  <lars@raeder.dk>
635         * app/app_procs.c: 
636         * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
637         when reaching the statement is a bug.  Using g_critical and exit() for
638         fatally wrong inputs.
640         * objects/UML/uml.c: 
641         * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
642         Klotzbach): Fixes template rendering and converts home-brew inline
643         doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
644         into a dup.
646 2005-11-07  Lars Clausen  <lars@raeder.dk>
648         * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
649         box' since several objects have problems of using bounding box in
650         different ways (see bug #300055).  For now, enclosing box ==
651         bounding box, but over time objects will learn to expand the
652         bounding box to include things only rendered interactively.
654         * app/modify_tool.c (modify_motion): Make sure highlight is reset
655         when moving between overlapping objects.
657         * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
658         diagram after toggling to make red X's come and go.
660         * lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
661         it if you need faster rendering and aren't afraid of crashbugs:)
663         * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
664         (dave Klotzbach):  Fixes null pointer problems in free function.
666         * objects/UML/class.c
667         * objects/UML/class.h
668         * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
669         (dave Klotzbach): Make UML comments conform to UML 1.0 standard
670         and allow multi-line comments. Ugly as hell, but standard.  Time
671         for a 'Strict UML' option?  Fixes bug #303744.
672         
673         * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
674         entry, exit and do descriptions to a state object.  Fixes bug #65434.
676 2005-11-03  Lars Clausen  <lars@raeder.dk>
678         * lib/arrows.c:
679         * lib/attributes.c:
680         * lib/autoroute.c:
681         * lib/bezier_conn.c:
682         * lib/boundingbox.c:
683         * lib/color.c:
684         * lib/connection.c:
685         * lib/connectionpoint.c:
686         * lib/dia_dirs.c:
687         * lib/dia_image.c:
688         * lib/dia_svg.c:
689         * lib/dia_xml.c:
690         * lib/diaarrowchooser.c:
691         * lib/diaerror.c:
692         * lib/diagdkrenderer.c:
693         * lib/diagramdata.c:
694         * lib/element.c:
695         * lib/object.c:
696         * lib/object.h:
697         * lib/parent.c:
698         Added documentation java-doc style.  Also a few trivial cleanups.
699         
700 2005-10-13  Lars Clausen  <lars@raeder.dk>
702         * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
703         in macros.
705         * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
707         * lib/Makefile.am:
708         * lib/debug.[ch]:
709         * lib/object.[ch]: 
710         * objects/UML/class.[ch]: 
711         * objects/UML/uml.h: 
712         * objects/UML/umlattribute.c: 
713         * objects/UML/umloperation.c: 
714         * objects/UML/class_dialog.c: 
715         Rework of the UML class attribute/operation handling.  Now doesn't
716         copy connection points into the dialog data, but only the "flat"
717         data.  As part of debugging made sanity check functionality.
718         Currently still dies when deleting an attribute/operation that has
719         a connection to it.
721 2005-10-09  Hans Breuer  <hans@breuer.org>
723         * lib/properties.h : prefer american spelling of colo(u)r for
724         user visible strings - i.e. to be translated ones.
725         * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
726                                         ^
727         * po/*.po : updated (by 'make distcheck')
729 2005-10-09  Hans Breuer  <hans@breuer.org>
731         * app/display.c : allow !"toolbox on top" without restart.
732         (Chris Hellberg, bug #310702)
734 2005-10-09  Hans Breuer  <hans@breuer.org>
736         * lib/arrows.c : patch from Radek Krahl fixing the blanking
737         of two arrowheads, bug #310157
739 2005-10-08  Hans Breuer  <hans@breuer.org>
741         * plug-ins/python/group_props.py : show a descriptive text instead of an 
742         empty table if there are no common properties to change. Fixes bug #314432
744 2005-10-08  Hans Breuer  <hans@breuer.org>
746         * objects/UML/transition.c : inverted default direction of
747         the direction. Patch from Peter Allin, fixes bug #318049
748         [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
750 2005-10-08  Hans Breuer  <hans@breuer.org>
752         * app/Makefile.am objects/standard/Makefile.am : match the
753         referenced icons to the needed. Make 'make distcheck' pass
754         and thus fixes bug #312152
756         * objects/standard/textobj.c : no C++ comments please!
758 2005-10-08  Hans Breuer  <hans@breuer.org>
760         * objects/standard/textobj.c : preserve the position set on create
761         [makes e.g. text positioning of diasvg_import.py work]
763         * plug-ins/python/diasvg_import.py : restrict what eval() can do
764         with strings from svg files. Fixes the arbitrary code execution from 
765         bug #317637
766         
767         * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
768         magnetism. At least they are distinguishable from grid snapping.
769         * app/makefile.msc app/Makefile.am : use them
770         
771         * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
772         I also can't reproduce bug #309044 anymore (on win32).
773         
774 2005-10-01  Lars Clausen  <lars@raeder.dk>
776         * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
778         * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
779         pass FILE * as gchar *.
781         * lib/debug.[ch] (dia_assert_true): Debugging aids.
783 2005-09-29  Lars Clausen  <lars@raeder.dk>
785         * objects/UML/class.h: Enabling mainpoints for UML.
787         * objects/UML/class.c (umlclass_set_props): Make sure to always
788         realloc connection point list.
790 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
792         * configure.in: Added "id" in ALL_LINGUAS line.
794 2005-09-14  Lars Clausen  <lars@raeder.dk>
796         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
797         loading.  Fixes bug #315427.
799 2005-09-11  Hans Breuer  <hans@breuer.org>
801         * objects/standard/arc.c objects/standard/textobj.c : fix
802         C99isms, Dia is supposed to compile with C89 like msvc
804         * app/makefile.msc : use the wrong center-point-magnetism
805         icons for the win32 build, too.
807         * plug-ins/python/pydia-error.c : dont crash on C escape
808         sequences in the error string
809         * plug-ins/python/pydia-render.c : dont free filename twice
811         * plug-ins/python/dot.py : start of an exporter to DOT language
812         which can be processed by www.graphviz.org tools
814 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
816         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
818 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
820         * configure.in: Added "eu" to ALL_LINGUAS.
822 2005-09-04  Lars Clausen  <lars@raeder.dk>
824         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
825         dimensions frame to make ext_attributes work again.
827         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
828         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
829         global prefs.
831         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
832         <dooms info ucl ac be>: Add vertical alignment for standard text
833         object.  This should really be moved into lib/text.c and apply to
834         all text objects.
836 2005-09-03  Lars Clausen  <lars@raeder.dk>
838         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
839         mainpoint when snap-to-objects is not on.
841         * app/Makefile.am (ICON_PNG_PAIRS): 
842         Fake icons for snap-to-objects.
844         * app/commands.[ch]: 
845         * app/menus.c (menus_get_image_menubar): 
846         * app/display.[ch]: 
847         * app/interface.c (create_display_shell): 
848         * app/create_object.c (create_object_button_release): 
849         * app/disp_callbacks.c (ddisplay_drop_object): 
850         * app/object_ops.[ch]: 
851         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
852         * app/modify_tool.c (modify_button_release): 
853         * app/display.[ch]: 
854         Togglable snap-to-objects, also doesn't snap when moving entire
855         object.  This should be more reasonable in practical use, and can
856         be turned off when you want to place your arrows more precisely.
858 2005-08-06  Hans Breuer  <hans@breuer.org>
860         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
861         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
862         becomes even more ugly when the user has choosen *not* to build 
863         the diacairo plug-in. If noone can come up with a very convincing 
864         reason why it has to be done this way I'll probably go back to 
865         my original dont-build-at-all approach when this breaks the 
866         next time.
868 2005-08-02  Lars Clausen  <lars@raeder.dk>
870         * objects/standard/arc.c: Patch from Grégoire Dooms
871         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
872         implementation.  "There is still a small bug when the non
873         connected end of the arc is very close to the border of the
874         connected object. I think this is due to rounding errors in the
875         code for SHIFT-move handle which is reused to trim the arc in
876         autogap. Also it is not yet possible to have a startgap and an
877         endgap from/to the same central CP."
879 2005-07-31  Hans Breuer  <hans@breuer.org>
881         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
882         longer for distributions official packages - depend 
883         on cairo 0.6.0 - fixes bug #307144
885 2005-07-20  Hans Breuer  <hans@breuer.org>
887         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
888         which must match PropDescription, that is make it at least compile.
890 2005-07-19  Hans Breuer  <hans@breuer.org>
892         * app/diagram.c(new_diagram) : what comes from g_object_new()
893         MUST NOT be g_free()'d 
895         * lib/message.h : added dia_message_filename() here as well.
896         Mainly to not touch all files using. They *all* where using
897         lib/message.h already! Maybe the implemantation should be moved
898         to message.c as well cause the function has *nothing* to do
899         with dynamic filename resolving. It is a wrapper around
900         g_display_filename() mostly (only?) used for messages ...
901         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
903 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
905         * objects/EML/instantiation.c (instantiation_load): 
906         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
907         * objects/ER/participation.c (participation_type): 
908         * objects/FS/flow-ortho.c (orthflow_type): 
909         * objects/GRAFCET/vector.c (arc_load): 
910         * objects/standard/zigzagline.c (zigzagline_type): 
911         * objects/UML/transition.c (transition_load): 
912         * objects/UML/realizes.c (realizes_load): 
913         * objects/UML/dependency.c (dependency_load): 
914         * objects/UML/generalization.c (generalization_type): 
915         * objects/UML/association.c (association_type): 
916         * objects/UML/component_feature.c (compfeat_load): 
917         Make autorouting deafult on except for old diagrams.
919         * plug-ins/cairo/diacairo.c (export_data): 
920         * plug-ins/cgm/cgm.c (export_cgm): 
921         * plug-ins/dxf/dxf-export.c (export_dxf): 
922         * plug-ins/dxf/dxf-import.c: 
923         * plug-ins/hpgl/hpgl.c (export_data): 
924         * plug-ins/metapost/render_metapost.c: 
925         * plug-ins/pixbuf/pixbuf.c: 
926         * plug-ins/pstricks/render_pstricks.c: 
927         * plug-ins/python/pydia-render.c: 
928         * plug-ins/shape/shape-export.c: 
929         * plug-ins/svg/render_svg.c: 
930         * plug-ins/svg/svg-import.c: 
931         * plug-ins/wpg/wpg.c 
932         * plug-ins/xfig/xfig-export.c: 
933         * plug-ins/xfig/xfig-import.c: 
934         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
935         UTF-8 in message boxes.
937 2005-07-18  Lars Clausen  <lars@raeder.dk>
939         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
940         to have their dimensions specified in properties.  Still needs to
941         have proper update when setting properties cause constraint changes.
943         * app/preferences.c (update_floating_toolbox): Allow
944         toolbox_on_top setting to happen at once.
946         * app/diagram.c
947         * app/filedlg.c
948         * app/load_save.c
949         * app/render_eps.c
950         * app/sheets_dialog_callbacks.c
951         * lib/dia_dirs.c
952         * lib/dia_dirs.h
953         * lib/dia_xml.c
954         * lib/diarenderer.c
955         * lib/element.h
956         * lib/object_defaults.c:
957         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
958         for displaying in messages - better than crashing!  Mostly fixes
959         #310087.
960         
961         * objects/UML/class.c:  Save normal_font_height under the same
962         name it gets loaded as.  Fixes bug #310515.
964         * doc/en/authors.xml
965         * doc/en/usage-customization.xml
966         * doc/en/usage-objects-special.xml
967         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
968         #308315.
970 2005-07-17  Lars Clausen  <lars@raeder.dk>
972         * doc/en/usage-customization.xml: 
973         * doc/en/usage-objects.xml: 
974         * doc/en/authors.xml: 
975         * doc/en/usage-objects-special.xml: Applied patch from
976         stigge@antcom.de (Roland Stigge):  Diverse typos and
977         misencodings.  Fixes bug #308315.
979         * objects/UML/class.c (umlclass_save): Patch from
980         i.pilcher@comcast.net: Save normal font height under correct name
981         to reload it.  Fixes bug #310515.
983 2005-07-10  Hans Breuer  <hans@breuer.org>
985         * app/connectionpoint_ops.c app/object_ops.c : make the
986         'whole object' connection point only center point again. 
987         That is: it is visible and far less magnetic. Only the
988         line gap handling make it special. For me this probably
989         fixes bug #303301
991         * lib/neworth_conn.c : apply the same as for bug #173031.
992         This OrthConn fork got broken as well. Fixes bug #309381
994         * app/makefile.msc objects/makefile.msc : adapt to icon changes
996         * app/interface.c app/diagram_tree.c : a char** is still not 
997         a char* and the win32 build is configured to error on 
998         sloppiness like this
1000         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
1002 2005-07-10  Hans Breuer  <hans@breuer.org>
1004         [
1005           Take part in the toolbox icon redesign context! If you want to 
1006           make them really prettier, please keep the following in mind :
1007           - the size *must* be 22x22 otherwise button reflow will get broken.
1008             Or you need to change about 800 icons at once.
1009           - one important part of Dia are control points, so maybe the icons
1010             should reflect that. (IMO gathering random icons form other 
1011             apps wont work)
1012           - the icons should at least look consistent in their group
1013         ]
1015         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
1016         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
1018         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
1019         * objects/standard/pixmap/* : added arc.png beziergon.png 
1020         bezierline.png box.png ellipse.png image.png line.png polygon.png 
1021         polyline.png text.png zigzagline.png
1022         * objects/standard/Makefile.am : use the new icon set including
1023         text and arc ...
1025         * app/interface.c : remove the "will probably crash" debug spew
1027 2005-07-09  Lars Clausen  <lars@raeder.dk>
1029         * objects/standard/pixmaps/*.png:
1030         * objects/standard/Makefile.am:
1031         * objects/standard/*.c:
1032         * app/interface.c: 
1033         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
1034         new icons. [Slightly belated entry]
1036 2005-07-03  Hans Breuer  <hans@breuer.org>
1038         * app/diagram_tree.c : dont leak display name
1039         * app/app_procs.c : dont leak GOptionContext
1040         * app/prop_widgets.c(frame_beginprop_get_widget) : 
1041         Gtk api still not eating strings ...
1043         * objects/UML/class.c() : don't load properties once more 
1044         which are already loaded by StdProps. In case of strings 
1045         (data_string) it has even produced leaks.
1047         * app/paginate_psprint.c app/diagram.[hc] : the last
1048         of the related dialogs is gone and with it the 
1049         misconception of destroying widgets from 
1050         diagram::finalize()
1051         * app/display.c : ensure the diagram is still threre
1052         when we remove the display from it's list
1054 2005-07-01  Hans Breuer  <hans@breuer.org>
1056         * lib/widgets.c(dia_color_selector_more_callback): dont 
1057         free old_color twice
1059         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
1060         option. Thus linestyles can be preserved on export - at 
1061         least on NT based systems.
1063         * NEWS : clarify the wmf outside of windows issue
1065         * app/modify_too.c : fix C99ism
1067         * objects/standard/arc.c : debug spew optional at compile time
1069 2005-06-26  Hans Breuer  <hans@breuer.org>
1071         [ Cyrille would call it: warningectomy :-]
1073         * lib/font.c app/create_object.c : `...' might be used uninitialized
1074         in this function. Yes they were.
1075         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
1076         uninitialized in this function. Yes it was with textedit_activate_object()
1077         Also some static correctness.
1078         * lib/diarenderer.c:678: warning: no previous prototype for 
1079         `calculate_min_radius'. Made static.
1080         * lib/dia_svg.c : ptr is a gchar *
1081         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
1082         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
1083         * app/app_procs.c : confirm warning and make dump_dependencies() static
1084         * app/autosave.c : #if 0'd old stuff
1085         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
1086         * 
1087         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
1088           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
1089           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
1090           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
1091           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
1092           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
1093           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
1094           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
1095         removed unused variables and functions
1096         * objects/UML/umlattribute.c objects/UML/umloperation.c 
1097           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
1098         neither 'missing braces around initializer' nor 'initialization from 
1099         incompatible pointer type'
1100         * objects/UML/class_dialog.c : more static
1101         * app/interface.c : static and almost const correctness and some
1102         less unitialized variables.
1103         * app/diapsft2renderer.c : use (int) casts like the original 
1104         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
1105         * app/render_gdk.c: stop assignment from incompatible pointer type,
1106         make member functions match the prototype.
1107         * app/render_libart.c : Dito. Also stop caching the copy_gc in
1108         a static variable. Otherwise it finally leaks and also may cause 
1109         BadMatch with changing windows
1110         => warning count down from about 250 to about 60, one or two hand full 
1111            crash bugs less.
1113 2005-06-26  Hans Breuer  <hans@breuer.org>
1115         * lib/libdia.def : added dia_font_get_description, missing
1116         from my last commit
1118         * app/app_procs.c : use png_get_header_ver(NULL), that is:
1119         prefer function call over exported variable to get the 
1120         runtime version of libpng
1122 2005-06-19  Hans Breuer  <hans@breuer.org>
1124         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
1125         as suggested by Roland Stigge, bug #308310
1127 2005-06-19  Hans Breuer  <hans@breuer.org>
1129         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
1130         called anymore
1132 2005-06-18  Hans Breuer  <hans@breuer.org>
1134         * NEWS : mention new file dialog
1136         [plugged remaining leaks from bug #142669]
1137         * lib/prop_attr.c(fontprop_free) : not only unref the font
1138         but free the property itself, too. 
1139         * app/diagram_tree.c(create_diagram_children): remember the
1140         original list start to not only free the last element 
1142         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
1143         but not used. Here it meant a potentially huge leak.
1145 2005-06-18  Hans Breuer  <hans@breuer.org>
1147         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
1148         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
1149         for others, too. ( Roland Stigge, bug #144527 )
1151 2005-06-18  Hans Breuer  <hans@breuer.org>
1153         * plug-ins/wmf/Makefile.am : prevent installation. It 
1154         doesn't do anything useful on *NIX and even seems to be
1155         linked wrong by gcc (or me;). Fixes bug #172830 
1157 2005-06-18  Hans Breuer  <hans@breuer.org>
1159         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1160           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1161         in function declarations. 'f();' for a function without parameters is
1162         a C++ism. Though I can't get any of my compilers to warn about it.
1163         Finally fixes bug #142663.
1165 2005-06-18  Hans Breuer  <hans@breuer.org>
1167         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1168           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1169         in function declarations. 'f();' for a function without parameters is
1170         a C++ism. Though I can't get any of my compilers to warn about it.
1171         Finally fixes the rest of bug #142663.
1173 2005-06-18  Hans Breuer  <hans@breuer.org>
1175         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
1176         changes but doesn't hurt anyway. See bug #162034 
1177         * app/diapsft2renderer.c app/modify_tool.c 
1178           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
1179         instead of messing with internals
1180         * app/display.c : give interactive renderers more begin/end render. 
1181         It is guaranteed that the scale wont change between these.
1183 2005-06-18  Hans Breuer  <hans@breuer.org>
1185         * app/app_procs.c : const correctness for stderr_message_internal
1186         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
1187         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
1188         * app/disp_callbacks.c : don't dereference the to the function call
1189         when the function pointer in meant to be checked against 0
1190         * app/interface.c : warning fixes by using correct types
1191         * app/modify_tool.c : describe_props() members returns const pointer
1192         * app/render_libart.c : removed most of the render function again.
1193         They happily live in lib/dialibartrenderer.c since almost 3 years
1194         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
1195         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
1196         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
1197         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
1198         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
1199         Both mentioned in bug #159814 and not warned by most other compilers.
1200         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
1201         trailing colon in the GtkTypeInfo initialization
1202         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
1203         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
1204         between char and gint8
1205         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
1206         * plug-ins/wpg/wpg.c : consitently use guint8
1207         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
1208         redefinition warnings for python and xslt plug-ins
1210 2005-06-18  Hans Breuer  <hans@breuer.org>
1212         * lib/diagramdata.c : really get rid of diagram_data_destroy 
1213         and new_diagram_data [ no previous prototype for `...' is either
1214         a sign of missing static or of a function to vanish :-]
1216         * lib/geometry.c : apparently the G_INLINE stuff was working only
1217         with particular GLib version(s), glib-2.6.4 does not. Conditionally
1218         reverting to the old mecanics.
1220 2005-06-17  Hans Breuer  <hans@breuer.org>
1222         * plug-ins/python/pydia-*.c : include order tweaking to 
1223         get rid of redefinition warnings. Ensure to include <Python.h> 
1224         before any 'system' header, some dragged in by glib.h
1225         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
1226           pydia-properties.c(PyDiaProperties_Str)
1227           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
1228         use %p to format pointers
1229         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
1230         dont cast to float for %d
1231         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
1232         use correct pointer type
1233         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
1234         dont discard qualifier aka dont free const strings
1235         * plug-ins/python/pydia-properties.c : casts to PyCFunction
1236         * plug-ins/python/pydia-property.c : removed unused function,
1237         make ensure_quarks() static
1238         * plug-ins/python/pydia-render.c : removed unused vars, use
1239         the correct signature for begin_render
1240         (dia_py_renderer_finalize): pluged a leak
1241         => except -fno-strict-aliasing there is no warning left in 
1242            all of PyDia
1244 2005-06-12  Hans Breuer  <hans@breuer.org>
1246         * app/filedlg.c : really fix the file extension mismatch on export dialog
1247         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
1249 2005-06-11  Hans Breuer  <hans@breuer.org>
1251         * configure.in config.h.win32.h : mark as +cvs (should have been 
1252         done directly after the 0.94 release)
1253         * NEWS : attempt to summarize 2/3 year of development
1255         [ 
1256           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
1257           finally passes again
1258         ]
1259         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
1260         app/run_dia.sh --credits > THANKS => Segmentation fault
1261         * app/pixmaps/Makefile.am : added group.png and ungroup.png
1262         * Makefile.am : work around scrollkeeper bug
1263         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
1265         * po/*.po : 'noise' produced by make dist
1267 2005-06-10  Hans Breuer  <hans@breuer.org>
1269         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
1270         * objects/custom/custom_object.c : ... and use it to avoid 
1271         complains about missing attribute "show_background". It is 
1272         safe to leave this uninitialized. Same for flip_* and "text",
1273         the latter with comment cause it usually is *not* safe to do 
1274         it for the general case. Fixes remaining issues with bug #169006
1275         which where caused by an incompatible change in the shape file.
1277         * app/commands.c : use "gnome-open" instead of "netscape" as
1278         fallback for $BROWSER not set. Still not optimal but better
1279         to try some common desktop tool than an obsolete browser;)
1280         Fixes bug #307142. Also some whitespace changes.
1282         * app/interface.c(toolbox_delete): avoid random return value.
1283         Patch from Stanislav Brabec, fixes bug #307143
1285         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
1286         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
1287         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
1289 2005-06-06  Lars Clausen  <lars@raeder.dk>
1291         * app/diagram.c: 
1292         * app/modify_tool.c:
1293         * app/textedit.[ch]:
1294         Better support for text edit highlight.
1296         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
1297         the mainpoint extra visible.
1299 2005-06-02  Lars Clausen  <lars@raeder.dk>
1301         * objects/UML/class_dialog.c:
1302         * objects/UML/class.[ch]:
1303         The final fixes for mainpoint on UML Class.
1305         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
1306         Ian Redfern, now in color and with mainpoints!  Very pretty!
1308 2005-06-02  Hans Breuer  <hans@breuer.org>
1310         * objects/UML/class_dialog.c : the memory managment with respect to
1311         attribute/operation connections was/is a mess. But it should work again ;)
1313         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
1314         directly from the UML Specification - to show the power of Dia and 
1315         some weakness. Watch the bug reports following ;)
1317 2005-06-01  Hans Breuer  <hans@breuer.org>
1319         * app/dia.def : export diagram_update_connections_object
1320         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
1321         Patch from Paolo Bernardi, together with the property setting closes bug #300572
1323 2005-06-01  Hans Breuer  <hans@breuer.org>
1325         * plug-ins/python/pydia-property.c : complete refactoring of property 
1326         setting, now also supports setting of property arrays
1327         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
1328         Python namespacing conventions
1329         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
1330         complete UML Classes with attributes and operations
1331         * plug-ins/python/otypes.py : now also show the properties of the objects
1333         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
1334         (pointers), they might be changed with attributes and opertions changing
1336         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
1337         were broken. Apparently noone used them before.
1339         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
1340         which only operate on the DiagramData to the latter file. To get on the DiagramData
1341         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
1342         but I don't know how to reflect that in the bindings. And for backward compatibility 
1343         there also is the 'data' member.]
1345         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
1346           objects/UML/umlparameter.c : describe enums with PropEnumData
1348         * app/commands.c(view_show_all_callback) : if there is something selected show 
1349         that instead of all exisiting objects. If there is noting or all selcted it 
1350         "Show all" shows the old behaviour.
1352         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
1353         leaks and use less allocations caused by misguided API. Also some adaption to common 
1354         coding style
1356         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
1358         * app/makefile.msc : added new icons and build as console app while 
1359         not releaseing to the general public
1361         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
1362         and keep a refernce when storing the a font from style="" in s.font. This should
1363         finally allow to have shapes with fully predefined text (and no 'random' crashes)
1365         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
1366         capable to interpret it's output
1368 2005-05-31  Lars Clausen  <lars@raeder.dk>
1370         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
1372 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
1374         * configure.in: Added ne in ALL_LINGUAS
1376 2005-05-24  Lars Clausen  <lars@raeder.dk>
1378         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
1379         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
1380         anyway. 
1382 2005-05-23  Lars Clausen  <lars@raeder.dk>
1384         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
1386 2005-05-21  Lars Clausen  <lars@raeder.dk>
1388         * lib/diaarrowchooser.c: 
1389         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
1390         'infinite' line (three dots) arrowhead.  Fix line length in arrow
1391         preview.  And fix typo.  Fixes bug #303904. 
1393 2005-05-20  Hans Breuer  <hans@breuer.org>
1395         * lib/text.c : advice from valgrind and data_string() review:
1396         neither g_free() memory on the stack
1397         * objects/GRAFCET/boolequation.c : ... nor const strings 
1398         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
1399         wants to be freed
1401         * app/diagram.c : a g_object_ref() following g_object_new() is almost
1402         always wrong. Why would we need two refernces?
1403         * app/app_procs.c : same here.If it crashes later on someone is dropping
1404         refernces he does not own, and *that* needs to be fixed. This is reverting
1405         "Remember to ref g_object_new'd object" (bug #170972) below, which 
1406         causes more harm (leaking, hiding bugs elsewhere) than good.
1408         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
1409         diagramdata_destroy() which was only a wrapper to g_object_unref()
1411         * app/display.c(selection_changed) : don't g_strdup_printf() without
1412         g_free() later /or/ a C++ comment of me mostly denotes an error
1414         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
1416         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
1417         const gchar* entry it must not eat memory, added a lot of g_free() and
1418         some const. Fixed a bunch - i.e. *all* - warnings.
1419         * lib/widget.h : removed unused/deleted functions
1421         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
1422         avoid 'Invalid write of size 4', no luck yet
1424 2005-05-19  Lars Clausen  <lars@raeder.dk>
1426         * objects/UML/class.c: 
1427         * objects/UML/class.h: 
1428         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
1429         for uml class object.  #ifdef'd out right now.
1431 2005-05-18  Lars Clausen  <lars@raeder.dk>
1433         * objects/standard/line.c: Make line adjust its actual endpoints
1434         for autogap -- looks and feels better.
1436         * objects/standard/arc.c: 
1437         * lib/geometry.h: 
1438         * app/modify_tool.c: Patch from Grégoire Dooms
1439         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
1440         shifted arc angle movement.
1442 2005-05-16  Hans Breuer  <hans@breuer.org>
1444         * lib/widget.c : variable declarations need to be at the start of a block,
1445         at least as we are not using C++ or C99
1447         * plug-ins/python/pydia-property.c : implment the read part for Property
1448         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
1449         They are working quite well as can be seen with export-object.py
1451         * plug-ins/python/codegen.py : prove it once more with the generation of C++
1452         or Python code from an UML Diagram. Simply save as .py or .cxx ...
1453         * plug-ins/python/Makefile.am : install it
1455 2005-05-16  Lars Clausen  <lars@raeder.dk>
1457         * app/pixmaps/{un}group.png: 
1458         * app/Makefile.am (ICON_PNG_PAIRS): 
1459         * app/menus.c (display_menu_items): 
1460         New icons for grou/ungroup finally added, closing bug #105519.
1462         * app/Makefile.am: Dependencies for pixmaps.
1464         * app/pixmaps/connectable.png: An icon that actually makes sense
1465         for switching connectability.
1467 2005-05-15  Hans Breuer  <hans@breuer.org>
1469         * lib/group.c object/UML/classicon.c : fixed leftovers of
1470         'Adding connectionpoint to _move_handle
1472         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
1473         is *ALWAYS* a memory leak. Plug some more.
1475         [
1476          In preparation to make UML operations/attributes/parameters setable by Python
1477          UML class became more StdProp conformant. A nice experience to be the first 
1478          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
1479         ]
1480         * objects/UML/umlattribute.c objects/UML/umloperation.c 
1481           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
1482         split from objects/UML/uml.c and made StdProp aware
1483         * objects/UML/class.c : finally make "attributes", "operations", "templates"
1484         <template parameters> first class StdProps citizens.
1485         (umlclass_load) : removed hand-written parsing for the above, it is all done
1486         by object_load_props() now. The old write code is still in place, so be very
1487         careful when changing something - at the moment load/save it is 100% compatible 
1488         as it needs to be.
1489         * objects/UML/uml.c : now just type registration here, as it is supposed to be
1490         * objects/UML/Makefile.am objects/makefile.msc : build the new files
1492         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
1493         in-record offsets
1494         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
1495         (darray_prop_adjust_object_records) : don't loop forever
1496         (whole file) : use the new (working) way to get on the second level offsets.
1497         Also resolved some abbreviations, it is complicated enough without them ;)
1498         * lib/proplist.c : even complete list contents may be optional
1500 2005-05-15  Hans Breuer  <hans@breuer.org>
1502         * lib/bezier_conn.c(remove_handles) : don't try to remove 
1503         non-exisitng handles (patch from Radek Krahl, bug #302273)
1505 2005-05-15  Hans Breuer  <hans@breuer.org>
1507         * plug-ins/metapost/render_metapost.c : locale independent output
1508         (Radek Krahl, bug #301866)
1510 2005-05-12  Lars Clausen  <lars@raeder.dk>
1512         * shapes/Cisco/*.{shape,png}:
1513         * sheets/cisco*.sheet.in:
1514         Updated with color icons from Ian Redfern, closing bug #303889.
1515         Added automatic midpoints, not attempt at adjusting them.
1517 2005-05-11  Lars Clausen  <lars@raeder.dk>
1519         * many shapes:  Use mid of bounding box for midpoint, better than
1520         mid of connection points generally.
1522 2005-05-10  Lars Clausen  <lars@raeder.dk>
1524         * lib/widgets.c: Decided on one way for the ratio thing in arrow
1525         size selector:  Fixed ratio is on by default and keeps the sizes
1526         at the given ratio, but doesn't clamp them to be the same.  Fixes
1527         bug #302861.
1529         * lib/font.c: Fix for bug #303695: Allow more than one entry of
1530         each legacy name, thereby correctly encoding bold and italic of
1531         the three main fonts.  Also use | rather than || to combine slant
1532         and weight, so matching works.  Had to remove binary search for
1533         new font name, but the list is short enough it's not a problem.
1535 2005-05-09  Lars Clausen  <lars@raeder.dk>
1537         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
1539 2005-05-08  Hans Breuer  <hans@breuer.org>
1541         * objects/UML/class.c : Reverted to have no center point.
1542         At first it looked as if there was only the bug to not increase
1543         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
1544         potentially much more dynamic connection points (to the left
1545         and right of every attribute/operation). Now simply adding one
1546         between see static and dynamic will screw up any existing diagram
1547         which makes use of the dynamic connection points. The would all
1548         be connected with an off-by-one error. I have no idea how to
1549         code around that. But breaking backward compatibility is no 
1550         option here. Does not completely fix bug #303301 ...
1551         
1552         * lib/widget.c(dia_font_selector_set_font): actually set the options 
1553         menu state. So we are not any longer resetting the font style on Apply.
1554         Use "UML - Class" dialog as stress text example.
1556         * app/command.c : some people insist to close diagrams already
1557         closed using tear-off menus. Maybe we should add a dialog 
1558         "Do you want to call Dr. Watson now?". If there is no diagram
1559         to close anymore just do nothing, fixes bug #303221
1560         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
1561         Calling this with no display to close is a pathological case.
1563         * app/diagram.[hc] : moved object.h and other DiaObject stuff
1564         to the implementation in preparation of Big Things(tm)
1566         * app/interface.c : less warnings and make it compile. strncmp()
1567         does not take a char**, neither does gdk_pixbuf_new_from_inline().
1569         * objects/makefile.msc plug-ins/makefile.msc : less output
1571 2005-05-08  Lars Clausen  <lars@raeder.dk>
1573         * lib/orth_conn.c (orthconn_init): The right place to set the
1574         default autorouting value.  Fixes bug #303291.
1576         * app/display.c (ddisplay_close): Patch from Radek Krahl
1577         (ptasz3k@o2.pl):  Fix crash when using from detached menu
1578         (#303221)
1579         
1580 2005-05-07  Lars Clausen  <lars@raeder.dk>
1582         * lib/orth_conn.c (orthconn_load): Autorouting should default to
1583         off in diagrams that don't have it explicitly.  All diagrams
1584         should be explicit about it.
1586 2005-05-06  Hans Breuer  <hans@breuer.org>
1588         * app/samples/Self/*.dia : some UML diagrams describing Dia's
1589         inner working (or it's future;)
1591 2005-04-26  Lars Clausen  <lars@raeder.dk>
1593         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
1594         change to display of mainpoint to be easier to debug autogenerated
1595         ones. 
1597 2005-04-23  Hans Breuer  <hans@breuer.org>
1599         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
1600           plug-ins/python/pydia-properties.h : use lib/ prefix for
1601         Dia internal headers with too common names (fixes bug #173061)
1603         * app/display.c : stop special casing the first display of
1604         a diagram. Every display now has it's own refernce. The initial
1605         reference gets dropped when there is no display anymore. See
1606         diagram_remove_ddisplay(). Fixes bug #300744.
1608         * app/diapsft2renderer.c : locale independent output
1609         (Radek Krahl, bug #300847)
1610         * app/paginate_psprint.c :  fixing use of setlocale() calls
1611         (Radek Krahl, bug #300886)
1612         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
1613         (Radek Krahl, bug #300889)
1615         * objects/UML/class.c : fix another crash with the line 
1616         wrapping code (Gabor Simon, bug #160865)
1618         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
1619         issue (or is this working around a libpixman bug?;)
1621 2005-04-21  Lars Clausen  <lars@raeder.dk>
1623         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
1625         * shapes/**/*.shape: All shapes now have midpoints.
1627 2005-04-20  Lars Clausen  <lars@raeder.dk>
1629         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
1630         (Radek Krahl): Make sure there's enough handles for the line.
1631         Fixes bug #173031.
1633         * objects/UML/node.c (node_draw): Better drawing method avoids
1634         garbage after moving.  Fixes bug #301032.
1636 2005-04-17  Hans Breuer  <hans@breuer.org>
1638         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
1639         changes (whould compile with current cvs and 0.(3|4).0
1641 2005-04-11  Lars Clausen  <lars@raeder.dk>
1643         * xmldocs.make (all): Fix to put installed docs in right place
1644         under disable-gnome.
1646         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
1647         only for dia.dbk.
1649         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
1650         (Leonardo Boshell): Use standard gnome help if called with Gnome.
1652         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
1653         locale issues for eps output.  Fixes bug #173135.
1655 2005-04-10  Hans Breuer  <hans@breuer.org>
1657         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
1658         changes (somewhat broken)
1659         
1660         * plug-ins/pstricks/render_pstricks.c : still C89 ...
1661         * objects/custom/shape_info.c : ... but with prototypes
1662         
1663 2005-04-07  Lars Clausen  <lars@raeder.dk>
1665         * lib/dia_xml.c: 
1666         * plug-ins/svg/render_svg.c: 
1667         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
1668         Make decimal separators be correct in save file formats
1669         (non-localized).  Fixes bugs #172529 and 172531.
1671 2005-04-06  Lars Clausen  <lars@raeder.dk>
1673         * app/create_object.c (create_object_button_release): 
1674         * app/modify_tool.c (modify_button_release): Correct activations
1675         of text edits.
1677 2005-04-05  Simon Kågström  <ska@bth.se>
1679         * app/app_procs.c: the --show-layers option can now handle numeric
1680         ranges of layers.
1682 2005-04-05  Lars Clausen  <lars@raeder.dk>
1684         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
1685         (Tom Kast): Avoid blockiness caused by bad updates.
1687 2005-04-03  Lars Clausen  <lars@raeder.dk>
1689         * lib/polyshape.c: 
1690         * lib/beziershape.c: Main points.  A crude solution, having the
1691         center in the middle of the bb.  Shows a bug in the distance_from
1692         code for polyshape when a side is horizontal.
1694 2005-04-02  Lars Clausen  <lars@raeder.dk>
1696         * plug-ins/pstricks/render_pstricks.c: 
1697         * plug-ins/xfig/xfig-export.c: Patch from Radek
1698         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
1700 2005-04-02  Hans Breuer  <hans@breuer.org>
1702         * lib/dia_image.c(dia_image_filename) : return the path 
1703         again. (bug #172416, Radek Krahl)
1704         
1705 2005-04-01  Steve Murphy  <murf@e-tools.com>
1707         * configure.in: Added "rw" to ALL_LINGUAS.
1709 2005-03-31  Lars Clausen  <lars@raeder.dk>
1711         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
1713         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
1714         autorouting.  
1716         * objects/network/basestation.c: Main points.
1718 2005-03-27  Hans Breuer  <hans@breuer.org>
1720         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
1721         * app/pixmaps.h : removed arrow.xpm
1722         * lib/Makefile.am : added diamarshal
1723         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
1724         => makes 'make dist' pass and produce a useable package
1726         * po/*.po : 'noise' profuced by make dist
1728 2005-03-24  Lars Clausen  <lars@raeder.dk>
1730         * objects/flowchart/parallelogram.c (pgram_update_data): 
1731         * objects/flowchart/ellipse.c (ellipse_update_data): 
1732         * objects/flowchart/diamond.c (diamond_update_data): 
1733         * objects/flowchart/box.c (box_update_data): Main points.
1735         * objects/custom/custom_object.c (custom_create): 
1736         * objects/custom/shape_info.h: 
1737         * shapes/Assorted/square.shape: 
1738         * objects/custom/shape_info.c (load_shape_info): 
1739         * doc/shape.dtd: Added main point support to shapes, and an
1740         example of how to use it.
1742 2005-03-21  Lars Clausen  <lars@raeder.dk>
1744         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
1745         unnormalize from same point as you normalize, or else!
1747 2005-03-20  Lars Clausen  <lars@raeder.dk>
1749         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
1750         Remember to ref g_object_new'd object.
1752 2005-03-19  Hans Breuer  <hans@breuer.org>
1754         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
1755         have configurations, fixes bug #170962
1757         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
1758         or better not used any longer. Fixes bug #169142.
1760         * lib/element.c(element_update_connections_rectangle): don't initialize 
1761         the eighth point twice but instead the nineth once
1763         * objects/standard/bezier.c : no C++ comments *please*
1765         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
1767         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
1768         * plug-ins/python/pydia-image.c : ... so, don't do it!
1770         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
1771         also named colors via pango_color_parse()
1773         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
1775         * lib/libdia.def : updated externals
1777         * app/object_ops.c : still not C99 everywhere
1779 2005-03-19  Hans Breuer  <hans@breuer.org>
1781         * lib/autoroute.c : at least it should compile ;)
1782         
1783 2005-03-19  Lars Clausen  <lars@raeder.dk>
1785         * lib/autoroute.c: Orthconns now do autogap.
1787 2005-03-17  Lars Clausen  <lars@raeder.dk>
1789         * app/authors.h: Added Gregoire Dooms for gap stuff.
1791         * objects/standard/polyline.c: Patch from Grégoire Dooms
1792         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
1793         
1794         * objects/standard/bezier.c: Patch from Grégoire Dooms
1795         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
1796         property. 
1797         
1799         * objects/UML/state_term.c: 
1800         * objects/UML/large_package.c: 
1801         * objects/UML/node.c: 
1802         * objects/UML/object.c: 
1803         * objects/UML/small_package.c: 
1804         * objects/UML/state.c: 
1805         * objects/UML/usecase.c: 
1806         * objects/UML/note.c: 
1807         * objects/UML/actor.c: 
1808         * objects/UML/classicon.c: 
1809         * objects/UML/component.c: 
1810         * objects/Misc/analog_clock.c: 
1811         * objects/Jackson/requirement.c: 
1812         * objects/Istar/goal.c: 
1813         * objects/Istar/actor.c: 
1814         * objects/FS/function.c: 
1815         * object/standard/box.c:
1816         * objects/ER/entity.c: 
1817         * objects/ER/relationship.c: 
1818         * objects/ER/attribute.c: Main points added.   Distance_from fixed
1819         in attribute, broken in relationship, I* goal, Jackson
1820         requirement, analog_clock, all non-rectangular UML elements, 
1822         * lib/libdia.def: 
1823         * lib/element.[ch]: New method to help update connection points.
1825         * app/menus.c: Change Help/Manual to Help/Contents to follow
1826         standard.
1827         
1828         * objects/standard/line.c:
1829         * lib/geometry.[ch]: 
1830         * objects/standard/bezier.c: Patch from Grégoire Dooms
1831         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
1832         bezier objects.   Autogap nowchanged to be a function of the
1833         connpoints.
1835         * lib/libdia.def: 
1836         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
1837         autogap flag.
1839         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
1840         CP_FLAG_ANYPLACE connpoints.
1842 2005-03-16  Lars Clausen  <lars@raeder.dk>
1844         * app/interface.c (create_tools): Removed debug printf.
1846 2005-03-15  Lars Clausen  <lars@raeder.dk>
1848         * lib/widgets.[ch]: Constification.
1850         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
1851         working yet.
1853         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
1855         * lib/connectionpoint.h: Flags for connection points.
1857         * app/create_object.c (create_object_motion): 
1858         * app/modify_tool.c (modify_motion): Minor refactoring.
1860         * app/object_ops.c (object_find_connectpoint_display): Extend with
1861         finding connpoints that cover entire objects.
1863         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
1865         * objects/custom/custom_object.c (custom_setup_properties): Avoid
1866         uninitialized use.
1868 2005-03-13  Hans Breuer  <hans@breuer.org>
1870         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
1872 2005-03-13  Hans Breuer  <hans@breuer.org>
1874         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
1875         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
1876         dia_svg_style_copy(), dia_svg_style_init()
1878         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
1879         moved out of this)
1881         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
1882         not wrapped in the style attribute
1884         * plug-ins/svg/svg-import.c : implement nested group handling and style
1885         'style inheritance'. Still no transformations, no <image/>, no <style/> 
1886         <defs/>...
1888         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
1889         the latter is for programmers.
1890         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
1891         namespace is defined in the file search for the top node including svg. This
1892         allows us to re-read the svg part of our own shape format.
1894         * lib/libdia.def : there is no give_focus_to_object
1895         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
1896         type as an expression
1898         * lib/geometry. c : use G_IMPLEMENT_INLINES
1899         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
1901         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
1902         gone when trying to remove the focus
1904         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
1905         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
1906         case of this plug-in, i.e. producing output files]
1908 2005-03-13  Lars Clausen  <lars@raeder.dk>
1910         * lib/Makefile.am (BUILT_SOURCES): 
1911         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
1912         the building of the icons header files.
1913         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
1915 2005-03-13  Hans Breuer  <hans@breuer.org>
1917         * configure.in : require Cairo 0.3.0
1918           plug-ins/cairo/diacairo.c : changed to match ;-)
1920         * app/app_procs.c() : new function dump_dependencies()
1921         which gets called by: dia --version --verbose
1922         and may help to track version dependent problems in
1923         our dependencies
1925         * lib/font.c : reverted to previous version cause using
1926         not implemented Pango API did not improve the issue.
1927         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
1928         for more information.
1930         * lib/dialinechooser.c : a little shrinking of the 
1931         initial size (to work around line wrappjing the right 
1932         arrow control)
1934 2005-03-11  Lars Clausen  <lars@raeder.dk>
1936         * app/textedit.c: Concentrate start/end editing in single functions.
1938 2005-03-10  Lars Clausen  <lars@raeder.dk>
1940         * lib/text.h: 
1941         * lib/object.h: Added new object function to allow the object to
1942         be notified when its text is being edited.
1944         * lib/libdia.def: 
1945         * app/modify_tool.c: 
1946         * app/commands.c: 
1947         * app/textedit.c: 
1948         * lib/focus.c: Remove sideeffects from focus objects, add getter
1949         for focus->obj.
1951 2005-03-09  Lars Clausen  <lars@raeder.dk>
1953         * lib/Makefile.am (dia-lib-icons.h): 
1954         * app/Makefile.am: Minor cleanup.
1956 2005-03-06  Hans Breuer  <hans@breuer.org>
1958         * app/app_procs.c : avoid "assignment within conditional expression"
1959         and handle -L for the GOption case as well.
1961         * lib/widget.c : strchr() does not return -1 on not found but NULL;
1962         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
1963         indirection from 'const int '
1965         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
1966         large_arc, thus produce correct arc output (like diasvg.py does;),
1967         fixes bug #144401
1969         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
1970         from objects/custom/shape_info.c to be shared with object/custom and
1971         plug-in/svg -> finally the C based svg-import reads pathes again.
1972         Added arc parsing while I was there, which fixes bug #169191
1973         * objects/custom/shape_info.c(parse_path) : 
1974         * plug-ins/svg/svg-import : reuse above function
1975         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
1976         But in general this does only support a small subset of what is 
1977         possible in SVG.
1979 2005-03-06  Lars Clausen  <lars@raeder.dk>
1981         * objects/UML/association.c: Patch from Dave Klotzbach applied:
1982         Add visibility to association arrow.  Fixes bug #157012.
1984         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
1985         closing bug #161040.
1987         * app/layer_dialog.c (create_button_box): Use stock icons instead
1988         of homemade onces.  Gets us rid of four more XPMs.
1990 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
1992         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
1993         This option permits command line control of which layers are visible.
1994         Useful when automatically exporting multiple versions of the same
1995         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
1996       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
1997         and made it static since its only used in that file.
1998         * app/authors.h: added myself
1999         * doc/en/dia.1: documented the switch
2000         * doc/en/usage-layers.xml: ditto
2001         
2002 2005-03-05  Alan Horkan <horkana@tcd.ie>
2004         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
2005         this restores how Dia behaved before the GTK2 port and seems to help 
2006         allow the toolbox to be more easily resized.  Bug #108891.
2008 2005-03-05  Lars Clausen  <lars@raeder.dk>
2010         * Civil/civil_motor.shape:
2011         * Civil/civil_rotor.shape:
2012         * Logic/and.shape:
2013         * Logic/buffer.shape:
2014         * Logic/connector.shape:
2015         * Logic/inverter.shape:
2016         * Logic/nand.shape:
2017         * Logic/nor.shape:
2018         * Logic/not.shape:
2019         * Logic/or.shape:
2020         * Logic/xor.shape:
2021         * shapes/Assorted/arrow-left-up.shape: 
2022         * shapes/Assorted/heptagon.shape: 
2023         * shapes/Assorted/star5.shape: 
2024         * shapes/Assorted/trapezoid.shape: 
2025         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
2026         defaults, see bug #169143.
2028         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
2030         * configure.in: 
2031         * doc/en/Makefile.am: Finally figured out the right way to ask for
2032         the manpage xslt.  Closes bug #144539.
2034 2005-03-01  Lars Clausen  <lars@raeder.dk>
2036         * lib/Makefile.am (nodist_include_HEADERS): 
2037         * app/Makefile.am: Correctly generate these files from PNGs with
2038         automake.
2040         * lib/widgets.h: 
2041         * lib/libdia.def:
2042         * lib/widgets.c: Refactor toggle button factory to allow inline
2043         data.
2045         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
2047         * app/makefile.msc (ICON_PNG_PAIRS): 
2048         * app/dia-app-icons.h: Updated with more icons.
2050         * lib/Makefile.am: 
2051         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
2052         from pngs.
2054         * app/interface.c (create_display_shell): 
2055         * app/layer_dialog.c (dia_layer_widget_init): 
2056         * lib/dia_image.c (dia_image_get_broken): Use inlined data
2057         generated from png.
2059         * app/display.c (ddisplay_close): Removed unused includes.
2061 2005-03-01  Lars Clausen  <lars@raeder.dk>
2063         * app/sheets.c (create_object_pixmap): Create a placeholder image
2064         for when the real image is missing.  Better than crashing:)
2065         Closes bug #166786.
2067 2005-02-25  Hans Breuer  <hans@breuer.org>
2069         * app/app_procs.c : don't requets to open a default display with
2070         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
2072 2005-02-22  Lars Clausen  <lars@raeder.dk>
2074         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
2075         Fixes bug #168125.
2077 2005-02-19  Lars Clausen  <lars@raeder.dk>
2079         * app/menus.c (display_menu_items): Applied patch from bug #94019:
2080         Menu cleanup and addition of icons.  Also a few additional stock
2081         icons. 
2083         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
2084         the layers dialog.
2086 2005-02-14  Lars Clausen  <lars@raeder.dk>
2088         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
2090 2005-02-13  Lars Clausen  <lars@raeder.dk>
2092         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
2093         width.  Seems to work.  Once tested some more, needs old code
2094         removed. 
2096         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
2097         warning by escaping & properly.
2099 2005-02-06  Lars Clausen  <lars@raeder.dk>
2101         * app/filedlg.c (file_export_callback): Set correct extension as
2102         soon every time the dialog is shown.  Fixes bug #162535.
2104         * app/display.c (ddisplay_set_origo): Use more standard
2105         transformations.
2107         * app/modify_tool.c (modify_motion): 
2108         * app/create_object.c (create_object_motion): Put coordinates of
2109         handle/object in status bar while moving. Fixes bug #163164.
2111 2005-02-03  Lars Clausen  <lars@raeder.dk>
2113         * lib/.cvsignore: Added generated files diamarshal.[ch]
2115 2005-02-02  Lars Clausen  <lars@raeder.dk>
2117         * configure.in: Add GLIB_GENMARSHAL def as suggested in
2118         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
2119         Now compiles on Linux.
2121 2005-02-01  Lars Clausen  <lars@raeder.dk>
2123         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
2124         need to translate the empty string.  Especially not after
2125         g_assert_not_reached().  Fixes bug #165966.
2127 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
2129         * objects/UML/activity.c : add fill- and line-colour properties
2130         [applied by Hans Breuer, fixes bug #163260]
2132 2004-01-28  Hans Breuer  <hans@breuer.org>
2134         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
2135         update provided by Alan Horkan (fixes bug #159592)
2137 2004-01-28  Hans Breuer  <hans@breuer.org>
2139         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
2140         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
2141         generalization, dependancies, parameterized classes ...
2142         * plug-ins/xslt/styleshetts.xml : refernce it
2143         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
2145 2004-01-28  Hans Breuer  <hans@breuer.org>
2147         * objects/UML/transition.c : fill out the extra_spacing struct 
2148         in the OrtConn member, in order to avoid artifacts when draggin 
2149         the transition. (patch by Peter Allin, bug #144956)
2151 2004-01-15  Hans Breuer  <hans@breuer.org>
2153         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
2154         to something differnt than 0. Apparently there are case where Dia misses
2155         to appropriately set it before requesting a dashed line (simple line with
2156         arrow as described in bug #151716)
2158         * lib/dia_dirs.c : special casing for drive letters which I broke with
2159         the previous change
2161 2005-01-13  Hans Breuer  <hans@breuer.org>
2163         * app/interface.c(create_sheet_page) : remved dead long time code
2165         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
2166         it is availbale via header - which is the better style anyway
2168 2004-12-31  Hans Breuer  <hans@breuer.org>
2170         * lib/dia_dirs.c(dia_get_canonical_path) : complete
2171         rewrite to handle something like /mnt/some/where/../else
2172         too. Workaround for bug #162637.
2173         * app/filedlg.c : call gtk_file_chooser_set_current_name()
2174         to workaround gtk_file_chooser_set_filename() not setting
2175         it if the file does not exist
2177         * sheets/Jackson.sheet.in app/menus.c : fixed typos
2178         (Frank Arnold, bug #161676)
2180 2004-12-31  Steffen Macke <sdteffen@gmail.com>
2182         * doc/pl/*.xml: Added XML prolog
2183         * makefile.msc: Added libxslt, fixed libxml, libart
2185 2004-10-29  Alexander Shopov  <ash@contact.bg>
2187         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2189 2004-12-29  Lars Clausen  <lars@raeder.dk>
2191         * configure.in: Make gnomeprint be truly off by default (typo) and
2192         show optional compilation correctly.
2193         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
2195 2004-12-22  Hans Breuer  <hans@breuer.org>
2197         * lib/widgets.c : destroy handlers can be called more than once, 
2198         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
2200         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
2201         
2202         * app/display.c : temporary debug code showing the
2203         timing the rendering
2205         * app/dialibartrenderer.c(draw_string) : removed dead
2206         code loading and leaking font and face
2208 2004-12-15  Hans Breuer  <hans@breuer.org>
2210         * app/display.c : actually use the selction-changed signal for something
2211         useful. Show selections representation on statusbar.
2212         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
2213         * app/diagram_tree.c : use new function (as in app/display.c) and only
2214         poke into property internals at one place
2215         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
2216         complains
2218 2004-12-12  Hans Breuer  <hans@breuer.org>
2220         * lib/libdia.def app/dia.def : updated externals
2222         * objects/custom/custom_object.c : custom_destroy is called per object. 
2223         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
2224         reference to it. Fixes e.g. bug #158288, #160550, ...
2226         * objects/UML/association.c(association_draw) : completed porting to
2227         draw_polyline_with_arrows()
2228         (association_update_data_end) : fixed typo in point compare
2229         (association_update_data) : for name placement take degenerated 
2230         segements into account. Together this fixes bug #143891
2232 2004-12-11  Hans Breuer  <hans@breuer.org>
2234         * lib/widgets.c(set_size_sensitivity) : revert inverted
2235         logic for arrorw size selections, fixes bug #160527
2237 2004-12-11  Hans Breuer  <hans@breuer.org>
2239         * lib/widgets.c(dia_font_selector_set_font) : initialize
2240         the font style widget, too. Gets rid of empty font
2241         style and thus default broken font style, e.g. UML::class_name
2243         * lib/widgets.c(dia_color_selector_more_callback) : fill
2244         the color palette from dynamic menu entries and also
2245         preselect the current color to the last select entry
2246         
2247         * plug-ins/python/pydia-diagramdata.c : hold a reference
2248         to the underlying GObject
2249         
2250         * app/Makefile.am app/diagrid.h : new file containing the 
2251         grid 'class' moved from DiagramData to Diagram. 
2252         Also moved pagebreak_color and guides cause they are only 
2253         used for visual appearance not 'data'.
2254         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
2255           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
2256         the above change
2258         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
2259           lib/libdia.def : get rid of new_diagram_data() 
2260         Diagram _is_ DiagramData (and does not have one any longer,
2261         just a compatibility pointer)
2262         
2263         * lib/diarenderer.h : a small doc improvement
2265 2004-12-11  Hans Breuer  <hans@breuer.org>
2267         * objects/UML/class.c : line wrapping code buffer
2268         overrun fixed by Gabor Simon, bug #160865
2270 2004-12-11  Hans Breuer  <hans@breuer.org>
2272         * plug-ins/python/pydia-diagram.c : hold a reference
2273         to the diagram in PyDiaDiagram, avoids bug #159080
2274         [another way to avoid is to detroy the dialog by
2275         clsoing it. But now there is still a diagram to
2276         apply the changes to, even if it's thrwon away just
2277         afterwards]
2279 2004-12-10  Hans Breuer  <hans@breuer.org>
2281         * **/*.c : fixed a bunch of warnings, not only for -ansi
2282         (still too many of them, but -ansi works)
2283         lib/
2284         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
2285         declaration for `fontsizeprop_reset_widget' follows non-static
2286         dia_dirs.c:196: warning: return discards qualifiers from 
2287         pointer target type
2289         objects/custom/
2290         shape_info.c:121: warning: static declaration for `parse_path' 
2291         follows non-static
2293         objects/SADT/
2294         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
2295         arrow.c:244: warning: unused variable `i'
2296         arrow.c:245: warning: unused variable `p'
2297         arrow.c:246: warning: unused variable `zzr'
2298         
2299         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
2300         finally removed c++ comments
2301         
2302         objects/Istar/goal.c : initialize connections::directions
2303         while I was there - helps autorouting
2305         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
2306           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
2307         (it would be quite simple to add image-from-memory support
2308         to lib/ if needed)
2310         * pydia-*.h : warning: no newline at end of file
2311         
2312         * plug-ins/gprint/diagnomeprint.c : allow to unregister
2313         and follow new unique name naming convention
2314         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
2315         here either
2317 2004-12-07  Hans Breuer  <hans@breuer.org>
2319         * objects/UML/message.c : better default for initial text placement
2320         a suggested in bug #154306, Henning Mersch
2321         * objects/UML/constraint.c : doing the same
2323         * app/filedlg.c : include persistence.h for persistence_get_integer
2324         * lib/libdia.def export it
2326 2004-12-05  Hans Breuer  <hans@breuer.org>
2328         * app/grid.c : respect dynamic grid during snap-to, fixes 
2329         bug #135124, Dmitriy Morozov. Added some additional magic
2330         to make the grid size more useable.
2332 2004-12-05  Hans Breuer  <hans@breuer.org>
2334         * app/app_procs.c : make it compile for the HAVE_POPT and
2335         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
2336         
2337         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
2338         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
2339         when interactive. Fixes bug #119329
2340           
2341         * plug-ins/cairo/diacairo.c : adapt to new type naming
2342         scheme (introduced by accident;-) for pixbuf-*
2343         * app/app_procs.c : reflect both type name changes
2345 2004-12-04  Hans Breuer  <hans@breuer.org>
2347         * objects/standard/image.c : fix the correct warning
2348         `image_file_name' might be used uninitialized
2349         
2350         * app/filedlg.c : near complete rewrite
2351         - removed 'related dialog', GtkOptionMenu, most global vars,
2352         also don't hide the dialog but let it go.
2353         - added: filter view by extension, hopefully working diagram
2354         referencing, GtkComboBox usage
2355         
2356         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
2357         of im/export filter entries. So the user interface reflects
2358         the dynamic nature of pixbuf loaders
2360         * lib/filter.[ch] : implement filter_unregister_*port
2361           lib/libdia.def : added new functions
2362           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
2363           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
2364           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
2365           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
2366           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
2367         use them in _plugin_unload () thus all these plug-ins
2368         can be loaded used and unloaded during Dia's runtime
2370 2004-12-04  Lars Clausen  <lars@raeder.dk>
2372         * lib/diagramdata.h: Access methods for units defined per diagram.
2374         * lib/font.c (dia_font_new_from_style): More proper object creation.
2376         * lib/properties.h: Refactored the PROP_STD_* macros to allow
2377         different options.
2379         * app/diagram.c (diagram_init): Force filename to be absolute
2380         path, easing the job for load/save.
2382 2004-12-03  Hans Breuer  <hans@breuer.org>
2384         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
2385         added dia_font_set_height, dia_font_copy (note to self: don't try to
2386         maintain these from the *NIX side ;)
2388         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
2389         the new color selection anymore
2390         * objects/UML/class_dialog.c : with the above change it would have been more 
2391         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
2392         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
2394         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
2395         (used in object vtable) and make its prototype match
2397         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
2398         correlate any of these strange crashing bug with it, but assume bad things to 
2399         happen when one passes stack allocated stuff to gtk_type_unique()
2401         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
2402         not there. Fixes most of the warnings from bug #156996
2404         * lib/makefile.msc : rules to generate diamarshal.[ch]
2406 2004-11-29  Hans Breuer  <hans@breuer.org>
2408         * app/disp_callbacks.c : reenable so-called preedit
2409         as described in bug #158859, Etsushi Kato
2410         Also fixed some compiler warnings while there.
2411         
2412         * objects/standard/image.c(get_directory) : make
2413         the documentation match the implementation.
2414         (image_save) : don't write a leading slash on 
2415         relative filenames 
2417         * plug-ins/gprint/diagnomeprintrenderer.c :
2418         switched to gnome-print-pango usage
2419         
2420         * app/app_procs.c configure.in : although Dia
2421         is not threaded it appears as if we have to
2422         g_thread_init() to avoid crashing in some
2423         libraries which are thread enabled
2425         * lib/diamarshal.list lib/Makefile.am : start of
2426         using GSignal to clean up some object relations
2427         * lib/libdia.def : export marshallers
2428         * app/diagram.[ch] : emit signals when REMOVED,
2429         SELECTION_CHANGED
2430         * app/display.c : added a connection to 
2431         SELECTION_CHANGED to test the new signal stuff
2432         
2433         * app/diagram.c : fixed diagram_finalize while I
2434         was there.
2436 2004-11-28  Hans Breuer  <hans@breuer.org>
2438         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
2439         the text if conversion to current locale fails. [This is actually
2440         using code written four years ago;]
2441         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
2443         * objects/standard/image.c(image_load) : be more robust against 
2444         filenames which seem to be absolute
2446 2004-11-27  Hans Breuer  <hans@breuer.org>
2448         * app/filedlg.c(file_save_callback) : convert to
2449         filename encoding before passing to diagram_save()
2450         Fixes bug #158381, thanks to Robert Ögren
2452 2004-11-27  Hans Breuer  <hans@breuer.org>
2454         * lib/dialibartrenderer.c : sometimes its good to read
2455         compiler warnings. Not only define renderer_finalize
2456         but actually *use* it. Should plug a potential huge
2457         memory leak.
2459         * configure.in plug-ins/Makefile.am 
2460           plug-ins/gprint/Makefile.am : build the experimental
2461         gnomeprint plug-in on *NIX, too.
2462         * plug-ins/gprint/diagnomeprint.c : don't include
2463         specific (private) backend headers but instead select
2464         the desired backend via config key setting
2466         * lib/diagdkrenderer.c : add 1 to size of filled arc 
2467         to be rendered by gdk. Fixes bug #150896.
2469         * plug-ins/gprint/diagnomeprint.c 
2470           plug-ins/gprint/diagnomeprintrenderer.c : added magic
2471         to better match page and dash sizes
2473 2004-11-27  Hans Breuer  <hans@breuer.org>
2475         * plug-ins/shape/shape-export.c : it's g_strdup_printf
2477 2004-11-27  Hans Breuer  <hans@breuer.org>
2479         * app/app_procs.c : mention eps-builtin aka. "using
2480         latin1", does not fix the eps-pango issues but #150571
2482 2004-11-27  Hans Breuer  <hans@breuer.org>
2484         * sheets/Cybernetics.sheet.in : changed encoding to 
2485         utf-8, patch from Takeshi AIHANA, fixes #149580
2487 2004-11-27  Hans Breuer  <hans@breuer.org>
2489         * objects/custom/custom_object.c : many existing shapes
2490         rely on a square default size, revert to it although
2491         it originally was by a typo. Fixes bug #148527.
2493 2004-11-27  Hans Breuer  <hans@breuer.org>
2495         * app/load_save.c(dia_cleanup_autosave) 
2496           app/diagram.c : don't use dia->filename if already 
2497         freed and dont use printf at all.
2499         * app/paginate_psprint.c : not only set the renderer::paper
2500         but also renderer::is_portrait. Should fix bug #142524
2502 2004-11-26  Hans Breuer  <hans@breuer.org>
2504         * dia.desktop.in : added Bug Buddy headers (as seen
2505         in planner). Hopefully the automatically filling of
2506         bugs is more meaningful by this.
2507         
2508         * objects/custom/custom_util.c objects/standard/image.c
2509           lib/plug-ins.c : getting rid of deprecated g_dirname,
2510         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
2511         bytes inside a block of size 44 free'd
2512         
2513         * lib/persistence.c(persistence_load_list) : don't
2514         leak string
2515         
2516         * lib/diaerror.[ch] : (new file) start of better error handling
2517         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
2518         added new files/funcs
2519         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
2520         allow to propagate error to caller. Also set PXP_NOTSET
2521         to avoid applying unset properties, fixes bug #155255
2522         * lib/propobject.c lib/prop_sdarray.c : still spewing
2523         g_warnings but now with context information
2524         
2525         * app/filedlg.c : more absolute filenames where required
2526         and strip them where we need the filename only
2527         Also explicit DONT choose gnome-vfs backend cause its
2528         threading appears to crash Dia - at least in GNOME build,
2529         see bug #159558
2531 2004-11-26  Hans Breuer  <hans@breuer.org>
2533         * app/filedlg.c : don't use relative filenames for
2534         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
2535         pedantic about it.
2536         (export_set_extension) : if we don't have a filename don't
2537         use it in strrchr() to avoid crashing
2538         
2539 2004-11-23  Hans Breuer  <hans@breuer.org>
2541         * app/app_procs.c : fixed build for the GNOME case
2542         (let's rip out POPT and depend on glib-2.6, please ;-)
2544 2004-11-23  Hans Breuer  <hans@breuer.org>
2546         * app/app_procs.c : fixed typo which broke the
2547         build for HAVE_POPT case
2548         
2549 2004-11-21  Hans Breuer  <hans@breuer.org>
2551         * app/app_procs.c : some more #if-mess, but one day
2552         we should rely on GLib's 2.6 Option Parser alone
2553         
2554         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
2555         and height for RoundRect() - otherwise size depends on offset,
2556         shorten the unique name
2557         
2558         * plug-ins/python/diamodule.c : provide a unique name
2559         for python filters as well
2561         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
2562         by using the right colors (need black background cause we
2563         are tinitng it with the real color later)
2565         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
2566         instead of hardcoded slahes, improved portability 
2568         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
2569         plug-in. Also added some more error reporting (e.g. no printer driver)
2571         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
2572           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
2573         Kinda works (alpha quality) for export but does not print yet. 
2574         With bug #158972 resolved this does even work on win32 :-)
2576 2004-11-07  Hans Breuer  <hans@breuer.org>
2578         * doc/diagram.dtd : <composite> can have <composite/>,
2579         <font/> has two 'optional' atributes 'style' and 'family',
2580         these are used to store new (since 0.91) font info.
2581         With this changes non of the issues in bug #147431 remains.
2583         * plug-ins/python/otypes.py : starting to implement an
2584         'create all known object' file as ne stress test source
2585         for the dtd and Dia in general.
2587 2004-11-06  Hans Breuer  <hans@breuer.org>
2589         * app/diapsrenderer.c : don't convert to locale but to 
2590         "LATIN1", fixes bug #146641
2592 2004-11-06  Hans Breuer  <hans@breuer.org>
2594         * app/diagram_tree.c : still no C99 everwhere ...
2595         * lib/libdia.def : update externals
2596         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
2598         * app/app_procs.[hc] : declare, use ...
2599            app/winmain.c : ... and implement dia_redirect_console().
2600         Even though newer Gtk version don't popup a console window
2601         anymore redirecting the error messages to a file in $TEMP appears
2602         to be much more reasonable than just ignoring it. Fixes bug #150777
2603         based on a patch from Steffen Macke
2605 2004-11-06  Hans Breuer  <hans@breuer.org>
2607         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
2608         RoundRect() for high level renderer api implementation thus
2609         fixing bug #138744 reported by Lars Clausen
2611 2004-11-06  Hans Breuer  <hans@breuer.org>
2613         * app/prefernces.c : applied patch to make showing the diagram 
2614         menubar the default (advanced users know how to switch it off)
2615         Fixes bug #150706, Steffen Macke
2617 2004-11-06  Hans Breuer  <hans@breuer.org>
2619         * app/commands.c app/commands.h : added view_fullscreen_callback()
2620           view_unfullscreen()
2621           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
2622         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
2623         ALso modified to allow handling of unmodified keys again (aren't
2624         there plenty of bug reports for this?
2626 2004-11-06  Hans Breuer  <hans@breuer.org>
2628         * objects/UML/class_dialog.c : fixed casts for usage
2629         of dia_color_selector_set_color()
2630         
2631         * app/filedlg.c : pass a valid filenames to 
2632         gtk_file_chooser_set_filename(), if we don't have a name
2633         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
2634         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
2635         assertion `local_full_path[0] == '/'' failed"
2636         
2637 2004-11-06  Lars Clausen  <lars@raeder.dk>
2639         * app/properties.c (create_dialog): 
2640         * app/diagram_tree_window.h: 
2641         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
2642         * app/diagram_tree_menu_callbacks.c: 
2643         * app/diagram_tree_window.c: 
2644         * app/diagram_tree_menu.c: 
2645         * app/diagram_tree.c: Changed to use persistence instead of
2646         strange hacks in preferences.
2648         * lib/persistence.h:
2649         * lib/persistence.c (persistent_list_get_glist): Don't deref null
2650         pointer.  New function persistent_list_remove_all, and
2651         fixed persistent_list_remove to ... work!
2653 2004-11-05  Lars Clausen  <lars@raeder.dk>
2655         * app/paginate_psprint.c (diagram_print_ps): Call
2656         diagram_print_destroy on destroy rather than delete_event.  That
2657         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
2658         #154898. 
2660 2004-11-02  Lars Clausen  <lars@raeder.dk>
2662         * objects/UML/class.c (umlclass_load): Actually load the saved
2663         fonts and font sizes. Fixes bug #157016
2665         * configure.in: Require at least GTK+ 2.4.
2667         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
2668         finally, finally.  Not quite bulletproof yet, and I need to figure
2669         out a minimum version of Gtk that doesn't spew warnings all over.
2671         * app/diagram.[ch]: diagram_set_filename with const filename.
2673         * app/sheets_dialog_callbacks.c
2674         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
2675         correctly recreated.  Still something fishy with the sheet menu in
2676         the dialog after adding a new sheet.  Probably the sheet name
2677         being stomped.
2679 2004-11-01  Lars Clausen  <lars@raeder.dk>
2681         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
2682         stmping.  Now requires g_free here and there.
2684         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
2685         for remembering last sheet, better off as persistent string.  Must
2686         hunt down other things like that.
2688         * app/interface.c (create_sheets): Now remembers last sheet
2689         selected again. Fixes bug #157036.
2691 2004-11-01  Hans Breuer  <hans@breuer.org>
2693         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
2694         will never become NULL but only point to the next char
2695         which might indeed be \0]
2696         Use tex_escape_string() to avoid writing invalid tex,
2697         fixes bug #112377
2699         * **/* : a bunch of changes caused by trying 'make distcheck'
2700         which still fails, see Bug #144527
2702 2004-10-31  Lars Clausen  <lars@raeder.dk>
2704         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
2705         floating point numbers being printed with commas.  Fixes bug
2706         #156148.
2707         
2708         * app/interface.c (create_sheet_dropdown_menu): New function to
2709         create the sheet menu, and also allow recreation.  Still buggy and
2710         slightly prone to magic.
2712         * objects/UML/class_dialog.c
2713         (attributes_list_selection_changed_callback): Don't try to update
2714         the widgets after they're destroyed.  Fixes bug #156706 (I think).
2716         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
2717         adjustement.  Fixes bug #154637
2719         * sheets/ER/Makefile.am (PIX): 
2720         * sheets/GRAFCET/Makefile.am (PIX): 
2721         * sheets/Jackson/Makefile.am (PIX): 
2722         * sheets/Istar/Makefile.am (PIX): 
2723         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
2724         XPM.  Why these have their pictures in sheets rather than shapes I
2725         don't know.  Fixes bug #152142.
2727 2004-10-31  Hans Breuer  <hans@breuer.org>
2729         * plug-ins/pixbuf/pixbuf.c : when running non interactive
2730         Dia won't call color_init() as it assumes no display. If
2731         we have one as tested ourselve we can as well color_init()
2732         to avoid g_warnings() and produce the right collors.
2733         Fixes bug #155495.
2734     
2735         * app/app-procs.c : try to be a little more helpful
2736         and correct with regard to the command line options.
2737         Renamed --export-to-format to --export-filter and some
2738         other string changes
2740 2004-10-31  Hans Breuer  <hans@breuer.org>
2742         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
2743         added GetDeviceCaps() dummy implementation to make 
2744        'wmf' compile on Linux, too.
2746 2004-10-31  Hans Breuer  <hans@breuer.org>
2748         * plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
2749         to finally fix the long lasting clipping issue, bug #85831
2750         Also fixed the line style issue for printing on XP and don't 
2751         miss to ReleaseDC()
2753         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
2755         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
2756         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
2758         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
2759         some info from the console (soon gone on windoze) to message_error()
2760         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
2761         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
2763         plug-ins/python/diasvg_import.py : re.compile() only once per expression
2764         and some more playing with scaling
2766         * plug-ins/python/makefile.msc : updated
2768 2004-10-30  Hans Breuer  <hans@breuer.org>
2770         * shapes/Civil/civil_arrow_right.shape : removed
2771         <aspectratio type="fixed" /> thus allowing to change
2772         width and height independently, fixes #154897 
2773         (Serge Robinson) by making it consistent with the
2774         up arrow
2776 2004-10-30  Hans Breuer  <hans@breuer.org>
2778         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
2779         on arrow being NULL, fixes bug #143063
2781 2004-10-30  Hans Breuer  <hans@breuer.org>
2783         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
2784           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
2785         removed use of chached variable DiagramData::selected_count
2786         * lib/diagramdata.h : renamed to selected_count_private
2787         (kept for binary compatibility and sanity checks)
2788         * lib/diagramdata.c : more checks on a screwed up selection list
2790         * app/diagram.c(diagram_group_selected) : don't screw up the
2791         DiagramData::selected list, was assignment of parent_list_affected(),
2792         * lib/diagramdata.c (data_select, data_unselect) : protect against
2793         multiple selections of the same object and removement of a not selected
2794         object (apparently caused by the recently added group undo stuff)
2795         together with the above this finally fixes bug #153525
2797         * app/Makefile.am : fix ./autogen.sh ->
2798         app/Makefile.am:171: blank line following trailing backslash
2800         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
2801         ddisplay_do_update_menu_sensitivity() here as well
2803         * configure.in : make the experimental state of the cairo plug-in
2804         more visible
2805         
2806         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
2807         try to update anything if we can't find an active diagram
2808         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
2809         
2810         * configure.in : another attempt to fix bug #156116. If there is
2811         anyone with autotools knowledge reading this - help appreciated ;-)
2813 2004-10-30  Hans Breuer  <hans@breuer.org>
2815         * objects/makefile.msc objects/UML/Makefile.am
2816           objects/UML/uml.c objects/UML/transition.c 
2817           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
2818         Patch from Peter Allin adds statechart transitions to the UML sheet -
2819         bug #144956 - modified to not print("%s", NULL) which crashes on
2820         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
2822 2004-10-30  Hans Breuer  <hans@breuer.org>
2824         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
2825         match the website anymore, i.e. sould remain unchanged. 
2826         See below and lib/dia_xml.h for the reasoning
2828         * lib/libdia.def : removed dia_color_selector_get_type
2830         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
2831         (like broken PNG) and g_warning if appropriate
2833         * app/interface.c : #include "message.h"
2835         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
2836         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
2837         better to just move diaunitspinner to lib/ instead of polluting
2838         widgets.[hc] even more ;)
2839         * app/makefile.msc lib/libdia.def : updated
2841         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
2842         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
2844         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
2845         do something useful when compiled
2847         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
2848         Also some more #ifdefed backends usage.
2850 2004-10-10  Lars Clausen  <lars@raeder.dk>
2852         * lib/widgets.c: Better labels for color selector menu.
2854         * app/dia-props.c (diagram_properties_respond): 
2855         * app/preferences.c (prefs_get_value_from_widget): Don't assume
2856         that a dia color selector is of type DiaColorSelector:)
2858         * lib/widgets.[ch]: Color selector changed to dynamic menu.
2860         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
2861         DiaColorSelector. 
2863 2004-10-09  Lars Clausen  <lars@raeder.dk>
2865         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
2866         arrow preview to avoid long arrow heads flipping.
2868         * lib/arrows.[ch]: Support for getting from name to arrow type,
2869         and for listing all arrow names.
2870         
2871         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
2873         * lib/libdia.def: Added new global functions.
2875         * lib/persistence.[ch]: Two of the persistent_list functions to
2876         return whether the item was found in the list.
2878         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
2879         the growing number of sheets.
2881         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
2882         font menu.
2884 2004-10-05  Lars Clausen  <lars@raeder.dk>
2886         * objects/UML/association.c: Patch from Harvey Thompson
2887         <harveyandsu@yahoo.com>:  Better placement of association texts.
2889 2004-10-03  Lars Clausen  <lars@raeder.dk>
2891         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
2892         use the fonts in question.  Can't set tooltips with the name since
2893         lib objects don't know the tool_tips thing, which is rather
2894         app-related.
2896 2004-09-19  Hans Breuer  <hans@breuer.org>
2898         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
2899         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
2901 2004-09-19  Hans Breuer  <hans@breuer.org>
2903         * dia.desktop.in : string changes as proposed in bug #151822
2904         
2905         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
2906         appearts not to be needed on Linux and breaks the build 
2907         on OSX. Fixes bug #152970
2908         
2909 2004-09-18  Lars Clausen  <lars@raeder.dk>
2911         * app/commands.c (view_show_all_callback): Add a bit of border
2912         around Ctrl-E'd diagram, for easier select and better view of edges.
2914 2004-09-19  Hans Breuer  <hans@breuer.org>
2916         * app/Makefile.am : trying to fix the fix from 2004-02-15
2917         Overwriting AM_LDFLAGS still gave a automake warning and it 
2918         also appeard to break linking against gtklibs in a differnt 
2919         prefix. Use dia_LDFLAGS instead.
2921         * plug-ins/svg/svg-import.c : initialize 'end' before usage
2922         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
2923         
2924         * lib/diarenderer.c : don't try to draw lines which are so much 
2925         degenerated that their point count became negative, fixes bug #148139
2926         
2927         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
2928         strings (NULL from g_strdup()) 
2930 2004-09-10  Steffen Macke <sdteffen@web.de>
2932         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
2933         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
2934         * app/create_object.c:
2935         * app/diaunitspinner.c:
2936         * app/disp_callbacks.c:
2937         * app/makefile.msc:
2938         * app/modify_tool.c:
2939         * lib/prop_geomtypes.c:
2940         * lib/prop_geomtypes.h: made compile with msvc
2942 2004-09-10  Lars Clausen  <lars@raeder.dk>
2944         * lib/widgets.c: Insulate conversion from outside API by adding
2945         internal function to set value.  Adjustment not appropriate for
2946         units yet.
2948         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
2950 2004-09-07  Lars Clausen  <lars@raeder.dk>
2952         * app/diapagelayout.c: Include from widgets.c rather than
2953         diaunitspinner.
2955 2004-09-03  Lars Clausen  <lars@raeder.dk>
2957         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
2958         as unit-based property testbed.
2960         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
2961         and fontsize widgets. 
2963         * app/Makefile.am (dia_core_files):
2964         * app/diaunitspinner.h: 
2965         * app/diaunitspinner.c: 
2966         * lib/widgets.h: 
2967         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
2968         lib/widgets.[ch], as it's used in the properties code now.
2970 2004-08-31  Steffen Macke <sdteffen@web.de>
2972         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
2974 2004-08-30  Lars Clausen  <lars@raeder.dk>
2976         * app/textedit.c: 
2977         * app/diagram.c (diagram_remove_all_selected): Remove debugging
2978         information. 
2980         * lib/color.[ch]: 
2981         * app/undo.c: 
2982         * app/disp_callbacks.c: 
2983         * app/Makefile.am: 
2984         * app/create_object.c: 
2985         * app/textedit.[ch]: 
2986         * app/modify_tool.c: 
2987         * app/diagram.c: 
2988         * lib/text.c: 
2989         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
2990         current input object, multiple inputs per object, and tabbing
2991         between objects.
2993 2004-08-28  Steffen Macke <sdteffen@web.de>
2995         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
2996         allow separate installer component "Translations"
2998 2004-08-27  Akagic Amila  <bono@linux.org.ba>
3000         * configure.in: Added 'bs' to ALL_LINGUAS.
3002 2004-08-26  Steffen Macke <sdteffen@web.de>
3004         * app/makefile.msc: using /subsystem:windows again
3005         * makefile.msc: updated ALL_LINGUAS
3007 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
3009         * configure.in: Add «nb» to ALL_LINGUAS.
3011 2004-08-21  Steffen Macke <sdteffen@web.de>
3013         * plug-ins/dxf/dxf-export.c: Patch from 
3014         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
3016 2004-08-17  Lars Clausen  <lars@raeder.dk>
3018         * config.h.win32: 
3019         * dia.spec (Release): 
3020         * doc/pl/dia.xml: 
3021         * doc/en/dia.xml: 
3022         * NEWS: 
3023         * configure.in: 
3025 2004-08-13  Ankit Patel <ankit@redhat.com>
3027         * configure.in: Added "gu" in ALL_LINGUAS.
3029 2004-08-07  Lars Clausen  <lars@raeder.dk>
3031         * configure.in:
3032         * config.h.win32: 
3033         * doc/pl/dia.xml: 
3034         * doc/en/dia.xml: 
3035         * dia.spec (Release): 
3036         * NEWS: New release 0.94-pre6
3038 2004-08-07  Lars Clausen  <lars@raeder.dk>
3040         * app/highlight.c (highlight_reset_objects): Unhighlight inside
3041         groups as well.
3043         * app/load_save.c: 
3044         * plug-ins/shape/shape-export.c: String capitalization fix from
3045         Alan Horkan <horkana@tcd.ie>
3047         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
3048         Class object menu kinda work, rather than blow up.  Doesn't do a
3049         proper undoable change yet.
3051 2004-08-06  Lars Clausen  <lars@raeder.dk>
3053         * app/filedlg.c (file_save_as_callback): Don't remove related
3054         dialogs from the NULL diagram.
3056 2004-08-02  Lars Clausen  <lars@raeder.dk>
3058         * config.h.win32: 
3059         * doc/pl/dia.xml: 
3060         * doc/en/dia.xml: 
3061         * dia.spec (Release): 
3062         * NEWS: Pre5 with leak fix.
3064         * lib/font.c (dia_font_build_layout): Don't try to save an
3065         allocation of LayoutCacheItem if it breaks layout cache hash.
3066         Also make hash function correct, remove explicit height entry
3067         (it's in pfd), and make sure things are correctly unreffed.
3068         Finally fixes #148141.
3070         * lib/text.c (text_set_attributes, text_set_font): Safely unref
3071         when changing font, and actually set the new font in
3072         text_set_font(!).
3073         (text_get_attributes): Ref copied font.
3075 2004-08-01  Lars Clausen  <lars@raeder.dk>
3077         * NEWS: 
3078         * configure.in: 
3079         * dia.spec (Release): 
3080         * config.h.win32: 
3081         * doc/pl/dia.xml: 
3082         * doc/en/dia.xml: Prerelease 4.
3084         * lib/font.c (dia_font_build_layout): Better comparision and
3085         freeing of font cache.
3087 2004-07-31  Lars Clausen  <lars@raeder.dk>
3089         * lib/font.c (dia_font_build_layout): Faster update to avoid
3090         memory leaks.
3092         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
3093         Correctly initialize export filter variable.
3095 2004-07-25  Lars Clausen  <lars@raeder.dk>
3097         * dia.spec (Release): 
3098         * configure.in: 
3099         * NEWS: 
3100         * config.h.win32: 
3101         * doc/en/dia.xml: 
3102         * doc/pl/dia.xml: Pre3 coming out.
3104         * lib/diarenderer.c (draw_polygon): 
3105         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
3106         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
3107         rather than O (letter), and assert num_points > 1 rather than the
3108         other way around.
3110         * app/recent_files.c: 
3111         * app/filedlg.c: 
3112         * app/diagram.c: 
3113         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
3114         Make filenames conform to filesystem encoding.
3116         * RDP/.cvsignore: Added standard ignore.
3117         
3118         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
3119         last entry patch-panel, too.
3121         * app/*.png:
3122         * shapes/Circuit/*.png:
3123         * shapes/Civil/*.png:
3124         * shapes/Contact/*.png:
3125         * shapes/Electric/*.png:
3126         * shapes/MSE/*.png:
3127         * shapes/Pneumatic/*.png:
3128         * shapes/SDL/*.png:
3129         * shapes/flowchart/*.png:
3130         * shapes/jigsaw/*.png:
3131         * shapes/network/*.png:
3132         * shapes/sybase/*.png:
3133         * samples/dia*.png:
3134         * dia_gnome_icon_large.png:
3135         * doc/pl/graphics/*.png: Set -kb for PNGs.
3136         
3137         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
3139 2004-07-22  Lars Clausen  <lars@raeder.dk>
3141         * NEWS: 
3142         * config.h.win32: 
3143         * doc/en/dia.xml: 
3144         * doc/pl/dia.xml: 
3145         * dia.spec (Release): 
3146         * configure.in: Update to version 0.94-pre2.
3148         * app/load_save.c (diagram_data_write_doc): Use new namespace
3149         here, too.
3151         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
3152         hidden objects properties.
3154         * objects/standard/line.c: Remove halffinished line gap box from
3155         properties list.
3157         * app/paginate_psprint.c: 
3158         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
3159         Immidi): Close export and print dialog with diagram as well.
3160         (#129520)
3161         
3162         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
3163         borelli):  Remove deprecated stuff (#137693)
3165         * app/dia-props.c (create_diagram_properties_dialog): Patch from
3166         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
3167         on destroy.
3169 2004-07-21  Ray Strode  <rstrode@redhat.com>
3171         * dia/dia.desktop.in: Add MimeType line to desktop file
3172         new mime sytem.
3174 2004-07-18  Hans Breuer  <hans@breuer.org>
3176         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
3177           sheets/UML/*.png : icons in png format
3178         Partial fixup of stuff broken with the following comment:
3179         "7 days : xpm->png, namespace fix, first rotation bits."
3181         * app/load_save.c(read_objects) : don't add objects to the layer.
3182         This function is called recursively and only the topmost objects
3183         belong in the layers object list. Fixes bug #145417 and is the
3184         the real fix for bug #142480
3185         
3186         * app/app_procs.c : make the --size hack even uglier, but work again
3187         
3188         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
3189         but g_free() what is returned by g_build_filename()
3190         
3191         * objects/custom/custom_object.c(custom_destroy) : handle all enum
3192         values in switch to get rid of the warning
3193         
3194         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
3195         of setlocale()/strtod()
3196         * lib/dia_svg.c : dito
3197         * lib/dia_xml.c : almost
3199         * plug-ins/python/group_props.py : use the string representation of 
3200         value to ensure "unique values". If the strings would not be different
3201         the user cann't see the difference either
3203 2004-07-17  Lars Clausen  <lars@raeder.dk>
3205         * lib/persistence.h: Have "void" in prototypes (#142663)
3207         * lib/widgets.c (dia_font_selector_init): Better string handling
3208         (#142663) 
3210         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
3212         * objects/standard/image.c (image_load): Use path of diagram
3213         rather than running directory as base for image file place.
3215         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
3216         syntactic fixes. 
3217         
3218         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
3219         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
3221         * Re-added new sample diagrams binarily.
3223 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
3225         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
3226         Disabled keyboard accels when dragging an object.       
3228 2004-07-14  Lars Clausen  <lars@raeder.dk>
3230         * app/grid.c (snap_to_grid): Use diagrams grid setting to
3231         determine hex grid snap.
3233         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
3234         
3235         * app/interface.h: Avoid multiply defined symbols (#147396)
3237 2004-07-10  Lars Clausen  <lars@raeder.dk>
3239         * app/sheets_dialog_callbacks.c (write_user_sheet): 
3240         * lib/sheet.c (load_register_sheet): Don't introduce double
3241         slashes in namespace.
3243         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
3244         old diagrams, or XSLT will barf all over.
3245         
3246         * shapes/RDP/place.shape: 
3247         * shapes/RDP/transition.shape: 
3248         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
3249         shapes to use those.
3251 2004-07-07  Lars Clausen <lars@raeder.dk>
3253         * config.h.win32: 
3254         * doc/{en,pl}/dia.xml: 
3255         * dia.spec: 
3256         * configure.in: 
3257         * NEWS: First prerelease of version 0.94.  Now with release
3258         versions in a branch and main devel in the trunk.
3260 2004-07-05  Hans Breuer  <hans@breuer.org>
3262         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
3263         -std=c89. Mostly //-comments and M_PI -> G_PI
3264         [Istar, Jackson, KAOS were removed from build cause they
3265         simply have *too* much C++ comments ;]
3266         * object/UML/association.c : use g_strdup() not plain strdup()
3267         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
3268         isn't known with more portable signal code
3269         
3270         * app/app_procs.c : don't call gtk_init() if just --version
3271         is requested (bug #144321, Vladimir Kondratiev)
3272         
3273         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
3274         DiaFont* if not NULL
3275         * objects/UML/class.c : moved fill_in_fontdata() to 
3276         umlclass_load() to avoid such trouble, though unsure if
3277         this really is an improvement...
3278         
3279         * shapes/network/makefile.am : patch-panel added here too
3281 2004-07-04  Hans Breuer  <hans@breuer.org>
3283         * sheets/network.sheet.in shapes/network/patch-panel.xpm
3284           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
3285         fixes bug #136629, James McDonald
3287 2004-07-04  Hans Breuer  <hans@breuer.org>
3289         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
3290           lib/object_defaults.c : revert changing of Dia's XML namespace
3291         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
3292         about its purpose and relation to real world urls.
3294         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
3295         added comment about when to do so
3296         [Should have been long time ago and probably multiple times
3297         to avoid crashing on older plug-ins]
3298         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
3299         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
3301         * lib/object.c objects/UML/class.c : there are still compilers not 
3302         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
3303         on the stack
3304         * objects/UML/class.h : there is a differnce between a list pointer
3305         and a list pointer pointer. We and GLib want the former.
3307         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
3308         if Gtk is initialized. Using gdk_display_get_default () avoids the
3309         app/* dependency and is also closer to the requirements of the
3310         plug-ins working.
3312         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
3313         some #ifdefed support for Cairo backends not public available yet.
3315         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
3316         windoze platform supports them. This should fix bug #109818, at
3317         least for the majority running NT or above ...
3318         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
3320         * objects/makefile.msc : build Istar, Jackson and Kaos
3322         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
3323         keep old diagrams as they were - instead of this nice new effect ;-)
3324         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
3326         * objects/UML/class.c : mark for translation _("Wrap ...
3328         * objects/UML/class.c : more correct types, also some default properties
3329         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
3331         * objects/UML/activity.c : removed a leftover from the 
3332         use-localization-for-font-substitution-hack
3334         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
3335         'cvs admin -kb *.png' PNG files should already be *added* as binary,
3336         otherwise they are not readable on line-end-converting-platforms
3338         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
3339         filter_get_by_name()
3341         * plug-ins/python/pydia-property.c : some more g_warnings for
3342         not implemented conversions
3344         * plug-ins/python/group_props.py : ensure unique property values
3345         at the right place. Now something like :
3346         - load an old UML class diagram
3347         - change one of the classes to wrap operations
3348         - select all classes (/Select/Same Type)
3349         - /Dialogs/Group Properties : check wrap_operations, select '1'
3350         - Ok, works like a charm :-)
3352 2004-07-04  Lars Clausen  <lars@raeder.dk>
3354         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
3355         pixbuf. (#145362)
3356         
3357 2004-07-03  Lars Clausen  <lars@raeder.dk>
3359         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
3360         <LAV@VL3143.spb.edu>: Fixes console output problems and some
3361         interactiveness problems.
3363 2004-07-02  Lars Clausen  <lars@reader.dk>
3365         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
3366         app isn't interactive.
3368 2004-07-01  Lars Clausen  <lars@raeder.dk>
3370         * plug-ins/cairo/diacairo.c: Add init of last field of filter
3371         struct to remove crash.
3373         * sheets/Makefile.am (sheet_in_files): 
3374         * shapes/Makefile.am: 
3375         * sheets/ChemEng.sheet.in: 
3376         * shapes/ChemEng/Makefile.am: 
3377         * configure.in: 
3378         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
3379         Chemical engineering shapes.
3380         
3381         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
3382         multiple arguments when using devel script.
3384         * app/display.c (new_display): 
3385         * app/dia-props.c: 
3386         * lib/diagramdata.c (new_diagram_data): 
3387         * lib/diagramdata.h: 
3388         * app/preferences.h: 
3389         * app/preferences.c: 
3390         * app/grid.c: 
3391         * app/diagram.c: 
3392         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
3393         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
3395         * HACKING: 
3396         * doc/pl/authors.xml: 
3397         * doc/en/authors.xml: 
3398         * lib/object_defaults.c (dia_object_defaults_save): 
3399         * readme.win32 (BTW): 
3400         * lib/persistence.c (persistence_save): 
3401         * app/load_save.c (diagram_data_write_doc): 
3402         * app/commands.c (help_about_callback): 
3403         * README: Fix links to home page.
3405         * lib/font.c: 
3406         * app/load_save.c (diagram_data_load): 
3407         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
3408         loading, and guard against them when fonting.
3410         * lib/diarenderer.c (draw_rounded_polyline): Patch from
3411         anthonym@overture.com:  Make limited rounding a corner-specific
3412         rendering-only thing.
3414 2004-06-30  Lars Clausen  <lars@raeder.dk>
3416         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
3417         adjustment: If you can't fix it, at least don't change it.
3419         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
3420         code instead of individual code in here.
3422 2004-06-29  Lars Clausen  <lars@raeder.dk>
3424         * objects/UML/association.c: Patch from Kiran
3425         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
3426         text. 
3428         * lib/geometry.c: 
3429         * lib/geometry.h: 
3430         * lib/diarenderer.c (draw_rounded_polyline): 
3431         * objects/standard/polyline.c (polyline_draw): 
3432         * objects/standard/zigzagline.c (zigzagline_draw): 
3433         Patch from anthonym@overture.com:  Add rounded polylines.
3435 2004-06-27  Lars Clausen  <lars@raeder.dk>
3437         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
3439         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
3440         free family list before taking out the pointer we need. Also set
3441         the entry_nr correctly so we get the menu set up right.
3443 2004-06-23  Lars Clausen  <lars@raeder.dk>
3445         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
3446         images at the right place.
3448         * objects/Istar/actor.c
3449         * objects/Istar/goal.c
3450         * objects/Istar/istar.c
3451         * objects/Istar/istar.h
3452         * objects/Istar/link.c
3453         * objects/Istar/other.c
3454         * objects/Jackson/domain.c
3455         * objects/Jackson/jackson.c
3456         * objects/Jackson/jackson.h
3457         * objects/Jackson/phenomenon.c
3458         * objects/Jackson/requirement.c
3459         * objects/KAOS/goal.c
3460         * objects/KAOS/kaos.c
3461         * objects/KAOS/kaos.h
3462         * objects/KAOS/metaandorrel.c
3463         * objects/KAOS/metabinrel.c
3464         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
3465         <cp@cetic.be>: Fix instability issues caused by not returning NULL
3466         in *_move_handle and *_move.  Also improved the headers with
3467         correct (c) information.
3469 2004-06-22  Lars Clausen  <lars@raeder.dk>
3471         * objects/KAOS/goal.c:
3472         * objects/KAOS/other.c:
3473         * objects/Istar/actor.c:
3474         * objects/Istar/goal.c:
3475         * objects/Istar/other.c:
3476         * objects/Jackson/domain.c:
3477         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
3478         <cp@cetic.be>: Fix resize issues.
3480         * app/filedlg.c (file_dialog_hide): Patch from Kiran
3481         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
3482         related dialog. #129520.
3484         * app/dia-props.c (diagram_properties_show): Patch from Kiran
3485         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
3486         a child of its diagram. #129520.
3488         * objects/UML/association.c (association_load): Patch from Kiran
3489         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
3490         text placement. #118313.
3492 2004-06-17  Lars Clausen  <lars@raeder.dk>
3494         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
3496         * Makefile.am: Make THANKS only be generated by maintainers.
3498         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
3499         Makefile, too.
3501         * configure.in: Added three missing Makefiles.
3503         * app/diagram.[ch]: 
3504         * app/filedlg.c:
3505         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
3506         diagram-related (save) dialog when closing diagram.  To be
3507         extended to other dialogs.
3509         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
3511         * samples/Istar.dia:
3512         * samples/Jackson.dia:
3513         * samples/KAOS.dia:
3514         * sheets/Istar.sheet.in:
3515         * sheets/Jackson.sheet.in:
3516         * sheets/KAOS.sheet.in:
3517         * sheets/Istar/*:
3518         * sheets/Jackson/*:
3519         * sheets/KAOS/*:
3520         * objects/Istar/*:
3521         * objects/Jackson/*:
3522         * objects/KAOS/*:
3523         * configure.in: 
3524         * objects/Makefile.am (SUBDIRS): 
3525         * sheets/Makefile.am (SUBDIRS): 
3526         * samples/Makefile.am: Additions from Christophe Ponsard
3527         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
3528         of hacking still.
3530 2004-06-12  Lars Clausen  <lars@raeder.dk>
3532         * lib/properties.h: 
3533         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
3535         * lib/font.h: Toning down comments a bit:)
3537         * lib/font.c (dia_font_build_layout): Playing around with DPI 
3539         * objects/UML/association.c (association_load): Avoid crashes on
3540         strcmp with NULL.
3542         * objects/UML/association.c: Patch from kimmidi@novell.com:
3543         Improve placement of labels when vertical.  Part fix of #118313
3545         * lib/object.c (dia_object_is_selected): Grouped objects are not
3546         selected, only the group itself.  Thus, don't crash when grouping
3547         beziers. #143681
3549         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
3550         on how to represent empty strings.  Fixes #143639.
3552         * lib/object.c (dia_object_is_selected): Added comment answer.
3554 2004-06-12  Hans Breuer  <hans@breuer.org>
3556         * lib/diagramdata.c lib/object.c : deal with grouped objects
3557         not knowing their parent_layer, i.e. avoid crashing in 
3558         dia_object_is_selected() via group_draw() [ Triggered by
3559         playing with the Visio generated svg from bug #143455 ]
3561         * plug-ins/python/diasvg_import.py : started to implement
3562         transformation="translate(...)" and <style/> handling. Also
3563         use some other completely bogus values for em/ex scaling
3564         
3565 2004-06-08  Lars Clausen  <lars@raeder.dk>
3567         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
3569 2004-06-07  Lars Clausen  <lars@raeder.dk>
3571         * app/layer_dialog.c (layer_dialog_set_diagram): 
3572         * app/display.c: Layer widget crash more properly dealt with in
3573         layer dialog code.
3574         
3575         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
3576         widget deselect was called during destroy, but called
3577         ddisplay_flush, leading to a new display timeout after renderer
3578         was dead.
3580         * lib/widgets.c (dia_toggle_button_destroy): 
3581         * app/recent_files.c (recent_file_menuitem_create): 
3582         * lib/persistence.c (persistence_save_list): 
3583         * app/commands.c (edit_delete_callback): 
3584         * lib/object_defaults.c (dia_object_defaults_save): 
3585         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
3586         (#142669)
3587         
3588         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3589         debugging info.
3591         * lib/diagramdata.c (new_layer): Initialize connectibility.
3593         * app/display.c (ddisplay_obj_render): 
3594         * app/diagram.c (diagram_find_closest_connectionpoint): Take
3595         connectibility into account.
3597         * app/layer_dialog.h (struct _DiaLayerWidget): 
3598         * app/layer_dialog.c:
3599         Connectible toggle updates, now works fairly well.
3601         * app/select.c (select_transitive_callback): Make sure we're only
3602         selecting in the same layer.
3604 2004-06-04  Lars Clausen  <lars@raeder.dk>
3606         * app/pixmaps/Makefile.am: Also install connectable images.
3607         
3608         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
3609         layer toggles from layer itself.  Also update diagram correctly
3610         for visibility.  Still need updates for connectivity behaviour.
3612 2004-06-03  Hans Breuer  <hans@breuer.org>
3614         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
3616         * lib/diagdkrenderer.c(set_linejoin) : actually set
3617         join_style not cap_style
3618         (set_dashes): with the correct number of dashes
3620 2004-06-03  Lars Clausen  <lars@raeder.dk>
3622         * app/modify_tool.c (click_select_object): 
3623         * lib/text.c (text_set_cursor): 
3624         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
3626 2004-05-31  Hans Breuer  <hans@breuer.org>
3628         * lib/object_defaults.c : don't 'failed to load external 
3629         entity "NULL"' when the defaults file does not exist, 
3630         bug #108764 [again: somehow this got lost]
3632         * app/paginate_gdiprint.cpp : don guess the WMF export 
3633         filter used for printing but find it by unique name.
3634         Also update for export_func renaming
3635         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
3636         provide some unique names
3638         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
3639           app/select.c : fix bug #140789 by always checking if there
3640         still is an active diagram before accessing it
3642         * app/defaults.c app/properties.c : user visible string should 
3643         not read DiaObject but stay as "Object defaults/properties"
3645         * app/app_procs.c : reduce the hack to pass --size to the
3646         export via user_data to the only filter supporting it. Other
3647         filters would crash on it or do worse ;(
3649         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
3651 2004-05-31  Lars Clausen  <lars@raeder.dk>
3653         * lib/widgets.h: 
3654         * lib/widgets.c: Use GtkType rather than guint for
3655         dia_size_selector_get_type. 
3657 2004-05-29  Lars Clausen  <lars@raeder.dk>
3659         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
3660         that it matches the screen output for selfoverlapping polygons and
3661         beziers. 
3663 2004-05-28  Hans Breuer  <hans@breuer.org>
3665         * app/load_save.c : ignore empty groups on load and don't
3666         write empty groups while saving
3667         * lib/group.h (group_update_data): there is no first object
3668         in empty groups and they probably don't need an update at 
3669         all. Maybe the shold just not exist ?
3671         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
3672         text positioning as well as drawing of images with alpha
3674         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
3675         HAVE_WINDOWS_H or G_OS_WIN32 is defined
3677 2004-05-28  Lars Clausen  <lars@raeder.dk>
3679         * app/pixmaps/Makefile.am (imagedir): 
3680         * app/pixmaps/visible.png:
3681         * app/pixmaps/visible-empty.png: New images for the visibility
3682         button in the layer dialog.
3684         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
3685         more border around the button.  Still some left when hovering the
3686         mouse or selecting, and the grey background is annoying.
3688         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
3689         visibility connector.
3691 2004-05-26  Lars Clausen  <lars@raeder.dk>
3693         * configure.in (DB2MAN): Better check for db2man docbook place.
3694         Need something even better.
3696         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
3698         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3699         extraeneous borders.
3701         * dia_logo.png:
3702         * dia_gnome_icon.png:
3703         * samples/render-test.dia: Rendering test from Hans.
3705 2004-05-24  Hans Breuer  <hans@breuer.org>
3707         * lib/filter.h : renamed DiaExportFilter::export to
3708         _DiaExportFilter::export_func (should not use c++ 
3709         keywords (g++ specifc ?) in headers. Same for import
3710         out of pure symmetry reasons
3711         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
3712           app/diagram.c app/filedlg.c : reflect functions renaming
3714         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
3715         under *NIX, too. [If you want something done, do it yourself ;-]
3716         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
3717         with wmf.cpp's GDI usage
3718         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
3719         [For the moment it does not much more than compiling, i.e. 
3720         the produced WMF files are invalid, if not created on windoze.]
3722         * configure.in : check for C++ to compile plug-in/wmf
3723         
3724         * objects/GRAFCET/boolequation.c : looks like fixing 
3725         another leak (untested)
3727 2004-05-23  Hans Breuer  <hans@breuer.org>
3729         * acinclude.m4 : another attempt to fix 
3730         bug #142032 (still not sure it's the right one,
3731         but works for me(tm), which the other does not ;)
3732         
3733         * plug-ins/cairo/Makefile.am
3734           plug-ins/Makefile.am 
3735           configure.in : support building the new cairo
3736         plug-in, if given --with-cairo and the cairo
3737         packages are found, see http://cairographics.org
3738         and also http://hans.breuer.org/dia/dia-cairo.htm
3740         * plug-ins/cairo/diacairo.c : make it compile
3741         with DEBUG_CAIRO defined, too.
3743 2004-05-23  Hans Breuer  <hans@breuer.org>
3745         * plug-ins/cairo/Makefile.am : initial attempt
3747         * plug-ins/cairo/diacairo.c : a new exporter based on
3748         Cairo http://cairographics.org rendering api. Currently
3749         it just can export PNG and PS but one day it might get
3750         PDF and more almost for free. [It is not yet included
3751         in the *NIX build system due to lack of auto* magic.]
3753         * plug-ins/pixbuf/pixbuf.c : always register the export
3754         filter part. If the user does not want it it can be 
3755         disabled by File/Plugins or explicit selected the other
3756         one in the Export Formats List
3758 2004-05-23  Hans Breuer  <hans@breuer.org>
3760         * lib/dia_dirs.c : #include "message.h"
3761           lib/widgets.c : #include "persistence.h"
3762           lib/widgets.c(dia_font_selector_init) : still not C99
3763           lib/persitence.h : removed unimplemented prototype
3764           lib/persitence.c(persistence_load_list) : still not C99
3765           app/create_object.c : #include "highlight.h"
3766           app/layer_dialog.c : #include "widgets.h"
3767           app/modify_tool.c : prototype functions before usage
3768           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
3769         [otherwise one will have a hard time to make C++ compile ;]
3770           lib/dia_dirs.c : #include "message.h"
3771           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
3772           lib/
3774         * plug-ins/xfig/xfig-import.c : dont initialize an int with
3775         a string pointer
3777         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
3778         as documented, i.e. _not_ copying. Plugs a memory leak in
3779         lib/dialibartrenderer.c
3781         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
3782         to radius to more of a clue what it is representing
3784         * */makefile.msc lib/libdia.def : updated
3786         ChangeLog : fixed some date copy&paste bug
3788 2004-05-21  Lars Clausen <lars@raeder.dk>
3790         * NEWS: Release tag.
3792         * config.h.win32: Now 0.93+cvs
3794         * RELEASE-PROCESS: Update with new info about release branches.
3795         
3796         * Many files:  Moved devel branch back into main trunk.  Should
3797         have been done in the opposite way, with release in a branch.  
3798         
3799 2004-05-20  Hans Breuer  <hans@breuer.org>
3801         * acinclude.m4 : disable setting of PYTHON_PREFIX
3802         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
3803         as workaround for bug #142032 (the real fix would 
3804         involve some auto* knowledge which I don't have
3805         either;)
3806         
3807         * plug-ins/python/Makefile.am : more python 
3808         plug-ins to be installed (especially svg import,
3809         but also 'simple scale' should be useable 
3810         sometimes)
3811         
3812         * plug-ins/python/scascale.py : update display
3813         after modifying selected objects
3814         
3815         * plug-ins/python/diasvg_import.py : initialize
3816         stroke to none
3817         
3818 2004-05-18  Lars Clausen  <lars@raeder.dk>
3820         * app/diagram_tree.c (select_node): Use
3821         diagram_remove_all_selected to kill selected list.
3823         * lib/font.c: Set language when using a different context.
3825         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
3826         and removed ctype include (#142661).
3828         * lib/paper.c (get_default_paper): Changed isalnum to
3829         g_ascii_isalnum and removed ctype include. (#142661)
3831         * objects/custom/shape_info.c: 
3832         * lib/dia_svg.c: 
3833         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
3835 2004-05-17  Hans Breuer  <hans@breuer.org>
3837         * lib/object_defaults.c : don't 'failed to load external 
3838         entity "NULL"' when the defaults file does not exist, 
3839         bug #108764
3841         * lib/widgets.c : fixed possible menu leak
3842         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
3843         avoid finalization of floating references, bug #142307
3845 2004-05-15  Lars Clausen  <lars@raeder.dk>
3847         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
3848         fonts better (#138655)
3849         
3850         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
3852         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
3853         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
3855         * Makefile.am (CLEANFILES): 
3856         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
3857         translation-reports, they are generated automagically.  THANKS
3858         file not considered locally generated, so is not locally
3859         cleaned. (#133735) 
3861         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
3863         * lib/diaarrowchooser.c: 
3864         * lib/prop_attr.c: Fixing naming for arrowselector.
3866         * objects/UML/object.c (objet_type): Oops, little too aggressive
3867         with the DiaObject thing here:)
3869         * objects/custom/shape_info.c (parse_svg_node): Use
3870         g_ascii_isdigit instead of isdigit.
3872         * app/diaunitspinner.c (dia_unit_spinner_update): 
3873         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
3874         instead of isspace avoids char subscript issues (#142467).
3876         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
3877         return value conflict.
3879         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
3880         value conflict.  Also improved signature. (#142466)
3882         * app/load_save.c (diagram_data_load): Don't overwrite the list in
3883         the layer, but instead free the returned list (#142480)
3885         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
3886         for the grid widget.
3888         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
3890         * configure.in (DB2MAN): Currently just check for two known
3891         positions for the docbook xsl.  Don't know a generic way to find
3892         this info.  Ought to add an option for it, but then it's really
3893         only required for maintainers, I think.  Maybe.
3895         * app/display.c (update_snap_grid_status): Remove nasty image
3896         toggling code not require for grid toggle button anymore. (#142475)
3898         * app/interface.c (create_display_shell): Use
3899         dia_toggle_button_new_with_images to create grid toggle button.
3900         Much nicer. (#142475)
3902         * app/menus.c (menus_initialize_updatable_items): Free the string
3903         along with the GString. (#142475)
3905         * lib/intl.c (free_alias_table): Free hash table entries in a
3906         proper way, avoiding duplicate frees. (#142475)
3908         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
3909         not put in the hash (avoid reading freed memory). (#142476)
3911         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
3912         faces. (#142484)
3913         (dia_font_selector_get_family_from_name): Stop leaking
3914         families. (#142482) 
3916 2004-05-14  Lars Clausen  <lars@raeder.dk>
3918         * Transfer of fixes from release branch.  Not the prettiest way to
3919         do it, this should be done during release, not afterwards.
3921         Tomasz Kłoczko <kloczek@pld.org.pl>:
3923         * acinclude.m4: minor fixes (added missing [] quotation).
3925         Lars Clausen  <lars@raeder.dk>:
3927         * app/interface.c (toolbox_delete): 
3928         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
3929         cancels quit due to modified diagrams.
3931         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
3933         * is.po: Added "is" to ALL_LINGUAS.
3935         Lars Clausen  <lars@raeder.dk>:
3937         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
3939         Hans Breuer  <hans@breuer.org>:
3941         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
3942         burden should be shared and not be win32 only ;) [this time 
3943         build was broken by adding GtkType to widget.h]
3945         * objects/standard/box.c objects/standard/ellipse.c :
3946         for code clarification compare (obj->aspect != FREE_ASPECT)
3947         and not (obj->aspect); no binary effect.
3949         * app/paginate_psprint.c : don't leak printcmd
3951         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
3952         standard C requires variables to be declared at the beginning of 
3953         a block, also there is no fabsf() with msvc
3954         
3955         * app/win32print.[ch] : make win32_printer_close() return an
3956         error code, it's used as pclose replacement
3958         Lars Clausen  <lars@raeder.dk>:
3960         * RELEASE-PROCESS: Mention PATCH keyword in release process.
3962 2004-05-06  Lars Clausen  <lars@raeder.dk>
3964         * lib/widgets.[ch]: Utility function to make a widget with two
3965         images (selected and non-selected).
3967         * lib/diagramdata.h: Renamed selectable to connectable.
3968         Selectable will come later.
3970         * configure.in: 
3971         * app/pixmaps/Makefile.am (imagedir): 
3972         * app/pixmaps/connectable.png:
3973         * app/pixmaps/connectable-empty.png: New images for the
3974         selectability widget.  Proper installation, too.
3976         * app/layer_dialog.[ch]: Adding new button showing connectability
3977         status.  Much cleaner way of doing the button, but some problems
3978         with the item getting selected
3980         * lib/widgets.h: Reminder of how to install images for use by
3981         dia_get_image_from_file.
3983 2004-05-05  Lars Clausen  <lars@raeder.dk>
3985         * objects/network/Makefile.am: 
3986         * objects/network/pixmaps/radiocell.xpm: 
3987         * objects/network/pixmaps/basestation.xpm: 
3988         * objects/network/network.c: 
3989         * objects/network/basestation.c: 
3990         * objects/network/radiocell.c: 
3991         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
3992         station objects.
3994         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
3995         Backslash arrow head. 
3997         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
3998         Notify takes care.  Should maybe use that more.
4000         * lib/diagramdata.[ch]: 
4001         * app/filedlg.c (file_export_ok_callback): 
4002         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
4004         * app/dia-props.c (diagram_properties_respond): 
4005         * app/diagram.c (diagram_set_modified): 
4006         * app/undo.c: 
4007         * app/disp_callbacks.c: 
4008         * app/commands.c: 
4009         * app/load_save.c (diagram_save): 
4010         Better handling of undo and modified status -- only diagram
4011         properties and page setup explicitly set modified status, all
4012         other important changes should be done through the undo stack
4013         now.
4015 2004-05-04  Lars Clausen  <lars@raeder.dk>
4017         * app/app_procs.c (app_init): Consistently open a new diagram if
4018         none specified, with standard name Diagram1.dia.
4020         * app/layer_dialog.c: 
4021         * app/diagram.c (diagram_finalize): 
4022         * app/commands.c (dialogs_layers_callback): 
4023         * app/filedlg.c (file_export_ok_callback): 
4024         * app/app_procs.c (app_exit): 
4025         * app/display.c (display_set_active): 
4026         * app/interface.c (dia_dnd_file_drag_data_received): 
4027         * app/recent_files.c: 
4028         Undone attempt at unifying the multi-diagram windows (like
4029         layers).  It broke the layers and didn't make much sense for the
4030         diagram properties dialog anyway.
4032         * lib/group.c: 
4033         * lib/diatypes.h: 
4034         * lib/diagramdata.c: 
4035         * lib/object.h: 
4036         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
4037         many subclasses have to be fixed.  Fixed remaining
4038         Object/ObjectType renaming issues.
4040 2004-05-02  Lars Clausen  <lars@raeder.dk>
4042         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
4043           having to make all the children objects conform to
4044           GObject style at once?  Warning!  Does not compile right now.
4046         * many, many files: Rename Object to DiaObject in preparation for
4047           making it a GObject.
4048         
4049         * app/diagram.[ch]: Turn diagram into a real GObject.
4051         * app/pagesetup.c: 
4052         * app/filedlg.c: Correctly ref and unref diagram. 
4054         * lib/diagramdata.h: Starting to turn it into a GObject as well.
4056 2004-05-02  Lars Clausen  <lars@raeder.dk>
4058         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
4059         GObject. 
4061         * app/dia-props.c: Undo the attempt at making it really
4062         multi-diagram, now going for a one-diagram dialog.
4064 2004-04-30  Lars Clausen  <lars@raeder.dk>
4066         * app/undo.c: Undoing broken undo stuff for diagram properties and
4067         page setup.  Shouldn't be mixed into undo at all.
4069         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
4070         function to avoid in particular the grid crawling.
4072         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
4073         to allow aligning dashes, so they don't crawl.
4075 2004-04-28  Lars Clausen  <lars@raeder.dk>
4077         * app/Makefile.am: New files diacanvas.[ch]
4079         * app/interface.c (create_display_shell): Use new diacanvas that
4080         allows placing widgets on canvas, for text edit.
4082         * lib/object.h: 
4083         Early work towards rotation.  No implementation yet.
4085         * app/layer_dialog.c (undo_layer): 
4086         * objects/network/bus.c (bus_create_change): 
4087         * objects/standard/box.c (aspect_create_change): 
4088         * objects/standard/ellipse.c (aspect_create_change): 
4089         Use g_new0 for change struct.
4091         * app/undo.c (diagram_change_apply_or_revert): 
4092         Support for undo of diagram properties and page setup.
4094         * app/disp_callbacks.c (ddisplay_canvas_events): 
4095         * lib/text.h: 
4096         * lib/diagramdata.h: 
4097         * app/modify_tool.c (click_select_object): 
4098         * lib/text.c (text_register_editable): 
4099         Starting work on new text editing model.  Guarded by #ifdef so
4100         far. 
4102 2004-04-07  Lars Clausen  <lars@raeder.dk>
4104         * app/recent_files.c (open_recent_file_callback): 
4105         * app/interface.c (origin_button_press): 
4106         * app/filedlg.c (file_open_ok_callback): 
4107         * app/display.c: 
4108         * app/diagram.[ch]: 
4109         * app/commands.c (dialogs_layers_callback): Using new
4110         diagram_set_current() function to ensure auxilliary windows are
4111         updated. 
4113         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
4114         menu now borken.  *sniff*
4116         * app/dia-props.c: Diagram properties window attempted
4117         persistentified.  Trying to make more like layer dialog (since it
4118         already changes when the diagram changes), but some things still
4119         borken. 
4121 2004-04-06  Lars Clausen  <lars@raeder.dk>
4123         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
4124         * lib/attributes.c (attributes_set_default_line_style): 
4125         * app/interface.c (create_lineprops_area): 
4126         Make line style persistent as well.  Added function to directly
4127         set the style and dashlength of a dialinechooser. 
4129 2004-04-03  Lars Clausen  <lars@raeder.dk>
4131         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
4132         Copy the ellipse extra handle correctly.
4134         * objects/standard/box.c (box_move_handle): Move definitions
4135         according to bug #138925.
4137 2004-04-02  Lars Clausen  <lars@raeder.dk>
4139         * app/recent_files.c: Use absolute name for recent files list.
4141         * lib/attributes.c: Set start and end arrow types, correctly.
4143         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
4144         to get arrow index.
4146         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
4148         * app/interface.c (create_lineprops_area): Set persistently stored
4149         arrow info.
4151         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
4152         from arrow type.
4154         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
4155         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
4157         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
4158         with what xfig does.  Text now converted from latin-1 to utf-8
4159         (latin-1, since that's what xfig seems to use.  Would like to see
4160         examples of non-latin-1 figs).  String case problems fixed.
4162 2004-04-01  Lars Clausen  <lars@raeder.dk>
4164         * lib/attributes.c: 
4165         * app/interface.c: Default arrows now stored persistently, too.
4167         * lib/arrows.[ch]: New function to get arrow type from name.
4169         * app/color_area.c (color_area_create): 
4170         * lib/attributes.c: 
4171         * app/linewidth_area.c: Also persistent colors and line width.
4172         That was easy.  Arrows and line style will take a bit more work,
4173         but not much.
4175 2004-04-01  Lars Clausen  <lars@raeder.dk>
4177         * app/preferences.c:   All preferences are now
4178         handled by persistence, old prefs load and store code is gone.
4180         * lib/persistence.[ch]: Added string and color persistents.  This is
4181         a different string from the one used in the printer dialog, that
4182         one has a GtkEntry attached -- may want to make that one an
4183         encapsulation of this one or something.
4185 2004-03-31  Lars Clausen  <lars@raeder.dk>
4187         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
4188         phased out anyway.
4189         
4190         * lib/persistence.[ch]: 
4191         * app/preferences.c: Adding persistence for integers, reals,
4192         booleans.  Fixed stupid list bug.  Test persistence for prefs.
4194 2004-03-30  Lars Clausen  <lars@raeder.dk>
4196         * app/recent_files.c: 
4197         Debugging of deallocation.
4198         
4199         * lib/widgets.c: 
4200         Font menu now uses persistence.  Ordering needs fixing, or it must
4201         be sorted.
4203         * lib/libdia.def: 
4204         * lib/Makefile.am (libdia_la_SOURCES): 
4205         * app/Makefile.am (dia_core_files): 
4206         * app/persistence.[ch]: 
4207         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
4208         number of fixes, including multiple entries now being read
4209         properly.  Still some oddity about the persistent list having the
4210         role as first entry (which makes the font menu crash after a few
4211         iterations). 
4213 2004-03-26  Lars Clausen  <lars@raeder.dk>
4215         * app/persistence.c:
4216         * app/recent_files.[ch]: Redoing the recent-files list using
4217         persistence, reducing code by about 50%.  Still a problem when
4218         selecting an item from the menu -- possibly it doesn't like the
4219         menu being destroyed while in the callback?
4221 2004-03-25  Lars Clausen  <lars@raeder.dk>
4223         * app/persistence.c (persistence_load_string): Missing semicolon?!?
4225 2004-03-24  Lars Clausen  <lars@raeder.dk>
4227         * RELEASE-PROCESS: 
4229         * app/persistence.[ch]: 
4230         * app/paginate_psprint.c (diagram_print_ps): New type of data can
4231         be stored persistently:  Strings.  Only the printer command/file
4232         go in here now, but things like creator, organization, diagram
4233         comments etc could also be handled this way.
4235         * objects/standard/beziergon.c (beziergon_draw): Avoid control
4236         lines when the object is not selected.
4238 2004-03-23  Lars Clausen  <lars@raeder.dk>
4240         * lib/connectionpoint.h: 
4241         * app/load_save.c: Allow connection points to have names, and
4242         handle that in load/store.
4244         * lib/dialibartrenderer.c: Better highlighting for text.
4246         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
4247         * lib/diagdkrenderer.c: Better highlighting for all, using same
4248         principles as libart highlighter.
4250 2004-03-22  Lars Clausen  <lars@raeder.dk>
4252         * lib/dialibartrenderer.[ch]: 
4253         * lib/diagdkrenderer.c: 
4254         * lib/object.h: 
4255         * app/object_ops.c:
4256         * app/diagram.[ch]:
4257         * app/display.[ch]:
4258         * app/Makefile.am: 
4259         * app/modify_tool.c: 
4260         * app/create_object.c: 
4261         * app/highlight.[ch]: 
4262         Added simple object highlighting.  In GDK rendering, highlights
4263         the bbox, in libart highlights the outline of the object (except
4264         for texts).
4266 2004-03-22  Lars Clausen  <lars@raeder.dk>
4268         * RELEASE-PROCESS: Added info on how to do a branch for
4269         development during release process.
4271 2004-03-20  Lars Clausen  <lars@raeder.dk>
4273         * RELEASE-PROCESS: Mention PATCH keyword in release process.
4275 2004-03-19  Lars Clausen  <lars@raeder.dk>
4277         * xmldocs.make: Fixed apparent uninstall error.
4279         * config.h.win32: 
4280         * doc/en/dia-manual.xml: 
4281         * doc/pl/dia-manual.xml: 
4282         * dia.spec: 
4283         * configure.in: 
4284         * NEWS: Version 0.93-pre1.
4286         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
4287         borelli):  Remove some deprecated stuff.
4289 2004-03-18  Lars Clausen  <lars@raeder.dk>
4291         * Makefile.am: Try better uninstall thing for scrollkeeper.
4293         * objects/ER/entity.c: 
4294         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
4295         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
4296         1, 1 exactly, as well as associative ER entities.
4298 2004-03-17  Lars Clausen  <lars@raeder.dk>
4300         * Makefile.am: Make distcheck not complain about scrollkeeper
4301         problems (as per advice from James Henstridge).
4303         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
4304         standard installation.
4306         * objects/standard/ellipse.c: Better strings for object menu.
4308         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
4309         of dialogs (shame on you, glade!)
4311         * objects/custom/custom_object.c (custom_setup_properties):
4312         Removed debugging output
4314         * app/paginate_psprint.c (diagram_print_ps): Slightly more
4315         readable printer error messages.
4317         * xmldocs.make: 
4318         * omf.make: 
4319         * doc/en/Makefile.am: 
4320         * doc/pl/Makefile.am: 
4321         New more standard way to install the XML-based manuals.  
4323 2004-03-15  Lars Clausen  <lars@raeder.dk>
4325         * objects/standard/box.c (box_move_handle): More intuitive fixed
4326         aspect behaviour.
4328         * objects/standard/ellipse.c: 
4329         * objects/standard/box.c: 
4331         * lib/widgets.[ch]:
4332         * app/layer_dialog.[ch]:
4333         Patch from Steve Langasek <vorlon@debian.org>:
4334         Fixes startup crash on Alpha (bug #137169)
4335         
4336         * objects/standard/box.c: Aspect fixing like ellipses.
4338         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
4340         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
4341         pixmaps, now can uninstall properly.
4343         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
4344         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
4345         #93940. 
4346         Added object menu access.
4348 2004-03-07  Hans Breuer  <hans@breuer.org>
4350         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
4351         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
4352         would not use deprecated apis, but it's much simpler this way)
4354         * lib/makefile.msc : build the above new widgets and render_pixmap
4355         * lib/libdia.def app/dia.def app/makefile.msc : updated
4357         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
4358         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
4359         Previously it gave :
4360         disp_callbacks.c(188) : error C2059: syntax error : '}'
4361         disp_callbacks.c(191) : warning C4034: sizeof returns 0
4363         * app/interface.c : #include "dialinechooser.h"
4365         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
4366         [one more reason not to use it here : it's quite slow compared to
4367          the native win32 font renderer ;]
4369         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
4370         a GtkDialog*, removed unneeded cast
4372         * app/render_eps.c : avoid assignment warning for void* user_data
4373         not being an int 
4375 2004-03-06  Steffen Macke sdteffen@web.de>
4377         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
4378         shapes
4380 2004-03-06  Lars Clausen  <lars@raeder.dk>
4382         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
4383         0.5, as per poll.
4385         * lib/font.c: Simple cleanup system for layout cache removes any
4386         layout that hasn't been used for 10 minutes, but only during idle
4387         time. 
4389 2004-03-05  Lars Clausen  <lars@raeder.dk>
4391         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
4392         (lluis padro) (#130887): Extended Electric shapes with vertical
4393         versions. 
4395         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
4396         start with "Create a" or "A", always capitalize first word).
4398         * objects/standard/ellipse.c: Patch from Grégoire Dooms
4399         <dooms@info.ucl.ac.be>: Add extra connection point in center of
4400         ellipse.  Additionally added a handle in the center, and resize is
4401         now around the center.
4403         * configure.in: 
4404         * sheets/Makefile.am (SUBDIRS): 
4405         * sheets/IsometricMap.sheet.in: 
4406         * shapes/Map/Isometric/*
4407         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
4409 2004-03-04  Lars Clausen  <lars@raeder.dk>
4411         * lib/Makefile.am: 
4412         * lib/pixmaps/Makefile.am: 
4413         * configure.in: 
4414         Better installation handling of pixmaps.
4415         
4416         * lib/diagdkrenderer.c: 
4417         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
4418         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
4419         Constness fixes.
4421 2004-03-03  Lars Clausen  <lars@raeder.dk>
4423         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
4424         * lib/diagdkrenderer.c: 
4425         * lib/diasvgrenderer.c:
4426         * lib/dialibartrenderer.c:
4427         * lib/diainteractiverenderer.c: 
4428         * lib/prop_text.c (multistringprop_handle_key): 
4429         * lib/dia_dirs.c: 
4430         * lib/dia_image.c (dia_image_rgba_data): 
4431         * lib/widgets.c: 
4432         * lib/diagramdata.c (layer_set_object_list): 
4433         * lib/font.h: 
4434         * lib/font.c: 
4435         Getting rid of compile warnings.
4437         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
4438         images.  Also remove unused decls.
4440 2004-03-02  Lars Clausen  <lars@raeder.dk>
4442         * lib/widgets.h: 
4443         * lib/widgets.c (dia_size_selector_init): Add images to the size
4444         selector chain widget.  Also new function to load installed images
4445         from files (better than from included XPM, IMHO).
4447 2004-03-02  Lars Clausen  <lars@raeder.dk>
4449         * lib/libdia.def: 
4450         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
4451         size selector.
4453         * lib/Makefile.am: 
4454         * lib/widgets.c (dia_size_selector_init): Work
4455         on getting proper icon onto the size selector.  Need simple image
4456         load mechanism in utils.
4458         * lib/text.c: 
4459         * app/display.[ch]:
4460         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
4461         strings, handle utf8 strlen properly.  Bug #135930.
4463 2004-03-01  Lars Clausen  <lars@raeder.dk>
4465         * shapes/Cybernetics/*:
4466         * sheets/Cybernetics.sheet.in:
4467         * sheets/Makefile.am:
4468         * shapes/Makefile.am: 
4469         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
4470         Roggendorf): Cybernetic shapes (#95553).
4472 2004-03-01  Lars Clausen  <lars@raeder.dk>
4474         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
4476         * lib/diatypes.h: New type DiaSizeSelector.
4478         * lib/widgets.[ch]: New size selector widgets that selects two
4479         values (width and height, nominally) optionally linked to keep
4480         aspect ratio.
4482 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
4484         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
4485         in front of file. Bug #128600.
4487         * app/Makefile.am:
4488         * app/interface.h:
4489         * app/lineprops_area.[ch]:
4490         * lib/Makefile.am:
4491         * lib/dialinechooser.[ch]:
4492         * lib/widgets.c (dia_line_style_selector_init): use line preview 
4493         instead of text labels. This involve moving away line_chooser to lib
4494         from app.
4496         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
4497         symbol conflicts.
4499         * app/Makefile.am (dia_core_files): 
4500         * app/interface.c (create_lineprops_area):
4501         * app/render_pixmap.[ch]:
4502         * lib/Makefile.am:
4503         * lib/diaarrowchooser.[ch]:
4504         * lib/libdia.def:
4505         * lib/prop_attr.c:
4506         * lib/propdialogs.c:
4507         * lib/render_pixmap.[ch]:
4508         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
4509         of text labels. This involve moving away arrow_chooser to lib from
4510         app.
4512 2004-02-29  Lars Clausen  <lars@raeder.dk>
4514         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
4515         being updated half-way through destruction.  To be removed when
4516         the lists are replaced by something better.
4518         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
4519         Accelerators for class dialog.  Bug #130995.
4520         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
4522         * app/dia-props.c:
4523         * app/preferences.c:
4524         * lib/properties.c:
4525         * objects/GRAFCET/step.c:
4526         * objects/Misc/analog_clock.c:
4527         * objects/chronogram/chronoline.c:
4528         * objects/chronogram/chronoref.c:
4529         Change to american spelling (color, not colour) to ease
4530         translators job.  Note that a number of translations may need an
4531         update now.  Bug #120466.
4533 2004-02-29  Lars Clausen  <lars@raeder.dk>
4535         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
4536         Better arrow handling for missing arrows.
4538         * plug-ins/metapost/render_metapost.[ch]: Patch from
4539         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
4540         size. See bug #135363.
4542         * app/app_procs.c (app_init): If non-interactive, or if
4543         --log-to-stderr used, send all messages to stderr.  This should
4544         mean that old diaconv == dia --export-to-format=FOO BAR
4546 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
4548         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
4550 2004-02-28  Lars Clausen  <lars@raeder.dk>
4552         * lib/text.c (text_key_event): Patch from Kouhei Sutou
4553         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
4555 2004-02-27  Lars Clausen  <lars@raeder.dk>
4557         * KNOWN_BUGS: Added info on most commonly reported bugs, with
4558         BugZilla numbers.
4559         
4560         * app/disp_callbacks.c (popup_object_menu): Unified properties
4561         entry, fixes bug #105080.
4563         * app/diagram.c (diagram_update_menu_sensitivity): 
4564         * app/menus.h (struct _UpdatableMenuItems): 
4565         * app/menus.c (menus_initialize_updatable_items): Menu items
4566         changed around, align menus flattened, properties entry ghosted,
4567         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
4568         #117495, #135125.
4569         Also taking out Gnome menus for now.  They don't allow shortcuts,
4570         so what are they good for?
4572 2004-02-27  Lars Clausen  <lars@raeder.dk>
4574         * app/menus.c (display_menu_items): 
4575         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
4576         (bug #95546).
4578 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
4580         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
4582 2004-02-23  Lars Clausen  <lars@raeder.dk>
4584         * app/app_procs.c (app_init): Comments for translators.
4586 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
4588         * app/preferences.c (prefs_create_dialog): Change packing policy
4589         for widget to expand.
4591         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
4592         running with a debugger.
4594 2004-02-19  Lars Clausen  <lars@raeder.dk>
4596         * app/undo.[ch]: Adding last-saved information to undo to allow a
4597         diagram with all changes since last save undo to be marked as
4598         nonmodified.  Still needs integration with actual undo
4599         apply/revert calls.
4601         * app/diagram.h: 
4602         * app/diagram_tree.c (diagram_tree_update): 
4603         * app/diagram.c: 
4604         * app/display.c (update_modified_status): 
4605         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
4606         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
4607         test. 
4609         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
4610         vs. EPSI, comment out EPSI until preview is in there.
4612         * lib/render.c: 
4613         * lib/diarenderer.c: Removing debugging printfs.
4615         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
4616         (with preview)
4618         * objects/standard/arc.c (arc_update_handles): Check to avoid
4619         crash when start and end points are the same.
4621 2004-02-19  Lars Clausen  <lars@raeder.dk>
4623         * objects/standard/bezier.c: 
4624         * objects/standard/line.c (line_load): 
4625         * objects/standard/polyline.c (polyline_load): 
4626         * objects/standard/zigzagline.c (zigzagline_load): 
4627         * objects/standard/arc.c (arc_load): 
4628         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
4629         instead of hardcoding.
4631 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
4633         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
4634         display properties.
4636 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
4638         * app/app_procs.c: declare rc properly with the proper #ifdef
4640 2004-02-17  Lars Clausen  <lars@raeder.dk>
4642         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
4643         objects (which seemingly FIG itself breaks, or else there is no
4644         ordering).
4646 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
4648         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
4649         width renderable in xfig.  Helps on bug #133637, but does not
4650         quite fix it -- something about depth is wrong.
4652         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
4653         Extern definitions for Mac compilation.
4655         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
4656         (jdassen@debian.org): Include fix.
4658         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
4659         sure the initial diagram size is correct.
4661 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4663         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
4664         CPPFLAGS, as per automake warning.
4665         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
4666         LDFLAGS, as per automake warning.
4667         (run_dia.sh): More robust creation, and more easily moved.
4669         * app/undo.c (group_objects_revert): Don't double-free the objects
4670         list.  (#129221) Call object_add_updates on grouped objects.
4671         (ungroup_objects_revert): Call object_add_updates on grouped objects.
4673         * lib/diagramdata.c: Internal
4674         documentation. 
4676         * lib/polyshape.c (polyshape_update_data): Correctly calculate
4677         directions for polyshape corners (thanks, Valgrind!)
4679         * lib/attributes.c: 
4680         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
4682         * lib/arrows.h: Default arrow size defined.  After all are using
4683         this, may lower to 0.4 or so.
4685         * app/lineprops_area.[ch]: New function to set the arrow type for an
4686         arrow chooser.
4688         * app/interface.c (create_lineprops_area): Set default line to
4689         have an arrow (fairly likely to be what's wanted, plus it shows
4690         the user where arrows are set).
4692         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
4694 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4696         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
4697         Dotted lines should use dot_length, not dash_length.
4699 2004-02-06  Hans Breuer  <hans@breuer.org>
4701         * app/interface.c : don't use gtk_drawing_area_size() to avoid
4702         the defaut size being also the minimum size. Instead use
4703         gtk_window_set_default_size() on the display shell. Fixes #130982.
4705         [fixing #131210, but umlauts in the 'main' filename still not really 
4706          supported on systems where filesystem encoding != utf8
4707         (Problems with recent file menu and window title)]
4708         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
4709         to deal with possible differnces in filename encodings, see
4710         g_filename_<to|from>_utf8()
4711         * objects/standard/image.c : use them.
4713         * lib/widgets.c : handle possible encoding difference here, too.
4714         Also get rid of most warnings by using const and GTK casts where 
4715         appropriate; one wrong cast (probably causing a crash) was found/fixed 
4716         by this - the remaining give a hint on finally leaking FontSelectorEntry.
4718         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
4719         dia_file_selector_<get|set>_file to behave like the respective Gtk 
4720         functions do : encoding- and const-wise ;-)
4722 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
4724         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
4726 2004-01-19  Hans Breuer  <hans@breuer.org>
4728         * app/app_procs.c app/diaconv : 
4729         only call bind_textdomain_codeset when available, what's good 
4730         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
4731         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
4733 2004-01-19  Steffen Macke <sdteffen@web.de>
4735         * makefile.msc: updated for new GAIM-like installer build; sync'ed
4736         ALL_LINGUAS with configure.in
4738 2004-01-18  Hans Breuer  <hans@breuer.org>
4740         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
4741         by not passing NULL to g_print()
4743         * app/interface.c (create_toolbox) : actually use
4744         persitence_register_window() to restore toolbox window size
4746         * app/makefile.msc lib/makefile.msc : allow to deselect
4747         building with Freetype by command line to nmake like :
4748                 nmake -f makefile.msc "NOFT2=1"
4750         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
4751         far as possible with Dia's limited line style
4752         * plug-ins/python/pydia-property.c : allow to get and set
4753         Linestyle, style and dash(length)
4755         * lib/object.h : removed typedef for ObjectId not use anywhere
4757 2004-01-17  Hans Breuer  <hans@breuer.org>
4759         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
4760           doc/shape.dtd doc/custom-shapes : 
4761         support for images in custom shapes, also removed some long-time
4762         dead code
4764         * doc/en/*.xml : fixed crippled line ends which get created
4765         when windoze line ends are checkin from the unix side
4767 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
4769         * configure.in: Added "sq" to ALL_LINGUAS.
4771 2004-01-11  Hans Breuer  <hans@breuer.org>
4773         [more less leaks ;-]
4774         
4775         * objects/SADT/annotation.c : use text_destroy() not g_free()
4776         
4777         * objects/chronogram/chronoline.c : neither leak chronoline::events
4778         nor chronoline::name
4780         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
4782 2004-01-11  Hans Breuer  <hans@breuer.org>
4784         * lib/properties.h :
4785         * objects/custom/custom_object.c : more properties optional
4786         to be backward compatible for older diagrams not having them 
4787         set. (Try to load samples/all_objects.dia)
4788         
4789         [less memory leaks thanks valgrind ;-]
4790         
4791         * app/recent_files.c (recent_file_history_write) : 
4792         g_free(history_filename);
4793         (recent_file_menu_item) : use g_path_get_basename() 
4794         which already strdups, free result of g_strescape()
4795         
4796         * app/filedlg.c (create_export_menu) : return of
4797         filter_get_export_filter_label() must be g_free()'d
4798         (create_open_menu) : same for import
4799         
4800         * app/export_png.c (export_png_ok) : destroy info ptr
4801         with png_destroy_write_struct()
4802         
4803         * app/app_procs.c (app_init) : g_free(export_format_string);
4804         
4805         * lib/font.c (dia_font_finalize) : finalize parent_class, too
4806         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
4807         refing it a second time, g_type_create_from_instance() is enough
4808         
4809         * lib/object_defaults.c (_obj_store) : don't mess with names
4810         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
4811         
4812 2004-01-11  Steffen Macke <sdteffen@web.de>
4814         * app/diapsftrenderer.c: including ftoutln.h
4815         * app/makefile.msc: updated for freetype build
4816         * lib/libdia.def: added dia_font_get_context()
4817         * lib/dialibartrenderer.c (draw_string): added cast
4818         
4819 2004-01-10  Hans Breuer  <hans@breuer.org>
4821         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
4822         transformed coordinates, fixes bug 130804
4824 2004-01-10  Hans Breuer  <hans@breuer.org>
4826         * app/filedlg.c app/app_procs.c : don't try to destroy 
4827         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
4828         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
4829         returns. Fixes 'has no handler' bugs like #121019
4831 2004-01-10  Hans Breuer  <hans@breuer.org>
4833         * objects/UML/class.c objects/UML/class_dialog.c : 
4834         handle umlclass->name being empty to avoid, i.e. fix #127968
4836         [plugging memleaks, thanks valgrind :-]
4837         
4838         * lib/dia_xml.c (data_string) : don't leak return value
4839         of xmlNodeListGetString()
4840         
4841         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
4842         before returning, maybe alloca() would be the better 
4843         choice but anyway ;)
4845         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
4846         
4847         * lib/font.c (dia_font_build_layout) : don't leak result
4848         of g_utf8_strdown()
4849         
4850         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
4851         (this is the one which got me started using valgrind, see #130816)
4852         
4853 2004-01-07  Sanlig Badral  <badral@openmn.org>
4855         * configure.in: Added "mn" to ALL_LINGUAS.
4857 2004-01-04  Hans Breuer  <hans@breuer.org>
4859         * lib/diagdkrenderer.c : replace rendering of really small (height
4860         less than 2 pixels) with a simple dashed line, you wont notice the 
4861         differnce beside it being much faster. This allows ...
4862         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
4863         * app/navigation.c : ... and lets you see an read rendered text even 
4864         in the nice navigation popup.
4866         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
4867         (draw_string) : don't leak temporary image
4869 2004-01-04  Hans Breuer  <hans@breuer.org>
4871         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
4872         * app/interface.c : use dia-app-icons.h to give Dia window icons
4874         * lib/dia_image.c lib/color.c : _never_ call functions implemented
4875         in app/ from lib/. It is not portable and broken from design
4876         * app/app_procs.c : call color_init() and dia_image_init() conditional,
4877         i.e. only if running interactive.
4879         * lib/font.h : #include <time.h>
4881         * lib/libdia.def : updated externals
4883         * objects/UML/actor.c 
4884             objects/UML/association.c (todo)
4885           objects/UML/branch.c
4886           objects/UML/class.[hc] objects/UML/class_dialog.c
4887           objects/UML/classicon.c
4888           objects/UML/component.c 
4889           objects/UML/constraint.c
4890           objects/UML/dependency.c
4891           objects/UML/generalization.c
4892           objects/UML/implements.c
4893           objects/UML/large_package.c
4894           objects/UML/lifeline.c
4895           objects/UML/message.c
4896           objects/UML/node.c
4897           objects/UML/object.c
4898           objects/UML/realizes.c
4899           objects/UML/small_package.c
4900           objects/UML/state.c
4901           objects/UML/usecase.c
4902           objects/UML/
4903         : ported coloring of most UML objects (bug #97517, orginal
4904           work Mathias Hasselmann)
4906         * lib/properties.h : add _OPTIONAL variants for 
4907         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
4908         i.e. default colored - UML diagrams without complaining
4909         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
4910         not set properties with the help of PXP_NOTSET. Otherwise 
4911         optional attributes would lead to wrong initialization. 
4913         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
4914         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
4915         Same for most other selectors which probably should be rewritten
4916         to the combo box with tree model from Gtk+ 2.4
4918 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
4920         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
4921         being the Right Thing(tm) to use on Solaris.
4923         * objects/standard/bezier.c (bezierline_draw): Don't draw
4924         guidelines if not selected.
4926         * lib/object.[ch] (dia_object_is_selected): Function to check whether
4927         a given object is selected. O(n), where n is # selected objects.
4928         
4930 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
4932         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
4933         Fonts dialog is closed without pressing Ok (bug #128646).
4935 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4937         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
4938         #130099). 
4940 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4942         * INSTALL: Updated list of requirements (bug #129653)
4944         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
4945         Pionchon <luc@handhelds.org>.
4947 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4949         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
4950         empty or NULL strings (bug #130097).
4952 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
4953         
4954         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
4955         Added checks against color_black.
4957 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4959         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
4960         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
4961         can happen.
4963         * objects/UML/component_feature.c: Patch from W. Borgert
4964         <debacle@debian.org>:  Add handle to component feature text.
4966         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
4968         * lib/font.c: Caching PangoLayout for better rendering speed.
4970 2003-12-30  Lars Clausen  <lars@raeder.dk>
4972         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
4973         get absolute file name from relative.
4974         * app/recent_files.c (recent_file_history_add): Use absolute
4975         filenames for recent files menu so that files can be found when
4976         Dia is invoked from other places.  
4978         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
4979         Actually load different diagrams if such are requested on command
4980         line.  
4982         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
4983         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
4985         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
4986         remove text rendering.  May be turned into greeking at some later
4987         stage.
4989         * app/interface.c: 
4990         * app/Makefile.am (dia_core_files): 
4991         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
4992         Adds navigation window a la Gimp, though without text being
4993         rendered at all.
4995 2003-12-27  Luc Pionchon <luc@handhelds.org>
4997         * app/navigation.h: (new file)
4998         * app/navigation.c: (new file) creates a navigation window with a
4999         thumbnail view of the whole diagram.
5000         * app/Makefile.am (dia_core_files): added new files.
5002         * app/interface.c (create_display_shell): added a button between
5003         the scrollbars to popup a navigation window.
5005         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
5006         boolean
5007         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
5008         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
5009         not want text rendering.        
5011 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5013         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
5015         * objects/custom/shape_info.[ch]: Cleanup.
5017         * objects/custom/custom_object.[ch]: Changed to use new props
5018         interface.
5020         * lib/properties.h: 
5021         * lib/prop_text.c: 
5022         * lib/prop_inttypes.c: 
5023         * lib/prop_geomtypes.c: Added *prop_get_data_size.
5025         * lib/libdia.def: Added object_load_props.
5027         * configure.in: Better FT2 version test, from bug #129225.
5029         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
5031         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
5032         Lehmann <holger.lehmann@catworkx.de>.
5034         * plug-ins/xslt/Makefile.am: 
5035         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
5036         and OWL XSLT sheets.
5038 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5040         * lib/diagdkrenderer.c: Add implementation so text is still
5041         rendered.  May be improved later.
5043         * lib/dia_image.c: 
5044         * app/main.c: 
5045         * app/export_png.c: 
5046         * app/diagram.c: 
5047         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
5048         Allow running without a $DISPLAY!
5050         * lib/color.c: Remove warnings for non-interactive run.
5052         * doc/en/dia.dbk: 
5053         * app/export_png.c: 
5054         * app/diaconv.c: 
5055         * app/app_procs.[ch]: 
5056         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
5057         to specify size for PNG output.
5059         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
5060         render a little smaller, so as to fit the big ones.
5062         * lib/arrows.[ch]: New arrow type from W. Borgert
5063         <debacle@debian.org>: Filled Dot and Triangle.
5065 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5067         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
5068         for gif images.
5070         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
5072         * acinclude.m4: Better Python configure code patch (can't find
5073         author, author please speak up!)
5075 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5077         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
5078         smarter ones.
5080 2003-11-30  Hans Breuer  <hans@breuer.org>
5082         * plug-ins/python/diasvg.py : initialize self.dash_length
5083         in constructor to avoid crashing if the renderer user
5084         does not set it before first usage.
5086 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5088         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
5089         active yet.
5091         * configure.in: 
5092         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
5093         development and stable versions.
5095         * lib/text.c (text_draw): Use new renderer function to draw the
5096         text.
5098         * lib/diarenderer.h: 
5099         * lib/diarenderer.c: New renderer function "draw_text" with
5100         default implementation.  This function should eventually be the
5101         main interface, as it will be able to handle width and caching of
5102         rendering internally.  All users of draw_string should convert to
5103         use Text objects and call either renderer->draw_text or text_draw,
5104         the latter if the text can be edited in-place (as should be the
5105         goal, eventually).
5107 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5109         * shapes/Circuit/hresistor.shape: First example of extra
5110         attributes. 
5112 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5114         * plug-ins/shape/shape-export.c: 
5115         * lib/diasvgrenderer.h: 
5116         * lib/diasvgrenderer.c: 
5117         * plug-ins/svg/render_svg.c (new_svg_renderer): 
5118         Actually store the font size, using DiaRenderer's font fields.
5120 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5122         * objects/custom/shape_info.[ch]: 
5123         * objects/custom/custom_object.[ch]: 
5124         Support for extra attributes in custom objects.
5125         
5126 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5128         * app/diagram.c (diagram_update_menu_sensitivity): More
5129         intelligent checks for menu sensitivity.  Might be slow on huge
5130         diagrams, but I think other things outweigh it by a lot.
5132         * app/menus.[ch]: Make "Bring Forwards"
5133         and "Send Backwards" updateable.
5135 2003-11-22  Steffen Macke <sdteffen@web.de>
5137         * shapes/Assorted/arrow-turn-up.shape:
5138         * shapes/Assorted/arrow-turn-up.png:
5139         * sheets/Assorted/Makefile.am:
5140         * sheets/Assorted.sheet.in: Added new arrow
5142 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5144         * app/app_procs.c
5145         * app/color_area.c
5146         * app/commands.c
5147         * app/defaults.c
5148         * app/dia_embedd.c
5149         * app/diagram.c
5150         * app/diagram_tree.c
5151         * app/diagram_tree_menu.c
5152         * app/diagram_tree_window.c
5153         * app/diapagelayout.c
5154         * app/diaunitspinner.c
5155         * app/export_png.c
5156         * app/filedlg.c
5157         * app/interface.c
5158         * app/layer_dialog.c
5159         * app/lineprops_area.c
5160         * app/linewidth_area.c
5161         * app/menus.c
5162         * app/pagesetup.c
5163         * app/paginate_psprint.c
5164         * app/persistence.c
5165         * app/plugin-manager.c
5166         * app/preferences.c
5167         * app/properties.c
5168         * app/recent_files.c
5169         * app/sheets.c
5170         * app/sheets_dialog.c
5171         * app/sheets_dialog_callbacks.c
5172         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
5173         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
5175         * TODO: Updated, note on EPS transparency.
5177 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5179         * objects/UML/class.c (umlclass_draw): Allow classes with no name
5180         without crashing.
5182 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5184         * config.h.win32: 
5185         * doc/en/dia-manual.xml: 
5186         * dia.spec: 
5187         * configure.in: 
5188         * NEWS: Another Brown Bag release for parenting problems,
5189         including a crash bug fix.
5191         * app/connectionpoint_ops.c (diagram_update_connections_object):
5192         Also update connections when moving children.  This can cause
5193         move_handle to be called twice, so it must be idempotent.
5195         * app/load_save.c: Loading and saving of children totally redone.
5196         Now doesn't violate assumption that all objects in a layer are
5197         placed in order in XML file.
5199         * objects/UML/branch.c (branch_create): Don't lie about being
5200         resizable. 
5202         * objects/UML/node.c (node_create): 
5203         * objects/UML/large_package.c (largepackage_create): Drag with
5204         lower right-hand handle at creation like all other objects.
5206 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5208         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
5209         parenting drop to behave like a move inside, i.e. constrain place
5210         instead of trying to resize.  'Cause, resizing cannot be done for
5211         all objects (e.g. UML Class). Also simplified the algorithm a lot
5212         at the same time.
5214         * app/load_save.c: Saving and loading of connection points for
5215         children added.  Prototypes for static functions added.
5217         * lib/dynamic_obj.c: Removed debugging output.
5219 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5221         * doc/en/dia-manual.xml: 
5222         * doc/pl/dia-manual.sgml: 
5223         * dia.spec: 
5224         * config.h.win32: 
5225         * configure.in: 
5226         * NEWS: Brown Bag release 0.92.1
5228         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
5230 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5232         * app/app_procs.c (app_init): Rearrangement for translators.
5234 2003-10-24  Steffen Macke <sdteffen@web.de>
5236         * lib/text.c(text_key_event): enforcing the inserted text length now,
5237         fix for bug #125348
5239 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5241         * MAINTAINERS: Change Debian maintainer to be the default address.
5243         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
5244         args to match prototype, thus removing crashbug #125159.
5246         * RELEASE-PROCESS: Note to self.
5248 2003-10-22  Steffen Macke <sdteffen@web.de>
5250         * doc/en/dia-manual.xml: removed superfluous external references
5251         
5252 2003-10-21  Steffen Macke <sdteffen@web.de>
5254         * lib/libdia.def: added filter_get_by_name
5255         * app/render_eps.c: moved extensions definition outside #ifdef
5257 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5259         * Makefile.am: 
5260         * dia.1:
5261         Removed old Dia manual, put new one in doc/en/.  Translations
5262         should go in doc/??/.
5264         * doc/en/dia-manual.xml: 
5265         * doc/pl/dia-manual.sgml: 
5266         * dia.spec (Release): 
5267         * config.h.win32: 
5268         * configure.in: 
5269         * NEWS: 0.92 is here!
5271         * doc/en/dia.dbk: 
5272         * doc/en/dia.1: 
5273         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
5274         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
5275         but it shall be.
5277         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
5279         * doc/en/usage-objects-selecting.xml: Commented out empty note.
5281 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5283         * doc/pl/dia-manual.sgml: 
5284         * doc/en/dia-manual.xml: 
5285         * config.h.win32: 
5286         * NEWS: 
5287         * configure.in: 
5288         * dia.spec (Release): Pre7.
5290         * app/diapsrenderer.c (draw_string): Convert string to print based
5291         on current locale.  If conversion fails, fall back to UTF-8 (which
5292         is almost certain to be messy).
5294 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5296         * doc/pl/dia-manual.sgml: 
5297         * dia.spec (Release): 
5298         * configure.in: 
5299         * NEWS: 
5300         * config.h.win32: 
5301         * doc/en/dia-manual.xml: Pre6.
5303         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
5304         TeX chars in strings -- must be possible to use TeX text in there.
5305         Also avoids infinite loop bug (#124464) Will get option for this
5306         later.
5308 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5310         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
5312         * doc/en/dia-manual.xml: 
5313         * doc/pl/dia-manual.sgml: 
5314         * dia.spec (Release): 
5315         * configure.in: 
5316         * config.h.win32: 
5317         * NEWS: pre5.
5319         * app/authors.h: Removed duplicate of M. C. Nelson.
5321         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
5323         * app/export_png.c: Unique name for libart PNG export: png-libart.
5325         * app/render_eps.c: Unique names for the two eps export methods:
5326         eps-builtin, eps-pango.
5328         * lib/filter.h: Binary compatibility change: 
5329         Added unique name to export filters.  Can be NULL.
5330         * lib/filter.c (filter_get_by_name): Finding a filter by
5331         non-extension name.
5333         * app/app_procs.h: Changed prototype for do_convert.
5334         * app/app_procs.c (app_init): Support for non-extension file
5335         format selection for export.  Also allow extension to differ from
5336         that specified by the filters.  A bit of refactoring, too.
5338 2003-09-28  Steffen Macke <sdteffen@web.de>
5340         * makefile.msc: added target po to update the translations
5342 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5344         * config.h.win32: 
5345         * dia.spec (Release): 
5346         * NEWS: 
5347         * doc/pl/dia-manual.sgml: 
5348         * doc/en/dia-manual.xml: 
5349         Pre4 is given a short try.
5350         
5351         * configure.in: Give all necessary libs to PNG test.
5353         * lib/font.c: Added legacy entries for sans, serif and monospace.
5355         * app/app_procs.c (internal_plugin_init): 
5356         * app/render_eps.h: 
5357         * app/render_eps.c: 
5358         Added PS fonts output for Unix.
5360         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
5361         factor to make PS fonts stay in boxes.
5362         
5363 2003-08-03  Hans Breuer  <hans@breuer.org>
5365         * config.h.win32 : close the version string
5367         * lib/libdia.def : with color_white, color_black being static
5368         on win32 they can not be exported anymore either
5370         * lib/dialibartrenderer.c : text rendering is back on win32,
5371         only by Gdk though; almost a year seems to be enough to
5372         wait for my patch at bug #94791 to be accepted ...
5374 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5376         * shapes/network/{digitizing_board.png,plotter.png,
5377         laptop.png,telephone.png}: 22x22 icons.
5379 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5381         * doc/pl/dia-manual.sgml: 
5382         * doc/en/dia-manual.xml: 
5383         * dia.spec (Release): 
5384         * configure.in: 
5385         * config.h.win32: 
5386         * NEWS: 
5387         pre3 improves font rendering speed.
5389         * app/app_procs.c (app_init): Don't do pango init here, it's done
5390         on demand in font.c now.
5392         * lib/font.c: Load pango context on demand rather than during
5393         init/all the time strikes a better balance between working font
5394         size and speed.  Still need to cache width calculations.
5396 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5398         * lib/dia_xml.c: Enable pretty printing.  Should have been added
5399         on 8/12. 
5401 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5403         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
5404         adjustment a bit for half diamond and open round.
5406         * RELEASE-PROCESS: Added note about notifying translators and
5407         maintainers. 
5409         * doc/pl/dia-manual.sgml: 
5410         * doc/en/dia-manual.xml: 
5411         * dia.spec (Release): 
5412         * configure.in: 
5413         * config.h.win32: 
5414         * NEWS:
5415         Update to 0.92-pre2.
5416         
5417 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5419         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
5420         calculation for half diamond and open round.
5422         * lib/arrows.c: 
5423         * objects/UML/component_feature.c: 
5424         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
5425         arrows instead of specific little hacks.  Much nicer, but damn
5426         there's a lot of arrows.
5428         * lib/dialibartrenderer.c (begin_render): 
5429         * app/render_libart.c (begin_render): Use correct DPI for screen
5430         (well, actually the default DPI of 75 for now).
5432         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
5434         * lib/diagdkrenderer.c (draw_string): Some reformatting.
5436         * app/app_procs.c (app_init): Note on what should be done for the
5437         pango context now, only it doesn't work:(
5439         * lib/font.c (dia_font_new): Make sure to load fonts that are
5440         used, using a reasonable pango_context.  Also a comment on the
5441         global_zoom_factor, 
5443 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
5445         * doc/pl/graphics/*.png:
5446         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
5447         loop (bug #121817).  PL translator may want to change the
5448         home_network png to be in Polish.  If the docs get translated into
5449         more languages, we'll want to find out how to share these things.
5451 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5453         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
5454         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
5455         splash.
5457         * app/filedlg.c (file_save_as_callback): Put filename setting
5458         together.  (Preparation for allowing default save dir.)
5460         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
5461         correctly this time:)
5463         * app/dia-props.c (diagram_properties_show): 
5464         * app/properties.c (properties_show): Make sure the
5465         dialogs are transient for the correct diagram.
5467 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5469         * configure.in: Make sure -lz -lm is passed into second png test
5470         as well (stupid AC_LINK_IFELSE can't take it as an argument).
5472         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
5473         comment-filled files readable.  Once we have a 'generic data'
5474         system, we can put comments in there.
5476 2003-09-06  Steffen Macke <sdteffen@web.de>
5478         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
5479         g_string_sized_new() instead of g_string_new() to make it compile
5480         * app/Makefile.am: including dia.ico and dia.rc in the tarball
5481         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
5482         for non-solid linestyles - otherwise custom linestyles have to be used.
5484 2003-09-02  Steffen Macke <sdteffen@web.de>
5486         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
5487         dia.chm
5489 2003-09-02  Christian Neumair  <chris@gnome-de.org>
5491         * sheets/Pneumatic.sheet.in: Slight unification fix.
5493 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5495         * config.h.win32: 
5496         * configure.in: 
5497         * dia.spec (Release): 
5498         * doc/en/dia-manual.xml: 
5499         * doc/pl/dia-manual.sgml: 
5500         * NEWS: Update to 0.92-pre1.
5502         * app/properties.c (properties_key_event): Removing Esc/Enter
5503         handling for now, interferes to much with regular dialog usage.
5505         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
5506         Function to escape special TeX characters.  Not in use yet, as
5507         PSTricks output by default is TeX strings.  Should get a save-time
5508         selector. 
5510 2008-09-01  Steffen Macke <sdteffen@web.de>
5512         * lib/paper.h: explanatory comment on width and height
5514 2003-08-30  Steffen Macke <sdteffen@web.de>
5516         * lib/color.c:
5517         * lib/color.h: made color_white, color_black static on win32
5519 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5521         * configure.in (PNG_LIBS): Something in the png tests added an
5522         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
5524 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5526         * configure.in: Quote correctly for temporarily adding freetype
5527         cflags to CPPFLAGS.
5529         * app/preferences.c (prefs_save): Remove debugging g_print.
5531 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5533         * objects/flowchart/parallelogram.c (pgram_update_data):
5534         Directions for connections, better system for placing
5535         connectionpoints. 
5537 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5539         * lib/diagramdata.c (layer_find_closest_object_except): Look all
5540         the way through the object list, so the foremost object is selected.
5542         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
5543         included for diagramdata.c.
5545         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
5546         newline in multistringprop not close the dialog.  Failed so far.
5548 2003-08-25  Steffen Macke <sdteffen@web.de>
5550         * app/commands.c: using CHM instead of HTML on win32 if available
5551         * lib/diagramdata.h: including dynamic_obj.h
5553 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5555         * app/properties.c (properties_key_event): Make Enter = Ok for
5556         properties dialogs.  Still some problems with this and Esc for
5557         Cancel, for instances escaping out of a menu closes the dialog.
5559         * objects/UML/association.c (association_get_properties): 
5560         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
5561         focus. 
5563         * app/diapsft2renderer.c (draw_string): Use
5564         dia_font_scaled_build_layout to ensure similarity of text.
5566         * lib/diagramdata.c: Remove obj from dynobj list when removing
5567         from layer to avoid nasty race conditions.
5569         * app/undo.c (group_objects_revert): Make sure to unparent and
5570         remove from dynobj list when changing layers objects.
5572 2003-08-23  Steffen Macke <sdteffen@web.de>
5574         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
5575         StretchBlt(); fixes #92249
5576         
5577 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5579         * app/filedlg.c (file_save_as_callback): 
5580         * app/preferences.h: 
5581         * app/preferences.c (prefs_data): 
5582         * lib/diagramdata.h: 
5583         * lib/diagramdata.c (new_diagram_data): 
5584         * app/load_save.c (diagram_data_load): 
5585         Let the document remember whether it was compressed.  The user can
5586         still override this in the Save As... dialog, and that will still
5587         be remembered as the default for new diagrams.
5589 2003-08-23  Steffen Macke <sdteffen@web.de>
5591         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
5593 2003-08-22  Steffen Macke <sdteffen@web.de>
5595         * plug-ins/xslt/dia-uml.xsl:
5596         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
5597         table containing a list of components grouped by stereotype
5599 2003-08-21  Steffen Macke <sdteffen@web.de>
5601         * lib/makefile.msc: added connectionpoint.obj
5602         * lib/libdia.def: added connpoint_update, find_slope_directions
5603         * app/disp_callbacks.c: including scroll_tool.h
5604         * obj/makefile.msc: added component_feature.obj
5605         * app/paginate_gdiprint.c: fixed loop initialization in 
5606         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
5607         wrong
5609 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5611         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
5612         move_handle call.
5614         * lib/diagramdata.h: Colors added to prefs.
5615         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
5616         New field for pagebreak color, which should
5617         behave the same as grid color and be settable for a diagram.
5619         * app/diagram.c (diagram_init): Update diagram pagebreak color
5620         from prefs. 
5622         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
5623         colors. 
5625         * app/preferences.[ch]: Default diagram colors now #defines, so
5626         loading can use it.  Also, colors are now in NewDiagramData, so
5627         are passed nicely into new diagrams directly from prefs.  Yum.
5629         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
5630         Support for loading and saving grid and pagebreak colors with the
5631         diagram.  I'm inclined to make all the three Colors in diagram
5632         Color*s instead, so we can tell if they're specified for the
5633         diagram or merely the default setting.  There'd be no way for the
5634         user to tell if the color of a diagram is default, though, unless
5635         we add a 'reset to default' button to prefs.
5637         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
5638         pagebreak color.  Unsensitizing grid size when dynamic.
5640         * objects/UML/component.c: Patch from Krzysztof Foltman
5641         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
5642         third.  Makes the left side connections actually be on the line
5643         (gasp!). 
5645 2003-08-20  Steffen Macke <sdteffen@web.de>
5647         * lib/libdia.def: added layer_find_closest_object_except
5648         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
5650 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
5652         * app/tool.h: 
5653         * app/tool.c: 
5654         * app/scroll_tool.c: 
5655         * app/interface.c: 
5656         * app/disp_callbacks.c: 
5657         * app/create_object.h: 
5658         * app/create_object.c: Patch from Krzysztof Foltman
5659         <kfoltman@onet.pl>: Middle button can scroll transiently when
5660         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
5661         various ways.
5663         * app/authors.h: 
5664         * sheets/UML.sheet.in: 
5665         * sheets/UML/receptacle.xpm: 
5666         * sheets/UML/Makefile.am: 
5667         * sheets/UML/eventsource.xpm: 
5668         * sheets/UML/eventsink.xpm: 
5669         * objects/UML/pixmaps/facet.xpm: 
5670         * objects/UML/uml.c (dia_plugin_init): 
5671         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
5672         * objects/UML/component_feature.c: 
5673         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
5674         event sinks.
5675         
5676 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5678         * lib/object.h: Turning some comments into doxygen style.
5680         * lib/object_defaults.c (dia_object_defaults_load)
5681         (dia_object_default_get, dia_object_default_create): 
5682         Fixing up existing documentation.
5684         * lib/object.h: Doxygen style documentation begun.
5686         * app/create_object.c: 
5687         * app/undo.c: 
5688         * app/connectionpoint_ops.c: 
5689         * app/disp_callbacks.c: 
5690         * app/modify_tool.c: 
5692         * objects/network/wanlink.c (wanlink_move_handle): 
5693         * objects/network/bus.c (bus_move_handle): 
5695         * objects/flowchart/parallelogram.c (pgram_move_handle): 
5696         * objects/flowchart/ellipse.c (ellipse_move_handle): 
5697         * objects/flowchart/diamond.c (diamond_move_handle): 
5698         * objects/flowchart/box.c (box_move_handle): 
5700         * objects/custom/custom_object.c (custom_move_handle): 
5702         * objects/chronogram/chronoref.c (chronoref_move_handle): 
5703         * objects/chronogram/chronoline.c (chronoline_move_handle): 
5705         * objects/SADT/box.c (sadtbox_move_handle): 
5706         * objects/SADT/arrow.c (sadtarrow_move_handle): 
5707         * objects/SADT/annotation.c (annotation_move_handle): 
5709         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
5711         * objects/GRAFCET/vergent.c (vergent_move_handle): 
5712         * objects/GRAFCET/vector.c (arc_move_handle): 
5713         * objects/GRAFCET/transition.c (transition_move_handle): 
5714         * objects/GRAFCET/step.c (step_move_handle): 
5715         * objects/GRAFCET/condition.c (condition_move_handle): 
5716         * objects/GRAFCET/action.c (action_move_handle): 
5718         * objects/FS/function.c: 
5719         * objects/FS/flow.c: 
5720         * objects/FS/flow-ortho.c (orthflow_move_handle): 
5721         * objects/FS/flow-poly.c (flow_move_handle): 
5723         * objects/UML/usecase.c (usecase_move_handle): 
5724         * objects/UML/state_term.c (state_move_handle): 
5725         * objects/UML/state.c (state_move_handle): 
5726         * objects/UML/small_package.c (smallpackage_move_handle): 
5727         * objects/UML/realizes.c (realizes_move_handle): 
5728         * objects/UML/object.c (objet_move_handle): 
5729         * objects/UML/note.c (note_move_handle): 
5730         * objects/UML/node.c (node_move_handle): 
5731         * objects/UML/message.c (message_move_handle): 
5732         * objects/UML/lifeline.c (lifeline_move_handle): 
5733         * objects/UML/large_package.c (largepackage_move_handle): 
5734         * objects/UML/implements.c (implements_move_handle): 
5735         * objects/UML/generalization.c (generalization_move_handle): 
5736         * objects/UML/fork.c (fork_move_handle): 
5737         * objects/UML/dependency.c (dependency_move_handle): 
5738         * objects/UML/constraint.c (constraint_move_handle): 
5739         * objects/UML/compprop.c (compprop_move_handle): 
5740         * objects/UML/component.c (component_move_handle): 
5741         * objects/UML/branch.c (branch_move_handle): 
5742         * objects/UML/association.c (association_move_handle): 
5743         * objects/UML/actor.c (actor_move_handle): 
5744         * objects/UML/activity.c (state_move_handle): 
5745         * objects/UML/class.c (umlclass_move_handle): 
5747         * objects/standard/ellipse.c (ellipse_move_handle): 
5748         * objects/standard/zigzagline.c (zigzagline_move_handle): 
5749         * objects/standard/textobj.c (textobj_move_handle): 
5750         * objects/standard/polyline.c (polyline_move_handle): 
5751         * objects/standard/polygon.c (polygon_move_handle): 
5752         * objects/standard/line.c (line_move_handle): 
5753         * objects/standard/image.c (image_move_handle): 
5754         * objects/standard/bezier.c (bezierline_move_handle): 
5755         * objects/standard/arc.c (arc_move_handle): 
5756         * objects/standard/beziergon.c (beziergon_move_handle): 
5757         * objects/standard/box.c (box_move_handle): 
5758         
5759         * objects/ER/relationship.c (relationship_move_handle): 
5760         * objects/ER/participation.c (participation_move_handle): 
5761         * objects/ER/entity.c (entity_move_handle): 
5762         * objects/ER/attribute.c (attribute_move_handle): 
5763         
5764         * lib/polyshape.c (polyshape_move_handle): 
5765         * lib/polyshape.h: 
5766         * lib/orth_conn.c (orthconn_move_handle): 
5767         * lib/orth_conn.h: 
5768         * lib/neworth_conn.c (neworthconn_move_handle): 
5769         * lib/neworth_conn.h: 
5770         * lib/element.c (element_move_handle): 
5771         * lib/element.h: 
5772         * lib/connection.c (connection_move_handle): 
5773         * lib/connection.h: 
5774         * lib/beziershape.c (beziershape_move_handle): 
5775         * lib/beziershape.h: 
5776         * lib/bezier_conn.c (bezierconn_move_handle): 
5777         * lib/bezier_conn.h: 
5778         *BINARY COMPATIBILITY CHANGE*
5779         Update prototype for *_move_handle() to include connectionpoint,
5780         and also pass on modifiers.  Pass in connectionpoint where
5781         applicable. 
5782         
5783         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
5784         file connectionpoint.c.
5786 2003-08-17  Danilo Šegan  <dsegan@gmx.net>
5788         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
5790 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5792         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
5794         * lib/beziershape.c (beziershape_update_data): Autoroute
5795         directions for beziershapes!
5797         * lib/connectionpoint.c (find_slope_directions): 
5798         * lib/connectionpoint.h: Function for finding the available
5799         directions on a slope.
5801         * lib/polyshape.c: Reasonable directions for
5802         connectionpoints.       
5804 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5806         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
5807         * objects/GRAFCET/vergent.c (vergent_update_data): 
5808         * objects/GRAFCET/transition.c (transition_update_data): 
5809         * objects/GRAFCET/action.c (action_update_data): 
5810         * objects/GRAFCET/step.c (step_update_data): 
5811         * objects/FS/function.c (function_update_data): 
5812         * lib/connpoint_line.c (connpointline_putonaline): 
5813         * objects/ER/attribute.c (attribute_update_data): 
5814         * objects/ER/entity.c (entity_update_data): 
5815         * objects/ER/relationship.c (relationship_update_data): 
5816         * objects/chronogram/chronoline.c (chronoline_update_data): Set
5817         directions for connection points.
5819         * objects/UML/component.c (component_create): Set to allow
5820         parenting. 
5822         * app/create_object.c (create_object_button_press): 
5823         * app/diagram.[ch] (diagram_find_clicked_object_except): 
5824         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
5825         Avoid parenting to objects you're connecting to (otherwise you
5826         couldn't make a connection out of a parenting object).  To do
5827         this, added functions to find the nearest object except a given
5828         list of objects.
5829         
5830         * app/render_libart.c: Rearrange libart include to avoid multiple
5831         include program (and put libart includes inside #ifdef!)
5833 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5835         * lib/dialibartrenderer.c: Don't include art_config.h if others
5836         also do, as it isn't #ifdef'd.
5838         * objects/flowchart/ellipse.c (ellipse_update_data): Add
5839         directions for connection points.
5841 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5843         * objects/flowchart/box.c (box_update_data): Add directions, use
5844         connpoint_update. 
5845         (box_load): Use g_malloc0.
5847         * lib/Makefile.am (libdia_la_SOURCES):
5848         * lib/connectionpoint.c (connpoint_update): 
5849         Function to call to update a connection point info in _update_data().
5850         
5851         * lib/connectionpoint.h: Convenience DIR_ macros.
5853         * app/preferences.c (prefs_data): Make pretty formatted XML the
5854         default.
5856         * lib/dialibartrenderer.c: 
5857         * app/render_libart.c: Make sure art_config.h is included, cause
5858         some libart headers are broken.
5860         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
5861         after test.  Add freetype-config cflags to cflags variable.
5863 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5865         * app/authors.h: Credits for Krzysztof.
5867         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
5868         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
5869         than the description) is visible in the title of the properties
5870         dialog.  That ought to be a short description (translatable),
5871         though we still want long descriptions for the tooltips.  Hmmm...
5873         * configure.in: Updated to use AC_LINK_IFELSE instead of
5874         AC_TRY_COMPILE, also force to link to check libs on Solaris.
5876         * objects/ER/entity.c (entity_load): 
5877         * objects/ER/attribute.c (attribute_load): 
5878         * lib/attributes.c (attributes_set_default_font): 
5879         Check if font is non-null before unreffing.
5880         
5881 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5883         * app/diagram.c (diagram_ungroup_selected) 
5884         (diagram_group_selected): Use the undo apply to make sure grouping
5885         and ungrouping is done in consistent manners.  This removes a fair
5886         amount of duplicated code from diagram.c.
5888         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
5889         (group_objects_revert, group_objects_apply): Working undo/redo for
5890         diagram tree updates.  The initial actions still don't quite work.
5892 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5894         * app/create_object.c (create_object_button_press): 
5895         * app/undo.[ch]: 
5896         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
5897         undo only for manipulating the parent/child relationships.  Things
5898         like removing an object doesn't use the undo functions for
5899         parenting, so any updates to come (like to diagramtree) should be
5900         done in those, too.
5902 2003-08-03  Hans Breuer  <hans@breuer.org>
5904         * app/create_object.c : minor formating and g_new0 for
5905         tool creation
5907         * lib/bezier_conn.[hc] lib/beziershape.[hc]
5908           lib/prop_geomtypes.c (prop_geomtypes_register)
5909           objects/standard/bezier.c objects/standard/beziergon.c :
5910         ability to set bezpoints via StdProp api
5912         * plug-ins/python/pydia-property.c : convert list of tuples
5913         to BEZPOINTARRAY
5915         *  plug-ins/python/diasvg_import.py : use it to
5916         implement part of path parsing. Also minor improvements
5917         like inheritance of group attributes to members,
5918         whitespace, title and style:text/css ignoring ;-)
5920 2003-08-02  Hans Breuer  <hans@breuer.org>
5922         * lib/connections.c (connection_move_handle): return
5923         something to make it compile
5924         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
5925         must return a value -> dito
5926         [Is there a warnings-as-errors switch we could use with gcc 
5927          to avoid such in future ?]
5929         * plug-ins/python/pydia-object.h : define *_Check macros
5930         * plug-ins/python/diamodule.c : provide dia.group_create()
5931         * plug-ins/python/pydia-diagramdata.c : add 
5932         DiaDiagramData.add_layer()
5933         * plug-ins/python/pydia-property.c : allow to set color by
5934         tuple of doubles
5936         *  plug-ins/python/diasvg_import.py : based on the above
5937         implement a) group support, b) rgb(1,2,3) color handling,
5938         and somewhat fishy data:image/png;base64 support (create
5939         temporary files from inline image data)
5940         d) dump the import errors as text into an 'Error' layer
5942         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
5943         stray " in draw_rect and corrected error message formating 
5945         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
5946         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
5947         Jacobowitz.
5948         
5949 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5951         * app/magnify.c (create_magnify_tool): allocate with g_new0()
5953         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
5954         preferences values (see bug 118570). Also group items into a GtkFrame.
5956 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5958         * app/menus.c:
5959         * app/menus.h:
5960         * app/commands.h: 
5961         * app/commands.c (objects_unparent_children_callback): 
5962         * app/diagram.h: 
5963         * app/diagram.c (diagram_unparent_selected,
5964         (diagram_update_menu_sensitivity): 
5965         Added unparenting of single children.
5967         * lib/bezier_conn.c:
5968         * lib/bezier_conn.h:
5969         * lib/beziershape.c:
5970         * lib/beziershape.h:
5971         * lib/connection.c:
5972         * lib/connection.h:
5973         * lib/element.c:
5974         * lib/element.h:
5975         * lib/group.c:
5976         * lib/neworth_conn.c:
5977         * lib/neworth_conn.h:
5978         * lib/object.h:
5979         * lib/orth_conn.h:
5980         * lib/poly_conn.c:
5981         * lib/poly_conn.h:
5982         * lib/polyshape.c:
5983         * lib/polyshape.h:
5984         * objects/EML/instantiation.c:
5985         * objects/EML/interaction-ortho.c:
5986         * objects/EML/interaction.c:
5987         * objects/EML/process.c:
5988         * objects/ER/attribute.c:
5989         * objects/ER/entity.c:
5990         * objects/ER/participation.c:
5991         * objects/ER/relationship.c:
5992         * objects/FS/flow-ortho.c:
5993         * objects/FS/flow-poly.c:
5994         * objects/FS/flow.c:
5995         * objects/FS/function.c:
5996         * objects/GRAFCET/action.c:
5997         * objects/GRAFCET/condition.c:
5998         * objects/GRAFCET/step.c:
5999         * objects/GRAFCET/transition.c:
6000         * objects/GRAFCET/vector.c:
6001         * objects/GRAFCET/vergent.c:
6002         * objects/Misc/analog_clock.c:
6003         * objects/SADT/annotation.c:
6004         * objects/SADT/arrow.c:
6005         * objects/SADT/box.c:
6006         * objects/UML/activity.c:
6007         * objects/UML/actor.c:
6008         * objects/UML/association.c:
6009         * objects/UML/branch.c:
6010         * objects/UML/class.c:
6011         * objects/UML/classicon.c:
6012         * objects/UML/component.c:
6013         * objects/UML/constraint.c:
6014         * objects/UML/dependency.c:
6015         * objects/UML/fork.c:
6016         * objects/UML/generalization.c:
6017         * objects/UML/implements.c:
6018         * objects/UML/large_package.c:
6019         * objects/UML/lifeline.c:
6020         * objects/UML/message.c:
6021         * objects/UML/node.c:
6022         * objects/UML/note.c:
6023         * objects/UML/object.c:
6024         * objects/UML/realizes.c:
6025         * objects/UML/small_package.c:
6026         * objects/UML/state.c:
6027         * objects/UML/state_term.c:
6028         * objects/UML/usecase.c:
6029         * objects/chronogram/chronoline.c:
6030         * objects/chronogram/chronoref.c:
6031         * objects/custom/custom_object.c:
6032         * objects/flowchart/box.c:
6033         * objects/flowchart/diamond.c:
6034         * objects/flowchart/ellipse.c:
6035         * objects/flowchart/parallelogram.c:
6036         * objects/network/bus.c:
6037         * objects/network/wanlink.c:
6038         * objects/standard/arc.c:
6039         * objects/standard/bezier.c:
6040         * objects/standard/beziergon.c:
6041         * objects/standard/box.c:
6042         * objects/standard/ellipse.c:
6043         * objects/standard/image.c:
6044         * objects/standard/line.c:
6045         * objects/standard/polygon.c:
6046         * objects/standard/polyline.c:
6047         * objects/standard/textobj.c:
6048         * objects/standard/zigzagline.c:
6049         Binary compatibility update:  Added return value for foo_move() and
6050         foo_move_handle().  Orthconn derivatives also returns change from
6051         orthconn_move_handle().
6052         
6053         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
6054         doesn't support it yet.
6056         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
6057         Add returning ObjectChange from object moves.  Needs to handle
6058         multiple object moves.
6060         * app/modify_tool.c (modify_motion, modify_release): Add
6061         ObjectChange from move & move_handle to undo stack.
6063         * objects/EML/instantiation.c (instantiation_move): Removing
6064         duplicate move & update.
6066 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6068         * plug-ins/xfig/xfig-export.c: Added support for arrow head
6069         export.  Many arrow types not supported by XFig, replacing those
6070         with standard arrows.  Not sure whether it'd be better to render
6071         them as a group of lines instead.  You'd lose the arrow-ness for
6072         further editing, but preserve the actual shape of it.  Also added
6073         support for dash length.
6075         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
6077         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
6078         description for version 3.2, for reference.
6080         * plug-ins/xfig/xfig-import.c: Added import of arrows.
6082         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
6083         Align Vertical Adjacent call _v rather than _h.
6085 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
6087         * app/scroll_tool.c (create_scroll_tool): 
6088         * app/modify_tool.c (create_modify_tool): use g_new0() to
6089         initialize the tool
6091 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6093         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
6095 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
6097         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
6099 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
6101         * configure.in: Added Belarusian to ALL_LINGUAS.
6103 2003-07-19  Hans Breuer  <hans@breuer.org>
6105         [
6106          Make the xslt plug-in work on win32, too. It appears
6107          to require a quite recent version of libxml and libxslt,
6108          otherwise windoze pathes aren't translated correctly
6109          during file processing
6110         ]
6112         * plug-ins/xslt/xslt.h : #include <glib.h> before 
6113         using G_OS_WIN32
6115         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
6116         the 'script' file finding similar to how it is done
6117         with the python scripts (no need for hardcoded pathes,
6118         removed the 'plugin' part from the path)
6120         * plug-ins/xslt/stylesheets.xml : added again. It does
6121         not have any path but only the pure filename again
6123         * plug-ins/xslt/stylesheets.xml.in : removed
6125         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
6126         rule to process stylesheets.xml.in
6128         * plug-ins/makefile.msc : added xslt
6130 2003-07-19  Hans Breuer  <hans@breuer.org>
6132         Finally Dia learned to remember the recent selected sheet
6134         * app/preferences.[hc] : added prefs.recent_sheet
6135         * app/interface.c : restore and remember the sheet-option-menu
6136         history, but only if the respective number is stiil available.
6137         This additional adds robustness against running Dia without
6138         any sheet (e.g. installation problems)
6139         * app/app_procs.c : call prefs_safe() in app_exit() to remember
6140         changes which are not done by the prefernces dialog
6142         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
6143         removed every call (especially the conditional ones) to prefs_safe().
6144         Before prefs_safe() was called _many_ times during Dia startup
6146 2003-07-18  Hans Breuer  <hans@breuer.org>
6148         * app/makefile.msc lib/makefile.msc lib/libdia.def :
6149         updated win32 build
6151         * lib/color.c : use gtk_widget_get_default_visual();
6152         as suggested in #114536
6154         * app/interface.c app/disp_callbacks.c :
6155         moved round_up () to the latter file where it is used
6157         * app/linewidth_area.c : #include "interface.h" for
6158         interface_get_toolbox_shell()
6160 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
6162         * plug-ins/pixbuf/.cvsignore
6163         * shapes/Cisco/.cvsignore: 
6164         added cvsignore
6166 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6168         * app/dia-props.c (diagram_properties_retrieve): Use
6169         diagram_get_name() to add the diagram name to the diagram
6170         properties dialog.
6172         * app/diagram.h: 
6173         * app/diagram.c (diagram_get_name): New function to get a
6174         reasonable diagram name.
6176         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6177         info.  Still need to be able to set dynamic grid.  Also ought to
6178         follow Gnome style and have instant apply.
6180         * app/preferences.h: 
6181         * app/preferences.c (prefs_data): Remove option to use stippled
6182         grid, add option for major line offset.  Default to 5 minor lines
6183         per major line.
6184         Add option for dynamically sized grid.
6186         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6188         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
6189         stippled/solid to display minor/major grid lines.  Line drawing in
6190         separate functions away from calculating line distance.
6192         * app/grid.h: Split page break drawing out of grid_draw.
6194         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
6195         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
6196         when menu item is selected.
6198 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6200         * configure.in: Removed -Winline flag to make way for important
6201         warnings. 
6203         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
6204         non-compressed.  Should fix bug #117381, also look prettier.
6205         
6206         * Makefile.am: 
6207         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
6208         Set up desktop info more properly.
6210 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6212         * activity.c:
6213         * actor.c:
6214         * branch.c:
6215         * class.c:
6216         * classicon.c:
6217         * component.c:
6218         * large_package.c:
6219         * lifeline.c:
6220         * node.c:
6221         * note.c:
6222         * object.c:
6223         * small_package.c:
6224         * state.c:
6225         * state_term.c:
6226         * usecase.c: 
6227         Autorouting directions patch from Krzysztof Foltman
6228         <kfoltman@onet.pl>.
6230         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
6231         GNOME parent menu items.
6232         
6233         * app/authors.h: Added Vadim to contributors list.
6235 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6237         * app/commands.[ch]: 
6238         * app/create_object.c: 
6239         * app/disp_callbacks.[ch]: 
6240         * app/diagram.[ch]: 
6241         * app/interface.c: 
6242         * app/load_save.c: 
6243         * app/menus.[ch]:
6244         * app/modify_tool.c
6245         * app/undo.[ch]:
6246         * lib/Makefile.am:
6247         * lib/group.c: 
6248         * lib/object.[ch]: 
6249         * lib/parent.[ch]:
6250         * objects/UML/large_package.c: Patch from Vadim Berezniker
6251         <vadim@berezniker.com>: 
6252         Objects may "parent" other objects, i.e. contain them within
6253         themselves, restrain them and move them along.  Some more stuff is
6254         needed, such as selection and individual unparenting.  This adds
6255         parenting to UML - Large Package rather than Box.
6257 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6259         * app/linewidth_area.c: Patch from Krzysztof Foltman
6260         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
6261         conform more, at least:).
6263         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
6264         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
6265         arcs.  Implemented images (though there is some pixelization and
6266         banding in the output).  Changed output file format to be a little
6267         more readable.  
6269         * app/app_procs.c (app_exit): Added message for double exit, which
6270         shouldn't happen any more.  Also preventing strange g_object_unref
6271         messages by having a printf after gtk_main_quit.  This is really
6272         weird.
6274         * app/interface.c (toolbox_delete): Avoid double app_exit call by
6275         removing handler for destroy when delete is called.
6277 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6279         * app/display.h: 
6280         * app/display.c (ddisplay_scroll_to_object,
6281         ddisplay_scroll_center_point):  New function for easy scrolling to
6282         object or point.
6284 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6286         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
6287         $(srcdir) on stylesheets.xml.
6289         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
6290         diagram menus (since they're at the top by default now).  Also
6291         move the Properties... menu item from Dialogs to Objects.  Dialogs
6292         menu should disappear at some point.
6294         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
6295         ./configure from ./autogen.sh, as configure may need to be run
6296         from a different directory.  (Also more standard this way.)
6298         * app/app_procs.c (app_init): 
6299         * app/Makefile.am (INCLUDES): Gnome standardization patch from
6300         Alex. 
6302 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6304         * objects/flowchart/parallelogram.c (pgram_update_data):
6305         Left/right alignment for parallelograms.  Doesn't use all
6306         available space, but then pgrams also ignore their shear value.
6307         This thing needs a loving hand.
6309 2003-07-01  Hans Breuer  <hans@breuer.org>
6311         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
6312         * lib/proplist.c : don't complain if optional attr is missing
6313         * lib/orth_conn.h : make "orth_autoroute" optional to
6314         stop complaining with older files.
6316 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
6318         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
6320 2003-06-05  Andrew Halper  <ashalper@cox.net>
6322         * app/diagram_tree.c : add scrolling of drawing area
6323         to desired object on "Locate".  Patch modified to use new ddisplay
6324         function ddisplay_scroll_to_object().
6326 2003-06-11  Lars Clausen  <lars@raeder.dk>
6328         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6329         info.  Before next version, the grid dialog (view dialog, really)
6330         must be redone to allow a) instant apply, b) apply to all
6331         diagrams, and c) setting colour, dynamic, major lines.
6333         * app/preferences.h: 
6334         * app/preferences.c (prefs_data): Remove option to use stippled
6335         grid, add option for major line offset.  Default to 5 minor lines
6336         per major line.
6337         Add option for dynamically sized grid.
6339         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6341         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
6342         stippled/solid to display minor/major grid lines.  Line drawing in
6343         separate function away from calculating line distance.
6345         * app/grid.h: Split page break drawing out of grid_draw.
6347 2003-05-15  Hans Breuer  <hans@breuer.org>
6349         * plug-ins/python/diasvg.py : add xlink definition,
6350         also avoid to put spaces into attribute values. At least
6351         Sodipodi doesn't like them in width/height attributes
6353         * plug-ins/python/diasvg_import.py : add simple scaling.
6354         Some (more) handling for <svg>, <desc>, <circle>        
6356         * plug-ins/python/scascale.py : (new file) which does
6357         some experimental scaling via StdProp api
6359         * plug-ins/python/pydia-cpoint.c 
6360           plug-ins/python/pydia-handle.c : return PyDiaPoint for
6361         obj.pos not simple tuples. PyDiaPoint has a tuple interface
6362         so this may even be api compatible ...
6364 2003-05-11  Hans Breuer  <hans@breuer.org>
6366         * app/line_area.c : add window position persitence
6368         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
6369         'poly_points' via StdProp api
6370         * lib/neworth_conn.h : don't rely on OrthConn and 
6371         NewOrtConn having the same struct offsets
6373         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
6374         to help separating 'useful' properies - in terms of
6375         the PyDia access
6377         * objects/custom/custom_object.c
6378           objects/UML/*.c
6379         add the missing prop_desc_list_calculate_quarks to
6380         all the *_describe_props()
6382         * objects/standard/beziergon.c objects/standard/bezier.c :
6383         explicit initializtion of default_user_data
6384         * objects/standard/polygon.c objects/standard/polyline.c :
6385         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
6387         * plug-ins/python/diamodule.c : implement dia.register_import
6389         * plug-ins/python/makefile.msc : need to link with Pango
6390         for pango_color_parse()
6392         * plug-ins/python/pydia-property.c : add a bunch of type
6393         conversions to PyDiaProperty_ApllyToObject()
6395         * plug-ins/python/diasvg_import.py : (new file) which currently
6396         is mainly a stress test for PyDia but for some files already
6397         produces better results than svg-import.c
6399 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6401         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
6402         type-less operations.
6404 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
6406         * configure.in(ALL_LINGUAS): Added "ms".
6408 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6410         * plug-ins/xslt/xslt.c (xslt_ok): 
6411         * plug-ins/shape/shape-export.c (new_shape_renderer): 
6412         * plug-ins/svg/render_svg.c (new_svg_renderer): 
6413         * plug-ins/hpgl/hpgl.c (export_data): 
6414         * plug-ins/dxf/dxf-export.c (export_dxf): 
6415         * plug-ins/metapost/render_metapost.c (export_metapost): 
6416         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
6417         * plug-ins/xfig/xfig-export.c (export_fig): 
6418         * plug-ins/wpg/wpg.c (export_data): 
6419         * plug-ins/cgm/cgm.c (export_cgm): 
6420         * app/render_eps.c (export_eps): 
6421         * app/export_png.c (export_png_ok): 
6422         * app/load_save.c (diagram_data_save): Adding and standardizing
6423         output file error messages to include fopen error message.
6425 2003-05-01  Steffen Macke <sdteffen@web.de>
6427         * app/persistence.c: do not use unistd.h for MSVC build
6429 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6431         * sheets/Assorted.sheet.in
6432         * sheets/Circuit.sheet.in
6433         * sheets/Contact.sheet.in
6434         * sheets/EML.sheet.in
6435         * sheets/ER.sheet.in
6436         * sheets/Electric.sheet.in
6437         * sheets/FS.sheet.in
6438         * sheets/Flowchart.sheet.in
6439         * sheets/GRAFCET.sheet.in
6440         * sheets/Logic.sheet.in
6441         * sheets/MSE.sheet.in
6442         * sheets/Misc.sheet.in
6443         * sheets/Pneumatic.sheet.in
6444         * sheets/SADT.sheet.in
6445         * sheets/SDL.sheet.in
6446         * sheets/UML.sheet.in
6447         * sheets/chronogram.sheet.in
6448         * sheets/ciscohub.sheet.in
6449         * sheets/ciscomisc.sheet.in
6450         * sheets/cisconetwork.sheet.in
6451         * sheets/ciscorouter.sheet.in
6452         * sheets/civil.sheet.in
6453         * sheets/network.sheet.in
6454         * sheets/sybase.sheet.in:
6455         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
6456         standardizes shape descriptions to use no articles, no 'create
6457         ...'.
6458         
6459         * app/interface.c (tool_data): Standard objects follow same
6460         standard as sheets.
6462 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6464         * app/color_area.c (color_area_edit): More informative title on
6465         color selection dialog.
6467         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
6468         sensitivity when dropping object in.  Also reset tool to pointer.
6470         * objects/flowchart/diamond.c (diamond_update_data): 
6471         * objects/flowchart/parallelogram.c (pgram_update_data): Added
6472         left and right alignment options.
6474 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6476         * objects/flowchart/box.c: Added left and right alignment options.
6478 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6480         * app/persistence.c (persistence_load): Test existence of
6481         persistence file before trying to open it.
6483 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6485         * app/properties.c: Escape now closes properties dialogs.
6487 2003-04-25  Hans Breuer  <hans@breuer.org>
6489         * app/config.h.win32 : bump version to 0.91+cvs
6491         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
6493         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
6495         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
6496         returns NULL
6498         * app/presistence.c : need to #include "dia_xml_libxml.h"
6499         for xmlDiaParseFile
6501         * app/layer_dialog.c : make delayed creation work by protecting
6502         all non static layer_dialog_*() with :
6503            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
6504              create_layer_dialog();
6505         * app/app_procs.c : removed /* create_layer_dialog(); */
6507         * objects/uml/association.c : give it a minimal StdProp
6508         implementation to fix bug #108896
6509         * lib/object_defaults.c : don't try to copy props if there
6510         is no obj->ops->describe_props
6512 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6514         * objects/standard/image.c (image_create): 
6515         * objects/standard/ellipse.c (ellipse_create): 
6516         * objects/standard/box.c (box_create): 
6517         * objects/flowchart/ellipse.c (ellipse_create): 
6518         * objects/flowchart/diamond.c (diamond_create): 
6519         * objects/flowchart/box.c (box_create): 
6520         * objects/custom/custom_object.c (custom_create): 
6521         * objects/ER/relationship.c (relationship_create): 
6522         * objects/ER/entity.c (entity_create): 
6523         * objects/ER/attribute.c (attribute_create): Initialize
6524         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
6526         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
6527         alignment. 
6529         * configure.in: 
6530         * plug-ins/Makefile.am: 
6531         * plug-ins/xslt/Makefile.am: 
6532         * plug-ins/xslt/xslt.c (dia_plugin_init): 
6533         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
6534         automake-style if to only include xslt dir when needed.  Works
6535         with automake 1.4 and up, at least.
6537 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6539         * lib/diasvgrenderer.c (draw_string): 
6540         * lib/dia_svg.c (dia_svg_parse_style): Use
6541         text-anchor:(start|middle|end).
6543         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
6544         polygon rather than polyline & avoid missing line pieces.
6545         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
6546         black-filled things.
6548 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6550         * app/persistence.c (persistence_load): Check that persistence
6551         file exists before trying to read it.
6552         (persistence_update_window): Removed printf.
6554         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
6556         * lib/autoroute.c: Take badness into the layouters again, as some
6557         of them know they can do things that are pretty but would be
6558         counted as ugly by the default calculation.
6560         * objects/UML/large_package.c: Shrink package name box when no
6561         stereotype is present.
6563         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
6564         * lib/orth_conn.c: Added object menu item for autorouting.
6566         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
6567         Autorouting, plus set initial dragging handle to be the end, not
6568         the middle.
6569         (orthflow_draw): Flipped arrow place to be at the end, as
6570         originally intended (got lost in arrow update).
6572         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
6573         * objects/UML/dependency.c (dependency_get_object_menu): 
6574         * objects/UML/association.c (association_get_object_menu): 
6575         * objects/UML/realizes.c (realizes_get_object_menu): 
6576         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
6577         * objects/GRAFCET/vector.c (arc_get_object_menu): 
6578         * objects/ER/participation.c (participation_get_object_menu): 
6579         * objects/EML/instantiation.c (instantiation_get_object_menu): 
6580         * objects/UML/generalization.c (generalization_get_object_menu): 
6581         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
6582         Autorouting setup (currently disabled for SADT/arrow).
6583         
6584 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6586         * lib/autoroute.c: Removed printfs.
6588         * lib/orth_conn.c: 
6589         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
6590         non-connected orthconns too.
6592 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6594         * lib/orth_conn.h: 
6595         * lib/orth_conn.c: Function to set autorouting on/off, use
6596         autorouting in move_handle (turns off when a middle handle is
6597         moved), added to standard orthconn props. 
6599         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
6600         Stopped signal emission for check menu items being set to on/off.
6602         * objects/standard/zigzagline.c: Added autorouting object menu item.
6604         * lib/autoroute.c: Added last cases of autoroute layout, fixed
6605         floating point comparison bug, cleaned up layouters, tweaked
6606         badness to allow kinks. 
6608 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6610         * lib/connectionpoint.h: Changed DIR_* macros to go around the
6611         clock. 
6613         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
6614         points at once.
6615         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
6616         old cruft, added call to autoroute (currently cannot be turned
6617         off).  Need to check what undo thinks about this.
6618         * lib/autoroute.[ch]: Fairly working simple layout.
6620         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
6621         * lib/autoroute.[ch]: Start of proper autorouting functionality.
6623 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6625         * lib/prop_widgets.c: Show labels on ListProp.
6627 2003-04-11  Steffen Macke <sdteffen@web.de>
6629         * doc/en/dia-manual.xml: removed reference of non-existing authors 
6630         note.
6631         * doc/en/usage-objects-selecting: commented out misleading section
6632         references.
6634 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6636         * app/app_procs.c (app_init): Layer window now opened at startup
6637         only if needed.
6639         * lib/prop_widgets.c: Show labels on ListProp.
6641 2003-04-09  Steffen Macke <sdteffen@web.de>
6643         * doc/en/*.sgml: removed files
6644         * doc/en/*.xml: added files
6645         * doc/en/Makefile.am: switched to XML DocBook
6647 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6649         * plug-ins/xslt/xslt.c (dia_plugin_init): 
6650         * configure.in: Added --with-xslt-prefix to allow other XSLT
6651         placements than /usr/lib.
6653 2003-04-09  Steffen Macke <sdteffen@web.de>
6655         * lib/makefile.mingw: updated to include latest files, including 
6656         and linking libintl
6657         * lib/geometry.h: don't define isinf and finite for mingw gcc build
6659 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6661         * app/persistence.h:
6662         * app/persistence.c (persistence_register_window_create): 
6663         * app/app_procs.c (app_init): 
6664         Register window function that doesn't create the window unless it
6665         should be open.  Other windows should move to this, so startup
6666         speed can be reduced.
6667         
6668         * app/persistence.h: Removed call prototype for update_window, now
6669         done internally.
6670         * app/persistence.c (persistence_register_window): A number of
6671         fixes.  Doesn't forget position when window is closed.  Now
6672         actually loads prefs.
6674         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
6675         event connect.
6677         * app/preferences.c (prefs_data): 
6678         * app/diagram_tree_window.h: 
6679         * app/diagram_tree_window.c: Added persistence registering.
6680         Removed prefs items storing size and openness. 
6682         * app/sheets_dialog.c (create_sheets_main_dialog): Added
6683         persistence registering.  
6685         * app/Makefile.am (dia_core_files): Added persistence files.
6687         * lib/dia_dirs.h: 
6688         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
6689         that dirs are present.
6691         * app/app_procs.c (app_init): Loads persistent values on startup.
6692         (app_exit): Saves persistent values on exit.
6694         * app/layer_dialog.c (create_layer_dialog): Registers the layer
6695         window for persistence.
6697         * app/persistence.[ch]: New files handling various kinds of
6698         persistence.
6700 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6702         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
6703         head spacing calculations.  Added half-circle arrow from Matthieu
6704         Sozeau <mattam@netcourrier.com> 
6706 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6708         * app/app_procs.c (app_init): Moved layer dialog init to allow
6709         tooltips to be initialized.
6711         * app/interface.c (create_display_shell): More tooltips.
6713         * app/linewidth_area.c (linewidth_area_create) 
6714         (linewidth_area_events): 
6715         * app/color_area.c (color_area_events, color_area_create): 
6716         Made tooltips work by embedding drawing_area in event_box.
6718         * app/interface.c (create_display_shell,
6719         (create_lineprops_area, create_color_area): Added a few tooltips.
6721 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6723         * app/pixmaps/off-grid.xpm: 
6724         * app/pixmaps/on-grid.xpm: 
6725         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
6727         * app/display.h: 
6728         * app/commands.c (view_snap_to_grid_callback): 
6729         * app/display.c (ddisplay_set_snap_to_grid) 
6730         (update_snap_grid_status): 
6731         * app/interface.c (create_display_shell, grid_toggle_snap): 
6732         Added snap-to-grid status button.
6734 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6736         * app/app_procs.c (app_init): Create a new diagram if a file on
6737         the command line isn't found.
6739 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6741         * lib/dialibartrenderer.c (draw_string): Correct color handling
6742         for AA.
6744 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6746         * NEWS: 
6747         * doc/en/dia-manual.sgml: 
6748         * doc/pl/dia-manual.sgml: 
6749         * configure.in: 
6750         * dia.spec (Release): 
6751         Version 0.91 is here!
6753 2003-02-10  Steffen Macke <sdteffen@web.de>
6755         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
6756         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
6757         non-ANSI characters, closes #107980
6759 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6761         * configure.in: 
6762         * NEWS: 
6763         * dia.spec (Release): 
6764         * doc/en/dia-manual.sgml: Upping to pre6.
6766         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
6768         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
6769         #107511:  Make arrow selector for correct arrow type.
6771 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6773         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
6774         EXTRA_DIST.
6776 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6778         * doc/en/dia-manual.sgml: 
6779         * configure.in: 
6780         * NEWS: 
6781         * dia.spec (Release): Upping to pre5.
6783         * configure.in: Add freetype-config derived libs to the
6784         AC_CHECK_LIB statement for freetype.
6786 2003-02-28  Hans Breuer  <hans@breuer.org>
6788         [fix for bug #107203]
6790         * lib/diarenderer.c : add warning 'implementation'
6791         for fill_rect to avoid crashing with a renderer
6792         which does not implement this required function.
6794         * plug-ins/dxf/dxf-export.c : provide - still empty -
6795         'implementations' for fill_rect and fill_polygon 
6796         to suppress the above warnings. Now it works like
6797         in version 0.90 
6799 2003-02-28  Steffen Macke <sdteffen@web.de>
6801         * samples/all_objects.dia: New sheet containing all dia shapes
6802         and objects; one layer per sheet
6803         
6804 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6806         * lib/prop_text.c (multistringprop_get_widget,
6807         multistringprop_reset_widget, multistringprop_set_from_widget): 
6808         Now uses GtkTextView instead of deprecated stuff, and also works:)
6810         * configure.in: Slightly more informative error message for isinf.
6812         * dia.spec (Requires): Require libxml2 rather than libxml.
6814 2003-02-28  Steffen Macke <sdteffen@web.de>
6816         * shapes/Circuit/hjumper.png:
6817         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
6818         jumper shape
6819         
6820 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6822         * doc/en/dia-manual.sgml: 
6823         * configure.in: 
6824         * dia.spec (Release):
6825         * NEWS: New prerelease 0.91pre4, two important fixes.
6827 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6829         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
6830         stylesheets.xml.in 
6832         * app/commands.c (help_manual_callback): More correct URL for help
6833         page (include file://, was broken on Dillo without it).
6835 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6837         * app/disp_callbacks.c: Set modifed when text is changed.
6839         * app/modify_tool.c (modify_button_release): Allow undo for moving
6840         objects.
6842 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6844         * dia.spec: 
6845         * doc/en/dia-manual.sgml: 
6846         * NEWS: 
6847         * configure.in: New prerelease with important bugfix.
6848         * shapes/network/digitizing_board.png:
6849         * shapes/network/plotter.png: Re-adding with -kb.
6850         
6851 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
6853         * app/app_procs.c (app_init): Add comment for translators.
6855 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6857         * lib/filter.c (filter_register_import, filter_register_export):
6858         Don't accept filters with NULL description.
6860         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
6861         (as we assume the description is available in other places).
6863 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6864         
6865         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
6866         * app/display.c (ddisplay_resize_canvas): Use
6867         ddisplay_add_update_all().
6868         (ddisplay_add_update_all): Free display and update lists when
6869         doing update_all, as they'll be regenerated immediately to cover
6870         all visible area.  Fixes bug #106165, crash when resizing.  This
6871         appears to be the original AA crash bug, believed long extinct.
6873 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6875         * app/commands.c (help_manual_callback): Use file: protocol for
6876         help. 
6878         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
6880         * plug-ins/xslt/stylesheets: Removed old-style config file.
6881         
6882         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
6884         * plug-ins/xslt/Makefile.am: 
6885         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
6886         handling (no more DIA_PLUGIN_PATH).
6888 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6890         * plug-ins/svg/render_svg.c: 
6891         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
6893 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6895         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
6896         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
6897         side of the triangle is longer than the hypotenuse.  Rounding
6898         error suspected.
6900 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6902         * NEWS: 
6903         * configure.in: 
6904         * doc/en/dia-manual.sgml: Update for pre2.
6906         * app/menus.c (display_menu_items): Fixed wrongly place separators.
6908         * objects/flowchart/box.c (box_update_data): Applied patch from
6909         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
6910         comment). 
6912         * app/paginate_psprint.c (print_page): Set paper name, so it
6913         convinces ps printers to use to right size.
6915 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6917         * app/properties.c (properties_show): Hide the dialog if the
6918         object is NULL (get rid of 'no properties' randomly popping up).
6920 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6922         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
6923         for diagrams not starting at origo.
6925 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6927         * dia.spec (BuildRequires): Use libxml2-devel.
6929         * plug-ins/pixbuf/Makefile.am: Added to CVS.
6931         * RELEASE-PROCESS: Note on RPM version numbers.
6933         * app/interface.c (create_display_shell): Don't set as toolbar
6934         under Unix, either.  Especially not the diagram shell.  It removes
6935         it from the taskbar and makes it unresizable, always-on-top with
6936         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
6937         appropriate thing, UTILITY, is not good either, you lose resizing
6938         and minimizing/maximizing under OpenBox.
6940         * app/menus.c (display_menu_items): Set delete item to use Delete.
6942 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6944         * dia.spec (BuildRequires, Requires): Updated for Gtk2
6945         requirements.
6947         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
6948         display flush when getting focus in, or we may get an update after
6949         the diagram has been destroyed in some cases.  Fixes bug #105221.
6951         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
6953         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
6955         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
6956         - gnome-compiled Dia will now read files specified on the command line.
6958 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6960         * INSTALL (REQUIREMENTS): Updated requirements section.
6962         * configure.in: Better finite() check from Mårten Svantesson
6963         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
6964         if's. 
6965         
6966 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6968         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
6970         * app/app_procs.c (debug_break): Added some code to avoid
6971         over-eager optimizations removing the call.  Surely there's a
6972         nicer way, but I'm not sure how.
6974         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
6975         that set text to black.
6977 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6979         * NEWS: Mention of Twiki as doc source for Python.
6981         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
6982         libart/libpng is not available.  Later when we have a way of
6983         letting the user pick options in the file select dialog we shall
6984         allow the choice when applicable.
6986 2003-02-02  Steffen Macke <sdteffen@web.de>
6988         * doc/en/usage-loadsave.sgml:
6989         * doc/en/usage-objects.sgml: patch from
6990         James K. Lowden <jklowden@schemamania.org> to fix
6991         some docbook errors
6992         
6993 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6995         * plug-ins/Makefile.am (SUBDIRS): 
6996         * plug-ins/pixbuf/pixbuf.c: 
6997         * plug-ins/pixbuf/Makefile.am: 
6998         * configure.in: 
6999         Added pixbuf plugin to Makefile.am, but for import only.  PNG
7000         export handled by libart, which is better. JPG export is
7001         discouraged.  BMP is not much used on Unix.  Next release will
7002         integrate libart to allow all outputs.
7004 2003-02-01  Hans Breuer  <hans@breuer.org>
7006         * app/preferences.c :
7007         * app/pagesetup.c :
7008         the last two dialogs with 'old' button order finally
7009         are converted to gtk2, no GnomeDialog in all of Dia 
7010         anymore :-) 
7012 2003-02-01  Hans Breuer  <hans@breuer.org>
7014         * app/filedlg.c : don't try to use a button as
7015         'overwrite-file-dialog'-parent, use the FileSelDialog
7016         instead
7018         * plug-ins/pixbuf/pixbuf.c : make it work with 
7019         system-visual-depth < 24. Remove 'bmp' from output
7020         format extensions, it just was wishful thinking.
7022         * plug-ins/python/Makefile.am : added the four new python 
7023         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
7025 2003-02-01  Hans Breuer  <hans@breuer.org>
7027         * NEWS : updated content beside dependencies
7029 2003-02-01  Hans Breuer  <hans@breuer.org>
7031         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
7032         to make it useable across DLL boundaries
7033         * app/lineprops_area.c : same code to access arrow_types
7034         on all platforms
7036         * objects/UML/class.c : the non empty string is e.g.
7037         comment != NULL && comment[0] != '\0'
7038         * objects/UML/uml.c : same here, don't bother with
7039         empty operation stereotypes
7041 2003-02-01  Steffen Macke <sdteffen@web.de>
7043         * app/lineprops_area.c: latest changes do not work on
7044         windows, using old code without tooltips
7045         * makefile.msc: fixed copying of wmf.dll
7046         * plug-ins/makefile.msc: 
7047         * app/makefile.msc:
7048         * lib/makefile.msc: now linking libintl
7049         * config.h.win32: enabling native language support
7051 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7053         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
7054         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
7056 2003-01-31  Daniel Yacob  <locales@geez.org>
7058         * configure.in: Added am (Amharic) to ALL_LINGUAS.
7060 2003-01-31  Steffen Macke <sdteffen@web.de>
7062         * objects/UML/class.c (umlclass_calculate_data): fixed crash
7063         when comments were visible, no class comment available and
7064         a attribute comment
7065          
7066 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7068         * RELEASE-PROCESS: Updated to fit new install-module syntax.
7069         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
7070         with DIA_0_91_PRE1.
7072 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7074         * config.h.win32: 
7075         * NEWS: 
7076         * configure.in:
7077         * dia.spec:
7078         Prerelease version changes, version 0.91-pre1.
7080         * app/sheets_dialog_callbacks.h: 
7081         * app/sheets_dialog_callbacks.c: 
7082         * app/sheets_dialog.c (create_sheets_main_dialog): 
7083         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
7084         to handle destruction of main dialog cleanly, but it's a mess.
7086         * configure.in: Downgraded ieeefp test to make it not produce
7087         illegal shell code.
7089         * lib/widgets.c (dia_arrow_selector_set_arrow): 
7090         (dia_line_style_selector_set_linestyle): Select menu dot
7091         correctly set.
7093         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
7094         adjustment for diamondheads.
7096         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
7098         * app/properties.c (create_dialog): Destroy properties dialog and
7099         box correctly.
7101         * app/sheets_dialog_callbacks.c
7102         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
7103         if the old one is destroyed.
7105 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7107         * app/export_png.c (export_png_ok): Added info on resolution.
7108         Should (next release) improve export dialog to allow setting
7109         resolution instead of pixels.
7111         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
7112         to generate arrowheads as well as tooltips.
7114         * lib/arrows.c: Added hollow diamond to menudesc list.
7116         * lib/arrows.[ch]: 
7117         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
7118         unify with rendered menu.
7120         * lib/diarenderer.c (draw_line_with_arrows)
7121         (draw_polyline_with_arrows, draw_arc_with_arrows)
7122         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
7123         without changing renderer API.  Thanks to David Scherba for
7124         providing inspiration.
7126 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7128         * app/interface.c (create_display_shell):
7129         * app/display.h: Patching from Hubert Figuiere
7130         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
7131         correct menu items.
7133 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7135         * app/defaults.c (defaults_show): Fixed defaults closing bug.
7136         Thanks to Hans for pointing it out.
7138 2003-01-25  Hans Breuer  <hans@breuer.org>
7140         * app/commands.c : don't warn about crashing libart renderer
7141         on win32. It simply doesn't render text anymore :-(
7143         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
7145         * objects/UML/class.c : don't access umlclass->properties_dialog
7146         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
7147         which sets the former to NULL by destroy_properties_dialog() callback.
7149         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
7151         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
7153         * plug-ins/python/pydia-image.c : add image.uri member
7154         not only useful for SVG rendering
7156         * plug-ins/python/diasvg.py : (new file) a more advanced
7157         example. A full blown SVG Renderer, currently only
7158         registered for .svgz
7160         * plug-ins/python/export-object.py : write text props
7162         * plug-ins/python/debug_objects.py : write prop.type and
7163         prop.visible 
7165 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7167         * objects/UML/association.c (association_update_data): Better
7168         bounding box for assoc with arrows.
7170         * lib/properties.h: New flag for properties with multiple values
7171         in groups.
7173         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
7174         arrow updating in dialog.  Was broken due to changes from destroy
7175         fix:(
7177         * app/commands.c (view_aa_callback): AA warning only for Windows
7178         -- I trust the Unix side well enough.
7180         * app/render_libart.c (get_text_width): 
7181         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
7182         font height can be taken from parent instance.
7184         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
7185         (get_text_width): Proper cursor positioning for libart renderer.
7186         Ought to have a DiaInteractiveRenderer that these two can inherit
7187         from, that knows about transform.
7189 2003-01-25  Steffen Macke <sdteffen@web.de>
7191         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
7192         plug-in still not working on win32
7193         
7194 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7196         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
7197         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
7198         thought.
7200 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7202         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
7203         bail out on gtk options.
7205         * lib/message.c (gtk_message_internal): Better handling of destroy
7206         event.
7208 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7210         * app/color_area.c (color_area_edit): 
7211         * lib/widgets.c (dia_file_selector_browse_pressed) 
7212         (dia_color_selector_pressed): 
7213         * app/plugin-manager.c (get_plugin_manager): 
7214         * app/filedlg.c (file_open_callback, file_save_as_callback) 
7215         (file_export_callback):
7216         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
7217         handling of destroy event.
7219 2003-01-22  Alan Horkan <horkana@tcd.ie>
7221         * app/commands.c (file_new_callback): Changed Untitled to Diagram
7222         for default name.
7224 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7226         * app/preferences.c (prefs_create_dialog): 
7227         * app/linewidth_area.c (linewidth_create_dialog): 
7228         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
7229         * app/layer_dialog.c (create_layer_dialog)
7230         (layer_dialog_edit_layer): Correct handling of destroy signal. 
7232         * app/diapsft2renderer.c (set_font): Adjust silly random factor
7233         for change in font.c
7235         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
7237         * lib/font.c (dia_font_build_layout): Let's all use the same weird
7238         factor here.
7240         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
7241         * app/layer_dialog.c (create_layer_dialog) 
7242         (layer_dialog_edit_layer): 
7243         * app/filedlg.c (file_open_callback, file_save_as_callback) 
7244         (file_export_callback): 
7245         * app/dia-props.c (create_diagram_properties_dialog): 
7246         * app/defaults.c (defaults_dialog_destroyed): 
7247         * app/color_area.c (color_area_edit): Dialog destroy event handling.
7249 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7251         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
7252         defaults dialog destroyed.
7254 2003-01-19  Steffen Macke <sdteffen@web.de>
7256         * objects/makefile.msc: added bondgraph
7257         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
7258         to compile pixbuf.dll
7259         * makefile.msc: copying all objects and dlls now
7260         
7261 2003-01-19  Hans Breuer  <hans@breuer.org>
7263         * app/diagram.[hc] : provide dia_open_diagrams(), make
7264         open_diagrams variable static
7265         * app/dia.def : export it (to be used by PyDia)
7266         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
7267           app/display.c app/dynamic_refresh.c app/layer_dialog.c
7268           app/load_save.c : make use of dia_open_diagrams()
7270         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
7271         on win32. It removes the diagram window from the taskbar and
7272         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
7274         * app/menus.c : add '...' to menu entries where a dialog 
7275         gets invoked
7276         * app/recent_files.c app/dia_embedd.c : reflect the above in 
7277         menus_get_item_from_path() calls
7279         * lib/libdia.def : add dia_image_rgba_data
7281         * lib/properties.h lib/prop_text.[hc] : add new property
7282         type StringList
7283         * objects/UML/class.[hc] object/UML/class_dialog.c : use
7284         StringList for attributes_strings and operations_strings to
7285         make this calculated data accessible via the Property API
7287         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
7288         provide dia.new() to create a new diagram, dia.registered_types()
7289         to get on Dia's type registry, dia.message() for simple dialogs
7291         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
7292         to create a new display from a diagram. Let diagram.extents and
7293         diagram.bg_color return the same types as in diagramdata.*
7295         * plug-ins/python/pydia-geometry.c : add a read-only 
7296         'sequence interface' to DiaPoint and DiaRectangle
7298         * plug-ins/python/pydia-property.c : allow to get on StringList
7299         from Python
7301         * plug-ins/python/pydia-render.c : fix typo to make it compile
7303         * plug-ins/python/python-startup.py : removed 'import pygtk'
7304         again. This file does not need any gtk UI, and some python
7305         plug-ins don't do either
7307         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
7308         it should actually work as intended again
7310         * plug-ins/python/group_props.py : (new file) a prototype for
7311         one the most requested features: Change properties of selected
7312         objects in one step. Requires pygtk.
7314         * plug-ins/python/select_by.py : (new file) select objects by 
7315         common properties. Requires pygtk.
7317         [Start of 'PyDia Self Documentation Series']
7319         * plug-ins/python/pydiadoc.py : (new file) generates a new 
7320         diagram which contains all objects of dir(dia)
7321         
7322         * plug-ins/python/otypes.py : (new file) generates a new diagram 
7323         which contains all the currently registered object types sorted 
7324         by their containing package
7326 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7328         * configure.in: Added check for Pango >= 1.1.5, which appears to
7329         be enough to have text work.
7330         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
7331         do it.  AC_SUBST should be idempotent, though.
7333 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7335         * configure.in (HAVE_FREETYPE): Better test for freetype version
7336         using neat macro.
7337         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
7339         * lib/font.c: Renamed global_size_one to global_zoom_factor to
7340         avoid confusion, and added comment.  Set scale factor in
7341         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
7342         my weird scaling problems.  Fonts are now of the expectable size,
7343         i.e. the space between lines at size 1.0 is 1.0.  If we want a
7344         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
7345         diagrams, though there will always be differences.
7347 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7349         * plug-ins/python/python-startup.py: 
7350         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
7352         * plug-ins/python/python.c (dia_plugin_init): Added warning
7353         message for missing startup file.
7355         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
7356         
7357         * lib/dia_image.c (dia_image_rgb_data): 
7358         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
7359         involving EPS.  Can't do transparency in EPS yet.
7361         * lib/dia_image.h: 
7362         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
7363         data as one chunk.  Documentation for the RGB data getting funcs.
7364         (dia_image_rgb_data): Added comment.
7366         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
7367         (bug #103565)
7369 2003-01-13  Steffen Macke <sdteffen@web.de>
7371         * lib/dia_image.c: dia_image_rgb_data() is working for
7372         non-alpha images now. Fixes #93762
7373         * Makefile.am: added makefile.msc to EXTRA_DIST
7374         
7375 2003-01-10  Steffen Macke <sdteffen@web.de>
7377         * app/paginate_psprint.c: Closing print dialog when file
7378         could not be written. Fixes #84746
7379         
7380 2003-01-04  Steffen Macke <sdteffen@web.de>
7382         * doc/custom-shapes: incomplete description of <svg:text>
7384 2003-01-03  Steffen Macke <sdteffen@web.de>
7386         * makefile.msc(new): new makefile to create file
7387         structure suitable for running dia win32 under
7388         $(TOP)/dia/build/win32
7389         
7390 2003-01-02  Steffen Macke <sdteffen@web.de>
7391         
7392         * lib/dia_svg.c: including stdlib.h
7393         * lib/makefile.msc: added gdk_pixbuf libs to linker
7394         * app/makefile.msc: added gdk_pixbuf libs, made libart
7395         libs compatible with gnuwin32 package
7396         
7397 2003-01-01  Hans Breuer  <hans@breuer.org>
7399         * lib/font.c : more comment about global_size_one
7401         * app/menus.c : <control>[<shift>]A for plain gtk build too.
7403         * plug-ins/wmf/wmf.cpp : some type juggling to make 
7404         msvc7 happy
7406 2002-12-31  Steffen Macke <sdteffen@web.de>
7408         * app/makefile.msc: added hint on how to enable console output
7409         
7410 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7412         * objects/standard/textobj.c (textobj_load): Get the handle type
7413         right, at least to be the same as when created.
7415 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7417         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
7419 2002-12-08  Hans Breuer  <hans@breuer.org>
7421         * app/commands.c : fixed bug #85315 'give diagram properties, 
7422         instead of no object selected error' almost a one-liner
7424         * app/splash.c : don't make having the logo pixmap
7425         mandatory. Fixes bug #96068. 
7427         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
7428         sequence by connecting to the "delete_event"
7429         * app/objects/uml/class_dialog.c : handle "destroy" for 
7430         the same reason.
7432         * lib/libdia.def : remove diaXmlNewChild again
7434         * app/paginate_gdiprint.cpp : reflect Dia's page setting
7435         portrait/landscape in the windoze print dialog
7437         * objects/makefile.msc : only UML needs to link against
7438         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
7440 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7442         * objects/standard/ellipse.c (ellipse_distance_from): 
7443         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
7444         correct distance function.  Could be faster, but it's not really
7445         essential. 
7447 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
7449         * lib/font.c: Changed global_size_one to more correct 28.35.
7450         Looks better, too.
7452         * app/load_save.c:
7453         * lib/dia_xml.h: 
7454         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
7455         after all.
7457 2002-12-07  Hans Breuer  <hans@breuer.org>
7459         * lib/widgets.c : g_file_get_contents() silently assumes
7460         a binary file. Reflect when creating the font_menu file
7461         to get rid of junk in font menus
7463 2002-12-06  Hans Breuer  <hans@breuer.org>
7465         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
7466         removed 0xD 0xD 0xA line ends which get created by
7467         cvs if windoze line ends 0xD 0xA are checked in from
7468         *nix and checked out on win32.
7470         * app/preferences.c : changed toolbox_on_top default to
7471         false. It is currently not possible to change the behaviour
7472         at runtime, at least not on win32.
7474         * lib/dialibartrenderer.c : bug #94791 'rendering to 
7475         bitmap without PangoFt2' got delayed to milestone future 
7476         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
7477         It is not available without my Pango patch in bugzilla.
7479         * lib/font.c : added comment to global_size_one and adapt
7480         the arbitrary size scaling in dia_font_build_layout() for
7481         win32, too. This is needed to get an acceptable font size 
7482         approximation for Dia 0.90 and earlier files.
7483         Also #include "message.h".
7485         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
7486         reflect movement of group.[hc]
7487         * lib/group.h : export group_type which gets used by app/*
7489         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
7490         to get the GtkTypeInfo definition
7492         * plug-ins/makefile.msc : dxf and xfig don't need to link
7493         against app/ anymore now that group is moved to lib/
7495         * plug-ins/python/pydia-render.c : remove massive leaking
7496         of self, i.e. PyDiaRenderer
7498         *  plug-ins/python/makefile.msc : remove linking against
7499         GTK libs
7501 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7503         * objects/standard/line.c: Removed properties options for gaps,
7504         until release is done.
7506         * configure.in: Check for freetype version.
7508         * lib/text.c (text_insert_char): Fixed small buffer overflow for
7509         length = 0.
7511         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
7513         * app/diapsft2renderer.h: 
7514         * app/diapsft2renderer.c: 
7515         * app/diapsrenderer.h: 
7516         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
7518         * app/render_eps.c (export_eps, new_psprint_renderer): Using
7519         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
7521         * lib/properties.h: Fixed bad frame end def.
7523         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
7525         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
7526         
7527         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
7529 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7531         * lib/font.c: Now checking for the proper dia-style standard fonts.
7533         * lib/Makefile.am: 
7534         * app/Makefile.am: Moving group.[ch]
7536         * plug-ins/dxf/dxf-import.c: 
7537         * plug-ins/xfig/xfig-import.c: 
7538         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
7540         * app/object_ops.c: 
7541         * app/object_ops.h: 
7542         * lib/object.c (object_list_move_delta, object_copy_list): 
7543         * lib/object.h: Moved some object-related functions from
7544         object_ops to object to assist moving group.c.
7546         * lib/diatypes.h: Added Group typedef.
7548         * lib/group.h: 
7549         * lib/group.c: Moved from app to lib to a) resolve plug-ins
7550         references, and b) make groups more "real" objects.
7552         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
7554 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
7556         * lib/font.c (dia_font_init): Added check that the three standard
7557         fonts exist.
7559 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7561         * lib/dia_xml.[ch]:
7562         * app/load_save.c: Linebreaks in dia files, no indentation.
7563         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
7564         this. 
7565         
7566         * objects/standard/line.c: Small but important fixes to the line
7567         gap code.
7569         * lib/dia_xml.h: 
7570         * lib/dia_xml.c (diaXmlNewChild): 
7571         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
7572         XML prettyprinting wrapper.
7574 2002-12-03  Steffen Macke <sdteffen@web.de>
7576         * shapes/Cisco/Makefile.am:
7577         * shapes/Cisco/*.shape: finished conversion of Cisco icons
7578         to *.png
7579         
7580 2002-12-02  Steffen Macke <sdteffen@web.de>
7582         * doc/en/Makefile.am:
7583         * doc/en/usage-objects.sgml:
7584         * doc/en/graphics/line_icon.png: (new) added line icon
7585         
7586 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7588         * objects/standard/line.c: Binary search object edge line gap.
7590 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7592         * configure.in: Added Cisco makefile, sorted Makefiles list.
7594         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
7596         * configure.in: Now checks for availability of PangoFT2 and
7597         FreeType, raising an error if not found.
7599         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
7600         Hans.
7602 2002-12-01  Steffen Macke <sdteffen@web.de>
7603         
7604         * doc/en/usage-loadsave.sgml: updated information on import
7605         and export formats
7606         
7607 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7609         * app/commands.c (edit_copy_callback): Freeing copy_list.
7611 2002-11-28  Steffen Macke <sdteffen@web.de>
7612         
7613         * app/render_libart.c: art_config.h was included twice
7615 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7617         * sheets/.cvsignore: More ignorance.
7619         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
7621         * lib/prop_widgets.h: Two (currently unused) settings for frame
7622         foldability.
7624         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
7625         (by default) foldable. 
7627         * lib/propinternals.h: 
7628         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
7629         widgets in a more controlled manner.
7631         * objects/standard/line.c (line_update_data): Line gap things
7632         inserted.  Can do xeyes now:)
7634 2002-11-26  Christian Neumair  <chris@gnome-de.org>
7636         * .cvsignore: Changed.
7637         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
7638         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
7639         Added.
7641 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7643         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
7645         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
7646         passing to font hash.
7648         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
7649         utf-8 or locale-convertible before adding to dialog text.  This
7650         probably needs done in a number of places where we get text from
7651         the environment and send it to GTK to display.
7653         * lib/widgets.c: Fixed case problems for font menu entries.
7655         * objects/SADT/annotation.c: Don't run the event test (but leave
7656         it here for inspiration).
7658         * lib/widgets.c: 
7659         * lib/widgets.h: Allowing setting preview text for fonts.
7661 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7663         * objects/bondgraph/Makefile.am: 
7664         * objects/bondgraph/bondgraph.c: 
7665         * configure.in: 
7666         * objects/Makefile.am: Added bond graph dir.
7668 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7670         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
7672 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7674         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
7675         positioning. 
7677         * app/diapsrenderer.c: Freetype rendering is back in force.
7679         * app/disp_callbacks.c: Added missing updates for pre-text-change.
7681 2002-11-25  David Hoover <jazzdaq@yahoo.com>
7683         * app/render_libart.c: Added missing #include line for libart.
7685         * lib/geometry.h:
7686         * lib/geometry.c: Added point_convex function.  This computes
7687         points inside a line segment (0 <= alpha <= 1) or outside the
7688         line segment (alpha < 0 | alpha > 1).
7690         * objects/standard/line.c: Line now has additional code/attributes
7691         which permit the line to extend past the line anchors (gap < 0) or
7692         leave a gap without reaching the anchor (gap > 0).  If no gap is
7693         specified, the default gap of 0 will result in identical line
7694         behavior as before.  If the 'fractional' attributes are TRUE, the
7695         gap length is not fixed, but a percentage of the line length.  I
7696         did not know how create the GTK widgets so the gap code currently
7697         cannot be used without adding XML attributes by hand.
7699 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7701         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
7703         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
7705 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7707         * lib/font.c: Debugging functionality in separate functions.
7709         * lib/widgets.c: Using fontsel with context.
7711         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
7713         * objects/custom/custom_object.c: Orientation handling for shapes,
7714         patch thanks to Martin Hans <opfinder@gmx.net>.
7716         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
7717         work on even better orientation handling.
7719         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
7720         casting NULL pointers.  Should be unnecessary in an upcoming GTK
7721         release. 
7723 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7725         * lib/font.h:
7726         * lib/font.c:
7727         * lib/widgets.c: Now uses correct context to get font families.
7729         * lib/diagdkrenderer.c (get_text_width, draw_string): 
7730         * lib/dialibartrenderer.c (draw_string): 
7731         * lib/font.h: 
7732         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
7733         (dia_font_build_layout): Unified the twiddle factors into a use of
7734         global_size_one.  But I deeply distrust Pango for seeming to
7735         change size of fonts every time I turn my back.
7737         * app/display.c: 
7738         * app/diagram.c: 
7739         * app/menus.c:
7740         * app/menus.h: Updated some more methods to also be more specific
7741         on the types.
7743         * app/menus.h:
7744         * app/recent_files.c: 
7745         Changed to return most specific type, to avoid run-time type errors.
7747         * app/menus.c (menus_get_item_from_path): Non-gnome version now
7748         gets menu_item rather than widget, which works better.
7750 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
7752         * app/display.c: (new_display):
7753         * app/menus.c: (menus_get_item_from_path):
7754         Relying on the tearoff to locate the input methods menu wasn't a
7755         good idea: tearoffs seem to be an endangered species nowadays.
7756         Anyway, the IM menu seems to be working now.
7758         * app/interface.c: hinted the window manager that the toolbox window
7759         is a toolbox window. Not that my (fairly default configuration)
7760         sawfish cares, but other NETWM compliant WMs may.
7762         * app/commands.c: 
7763         * app/defaults.c: 
7764         * app/dia-props.c:
7765         * app/filedlg.c: 
7766         * app/interface.c: 
7767         * app/layer_dialog.c: 
7768         * app/linewidth_area.c: 
7769         * app/properties.c: 
7770         * app/sheets_dialog.c: 
7771         * app/splash.c: 
7773         The GTK doc says to avoir gtk_window_set_wmclass() and 
7774         gtk_window_set_policy(), and use gtk_window_set_role() and
7775         gtk_window_set_resizable(), respectively.
7776         
7777         * app/preferences.c: (prefs_create_dialog):
7778         * app/preferences.h:
7779         * app/display.c: (display_set_active):
7780         Added a preference to have the toolbox hover over diagram windows.
7781                 
7782 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7784         * lib/diagdkrenderer.c (get_text_width, draw_string):
7785         Freetype-based string drawing now works.  Not very fast, though.
7786         I wish I could use the graphics card for this:(  I'm doing three
7787         bitmap loops where I should be doing one.  The size is not correct
7788         either, despite having get_text_width give the right thing.
7790 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7792         * app/connectionpoint_ops.c (diagram_update_connections_object):
7793         Allows more than one connectionpoint on an object to be moved at a
7794         time (bug #96306).
7796 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
7798         * configure.in: Added cs to ALL_LINGUAS.
7800 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7802         * app/paginate_psprint.c: Removed unnecessary decl of autosave
7803         stuff.
7805         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
7807         * app/export_png.c (export_png_ok): Saving more variables from the
7808         evil setjmp.
7810 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7812         * lib/dialibartrenderer.c (begin_render):
7813         (end_render): Correct pushing and popping of font contexts.
7814         (draw_string): Double zooming eliminated, strange twiddle factor
7815         introduced (grumble).  Close to working now, but there are still
7816         strange differences from font to font.  In particular, some fonts
7817         really mess with the cursor and extents.
7819         * app/render_eps.c (export_eps): 
7820         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
7821         Fixed file closing confusion, no longer dependent on PS/EPS.
7823         * app/diagram.c (diagram_place_down_selected) 
7824         (diagram_place_up_selected): Now implemented.
7826         * lib/font.c (dia_font_init): 
7827         * lib/font.h: 
7828         Redesigned the font init/context pushing code.  Start of fix for
7829         font name differences.
7830         
7831 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
7833         * app/sheets_dialog_callbacks.c: Fix a typo.
7834         
7835 2002-10-15  Hans Breuer  <hans@breuer.org>
7837         * app/diapsrenderer.[hc] : (new files, old content :-)
7838         simple base class for post script rendering. Does neither 
7839         use Pango/FT2 nor does it handle non latin1 characters. 
7840         The fancy stuff which nowadays appears to be needed should 
7841         probably be done in derived class(es)
7843         * app/makefile.msc app/Makefile.am : added new files
7845         * app/paginate_psrint.c : re-enabled and used as test
7846         for the simple ps renderer above.
7848         * app/render_eps.[hc] : ripped out common ps code and
7849         moved to DiaPsRenderer. The rest of the file is mostly
7850         disabled. And I don't understand enough of it to 
7851         change port it.
7853         * app/diaepsrenderer.h : short lived, removed.
7855 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7857         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
7858         as a plugin (thanks to Torben Nielsen).
7860 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7862         * app/diaepsrenderer.h: 
7863         * app/render_eps.h: 
7864         * app/paginate_psprint.c: 
7865         #ifdef'd out enough ps stuff to allow compile.  Now we just need
7866         to convert it.
7867         
7868 2002-10-12  Hans Breuer  <hans@breuer.org>
7870         [last plug-in ported]
7872         * plug-ins/xfig/xfig-export.c : ported to new renderer api
7874         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
7875         scale color values to [0..1.0] to properly reconstruct
7876         user colors
7878         * plug-ins/xfig/xfig-common.c : some cleaning
7880 2002-10-12  Hans Breuer  <hans@breuer.org>
7882         [decrease inter-plug-in-dependencies]
7884         * objects/custom/shape_info.[hc] : move parse_style()
7885         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
7886         the related structs and constants.
7887         * objects/custom/custom_object.c : reflect namespace
7888         changes
7890         * lib/dia_svg.[hc] : new files
7891         * lib/makefile.msc lib/Makefile.am : add new files
7892         * lib/libdia.def : updated externals
7894         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
7896         * plug-ins/svg/svg.c : enable svg import for win32 (and
7897         probably for other non ELF builds)
7899         * plug-ins/makefile.msc : enable svg import
7901 2002-10-11  Hans Breuer  <hans@breuer.org>
7903         * plug-ins/metapost/render_metapost.[hc] : ported
7905         * plug-ins/pstricks/render_pstricks.[hc] : dito
7907 2002-10-11  Hans Breuer  <hans@breuer.org>
7909         * plug-ins/cgm/cgm.c : ported, appears to work as before,
7910         but graphic apps available to me can't import the generated 
7911         files (the could not with Dia-0.90 cgm as well) ...
7913         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
7914         Removed all those function which did emulate 'complex' 
7915         drawing ops with basic ones (e.g. rect by line) cause this
7916         stuff is already provided by the base class
7917         * plug-ins/dxf/dxf-import.c : removed render.h include
7919         * plug-ins/python/pydia-font.[hc]
7920           plug-ins/python/pydia-text.c : finally ported to new font api
7922         * plug-ins/python/pydia-layer.c : add extra parameter
7923         to layer_find_closest_connectionpoint()
7925         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
7927         * plug-ins/python/python.c : added missing copyright notice
7929         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
7930         actually use the renderers set_font implementation
7932         * plug-ins/renderer.inc : unused now, removed
7933         * plug-ins/Makefile.am : reflect it
7935 2002-10-08  Hans Breuer  <hans@breuer.org>
7937         * app/render_gdk.c : don't add the InteractiveRenderer
7938         interface multiple times (it's added to the type, not
7939         the object)
7940         * app/render_libart.c : dito. It's currently added
7941         unconditional cause eport_png uses it, but claims
7942         to be non-interactive. Probably set_size should be moved
7943         to the DiaRenderer interface.
7945         * lib/dialibartrenderer.c : add implementations for
7946         get_<width|height>_pixels. Libart rendering works again.
7947         DiaLibartRenderer::draw_image : use dia_image_rowstride()
7948         instead of width*3
7950         * lib/diatransform.c(dia_transform_coords_double) :
7951         don't ROUND() the returned values
7953         * plug-ins/pixbuf/pixbuf.c : added import function. It
7954         simply creates a wrapping "Standard - Image" object.
7956         * plug-ins/shape/shape-export.c : use the more direct
7957         method to call base class methods
7959 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7961         * lib/font.c (dia_font_init): Changed dia_font_init to return old
7962         pango context, to allow stacked contexts (for printing while
7963         antialiased).
7964         
7965         * lib/arrows.h
7966         * lib/bezier_conn.h
7967         * lib/beziershape.h
7968         * lib/boundingbox.h
7969         * lib/color.h
7970         * lib/connection.h
7971         * lib/connectionpoint.h
7972         * lib/create.h
7973         * lib/dia_image.h
7974         * lib/diagdkrenderer.h
7975         * lib/diagramdata.h
7976         * lib/dialibartrenderer.h
7977         * lib/diamenu.h
7978         * lib/diarenderer.h
7979         * lib/diasvgrenderer.h
7980         * lib/diatransform.h
7981         * lib/element.h
7982         * lib/filter.h
7983         * lib/focus.h
7984         * lib/font.h
7985         * lib/geometry.h
7986         * lib/handle.h
7987         * lib/neworth_conn.h
7988         * lib/objchange.h
7989         * lib/object.h
7990         * lib/orth_conn.h
7991         * lib/paper.h
7992         * lib/plug-ins.h
7993         * lib/poly_conn.h
7994         * lib/polyshape.h
7995         * lib/properties.h
7996         * lib/ps-utf8.h
7997         * lib/sheet.h
7998         * lib/text.h
7999         * lib/textattr.h
8000         * lib/widgets.h
8001         * lib/diatypes.h
8002         Moved all externally visible struct typedefs into diatypes.h, as
8003         per Hans' suggestions.
8005 2002-10-07  Steffen Macke <sdteffen@web.de>
8007         * lib/Makefile.am: removed a '\' causing problems
8009 2002-10-07  Hans Breuer  <hans@breuer.org>
8011         [Libart Renderer resurrected; almost it's compiling but
8012          almost instantly crashing :-]
8014         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
8015         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
8016         * lib/diatransform.[hc] : added dia_transform_coords_double()
8018         * app/display.c : the right parameters for new_renderer_libart()
8019         * app/export_png.c : ported, removed the blind Display hack
8021         * app/makefile.msc lib/makefile.msc 
8022           lib/Makefile.am : updated
8024         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
8026 2002-10-06  Hans Breuer  <hans@breuer.org>
8028         * plug-ins/pixbuf/pixbuf.c : (new file)
8029         there is a new export plug-in called 'Pixbuf' which uses 
8030         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
8031         formats (currently only PNG and JPEG).
8033 2002-10-06  Hans Breuer  <hans@breuer.org>
8035         See also: 
8036         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
8038         * lib/dia-enums.h lib/diatransform.[hc]
8039           lib/diarenderer.[hc] lib/diainteractiverenderer.c
8040           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
8041         : new files 
8043         * lib/makefile.msc lib/makefile.am : added new files
8045         * lib/plug-ins.c : g_module_error() returns a locale
8046         string, convert to utf8 before further usage 
8048         * lib/render.h : #error out. Everything including this
8049         needs porting
8050         * lib/*.[hc] : ported to new renderer api
8052         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
8053         just to make the rest compile
8054         * app/render_eps.c : temporary disabled all of this
8055         * app/render_eps.h : removed RendererEPS
8057         * app/render_gdk.[hc] : a small wrapper around the new
8058         DiaGdkRenderer form lib/*
8060         * app/render_libart.h : removed RenderLibart definition
8061         * app/render_libart.c : not yet ported to new DiaRenderer
8062         but having an implementation to untie form FT2 dependency
8063         at least on win32. It is using new Pango api form bug #94791
8065         * app/render_pixmap.[hc] : a small wrapper around the new
8066         DiaGdkRenderer form lib/*
8068         * app/display.h : removed render_*.h includes
8069         * app/display.c : the only place where specific 
8070         renderers need to be known
8072         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
8073         use new DiaInteractiveRenderer interface
8075         * app/*.c : ported to new renderer api
8076         * object/*/*.c : ported to new renderer api
8077         s/render.h/diarenderer.h/
8078         s/Renderer/DiaRenderer/
8079         s/renderer->ops/renderer_ops/
8080         add in every draw method:
8081         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
8083         * plug-ins/hpgl/hpgl.c : 
8084           plug-ins/wmf/wmf.cpp 
8085           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
8086         * plug-ins/shape/shape-export.c
8087           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
8088           (nice how small these files became :-)
8090 2002-09-28  Hans Breuer  <hans@breuer.org>
8092         * */makefile.msc : updated
8094         * app/defaults.c : don't gdk_invalidate_rect(NULL)
8095         * app/disp_callbacks.c : 
8096         can't cast GtkWindow to GdkWindow, use shell->window
8097         (ddisplay_unrealize) don't use already unrefed im_context
8098         * app/display.c :
8099         can't cast from GtkMenu to GtkMenuItem
8100         (ddisp_destroy) : mark im_context as unrefed
8102         * lib/dia_xml (data_font) : prefer new font format over old one
8103         (data_add_font) : write the legacy name to allow file exchange
8104         with pre Pango versions of Dia, which would otherwise crash 
8105         on missing font 'name' attribute.
8106         * lib/font.c (dia_font_get_legacy_name) : improved implementation
8107         to get a better match.
8109         * lib/libdia.def : updated
8111         * lib/messages.c : don't gdk_widget_show(NULL)
8113         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
8115         [make Dia compile, link _and_ work with mingw/gcc3.2]
8117         * config.h.win32 : #define LIBXML, this gets defined from libxml
8118         header but only for _MSC_VER. The mingw build did access an 
8119         unitialized function pointer for xmlFree.
8121         * */makefile.mingw : updated (some plug-ins have build issues)
8122         
8123         * lib/handle.h lib/object.h :   there appears to be no 
8124         forward declaration of the form 
8125                 typedef enum _HandleId HandleId 
8126         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
8127         use of enum `_HandleId' without previous declaration
8129         * app/paginate_gdiprint.cpp : added a hack to avoid g++
8130         naming conflict on 'export'
8132         * app/paginate_gdiprint.h : forward declare Diagram
8134         * objects/SADT/annotaion.c : use g_random_double()
8136 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8138         * app/modify_tool.c: Made motion not happen until sufficiently
8139         large or past double-click interval, to avoid accidental moving
8140         when doubleclicking.  Got the double-click time right, and fixed
8141         some issues with release.  There are some corner cases that may
8142         exhibit strange behaviour, will look at those later.  Nah, let's
8143         not care about those, they are rare and not dangerous.
8145 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
8147         * app/layer_dialog.c: 
8148         * app/load_save.c: 
8149         * plug-ins/dxf/dxf-import.c: 
8150         * plug-ins/python/pydia-diagram.c: 
8151         * lib/diagramdata.c:
8152         * lib/diagramdata.h:
8153         Improved the consistency of the obj->parent_layer backlinks (esp.
8154         during reloads)
8156         * lib/Makefile.am:
8157         * lib/dummy_dep.h:
8158         * lib/dynamic_obj.[ch] (NEW):
8159         * app/Makefile.am:
8160         * app/app_procs.c: 
8161         * app/dynamic_refresh.[ch] (NEW):
8162         * objects/Misc/analog_clock.c: 
8163         Added support for dynamic refresh (animated objects).
8164                 
8165 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
8167         Patch from Owen Taylor <otaylor@redhat.com>:    
8168         * doc/en/Makefile.am:
8169         * doc/en/dia-manual.sgml:
8170         * doc/en/usage-objects.sgml:
8171         * doc/en/usage-quickstart.sgml:
8172         * doc/pl/Makefile.am:
8173         * doc/pl/dia-manual.sgml:
8174         * doc/pl/usage-objects.sgml:
8175         * doc/pl/usage-quickstart.sgml:
8177         - Change the DTD declration from an outdated GNOME one to a
8178         standard DTD.
8179         
8180         - Remove close tags for <graphics> which aren't allowed for
8181         docbook SGML
8182         
8183         - A hacky fix for a problem where some versions of db2html don't
8184         create *.css files. (If *.css doesn't match anything, then you get
8185         the global explicitely.)
8187         (Closes: #92061)
8188         
8189 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
8191         * objects/custom/custom_object.c: 
8192         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
8193         were never properly prepared for use when reloading a shape with
8194         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
8195         reporting the problem and coming up with a fix! (Closes: #93974)
8197         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
8198         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
8200         * app/menus.c:
8201         * app/display.c: updated menu item paths Alan's patch had moved.
8202         
8203         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
8204         load the sheet-provided icon (libpng versions mismatch, grrr.).
8205         
8206         * configure.in:
8207         * objects/Makefile.am:
8208         * objects/Misc/Makefile.am (NEW):
8209         * objects/Misc/libmisc.c (NEW):
8210         * objects/Misc/analog_clock.c (NEW):
8211         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
8212         * sheets/Misc.sheet.in: just a little experiment...
8214 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
8216         * plug-ins/xlst/Makefile.am: found a way to silence automake while
8217         not forcing everyone to build using libxslt.
8219         * lib/font.c: 
8220         * lib/message.c:
8221         * lib/object_defaults.c:
8222         * lib/intl.[ch]:
8223         * lib/render.c:
8224         * lib/properties.[ch]:
8225         * lib/propobject.c:
8226         * objects/standard/box.c: 
8227         * objects/UML/state_term.c:
8228         * objects/FS/box.c:
8229         * objects/FS/flow-ortho.c:
8230         * app/app_procs.c:
8231         * app/autosave.c:       
8232         * app/commands.c:
8233         * app/diagram_tree.c:
8234         * app/display.c:
8235         * app/disp_callbacks.c:
8236         * app/export_png.c:
8237         * app/filedlg.c:
8238         * app/lineprops_area.c:
8239         * app/menus.c:  
8240         * app/preferences.c:
8241         * app/render_eps.c:     
8242         * app/sheets.c:
8243         * app/sheets_dialog_callbacks.c:
8244         * plug-ins/xslt/xslt.c:
8245         * plug-ins/metapost/render_metapost.c:
8246         * plug-ins/xfig/xfig-export.c:
8247         * plug-ins/shape/shape-export.c:
8248         
8249         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
8250         unused variables, mostly)
8252         * app/display.c:
8253         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
8255         * app/Makefile.am: modified run_dia.sh so that we recover the
8256         ability to run a debugger despite libtool's hacks.
8258         * plug-ins/dxf/Makefile.am: 
8259         * app/Makefile.am
8260         "make distcheck" fixes.
8261         
8262 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8264         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
8265         <mfranzoni@madd.it>:  Check for the type being NULL.
8267 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8269         * app/render_eps.c (set_font): Re-tweaked font size for printing.
8271 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
8273         Patch from Angus Ainslie <angusa@deltatee.com>:
8274         * plug-ins/dxf/dxf-import.c:
8275         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
8277         (plus a couple extra fixes by me, such as the removal of printf's,
8278         adapting for recent changes, and killed a couple warnings) 
8280         * app/authors.h: a 60K patch isn't insignificant, is it?
8281         
8282 2002-09-09  Tor Lillqvist  <tml@iki.fi>
8284         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
8285         as before) and -lfreetype (using AC_CHECK_LIB). At least on
8286         Solaris with Sun's compiler (Forte C), you need to link also the
8287         dia application with -lfreetype, even if it is implicitly linked
8288         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
8289         which is what they actually mean. Use FREETYPE_LIBS for
8290         -lfreetype.
8292         Don't look for libsunmath if isinf() is not found in math.h (as on
8293         Solaris). The sunmath library is part of Forte C and not present
8294         on all machines. Besides, even if isinf was found in libsunmath,
8295         we didn't use it in the Makefile.am.
8296         
8297         Fix a couple of bashisms.
8299         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
8300         too, on Solaris with Forte C.
8302         Don't try to use the gcc flags with other compilers.
8303         DIA_CHECK_CFLAG gives a false indication that Forte C understands
8304         the gcc -f switches, but in fact they get interpreted meaning
8305         something completely different.
8307         Define the automake conditional HAVE_CGC.
8308         
8309         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
8311         Use -export-dynamic only with gcc.
8313         * */Makefile.am
8314         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
8315         PANGOFT2_CFLAGS rename.
8317         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
8318         
8319         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
8320         Solaris.
8322         * lib/paper.c: Workaround for gccism: Can't use inline this way with
8323         Forte C, either.
8325 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
8327         * lib/text.c(set_string): fixed a memory leak (char* ain't no
8328         std::auto_ptr<char> !).
8330         * app/display.[ch]:
8331         * app/interface.[ch]:
8332         * app/ddisp_callbacks.[ch]: Added some basic support for input 
8333         methods (GtkIMContext-based)
8335         * lib/Makefile.am:
8336         * app/Makefile.am: made libdia a shared object (per Tor
8337         Lillqvist's suggestion/request), to cope for platforms with a less
8338         than par dynamic library loader.
8340         * app/display.c: disabled the input method menu (I really don't
8341         see where and how to put them. Blame Frozen Bubble )
8342         
8343 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
8345         * objects/flowchart/box.c (box_update_data): Made resizing
8346         possible again (only set width & height when resized too small).
8348         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
8350         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
8351         GdkScrollEvents.
8352         
8353 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
8355         * app/authors.h: now showing Akira TAGOH's name in the native script.
8357 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8359         * plug-ins/xslt/xslt.c: Removed glib warning for unset
8360         DIA_PLUGIN_PATH.
8362 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
8364         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
8365         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
8366         sweep flag in arcs.
8368 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
8370         * objects/UML/class.c: Fixed showing of empty stereotypes and got
8371         the string placed correctly.
8373 2002-08-30  Hans Breuer  <hans@breuer.org>
8375         * lib/font.c (dia_font_get_style) : don't shift already
8376         shifted DIA_FONT values.
8378         * lib/libdia.def : updated externals
8380         * app/disp_callbacks.c : on win32 GdkEventKey::string already
8381         is in UTF-8. (Longterm this probably should be handled on the
8382         gtk api level)
8384         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
8385         switch display renderers again. The libart renderer is very 
8386         useful for win9x with it's limited GDI.
8388         * app/render_gdk.c : use g_warning instead of printf which gets
8389         nowhere on win32 (non console apps)
8391         * app/render_libart.c : make it compile without FREETYPE
8393         * objects/makefile.msc plug-ins/makefile.msc : added clean target
8395 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
8397         * app/render_eps.c (postscript_draw_contour): Debugging statement
8398         that allowed me to figure out font problems.
8400         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
8401         items for font styles.
8403         * objects/FS/flow-poly.c: 
8404         * objects/FS/flow-ortho.c: 
8405         * objects/FS/flow.c: Further conversion away from GTK dialogs.
8406         Can't set a default label right now:(
8408         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
8410 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
8411         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
8413         * Makefile.am: rules relating to AUTHORS and THANKS
8414         altered.
8415         * AUTHORS: file content changed to more accurately
8416         reflect guideline requirements.
8417         * TODO: warning added about Gnome BTS.
8418         * KNOWN_BUGS: warning added about Gnome BTS.
8420         ---
8422         * AUTHORS: added full copyright info.
8423         * mkauthors-placeholder: (removed) 
8424         
8425 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8427         * app/paginate_psprint.c (print_page): Fixed text printing after
8428         tip from Dov Grobgeld.
8430 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8432         * app/paginate_psprint.c (print_page): Fixed color of clip
8433         region.
8435 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
8437         * sheets/Makefile.am: enabled intltool-merge translation cache for
8438         sheets.
8440         * Makefile.am:
8441         * mkauthors-placeholder:
8442         * AUTHORS: revived that file (in a placeholder form) so that
8443         automake stops yelling.
8444         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
8445         (Closes: #91144)
8447         Heh, by the way, thanks Christophe. I feel better now.
8448         
8449 2002-08-25  Christophe Merlet  <christophe@merlet.net>
8451         * app/command.c: Removed invalid multibyte sequence in Chepelov.
8453 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8455         * lib/dia_image.c (dia_image_rgb_data): 
8456         Bugfixes in image data retrieval.
8457         
8458         * app/render_eps.c: Refactoring of new_*_renderer.
8460 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8462         * app/render_eps.c: 
8463         * lib/dia_image.h: 
8464         * lib/dia_image.c: Support for rowstride != width (odd width images)
8466 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
8468         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
8469         * plug-ins/xfig/xfig-import.c: Removed assertion.
8471 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8473         * lib/paper.c: Removed app/preferences.h reference.
8475 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8477         * plug-ins/svg/svg-import.c: 
8478         * plug-ins/xfig/xfig-import.c: 
8479         * lib/Makefile.am (libdia_a_SOURCES): 
8480         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
8481         * lib/create.h:
8482         * objects/standard/create.h:
8483         * objects/standard/polygon.c (polygon_create): 
8484         * objects/standard/polyline.c (polyline_create): 
8485         * objects/standard/beziergon.c (beziergon_create): 
8486         * objects/standard/bezier.c (bezierline_create): 
8487         Moving create.h into lib.
8489 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
8491         * app/render_libart.[ch]: Work on PNG font export.  Something's
8492         still fishy with the scaling, I don't get it.
8494         * app/display.c: 
8495         * app/interface.c: Replaced broken zoom combo with entry+menu.
8496         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
8498         * app/render_gdk.c (get_text_width): Checks for validity of text.
8499         Temporary help while debugging input -- should only activate on
8500         invalid input.
8502         * objects/SADT/annotation.c: 
8503         * objects/GRAFCET/transition.c: 
8504         * objects/FS/function.c: Removal of gtk.h include.
8506         * objects/UML/state.c (state_load): Warnings about using State
8507         object for initial/final states.
8509         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
8511 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8513         * app/render_eps.c: Text rendering that scales correctly.  Too bad
8514         the standard fonts don't get selected right.
8516 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
8518         * lib/diagramdata.h: 
8519         * lib/paper.c (get_paper_info): 
8520         * lib/paper.h: 
8521         * plug-ins/xfig/xfig-import.c: 
8522         Committed before testing.  I am so embarrased.  This compiles, now
8523         that the includes are in the right order.
8524         
8525         * app/diagram.c (diagram_init): 
8526         * app/app_procs.c (do_convert): 
8527         * app/preferences.h: 
8528         * lib/diagramdata.h: 
8529         * lib/diagramdata.c (new_diagram_data): 
8530         * lib/paper.h: 
8531         * lib/paper.c (get_paper_info): 
8532         Moved new_diagram part of prefs into lib/diagramdata.h.  More
8533         could be done in new_diagram_data() now.
8535 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
8537         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
8539 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
8541         * configure.in: removed silly user-visible comment
8543         (actually, this is a dummy entry before I manually run nemo; for
8544         some dist-upgrade related reason, this morning's run aborted before
8545         the snapshots were created)
8546         
8547 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
8549         * objects/network/wanlink.c: 
8550         * objects/network/bus.c: 
8551         stdprop compliance!
8553         * objects/custom/custom_object.c: 
8554         * objects/network/wanlink.c: 
8555         * objects/flowchart/parallelogram.c: 
8556         * objects/flowchart/ellipse.c: 
8557         * objects/flowchart/diamond.c: 
8558         * objects/flowchart/box.c: 
8559         Removed GTK defaults stuff.
8560         
8561         * objects/UML/fork.c: 
8562         * objects/UML/object.c: 
8563         * objects/UML/lifeline.c: 
8564         * objects/UML/branch.c: 
8565         * objects/GRAFCET/transition.c: 
8566         * objects/FS/function.c: Removed GTK include.
8568         * objects/FS/flow-ortho.c: 
8569         * objects/FS/flow.c: Made the label behave again.
8570         Also removed GTK defaults stuff.
8572 2002-08-06  Hans Breuer  <hans@breuer.org>
8574         * app/autosave.c : ported to GDir which is the improved
8575         cross platform replacement for <dirent.h>
8577         * app/makefile.msc : build autosave.obj
8579         * app/font.c : some (bad?) code calls 
8580         dia_font_scaled_decent() not only with empty string but 
8581         with NULL. Handle it gracefully.
8583         * lib/paper.c : don't depend on ../app. Although IMO
8584         this shouldn't be allowed on any platform it is only
8585         disabled for win32, where it simply doesn't work
8586         this way
8588         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
8590         * objects/fs/flow.c : conditionalize debug spew, disabled
8591         and 'ported' to use g_print. Simple printf won't work with
8592         standard win32 gui apps, may even crash them.
8594         * plug-ins/makefile.msc : DISABLED svg-import cause it
8595         depends on ../objects/custom. This not only break the
8596         build for all non ELF systems but IMO also isn't acceptable
8597         from a design point of view. See dia-list mail on subject.
8599         * plug-ins/python/makefile.msc :
8600           plug-ins/python/python.c : remove all references to dirent    
8602 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
8604         * configure.in: added ro to ALL_LINGUAS
8606         * po-checktrans:
8607         * po-checktrans.py:
8608         * ../translation-graphs/transgraph.py: added support for fuzzy
8609         translations. Enlarged the graphs.
8611 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8613         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
8614         key events according to locale.  No clue if this works for
8615         advanced stuff.
8617 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
8619         * lib/text.c: Various UTF8 related fixes, in particular in
8620         deleting.  Text_insert_char is fine, far as I can tell.
8622         * app/interface.c (create_display_shell): 
8623         * app/commands.c: Now uses gtk_clipboard functions, for they are
8624         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
8625         don't seem to get handled correctly by text_insert_char in
8626         lib/text.c.
8627         
8628         * app/commands.c (received_selection_handler): Got utf8 handling
8629         on paste, and individual char handling out of commands.c.  Pasting
8630         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
8632         * lib/message.c (gtk_message_internal): Message dialog re-shown
8633         when new message appears.  Maybe it should even move to top?
8635         * lib/font.c: 
8636         * lib/widgets.c: 
8637         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
8638         (again) and case-insensitive.
8640         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
8641         BASIC_SANS_FONT. 
8643 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8645         * app/commands.c (edit_cut_text_callback): 
8646         * lib/text.c (text_delete_all): Now functioning undo for text cut.
8647         
8648         * app/commands.c (edit_cut_text_callback): Now removes text.
8649         Undo is broken, though.
8651 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8653         * app/diagram.c (diagram_update_menu_sensitivity): 
8654         Making cut_text active.
8655         
8656         * app/commands.h: 
8657         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
8658         clipboard.  Also removed AA callback.   
8660 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8662         * objects/chronogram/chronoref.c: 
8663         * objects/chronogram/chronoline.c: 
8664         * objects/SADT/annotation.c: 
8665         * objects/SADT/arrow.c: 
8666         * objects/SADT/box.c: 
8667         * objects/GRAFCET/vergent.c: 
8668         * objects/GRAFCET/vector.c: 
8669         * objects/GRAFCET/step.c: 
8670         * objects/GRAFCET/condition.c: 
8671         * objects/GRAFCET/action.c: 
8672         * objects/ER/participation.c: 
8673         * objects/ER/relationship.c: 
8674         * objects/ER/entity.c: 
8675         * objects/ER/attribute.c: 
8676         Removing unnecessary GTK references.
8678 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
8680         * objects/standard/image.c: 
8681         * objects/standard/textobj.c: 
8682         * objects/standard/ellipse.c: 
8683         * objects/standard/polygon.c: 
8684         * objects/standard/beziergon.c:
8685         * objects/standard/box.c: 
8686         Making default default properties.
8687         
8688         * objects/standard/image.c: 
8689         * objects/standard/arc.c: 
8690         * objects/standard/box.c: 
8691         * objects/standard/zigzagline.c: 
8692         * objects/standard/polyline.c: 
8693         * objects/standard/line.c: 
8694         * objects/standard/ellipse.c: 
8695         * objects/standard/polygon.c: 
8696         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
8698         * lib/object_defaults.c (dia_object_default_create): 
8699         * lib/proplist.c: 
8700         * lib/properties.h: 
8701         * lib/object.c (object_copy_using_properties): 
8702         * lib/propdialogs.c: 
8703         * lib/propinternals.h: 
8704         * lib/propobject.c (object_create_props_dialog)
8705         (object_copy_props): 
8706         Removing the standard (toolbox) properties from defaults dialogs.
8708 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
8710         * lib/font.c (dia_font_scaled_string_width) 
8711         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
8712         zoom factor.
8713         * lib/text.c (text_calc_boundingbox): Take descent into account.
8715         * objects/standard/bezier.c (bezierline_draw): 
8716         * lib/render.c (draw_bezier_with_arrows): 
8717         Better arrow drawing for beziers.  Doesn't change the mouse-click
8718         area either.
8720         * lib/arrows.h: Some const-ness.
8722         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
8724         * lib/render.c (draw_arc_with_arrows): 
8725         * objects/standard/arc.c (arc_draw): Better arrow drawing for
8726         arcs.  Doesn't change the mouse-click area yet.
8728         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
8730         * lib/render.h: 
8731         * lib/render.c: 
8732         Arc arrow prework.
8734 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
8736         * app/group.c (group_draw): Forgotten commit: Groups to draw as
8737         objects (using default routines).
8739         * app/object_ops.h: 
8740         * app/diagram.h: 
8741         * lib/diagramdata.h: 
8742         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
8743         * objects/standard/zigzagline.c (zigzagline_move_handle): 
8744         * app/diagram.c (diagram_find_closest_connectionpoint): 
8745         * plug-ins/python/pydia-diagram.c
8746         (PyDiaDiagram_FindClosestConnectionPoint):
8747         * app/object_ops.c (object_connect_display) 
8748         (object_find_connectpoint_display) 
8749         * app/create_object.c (create_object_button_press) 
8750         (create_object_motion): 
8751         * app/modify_tool.c (modify_motion): 
8752         Adding object param to allow connectionpoint and handle coinciding.
8754         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
8755         Fixing minor problems.
8757         * objects/standard/ellipse.c (ellipse_update_data): 
8758         Added direction hints.
8760         * lib/diagramdata.c: 
8761         * lib/object.c: 
8762         * lib/object.h: 
8763         * lib/diagramdata.h: 
8764         * objects/standard/zigzagline.c: 
8765         First working example of zigzagline hints, currently only between
8766         Box and Zigzagline.
8768 2002-07-27  Steffen Macke <sdteffen@web.de>
8770         * plug-ins/svg/render_svg.c: added support for rounded
8771         rectangles (fixes #69053 if compile with
8772         -DNEW_RENDER_OPS)
8773         * object/custom/shape_info.[c|h]: made parse_style and
8774         parse_path accessible for svg plug-in
8775         * plug-ins/svg/Makefile.am:
8776         * plug-ins/svg/svg.c:
8777         * plug-ins/svg/svg-import.c(new): added SVG import filter
8779 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8781         * objects/standard/box.c: 
8782         * objects/standard/zigzagline.c (zigzagline_move): 
8783         More work on zigzagline hints.
8785 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8786         * lib/connectionpoint.h: 
8787         Hints for zigzaglines.
8789         * app/properties.c (properties_show): 
8790         * app/defaults.c (defaults_show): 
8791         * lib/properties.h: 
8792         * lib/propobject.c (object_create_props_dialog): 
8793         * lib/object.h: 
8794         * objects/FS/flow-poly.c: 
8795         * objects/network/wanlink.c: 
8796         * objects/network/bus.c: 
8797         * objects/UML/class.h: 
8798         * objects/UML/class_dialog.c: 
8799         * objects/UML/association.c: 
8800         Start of removing toolbox props from props dialogs.
8801         
8802         * lib/widgets.c: 
8803         * lib/arrows.h: 
8804         * app/lineprops_area.c (dia_arrow_chooser_new): 
8805         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
8807         * app/create_object.c: 
8808         * app/modify_tool.c: 
8809         * app/cursor.h: 
8810         * app/cursor.c: 
8811         More cursor change.
8813 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8815         * app/preferences.c: 
8816         * lib/paper.c: 
8817         * app/diapagelayout.c: 
8818         New prefs selector kind PREF_CHOICE chooses between a list of
8819         strings.  Used for picking default paper.
8820         
8821         * app/preferences.c (prefs_data): 
8822         * lib/paper.c (get_paper_info): Added prefs setting for
8823         is_portrait.
8825         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
8826         line segments at the ends (bug #86603).
8828 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8830         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
8831         #60324: Now calls update_data after copy.
8833         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
8834         Now doesn't steal selection from non-object tools.
8836 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8838         * app/commands.c (help_manual_callback): Uses BROWSER environment
8839         variable when available.
8841 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8843         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
8844         object from the new sheet when changing.
8846         * app/app_procs.c (app_init): Uses more standard size icon, from
8847         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
8849 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8851         * objects/UML/implements.c (implements_update_data): 
8852         * objects/UML/realizes.c (realizes_update_data): 
8853         * objects/UML/dependency.c (dependency_update_data): 
8854         Test for null strings before calling on ascent.
8856         * objects/UML/realizes.c (realizes_draw): 
8857         * objects/UML/message.c (message_draw): 
8858         * objects/UML/generalization.c (generalization_draw): 
8859         * objects/UML/dependency.c (dependency_draw) 
8860         * objects/UML/constraint.c (constraint_draw): 
8861         * objects/GRAFCET/condition.c (condition_draw): 
8862         * objects/UML/association.c (association_draw): 
8863         * objects/FS/flow-ortho.c (orthflow_draw): 
8864         * objects/FS/flow.c (flow_draw): Change to use
8865         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
8867         * lib/render.h: 
8868         * lib/arrows.c (calculate_arrow_point): 
8869         * lib/arrows.h: 
8870         * lib/render.c: 
8871         * objects/standard/zigzagline.c:
8872         * objects/standard/polyline.c:
8873         * objects/standard/line.c: Work towards better arrow drawing.
8875 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8877         * objects/UML/state.c: Starting phase-out of State object as
8878         initial/final state (which never worked right).
8880         * app/app_procs.c (app_init): --version command line option for
8881         non-Gnome.
8883         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
8885 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8887         * app/render_eps.c: Removed debugging info.
8889         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
8890         Kludge to make ascent and descent work for empty strings.  Won't
8891         work when using non-ASCII fonts.  Better would be to get a
8892         PangoFont and ask directly.
8894         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
8895         of the init stuff.
8897         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
8898         Cursor now better.
8900 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8902         * plug-ins/xfig/xfig-export.c: First use of draw_object render
8903         function: All shapes are now groups in XFig export.
8905         * lib/diagramdata.c (normal_render): 
8906         * lib/render.c: 
8907         * lib/render.h: 
8908         * app/display.c (ddisplay_obj_render): 
8909         New render function for drawing objects, allows renderers to group
8910         or otherwise specially handle objects.  We may want to reconsider
8911         calling it in app/display.c, as we 'know' the object draw function
8912         is the default one there.
8914         * lib/Makefile.am: Removed extra \ that broke stuff.
8916         * plug-ins/xfig/xfig-import.c: 
8917         Spline import for xfig.  Not perfect.
8919         * objects/standard/create.h: 
8920         * objects/standard/bezier.c (bezierline_create): 
8921         * lib/bezier_conn.c: 
8922         * lib/beziershape.c (beziershape_set_points): 
8923         * lib/bezier_conn.h: 
8924         * lib/beziershape.h: 
8925         Support for creating beziers non-interactively.
8927 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8929         * plug-ins/xfig/xfig-import.c: Support for polygons and
8930         polylines.  Special warning handling system removed.
8932         * lib/message.c (gtk_message_internal): Fixed bug involving
8933         closing message window and then getting repeated message.
8935         * Makefile.am: 
8936         * autogen.sh: 
8937         * configure.in (GETTEXT_PACKAGE): 
8938         Update based on bug #88199.  Hopefully this doesn't break too much
8939         intl stuff.
8941         * dia.desktop.in (_Comment): Changed after suggestion from
8942         calum.benson@ireland.sun.com (bug 88345)
8944         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
8945         <loli@unsa.edu.ar> that makes user/system distinction better.
8947 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8949         * app/render_libart.c: Got the context right, removed crashes.
8951         * app/commands.c: 
8952         * app/commands.h: 
8953         Redraw menu item.
8955         * app/display.c: 
8956         * app/display.h: 
8957         * app/interface.c: 
8958         * app/menus.c: 
8959         Remove libart #defines from most places (still around for png export).
8961         * app/render_libart.h: 
8962         * app/render_libart.c: 
8963         * configure.in (HAVE_LIBART): 
8964         Starting on update of libart stuff for png export (without X).
8966         * app/autosave.h (autosave_check_autosave): 
8967         * app/load_save.h: 
8968         * app/diagram.h: 
8969         * app/Makefile.am (dia_core_files): 
8970         * app/load_save.c: 
8971         * app/diagram.c (diagram_set_modified): 
8972         * app/autosave.c: 
8973         * app/app_procs.c (app_init): 
8974         Autosave support.  No automatic restore yet.
8976 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8978         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
8979         assignment. 
8980         
8981 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8983         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
8985 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
8987         * Fix for 'make dist' etc. --- problem caused by
8988         previous AUTHORS patch.
8990 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8992         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
8993         pango_context. 
8994         (set_font): NULL check.
8995         
8996 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8998         * app/disp_callbacks.c: 
8999         * lib/diamenu.h: 
9000         Addition to the object menus allows check menu items.
9002 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
9004         * HACKING: completely changed to bring up-to-date.
9005         * AUTHORS: file needs REMOVING from CVS as now
9006           dynamically generated.
9007         * app/authors.h: split into subcategories for original
9008           authors, maintainers, etc.
9009         * app/app_procs.c: --credits rewritten to support new
9010           app/authors.h
9011         * app/commands.c: no changes to about box code, comment
9012           added though.
9013         * Makefile.am: added rule for AUTHORS. I'm still
9014           inexperienced with automake, it seems to work, but
9015           for AUTHORS-related bugs, look at this change first.
9017 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9019         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
9020         work.  Back to including xslt dir always.
9022         * objects/UML/uml.c: 
9023         * objects/UML/class.h: 
9024         * objects/UML/class_dialog.c: 
9025         * objects/UML/class.c: Patch from
9026         <mattam@netcourrier.com>:  Adds comment visibility switch, also
9027         fixes various bugs.
9029         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
9030         for state/fork/activity stuff.
9031         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
9032         * objects/UML/Makefile.am:
9033         * objects/UML/uml.c:
9034         * sheets/UML.sheet.in: Added new objects activity, fork,
9035           state_term.
9036         * objects/UML/pixmaps/state_term.xpm:
9037         * objects/UML/state_term.c: New, only initial/final states.
9038         * objects/UML/pixmaps/activity.xpm:
9039         * objects/UML/activity.c: New, activity state.
9040         * objects/UML/pixmaps/fork.xpm:
9041         * objects/UML/fork.c: New, fork/join bar.
9042         * objects/UML/pixmaps/state.xpm: state icon.
9044         
9045         * doc/diagram.dtd: 
9046         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
9047         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
9048         svg:text to shape.
9050 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
9052         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
9053         detecting XSLT
9055         * app/Makefile.am: Commented out the diaconv parts while it's not
9056         used anyway.  To come back later.
9058         * configure.in (HAVE_FREETYPE): 
9059         * app/app_procs.c: 
9060         * app/render_eps.h: 
9061         * app/render_eps.c: Support for printing with freetype, better
9062         encapsulated now.  Renders the text nicely, but ignores font
9063         setting.  Requires pangoft2 to get the font outline, but non-text
9064         objects can still be rendered without it.
9066         * app/commands.h: 
9067         * app/commands.c (objects_place_up_callback) 
9068         (objects_place_down_callback): 
9069         * app/diagram.h: 
9070         * app/diagram.c (diagram_place_down_selected) 
9071         (diagram_place_up_selected): Starting support for moving objects
9072         one level up/down.
9074         * app/menus.c: Removed character/numeral shortcuts.
9076 2002-07-06  Hans Breuer  <hans@breuer.org>
9078         * makefile.am app/makefile.am lib/makefile.am
9079           objects/makefile.am plug-ins/makefile.am 
9080           plug-ins/python/makefile.am :
9081         added required files for win32 build to EXTRA_DIST
9083         * app/paginate_psprint.c app/render_eps.c 
9084           app/app_procs.c :
9085         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
9086         on Pango as currently is on win32 => no PostScript 
9087         anymore.
9089         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
9090         use '/* noop */;' for empty case labels; replace
9091         debug spew printf with g_print which is guaranteed 
9092         to work on win32, too.
9094         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
9095         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
9096         in the pango_font_description_set_weight() api documentation
9097         Take care for them in dia_font_get_style() too.
9099         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
9100           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
9101         rename Obliquity to Slant which appears to be the usual name,
9102         also rename dia_font_get_style_string -> dia_font_get_slant_string
9104         * plug-ins/wmf/wmf.cpp : finally ported to new font api
9106         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
9108         * objects/uml/association.c class.c large_package.c message.c
9109         if g_free() is used g_strdup needs to be used.
9110         * objects/custom/shape_info.c
9111           objects/ER/attribute.c entity.c
9112           objects/standard/image.c 
9113           app/sheets_dialog_callbacks.c : more strdup cleaning
9115 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9117         * app/render_eps.c: Non-crashing printing (made the right
9118         context).  Font output still fscked up.
9120 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
9122         * app/authors.h: Added file --- now master
9123         location for contributors data.
9124         * app/app_procs.c: Added --credits option.
9125         * app/commands.c: Modified about box to use
9126         app/authors.h.
9128 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9130         * app/render_eps.c: First stab at EPS rendering using the contour
9131         code from PAPS.  Crashes.
9133 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9135         * app/recent_files.c (recent_file_history_remove): 
9136         Fixed call to g_list_delete_link discarding return value.
9137         
9138         * lib/widgets.c (dia_font_selector_set_styles): 
9139         * lib/font.h (DiaFontWeight): 
9140         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
9142 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
9144         Contribution from Alan Horkan <horkana@tcd.ie>: 
9145         
9146         * shapes/Assorted/*
9147         * sheets/Assorted.sheet:
9148         A set of 40 assorted geometric shapes.
9150         * sheets/Assorted.sheet.in:
9151         * sheets/Makefile.am
9152         * shapes/Assorted/Makefile.am:
9153         * shapes/Makefile.am:
9154         * po/POTFILES.in:
9155         * configure.in:
9156         Done the integration job of Alan's shapes. (Translators: have fun!)
9158         * po/dia.pot: refreshed the main potfile.
9159         
9160 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
9162         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
9163         
9164         * objects/UML/class.[ch]:
9165         * objects/UML/class_dialog.c:
9166         changed the number of connection points from a hardcoded value of
9167         8 to a #defined constant
9169         (I changed the constant back from 20 to 8, until we better know
9170         how we'll handle more connection points on the UML class in the
9171         future -- but Tim's patch is a welcome clean-up).
9173 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
9175         * shapes/MSE/demultiplexer.xpm:
9176         * shapes/MSE/node_center.xpm:
9177         * shapes/MSE/multiplexer.xpm:
9178         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
9179         Horkan <horkana@tcd.ie>
9181 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9183         * lib/widgets.c: Total rehash of font selector, with font dialog
9184         option, expanding list (not LRU yet), and stuff.
9186 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
9188         * lib/font.h:
9189         * lib/font.c: 
9190         Added a set of new setter/getters, some of them more specially for
9191         the SVG-ish I/O.
9192         
9193         * plug-ins/shape/shape-export.c: (new_shape_renderer),
9194         (destroy_shape_renderer), (set_font), (draw_string):
9195         * plug-ins/svg/render_svg.c: (new_svg_renderer),
9196         (destroy_svg_renderer), (set_font), (draw_string):
9198         Actually exported the font face, style, weight and size (sodipodi
9199         agrees with dia on how a small sample should look like (a sample
9200         0.90 would not even display anyways). Yay !)
9202         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
9204         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
9206         (end of ChangeLog-less patch)
9208         * objects/custom/shape_info.c (parse_style): now understands the
9209         font-style and font-weight attributes as well. Does not use
9210         anymore dia_font_new_from_legacy_name().
9211         
9212 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9214         * objects/standard/textobj.c: Now uses stdprops for defaults.
9216         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
9217         * lib/font.c (dia_font_get_style): Style now linear and conversion
9218         simple. 
9220         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
9221         selector. 
9223 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
9225         * plug-ins/dxf/dxf-import.c:
9226         using dia_font_new_from_style()
9228         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
9230         * objects/UML/class.[ch]: Added a comment field to class
9231         * objects/UML/uml.[ch]: Added a comment field to attributes,
9232         operations and parameters.
9233         * objects/UML/class_dialog.c: Added code for the new comment
9234         fields.
9235         * plug-ins/xslt/*.xsl: Added some code to handle comments.
9236         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
9237         Added a $directory parameter for stylesheets so the output is 
9238         in the good place (not in the $PWD).
9240         (end of Patch)
9242         * AUTHORS: added contributors, updated maintainers. Removed the
9243         specific areas of action.
9245         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
9246         from a patch by Xing Wang <quixon@gnuchina.org>:
9248         * app/commands.c: help_about_callback now supports
9249         new-style GNOME about box as well as old GTK style. 
9250         code also tidied (Closes: #85726)
9252         (end of Patch)
9254         * app/commands.c: fixed the copyright (it's not all FSF), and
9255         maintainers. Synced contributors list with AUTHORS.
9256                 
9257 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9259         * lib/message.c: More work on repeating messages, now with
9260         togglable view.
9262 2002-06-24  Hans Breuer  <hans@breuer.org>
9264         * lib/widget.c : some more bits in place, at least
9265         it does something useful instead of crashing. Much
9266         better - but not all ok :-)
9268 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9270         * lib/message.c (gtk_message_internal): First stab at repeating
9271         message dialog.
9273 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
9275         * objects/FS/*.c:
9276         * objects/GRAFCET/*.c:
9277         * objects/SADT/*.c:
9278         * objects/UML/association.c: (one instance forgotten)
9279         * objects/UML/large_package.c: 
9280         * objects/standard/textobj.c:
9281         * lib/attributes.c:
9282         * lib/text.c:
9283         using dia_font_new_from_style()
9285 2002-06-23  Hans Breuer  <hans@breuer.org>
9287         * lib/font.c : giving some love to
9288         dia_font_new_from_legacy_name() that is making
9289         import of old files as painless as possible and
9290         provide an almost exact match where possible.
9291         It does not yet fully work because it interfers
9292         with the Style to DiaStyle conversion which comes
9293         next ...
9295         [Changing these files is only allowed with Dia-0.90]
9296         * broken-files/fonts-0.90.dia : including the
9297         common hard-coded fonts from Dia-0.90. It also
9298         has drawn bounding-boxes for win32 as they were calculated
9299         from the former version (they were all too big).
9300         * broken-files/fonts-0.90-full.dia : all hardcoded
9301         fonts including the asian versions. On my machine
9302         this gives _a lot_ complaining about missing fonts
9303         and a finally a broken file display. Anyone having
9304         all these fonts ?
9305         
9306 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
9308         * objects/chronogram/*.c: 
9309         * objects/custom/custom_object.c:
9310         * objects/ER/*.c:
9311         using dia_font_new_from_style()
9313 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9315         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
9316         font selector (stability, insensitivity).
9318         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
9319         stretching scheme for tweaking, and made scaling scheme faster
9320         (but less precise).
9321         (dia_font_dia_style_to_pango): Oops, % != /.
9323 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
9325         
9326         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
9328         * plug-ins/xslt : Added an XSLT plugin to export dia files using
9329         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
9330         It includes a small config file to tell it what stylesheets to use.
9332         (end of patch)
9333         
9334         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
9335         GTK2.0/HIG compliant (the labels could be slightly more verbose,
9336         perhaps). Added back a couple forgotten _(). Removed //-style
9337         comments.
9338         
9339 2002-06-23  Hans Breuer  <hans@breuer.org>
9341         * lib/plug-ins.c
9342         (dia_plugin_get_name) : don't crash plugin_manager
9343         on name being NULL 
9344         (dia_plugin_load) : reuse the description field to
9345         store the error string if loading fails.
9347         * lib/font.[hc] : starting to beautify the new
9348         font api: proper namespacing, adding convenience
9349         functions like dia_font_new_from_style(), ...
9351         * objects/uml/*.c : use the new convenience functions.
9353         [Next thing I plan to do is changing the other font
9354          functions to take DiaStyle and make Style and 
9355          BASIC_*_FONT vanish. As well as giving some love to
9356          dia_font_new_from_legacy_name().
9357          If anyone want's to help on converting the other
9358          objects to the new api during that, I would highly 
9359          appreciate it.]
9361 2002-06-23  Hans Breuer  <hans@breuer.org>
9363         * lib/font.c : made it compile and small indent fixes.
9364         Is there a code-has-no-effect-so-needs-not-be-valid
9365         with GCC?       
9367         * lib/widgets.c : use g_strcasecmp
9369 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9371         * lib/font.c: 
9372         * lib/font.h: 
9373         * lib/widgets.c: Font names sorted, style selector widget
9374         reappeared.  Doesn't select the old style yet.
9376 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
9378         * lib/font.c: one who expects a text's font to be changed shall 
9379         actually request the attributes to apply to the whole range of the
9380         said text... D'oh! 
9382         * lib/font.c: extents computation was wrong.
9384         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
9385         if a last NULL parameter is added...
9387         * lib/font.c: extents computation was completely wrong. This looks
9388         much better this time.
9390         * objects/UML/class.c: fixed the various strings positions.
9392         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
9393         macros to get the hardcoded base fonts.
9395         * objects/ER/relationship.c: wasn't converted to DiaFont*
9396         
9397 2002-06-22  Hans Breuer  <hans@breuer.org>
9399         * lib/widget.c : dont use backend specific functions
9400         to get on the font_families. Including it would mean
9401         including <windows.h> which breaks due to namespace
9402         pollutions ...
9404         * lib/libdia.def : updated externals
9406         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
9408         * lib/font.c : added empty dia_font_init_instance function,
9409         reformatting of dia_fon_unref to allow to set breakpoint,
9410         dia_fon_build_layout() : dont crash on string==NULL
9412         * lib/text.c (text_set_attributes) : don't unref the wrong font
9414         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
9415         stores lowercased font names, but dia_font_get_family()
9416         returns mixed case      
9418 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9420         * lib/widgets.c: 
9421         * app/render_gdk.c: Patch from Hans Breuer.
9423         * app/Makefile.am (dia_core_files): diaconv commented out for now.
9424         
9425 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
9427         * lib/all files touched yesterday: took into account some of Hans
9428         Breuer's remarks in
9429         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
9431         * objects/chronogram/*: 
9432         * objects/custom/*:
9433         * objects/ER/*:
9434         * objects/flowchart/*:
9435         * objects/FS/*:
9436         * objects/GRAFCET/*:
9437         * objects/SADT/*:
9438         * objects/standard/textobj.?:
9439         * objects/UML/*:
9440         converted to the new DiaFonts.
9442         * plug-ins/cgm/*:
9443         * plug-ins/pstricks/*:
9444         * plug-ins/wpg/*:
9445         * plug-ins/dxf/*:
9446         * plug-ins/xfig/*:
9447         Made minimalistic conversions so that they'd at least compile.
9449         * app/render_gdk.c:
9450         * app/render_pixmap.c:
9451         Converted to the new DiaFonts.
9453         * app/app_procs.c
9454         * app/diaconv.c:
9455         * app/render_eps.c:
9456         made the minimal changes so that it would at least build.       
9458         *** At this point, the thing builds on my machine, but segfaults
9459         right away. ***
9460         
9461 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
9463         * configure.in: removed the backend-specific pango pkg_modules
9464         (trivial to add back if needed, when actually needed)
9466         * app/Makefile.am:
9467         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
9468         renderer. The APIs will have completely changed when we get around
9469         to redo a renderer for it, anyways.
9471         * font.[ch]: rewrote everything from scratch, with a Pango
9472         implementation. Normally, only backend-neutral things should go in
9473         there.
9475         **WARNING**: new rules for managing DiaFont* pointers: these are
9476         reference-counted GObjects. One >must< diafont_ref() and
9477         diafont_unref() as appropriate. I wish I could overload operator=()...
9479         lib/plug-ins.h: bumped up the plug-in API.
9480         
9481         lib/attributes.c: 
9482         lib/dia_xml.c: 
9483         lib/dummy_dep.h
9484         lib/object_defaults:
9485         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
9486         again tomorrow with GObject.
9487         
9488         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
9490         **** The rest of the tree should be updated as well ****
9491         
9492 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
9494         * app/render_gdk.h: 
9495         * app/render_gdk.c: 
9496         * app/render_pixmap.c: 
9497         * app/render_pixmap.h: 
9498         * app/render_libart.h: 
9499         * app/render_libart.c: 
9500         * lib/font.h: 
9501         * lib/font.c: Removed freetype stuff (still around in
9502         lib/widgets.c 'cause we might want the font selector widget).
9504 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
9506         * shapes/network/laptop.(xml|shape):
9507         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
9508         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
9510 2002-06-17  Hans Breuer  <hans@breuer.org>
9512         * lib/object_defaults.c : #include <libxml/tree.h> not
9513         <tree.h> pointed out by Xing Wang
9515 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9517         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
9518         * lib/widgets.c: 
9519         * app/color_area.c: Update to
9520         gtk_color_selection_*_current_color() fixed bad crash issues, plus
9521         updated color conversions.
9523         * sheets/ER/weakentity.xpm: Accepted patch from
9524         quixon@gnuchina.org to make icon match actual appearance.
9526         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
9527         quixon@gnuchina.org.
9529 2002-06-16  Hans Breuer  <hans@breuer.org>
9531         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
9532         good tradition of information hiding. Add new function
9533         dia_plugin_get_symbol()
9534         * app/sheets.c app/sheets_dialog_callbacks.c : use it
9536         * app/sheets.c : stop complaining about object_get_type() 
9537         returning NULL. This is a consequence of e.g. disabling 
9538         plug-ins at runtime _and_ it was and is gracefully handled. 
9539         Spitting out g_warning for it isn't appropriate. 
9541         * lib/object.[ch] : removed dead code
9543         * app/plugin-mangager.c : almost complete rewrite for gtk2
9544         using GtkListStore/GtkTreeView
9546         * lib/libdia.def : updated externals
9548         * todo.gtk2 : updated, that is removed already done steps
9550 2002-06-15  Hans Breuer  <hans@breuer.org>
9552         * objects/uml/class_dialog.c : clean some left-over
9553         utf8-mess, return 0 from "focus_out_event" handlers
9554         to avoid asserting in gtk (#78305). Reconstruct 
9555         stereotype/NULL behaviour to avoid rendering empty
9556         stereotypes on classes and member functions
9558         [#56109 - Provide object defaults for StdProp objects,
9559          some remaining issues are discussed in bugzilla]
9561         * lib/object_defaults.c : (new file) manage default properties 
9562         of dia objects. The serialization is done with standard
9563         object methods in a diagram compatible format.
9565         * lib/object.c : add object_registry_foreach() which allows
9566         to iterate over all registered object types
9568         * lib/object.h : added prototypes object_default*() and
9569         object_registry_foreach()
9571         * lib/makefile.am lib/makefile.msc : add new file to build
9573         * lib/libdia.def : export new functions
9575         * app/defaults.c : provide StdProp based defaults if the
9576         ObjectType doesn't implement it's own default functions
9578         * app/create_object.c : through dia_object_default_create()
9579         * app/disp_callbacks.c : same here
9581 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9583         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
9584         sensitivity for deleting segments.
9586 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
9588         * app/color_area.c: (color_area_events):
9589         * app/diagram.c: (diagram_destroy):
9590         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
9591         (fill_sheet_menu):
9592         * app/load_save.c: (diagram_data_load):
9593         * app/menus.c: (menus_get_item_from_path):
9594         * app/preferences.c: (prefs_load):
9595         * app/render_gdk.c: (get_text_width):
9596         * lib/arrows.h:
9597         * lib/color.c: (color_convert):
9598         * lib/dia_dirs.c: (dia_config_filename):
9599         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
9600         * lib/intl.c: (intl_get_language_list):
9601         * lib/message.c: (message):
9602         * lib/message.h:
9603         * lib/paper.c: (get_default_paper):
9604         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
9605         * lib/widgets.c: (dia_file_selector_get_file):
9606         * lib/widgets.h:
9607         * objects/standard/image.c: (get_directory):
9609         warningectomy.
9610         
9611 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9613         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
9615 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
9617         * app/interface.c: sscanf now returns EOF on empty string, so
9618         handle no match for zoom factor better => correct zoom at start.
9620         * app/sheets.c (create_object_pixmap): Tried to display empty error.
9621         (sheets_optionmenu_create): Died when not finding specified
9622         sheet.  Don't think it should.
9624         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
9625         (bug #84367) to place the text better.
9627 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
9629         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
9630                         
9631         * app/commands.c: Removed unnecessary gnome include. Removed
9632         GNOME-Print support.
9634         * app/menus.h: Removed now unnecessary gnome include.
9635         
9636         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
9637         GNOME-specific stock buttons
9638         
9639 2002-06-09  Hans Breuer  <hans@breuer.org>
9641         * app/app_procs.c : convert 'Modified diagrams exits'
9642         dialog to use GtkMessageDialog. That gives us:
9643         - icons without Gnome dependency
9644         - much less code, also cross platform
9645         - improved useability ?
9647         * app/color_area.c : the Color Selection Widget looked
9648         quite wrong (alpha problems). Fix it by merging in required
9649         changes stolen from The Gimp cvs
9650         * app/color_area.h : to get the right appearance the maskes
9651         needed to be taken into account
9652         * app/interface.c : adapt to color_area_create changes.
9653         Also remove some dead code and finally remove cvs autexpansion, 
9654         I was bothered enough by irrelevant differences :-)
9656         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
9657         api, i.e stocks and response to make the GnomeDialog usage
9658         obsolete. Also fixed the issue with closing the 'parent'
9659         before closing the dialog
9661         * app/display.[ch] : removed some dead code and conversion
9662         to new GtkDialog api. Also trying to conform to new HIG
9663         standard http://developer.gnome.org/projects/gup/hig/
9665 2002-06-09  Hans Breuer  <hans@breuer.org>
9667         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
9668         build ps-utf8.c
9670         * lib/dia_image.c : gtk_widget_set_default_visual()
9671         remove. It does nothing with Gtk2.
9673         * lib/libdia.def : added ps_unicoder exports
9675         * lib/message.c : remove #GNOME use GtkMessageDialog.
9676         Yeah, Dia gets dialogs wit icons cross-platform.
9678         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
9679         to gtk_spin_button_get_value()
9681         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
9683         add #undef GTK_DISABLE_DEPRECATED to still use ...
9684         * lib/prop_text.c :  ... GtkText
9685         * lib/prop_widgets.c : ... GtkList
9686         * lib/prop_dialogs.c : ... gtk_signal_connect and more
9687         * lib/widgets.c : ... (too much to list here)
9689         * lib/ps-utf8.c : #include <string.h>
9691 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
9693         * configure.in:
9694         * Makefile.am:  Adapted for gtk2.
9695         Removed dependencies on libunicode, on iconv(), on langinfo().
9697         * acconfig.h: removed (now obsolete)
9699         * lib/charconv.[ch]: removed (superceded by glib)
9700         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
9702         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
9703         libunicode types for their glib counterparts. Fixed the include
9704         paths for libxml2. Removed all traces of libxml1 or non-UTF8
9705         support (there were remains in objects/uml).
9707         
9708 2002-06-08  Hans Breuer  <hans@breuer.org>
9710         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
9711         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
9712         Also use g_strdup()'s handling of NULL by returning NULL
9713         again at all places I found (remove unnecessary if's)
9715         * todo.gtk2 : new file to keep notes about gtk2 porting,
9716         further issues and thoughts and some status information.
9717         Also sent to dia-list ('Dia goes Gtk2 ...').
9718         
9719         [make it compile with GTK+ 2.0]
9721         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
9722         removed definition of S_ISDIR, S_ISREG and getlogin
9724         * */makefile.msc : Use GTK2 and libxml2
9725         BEWARE: makefile.am, configure.in not yet ported !
9727         * app/app_procs.c app/diagram.c : remove 
9728         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
9729         but set use gtk_menu_set_accel_path() on menu creation
9731         * app/color_area.c lib/widgets.c : 
9732         make use of gtk_color_selection_set_has_palette ()
9734         * app/commands.c : gdk_pixbuf_new_from_file wants an 
9735         extra argument. Convert from DIR to GDir usage.
9737         * app/diagram_tree.c(button_press_callback) : need to return 
9738         FALSE in the signal handler to let gtk process it further.
9739         (get_object_name) : don't leak 'prop'
9740         
9741         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
9742         dia_page_layout_destroy() getting called more than once
9744         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
9745         GtkTypeInfo changes
9747         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
9749         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
9750         IIRC this code will not compile unchanged when USE_XIM is defined ...
9752         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
9754         * app/interface.c : there is no widget->klass anymore in Gtk, 
9755         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
9756         parameter. Some tweaking of GtkWrapBox usage to get four tools in
9757         a row again.
9758         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
9759         get triple buffering and flicker.
9760         Replace call to GTK private function _gtk_accel_group_attach()
9761         with public gtk_window_add_accel_group()
9763         * app/layer_dialog.c : adapt to GtkTypeInfo changes
9765         * app/load_save.c lib/plug-ins.c lib/sheet.c 
9766           objects/custom/custom.c : 
9767         simplified by using g_file_test()
9769         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
9770         to gtk_accel_map_<save|load>. Also added common stock-icons
9771         to the menu.
9772         
9773         * app/preferences.c : use gtk_button_set_label() instead
9774         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
9776         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
9777         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
9778         in config.h.win32
9780         * app/recent_files.c : removed GLIB_CHECK_VERSION
9782         * app/render_eps.c 
9783           plug-ins/metapost/render_metapost.c
9784           plug-ins/pstricks/render_pstricks.c
9785           plug-ins/svg/render_svg.c :
9786         replace getlogin() with g_get_user_name() which always
9787         returns non NULL
9789         * app/render_gdk.c : gdk_region_union_with_rect() modifies
9790         inplace now and returns nothing, also less #hell
9792         * app/render_libart.c : some initial #hell cleaning, SuckFont
9793         still needs to vanish
9795         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
9796         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
9798         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
9799         * app/sheets_dialog_callbacks.c : some #hell and adaptions
9800         needed to GtkWrapBox api changes
9803         * lib/charconv.[hc] : removed from build
9804         [changed appropriate]
9805         * lib/prop_inttypes.c lib/prop_text.c : 
9806         all utf-8 cleaning 
9807         * lib/text.c : ported from HEAD but keep original indent
9808         intact. Original was done by Akira TAGOH.
9810         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
9812         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
9814         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
9815         same on all platforms now!
9817         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
9819         * lib/message.c : remove "charconv.h"
9821         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
9823         * lib/plug-in.c :
9824         * lib/sheet.c : convert from DIR to GDir usage
9826         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
9828         * lib/widgets.h : include gtk<label|colorseldialog>.h
9831         * objects/fs/flow.c :
9832         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
9834         * objects/custom/custom.c : convert from DIR to GDir usage
9837         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
9840 2002-05-03  Hans Breuer  <hans@breuer.org>
9842         * lib/dia_xml.c : make the well formed utf8 check
9843         actually work for &#251; (non 7-bit ascii encoding)
9844         and fixed the file re-writing if the check fails.
9845         Thanks to Vitaly Lipatov for noticing the misbehaviour.
9847         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
9848         comment on last ressort font. Thanks to Maxim Sobolev.
9850 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
9852         * sheets/network.sheet.in: corrected a typo in plotter invocation.
9854 2002-06-03  Steffen Macke  <sdteffen@web.de>
9856         * shapes/network/digitizing_board.png:
9857         * shapes/network/digitizing_board.shape:
9858         * shapes/network/plotter.png:
9859         * shapes/network/plotter.shape:
9860         * shapes/network/Makefile.am
9861         * sheets/network.sheet.in: added new plotter and digitizing
9862         board shapes
9863         
9864 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
9866         * lib/font.c: made a symptomatic fix to a segfault reported by 
9867         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
9868         won't prevent dia from terminating, but should give more
9869         user-friendly information about why did it terminate.
9871         Two patches from <robert.young@dsto.defence.gov.au>:
9872         
9873         * app/display.c: fix the size of the canvas area which gets
9874         redrawn. There was an off-by one error (Closes #83659)
9876         * app/display.c: make sure we redraw all screen only when we
9877         really have to (some update_areas were mistakenly ignored) (Closes
9878         #83496). 
9880         * NEWS: added a new entry for the future. Put there a reminder to
9881         update the dependencies.
9883         * configure.in: put in notes about what will change shortly.
9884         upped the version to 0.90+cvs (did also in config.h.win32)
9885         upped the minimum version for intltools (now 0.21)
9886         
9887 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
9889         * dia.spec:
9890         * configure.in:
9891         * NEWS:
9892         * config.h.win32:
9893         bumped up version number to 0.90. Yay!
9895 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
9897         * doc/pl/Makefile.am:
9898         * doc/en/Makefile.am: fixed a "make install" problem when db2html
9899         is not present (Reported by Andrew Ferrier
9900         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
9901         problem which prevented me from ever seeing the problem in doc/en...
9902         
9903         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
9904         
9905         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
9906         way to read the font path from the XFS configuration files in
9907         order to enable FreeType (fixes #83098).
9909         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
9910         shipped nowadays.
9911                 
9912         * dia.spec:
9913         * configure.in:
9914         * NEWS:
9915         * config.h.win32:
9916         bumped up version number to 0.90.RC3
9918 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
9920         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
9921         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
9922         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
9923         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
9924         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
9925         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
9926         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
9927         Added Polish documentation.
9929 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
9931         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
9932         format for the UML State object. Now there's a hack to reload
9933         older files, and get them converted on the fly. 
9934         Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
9936         * lib/properties.h:
9937         * lib/propobject.c:
9938         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
9939         and adapter the proplist predicates. A LOAD_ONLY property is for
9940         when you have legacy to support but can't resist moving your
9941         fields around... (was needed to support the above state.c fix).
9943         If the in-core of your object changes and you need a LOAD_ONLY
9944         property for the old format, you must keep some spare room in your
9945         object's struct to accomodate for the potential old-style
9946         attributes. Then in foo_load(), after having called
9947         object_load_using_properties(), you must inspect the old-style
9948         fields and act accordingly. Don't ever change the on-disk formats...
9950         * objects/UML/object.c:
9951         * objects/UML/small_package.c: added a check against empty
9952         stereotypes still consuming space. Reported by Dolores Alia de
9953         Saravia <loli@unsa.edu.ar>. Thanks!     
9954         
9955 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
9957         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
9958         using libtool on an AFS partition.
9960         * po/update_potfiles_in.sh: now simply calls the recent intltools 
9961         features; they work better than hand-crafted half-ignorant
9962         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
9963         for the tip.
9965         * po/POTFILES.in: added back two files update_potfiles_in.sh
9966         didn't take into account. Now this file is not automatically
9967         generated anymore!      
9968         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
9969         (the usual suspects, in fact).
9971         * configure.in: improved the isinf() / isfinite() detection on
9972         Solaris (MÃ¥rten Svantesson)
9973         
9974 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
9976         * configure.in: one expression was replacing $CFLAGS, removing
9977         whatever was previously in.
9978         Added more checks for isinf() and finite() on Solaris.
9980         * lib/geometry.h: added a macro defintion for isinf() if not
9981         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
9982         on Win32)
9984         * app/commands.c: "cut" did not set the 'modified' bit (paste has
9985         been for a little while). Fixes #82994.
9987         * Makefile.am: added more stuff to distclean-local. This should make
9988         "make distcheck" pass! Thanks to the author of
9989         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
9990         ... I wonder who this Henstridge guy is ... ;-)
9991         Darn. Still doesn't pass. I give up for tonight.
9992         
9993         * po/update_potfiles_in.sh: updated to take care of sheet files,
9994         and to filter out the EML plug-in.
9995         * po/POTFILES.in: updated with all .c and all .sheet.in files 
9997         * po/dia.pot, po/*.po: again updated all .po files with all
9998         strings (with the updated POTFILES). Now with the up-to-date
9999         POTFILES, just all languages have some fuzzy or untranslated
10000         strings (not that the 100% team was that large beforehand...)
10002         * po-checktrans: removed the comment about .po files not holding
10003         all translatable stuff, since now they do.
10004         
10005 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
10007         * dia.spec:
10008         * configure.in:
10009         * NEWS:
10010         * config.h.win32:
10011         bumped up version number to 0.90.RC2
10013 2002-05-20  Hans Breuer  <hans@breuer.org>
10015         * app/load_save.c : starting to increase
10016         Dias tolerance on incomplete/broken files. The 
10017         corresponding bug is #56233. But the patch there does
10018         neither apply anymore nor does it really fix the problem
10019         but only delays it, e.g. even if it would be allowed
10020         to read a file without any layers, the later code can't
10021         handle it.
10022         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
10023         handle passing in NULL for the node gracefully.
10025         * shapes/network/printer.shape : added two more connection
10026         points - one at each side - to fix bug #60359
10028         * app/commands.c (edit_copy_callback) : 
10029         add ddisplay_do_update_menu_sensitivity() to make 
10030         sequence select-copy-paste work.
10032 2002-05-20  Hans Breuer  <hans@breuer.org>
10034         * app/create_object.c (create_object_button_press) :
10035         added a call to ddisplay_do_update_menu_sensitivity()
10036         to make Ctrl^D etc work after object creation. 
10037         Fixes #80983.
10039 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
10041         * objects/ER/entity.c: 
10042         * objects/ER/attribute.c: 
10043         * objects/ER/relationship.c: Patch to allow text size change from
10044         Celso Tetsuo Nagase Suzuki.
10046 2002-05-18  Steffen Macke <sdteffen@web.de>
10048         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
10049         libxml2)
10050         * doc/en/graphics/greendots.png:
10051         * doc/en/home_network.png:
10052         * doc/en/line_props.png: 
10053         * dia-diagram.png:
10054         * dia_gnome_icon.png:
10055         * dia_gnome_menu_icon.png:
10056         * dia_logo.png:
10057         * shapes/network/telephone.png:
10058         * shapes/Logic/and.png:
10059         * shapes/Logic/buffer.png:
10060         * shapes/Logic/connector.png:
10061         * shapes/Logic/inverter.png:
10062         * shapes/Logic/nand.png:
10063         * shapes/Logic/nor.png:
10064         * shapes/Logic/not.png:
10065         * shapes/Logic/or.png:
10066         * shapes/logic/xor.png:
10067         * samples/ER-demo.dia:
10068         * samples/SADT.dia:
10069         * samples/UML-demo.dia:
10070         * samples/chronograms.dia:
10071         * samples/grafcet.dia: re-added as binary files
10073 2002-05-17  Hans Breuer  <hans@breuer.org>
10075         * lib/libdia.def : reflect removing of render_store.[ch]
10077         * */makefile.mingw : remove VERSION definition it's
10078         done in config.h.win32. Dia still doesn't work if
10079         build with mingw ...
10081         * RELEASE-PROCESS : removed */makefile.mingw
10083         * app/sheets_dialog_callbacks.c : if we use those
10084         ugly charconv_gtk_* functions lib/charconv.h needs to
10085         be #included ...
10086         * lib/charconv.h : ... and needs to contain the 
10087         necesseray prototypes _and_ #defines
10089         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
10090         is deprecated and does nothing but spit a warning. This broke
10091         the shape format writing. Fixed.
10092         Also with libxml2 pretty formatted xml isn't the default
10093         anymore, but needs to be enabled explicit: It is done now 
10094         for shape files, which almost always needed to be edited by
10095         hand ... 
10097         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
10098         from stderr - which is invalid on Dia/win32 - to g_print -
10099         which opens up a console window if necessary. This way
10100         a xml-deprecation-error shouldn't stay unnoticed next time
10102 2002-05-17  Steffen Macke <sdteffen@web.de>
10104         * shapes/Misc/folder.png:
10105         * shapes/Misc/file.png: re-added as binary files
10106         
10107 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10109         * lib/font.c: Fixed segfault for fonts without family_name.
10111 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
10113         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
10115         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
10116         Lars' request, minor cosmetic stuff (mostly _() of human-readable
10117         XML comments in .sheet files; one translator booby-trap disarmed).
10119         * lib/charconv.c: moved #hell inside the body of the new
10120         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
10121         will yell)
10122         
10123 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10125         * plug-ins/wpg/Makefile.am (INCLUDES): 
10126         * plug-ins/shape/Makefile.am (INCLUDES): 
10127         * plug-ins/svg/Makefile.am (INCLUDES): 
10128         * plug-ins/pstricks/Makefile.am (INCLUDES): 
10129         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
10130         and DEBUG_CFLAGS in some missing places.
10132         * MAINTAINERS: New file containing list of known package
10133         maintainers. 
10135         * lib/charconv.h: 
10136         * lib/charconv.c: Charconv versions of some common gtk calls.
10138         * app/sheets_dialog_callbacks.c
10139         (on_sheets_new_dialog_button_ok_clicked),
10140         (on_sheets_dialog_button_edit_clicked),
10141         (on_sheets_dialog_button_remove_clicked),
10142         (on_sheets_edit_dialog_button_ok_clicked):
10143         * app/sheets.c (sheets_optionmenu_create),
10144         (sheets_optionmenu_create): Added utf8 translations.
10146         * app/sheets_dialog.c: 
10147         * app/sheets.c: 
10148         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
10150 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
10152         * po/POTFILES.in: added app/sheets_dialog.c
10154 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
10156         * lib/charconv.c: (charconv_local8_to_utf8),
10157         (charconv_utf8_to_local8): tweaked the warnings to get more 
10158         informations
10159         * lib/font.c: (font_get_suckfont): handled a potential case of
10160         uninitialised data being used (just paranoid)
10161         
10162         * objects/GRAFCET/boolequation.c: (opstring),
10163         (opblock_get_boundingbox), (opblock_draw),
10164         (boolequation_calc_boundingbox): some extra hoops needed now dia
10165         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
10166         symbols can't yet be used with their proper Unicode cells, since
10167         gtk will demand them in the Symbol font, expressed in the local
10168         8-bit encoding.
10169         
10170         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
10171         the fix just above).
10173 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10175         * app/diagram_tree.c (get_object_name): Check that name property
10176         doesn't have null string.
10178 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10180         * autogen.sh (DIE): Added conditional --force to gettextize.
10182         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
10183         function call.
10185 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
10187         * RELEASE-PROCESS: added James' notes on how to properly make the
10188         tarball.
10190         * configure.in: removed macro nesting related to libpng.h, which
10191         was causing some problems on some systems (like mine, which made
10192         the snapshots bad).
10194         Made --enable-unicode, previously an option, the mandatory case.
10196         * app/Makefile.am: updated EXTRA_DIST
10197         
10198         * NEWS:
10199         * app/makefile.mingw:
10200         * dia.spec:
10201         * doc/en/dia-manual.sgml:
10202         * plug-ins/makefile.mingw:
10203         * configure.in: bumped up the version number to 0.90.RC1
10205         * lib/render_objects.[ch]:
10206         * po/POTFILES.in: removed render_objects from the build.
10208         * plug-ins/Makefile.am:
10209         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
10210         so we keep its source in the tarball.
10212         * objects/network/*.c, Makefile.am:
10213         * objects/sybase/*.c, Makefile.am:
10214         * po/POTFILES.in: cleaned up the non-existent files from the po
10215         build process.
10217         * plug-ins/Makefile.am: re-enabled metapost plug-in.
10218         
10219 2002-05-13  Steffen Macke <sdteffen@web.de>
10221         * AUTHORS:
10222         * app/command.c: added M. C. Nelson to the Authors
10223         * sheets/Circuit/Makefile.am: added firewall shape to build
10224         * sheets/network/Makefile.am: added telephone and microphone
10225           shapes to build
10227 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10229         * RELEASE-PROCESS: Added list of files that contain the release
10230         number or should otherwise be changed at each release.
10232 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10234         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
10235         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
10237 2002-05-12  Hans Breuer  <hans@breuer.org>
10239         * config.h.win32 : changed VERSION to 0.90.RC1
10241         * app/makefile.msc lib/makefile.msc : use renamed
10242         gdk-pixbuf version (same content but renamed because
10243         all the other gtk+ dlls are renamed) to avoid trouble
10244         mixing gtk versions (of which one would not 
10245         be initialized ...
10247         * app/app_procs.c : removed recently unneeded
10248         inclusion of "sheets.h"
10250         * app/render_gdk.c : removed my own debug spew
10251         which should never made it to cvs
10253         * lib/render_object.[hc] : added
10254         #error "File not used anymore."
10256         * lib/libdia.def : updated externals
10258         * app/interface.c : dropped filenames need to be
10259         converted from uri with Gtk+2.0
10261 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
10263         * RELEASE-PROCESS (new): a draft document about how to release. To
10264         be discussed. (already with some input from Hans Breuer)
10266 2002-05-12  Steffen Macke <sdteffen@web.de>
10268         * sheets/Makefile.am: re-added Misc sheet to make process
10269         
10270 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10272         * objects/FS/function.c: Added comments to humungous list of menu
10273         items, to aid translators.
10275 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10277         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10279         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10281         * app/interface.c (create_toolbox): Disallow shrinking beyond
10282         requested size.  Fixes bug #59439, and confirms to GTK guidelines
10283         (see gtk_window_set_policy).
10284         (create_sheets): Removed now unnecessary set_usize call.
10286 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10288         * lib/beziershape.c (remove_handles): Fixing removal of last
10289         segment.  Undo of removal still hokey.
10291 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
10293         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
10294         handles. 
10295         * lib/beziershape.c (beziershape_init): Removed early call to
10296         beziershape_update_data where points aren't set yet.
10297         (beziershape_add_segment): Use segment 0 instead of overflowing
10298         points array with segment+1.
10299         (beziershape_remove_segment): Proper offset for fixing
10300         connectionpoints. 
10301         (remove_handles): Proper offset.
10303 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
10305         * objects/GRAFCET/action.c (action_update_data): Init x value of
10306         click point for call to connpointlist_adjust_count.
10308         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
10310         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
10311         setting to where values are inited.
10313         * lib/polyshape.c (polyshape_init): Removed call to
10314         polyshape_update_data that tried to use uninitialized data.
10316 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10318         * app/sheets_dialog.c: Mass removal of //-style comments.  The
10319         Irix compiler doesn't like them:(  I do...
10321 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
10323         * app/render_libart.c (draw_string): Bail out when no GDK font is
10324         found.
10325         (set_font): Give error when font not found.
10326         (set_fillstyle): Intlized error msg.
10328         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
10329         modified when applied (and ok only does apply if apply is set
10330         sensitive).  Fixes bug #75623.
10332 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
10334         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
10336 2002-05-05  Steffen Macke <sdteffen@web.de>
10338         * app/Makefile.am: added $(UNICODE_CFLAGS)
10339         
10340 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
10342         * app/commands.c (help_manual_callback): Check return value of
10343         opendir.
10345         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
10347         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
10348         checks for errors.
10350 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
10352         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
10354         * objects/UML/uml.c (uml_operation_read): Fix of UML default
10355         inheritance. 
10357 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10359         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
10360         Added button to toggle diagram compression.
10362 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10364         * lib/font.c: Support for loading extra kerning files, plus got
10365         rid of rounding errors.  Bounding box mostly perfect for freetype
10366         fonts.
10367         (font_string_width): Fudge factor to get around nonlinearity of
10368         font scaling.
10370 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
10372         * lib/font.c (font_string_width): YA font calculation scheme, with
10373         comments.
10375         * objects/UML/class.c (umlclass_calculate_data): Uses the same
10376         font for drawing and calculating now.
10378         * configure.in: Added utime.h check.
10380         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
10381         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
10383 2002-04-26  Hans Breuer  <hans@breuer.org>
10385         [ Instead of fixing about 70 occurances in 20 files
10386           where GTK_TALKS_UTF8_WE_DONT needed to be handled
10387           Dia on win32 from now on uses glib-2.0 and not 
10388           only talks utf-8 with gtk-1.3 but also internally.
10389           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
10390           anymore. ]
10392         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
10393         #undef GTK_TALKS_UTF8_WE_DONT
10395         * */makefile.msc : changes to use glib-2.0 (still
10396         using gtk+1.3(win32-production)
10398         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
10399         adapt kevent->string handling, add <string.h>
10400         * app/render_gdk.c (get_text_width) : the length given
10401         is in chars, gdk_text_width() needs bytes
10403         * app/render_libart.c : 
10404         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
10405         (could simplify the same way as done in render_gdk.c)
10407         * app/diagram_tree.c app/paginate_gdiprint.cpp
10408           app/sheets.c :
10409         * lib/prop_basic.c lib/prop_geomtypes.c 
10410           lib/propdialgs.c lib/propobject.c :
10411         added <string.h> which is now removed from charconv.h
10413         * lib/charconv.h : optional use infrastructure from
10414         glib-2.0 -> only five direct function mapping left
10416         * lib/charconv.c : avoid to build this with glib-2.0
10418         * lib/font.c : no string conversion needed anymore      
10419         when Dia and Gtk talk utf-8, also code adaptions
10420         for GLIB_CHECK_VERSION(2,0,0)
10422         * lib/libdia.def : removed charconv functions
10424         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
10425         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
10427         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
10428         removed GTK_TALKS_UTF8_WE_DONT
10430         * lib/text.c : finally(?) fixed cursor <place|move>ment 
10431         for Umlauts. Also fixed char insertion, still wondering
10432         how this could ever work. Does realloc on Linux 
10433         initialize the memory with zeros ?
10435         * objects/chronogram/chronoline_event.c
10436           objects/grafcet/boolequation.c :
10437         there is no uni_get_utf8 when building for glib-2.0.
10438         Replace with g_utf8_get_char() and g_utf8_next_char().
10440         * objects/uml/stereotype.c (bracketted_to_string) : 
10441         simplify while adding code for glib-2.0 build
10443 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
10445         * app/diagram.h: Autosave field
10446         * app/diagram.c (diagram_set_modified): Sets autosave field.
10447         
10448         * objects/UML/usecase.c (usecase_update_data): 
10449         * objects/flowchart/ellipse.c (ellipse_update_data): 
10450         * objects/flowchart/parallelogram.c (pgram_update_data): 
10451         * objects/flowchart/diamond.c (diamond_update_data): 
10452         * objects/custom/custom_object.c (custom_update_data): 
10453         * objects/UML/state.c (state_update_data): 
10454         * objects/UML/small_package.c (smallpackage_update_data): 
10455         * objects/UML/object.c (objet_update_data): 
10456         * objects/UML/note.c (note_update_data): 
10457         * objects/UML/node.c (node_update_data): 
10458         * objects/UML/component.c (component_update_data): 
10459         * objects/UML/classicon.c (classicon_update_data): 
10460         * objects/UML/actor.c (actor_update_data): 
10461         * objects/SADT/box.c (sadtbox_update_data): 
10462         * objects/FS/function.c (function_update_data): 
10463         All now update text boundaries from update_data.
10464         
10465         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
10466         correctly. 
10468 2002-04-26  Hans Breuer  <hans@breuer.org>
10470         * config.h.win32 : added VERSION definition here
10471         (and removed from makefile.msc's)
10473         * app/makefile.msc : added new files
10475         * app/app_procs.c (app_init): remove sheets_dialog_create()
10476         from start-up and ... 
10478         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
10479         sheet_dialog here when it is really needed.
10480         #include "../lib/message.h", make sheets_dialog_create() 
10481         return it's success or failing on (!custom_type_symbol). 
10482         Although editing shapes is nice IMHO it isn't crucial enough 
10483         to abort() Dia if       it isn't possible.
10485         * app/sheet.h : adapt create_sheet_dialog() prototype
10487         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
10489         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
10490         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
10491         name space corrections for utime() and utim_buf #ifdef
10492         G_OS_WIN32
10494         * lib/libdia.def : export new sheet functions
10496         * lib/makefile.msc : added new files
10498         * lib/render.c : don't put draw_bezier_with_arrows() in
10499         the DrawLineWithArrowsFunc slot
10501         * objects/custom/custom_object.c : #include <gmodule.h>
10502         and export 'custom_type' via G_MODULE_EXPORT
10504         * objects/uml/class_dialog.c : removed 'incompatible 
10505         types' warnings. Some refactoring while making it fit
10506         on screen with 800x600 again.
10508         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
10510         * plug-ins/python/pydia-handle.h : extra parameter to
10511         PyDiaHandle_New to store the owner of the handle
10512         * plug-ins/python/pydia-handle.c : store handle owner
10513         on construction and use it in new method .connect()
10514         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
10515         adapt to changed prototype
10517 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
10519         * lib/text.c (text_calc_boundingbox): Will now return early if box
10520         passed is NULL.
10522         * objects/flowchart/box.c (box_update_data): Now updates text
10523         width info from update_data.
10525 2002-04-23  Steffen Macke <sdteffen@web.de>
10527         * plug-ins/xfig/xfig-import.c: fixed text import
10528         
10529 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10531         * app/export_png.c: Moved dialog functions to their own file.
10532         * app/dialogs.[ch]: New files with standard functions for creating
10533         small, transient dialogs (e.g. export options).
10534         * app/Makefile.am: Added dialogs.[ch]
10536 2002-04-19  Steffen Macke <sdteffen@web.de>
10538         * shapes/Misc/folder.*:
10539         * shapes/Misc/file.*:
10540         * shapes/Misc/Makefile.am:
10541         * shapes/Makefile.am:
10542         * sheets/Misc.sheet.in:
10543         * sheets/Makefile.am:
10544         * configure.in: added new Misc sheet containing filesystem shapes
10545         
10546 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
10548         * app/lineprops_area.c: Arrow selector in toolbox changed to use
10549         standard arrowdraw code.  Line is thinner to make some arrowheads
10550         distinguishable. 
10552 2002-04-18  Steffen Macke <sdteffen@web.de>
10554         * sheets/network.sheet.in:
10555         * shapes/network/telephone.shape:
10556         * shapes/network/Makefile.am: added telephone shape
10557         
10558 2002-04-16  Steffen Macke <sdteffen@web.de>
10560         * sheets/EML.sheet.in: commented out unavailable shapes
10561         
10562 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
10564         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
10565           variable assignment.
10566         
10567 2002-04-15  Steffen Macke <sdteffen@web.de>
10569         * plug-ins/dxf/dxf-import.c: text import works again
10570         * shapes/Pneumatic/Makefile.am: added compush shape
10571         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
10572         and dist53
10573         
10574 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
10576         * All these modifications are for the 'Sheets and Objects' dialog
10577           (new feature):
10579         * app/pixmaps/line_break.xpm: new icon representing a line break.
10580         
10581         * app/pixmaps/n_a.xpm: new empty icon representing not available.
10583         * app/Makefile.am: added sheets_*.[ch] files to compile list.
10584         
10585         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
10586         
10587         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
10589         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
10590         
10591         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
10592         
10593         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
10595         * app/sheets_dialog_callbacks.h: [new file] support for " " "
10597         * app/interface.c: added 'interface_current_sheet_name' global to 
10598           fill_sheet_wbox(); made fill_sheet_menu() non-static
10600         * app/interface.h: added extern declaration for aboves.
10602         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
10604         * app/sheets.h: [new file] declarations for backing store structures
10606         * lib/sheet.c: modification of new_sheet() parameters; introduction
10607           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
10608           changes to load_register_sheet().
10610         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
10611           added 'has_icon_on_sheet' flag to SheetObject structure; added 
10612           'filename', 'scope', 'shadowing' fields to Sheet structure.
10614         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
10615           it belongs.
10617         * lib/plug-isn.h: see above.
10619         * lib/object.c: added 'sheet.h' to include list; added several 
10620           functions
10621           to detect objects which are not found on any sheet (for future use)
10622           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
10623           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
10625         * lib/object.h: added public declarations for above functions where
10626           necessary.
10628         * objects/custom/custom.c: made custom_object_load() non-static so we
10629           can load and interpret .shape files from the Sheets & Objects dialog
10631         * objects/custom/custom_object.c: made 'custom_type' non-static so 
10632           we can differentiate between SVG shapes and other types.a
10634 2002-04-07  Hans Breuer  <hans@breuer.org>
10636         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
10637         from 2002-01-22 to not destroy diagram->data->selected. 
10638         Avoids to crash on Objects/Align/Vertical/Top
10640         * app/render_eps.c (draw_string) : un-const buffer
10641         It isn't at all const (g_malloc(), assignment, g_free()).
10642         Doesn't gcc catch such ?
10644         * lib/arrows.h : prototype calculate_arrow_point()
10646         * lib/font.c (font_get_suckfont) : no need to
10647         special case gdk_draw_string() with GTK_TALKS_UTF8,
10648         cause all the parameter differences are handled above
10650         * lib/libdia.def : updated externals
10652         * lib/makefile.msc : removed string_prerenderer, added render
10654         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
10655         is expected. [Sometimes it's good to read compiler warnings.]
10657         * objects/standard/image.c : simplified by use of g_strconcat()
10659         * plug-ins/python/makefile.msc : updated for Python 2.2
10661 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
10663         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
10664         directionality problem for zero-length line segments.
10666 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
10668         * app/diagram.c (diagram_ungroup_selected) 
10669         (diagram_update_menu_sensitivity): Now allows ungrouping of
10670         several groups at once.
10672 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
10674         * lib/render.c, all renderers: Binary incompatibility, change to
10675         expandable renderops structure.
10677 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
10679         * objects/standard/Makefile.am:
10680         * objects/network/Makefile.am:
10681         * objects/UML/Makefile.am:
10682         * objects/ER/Makefile.am:
10683         * objects/FS/Makefile.am:
10684         * objects/flowchart/Makefile.am:
10685         * objects/custom/Makefile.am:
10686         * objects/GRAFCET/Makefile.am:
10687         * objects/chronogram/Makefile.am:
10688         * objects/SADT/Makefile.am:
10689         * plug-ins/cgm/Makefile.am:
10690         * plug-ins/pstricks/Makefile.am:
10691         * plug-ins/hpgl/Makefile.am:
10692         * plug-ins/wpg/Makefile.am:
10693         * plug-ins/svg/Makefile.am:
10694         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
10695         
10696 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10698         * app/render_eps.c: Support for dumping TrueType fonts (taken from
10699         ttfps).
10701 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10703         * lib/render.c: New abstract super class for renderers.
10705 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
10707         * objects/ER/attribute.c (attribute_save): save a font property.
10708         (attribute_load): load a font property, and if can't load it, it's
10709         initialized.
10711         * objects/ER/entity.c (entity_save): save a font property.
10712         (entity_load): load a font property, and if can't load it, it's
10713         initialized.
10715         * objects/ER/relationship.c (relationship_save): save a font property.
10716         (relationship_load): load a font property, and if can't load it, it's
10717         initialized.
10719         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
10720         has a vaule.
10721         (umlclass_save): save the font and the font size properties.
10722         (umlclass_load): load the font and the font size properties.
10724 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
10726         * lib/string_prerenderer.[ch] (REMOVED):
10727         * lib/render.h:
10728         * lib/diagramdata.c:
10729         * lib/Makefile.am:
10730         * app/render_eps.c: got rid of the string-specific string
10731         prerenderer, transitioned its functionality towards Lars'
10732         two-phase rendering
10734 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10736         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
10737         may need to rerun aclocal.
10739 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10741         * lib/font.c: First attempt at Unicodeness for Freetype.
10743 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10745         * lib/font.c (font_string_width): Fixed font_string_width for
10746         freetype.  BB is now almost right.
10748 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10750         * app/render_eps.h: 
10751         * app/paginate_psprint.c (paginate_psprint): 
10752         * lib/font.c: 
10753         * app/render_eps.c: Support for dumping postscript fonts into
10754         postscript files with freetype.  Fairly primitive, but works.
10755         Unicode version may have problems.
10757 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
10759         * objects/UML/class_dialog.c (class_read_from_dialog)
10760         (class_fill_in_dialog), (class_create_page): add the font selector and
10761         the font size selector.
10763         * objects/UML/class.c (umlclass_draw): uses each font_height.
10764         (umlclass_calculate_data): ditto.
10765         (fill_in_fontdata): add initial value of new font_height.
10766         (umlclass_copy): add new font_height.
10768 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
10770         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
10771         
10772         * lib/font.c: calculate font metrics properly and stop guessing at
10773         string widths.
10775 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
10777         * configure.in: changed gtk_advancement value to dia_talks_utf8.
10778         right now Dia is working with UTF-8 internally. it means Dia probably
10779         support most languages also including the languages which heretofore
10780         didn't work correctly.
10782 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
10784         * objects/FS/function.c: add related text properties.
10785         (function_get_props), (function_set_props): add handling attribute.
10787         * objects/FS/flow.c: add related text properties.
10788         (flow_get_props), (flow_set_props): add handling attribute.
10790         * objects/FS/flow-ortho.c: add related text properties.
10791         (orthflow_set_props), (orthflow_get_props): add handling attribute.
10793         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
10795         * objects/ER/entity.c: ditto.
10797         * objects/ER/attribute.c: ditto.
10799 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
10801         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
10802         
10803         * autogen.sh: add a check for missing intltoolize.
10805 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
10807         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
10808         charcode, it was registered the duplicate item to HashTable. fix.
10810         * app/render_gnomeprint.c (get_width_string): add new function.
10811         (draw_string): fix non-multibyte specific code.
10813 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
10815         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
10816         
10817         * lib/font.c: do not try to search paths that do not begin with
10818         '/', like X Font Server addresses.
10819         
10820         * objects/UML/message.c (message_draw): free mname when not 
10821         message->text but CREATE or DESTROY.
10822         
10823         * objects/UML/uml.h:
10824         * objects/UML/uml.c:
10825         * objects/UML/class_dialog.c: added code to handle a stereotype 
10826         attribute for operations.
10828 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
10830         * lib/Makefile.am: add LIBART_CFLAGS.
10832 2002-02-15  Hans Breuer  <hans@breuer.org>
10834         * lib/font.c (font_get_suck_font): the black and white pixel values 
10835         need to be taken from a 1 bit colormap rather than the default colormap.
10836         (fixed again, last time was 2000-05-26)
10838         Also handle the case where GTK_TALKS_UTF8 and expects all strings
10839         passed in to be in this encoding.
10841         * lib/libdia.def : export suck_font_free()
10843         * lib/text.c (text_draw) : avoid circular dependency to ../app
10844         at least for the !USE_XIM case, where it is unnecessary.
10846 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
10848         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
10849         
10850         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
10851         * sheets/Circuit.sheet.in: added new shape microphone
10852         * shapes/Circuit/speaker_de.shape: Added a connection point.
10853         
10854 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
10856         * app/render_libart.c (draw_string): fixed build issue for Win32.
10858         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
10859         Win32.
10861         * configure.in: fixed testing gtk_advancement.
10863         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
10865 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
10867         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
10868         diagram window.
10870 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10872         * app/group.c (group_copy): Made new object properly initialized
10873         before copy.
10875 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
10877         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
10878         
10879 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
10881         * lib/text.c (text_draw): fixed XIM transaction.
10883         * app/interface.c (create_display_shell): add signal for
10884         size_allocate.
10886         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
10887         XIM transaction.
10888         (set_input_dialog): remove.
10889         (ddisplay_canvas_events): remove XIM transaction. it can't transact
10890         correctly on this function.
10892 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10894         * app/app_procs.c:
10895         * app/export_png.c: Added checks for interactivity (maybe this
10896         should be a hook after all?).
10898         * app/filedlg.c (file_export_callback): Made export dialog add
10899         suffix when reopened.
10901         * app/export_png.c: Added dialog asking for export size.
10903 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10905         * lib/widgets.c: Fixed font reselection problem and first font
10906         bogus warning.
10908         * objects/UML/actor.c (actor_update_data): Changed to have
10909         connection points below text.
10911 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
10913         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
10914         and memcpy().
10916 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
10918         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
10919         strings which is given.
10920         (suck_font): remove. it's any longer needed.
10922         * app/render_libart.c (set_font): don't get suckfont.
10923         (draw_string): get suckfont only which is needed for now.
10925 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10927         * lib/text.c: Fixes for misunderstood width functions.
10929 2002-02-05  Hans Breuer  <hans@breuer.org>
10931         * lib/dia_xml.c : use g_strconcat() instead of 
10932         malloc, strcpy, strcat dance
10933         * app/properties.c : same here and plug memory leak
10934         (gtk functions don't eat strings)
10936         * objects/UML/message.c : there is no g_sprintf()
10937         use g_strdup_printf() instead ...
10939 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
10941         * lib/message.c (gtk_message_internal): doesn't need to convert to
10942         UTF-8.
10944         * app/render_libart.c (draw_string): fixed transaction for UTF-8
10945         support.
10946         (get_text_width): ditto.
10948         * app/Makefile.am (EXTRA_DIST):
10949         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
10951         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
10952         This function needs ifdef HAVE_FREETYPE because don't use it for
10953         --disable-freetype
10955 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
10957         * NEWS: updated with the new dependencies.
10958         
10959         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10961         * objects/UML/class.h:
10962         * objects/UML/class.c:  
10963         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
10964         property using a GtkMenu. Options are Undefined, In, Out, In & Out
10966 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10968         * app/render_libart.c: Slow but working libart freetype renderer,
10969         with color!
10971 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10973         * app/render_gdk.c (draw_string): Fixed gc_function bug.
10975         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
10977         * lib/font.c (freetype_render_string): 
10978         * lib/font.h:
10979         * app/render_gdk.c:
10980         * app/render_gdk.h: Changed freetype_render_string to use
10981         callback.  Rendering is broken.
10983 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
10985         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10987         * objects/UML/uml.h:    
10988         * objects/UML/uml.c: added UMLInheritanceType and isQuery
10989         (constant) UML Operation attributes. UMLInheritanceType is either
10990         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
10992         * objects/UML/class.h:
10993         * objects/UML/class.c:  
10994         * objetcs/UML/class_dialog.c: added code to handle new
10995         UMLOperation attributes via a GtkMenu and a checkbox.
10997 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
10999         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
11000         several client doesn't work with previous codes.
11002 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11004         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
11005         seem to use it.
11007 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
11009         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
11010         when doing the operation like invert the objects after active view is
11011         destroyed. when changes focus, it needs to set active_display.
11013         * app/layer_dialog.c (dia_layer_update_from_layer):
11014         (layer_dialog_edit_layer): need to convert to locale encoding
11015         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11016         (edit_layer_ok_callback):
11017         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11019         * lib/diagramdata.c (new_diagram_data): ditto.
11021         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
11023         * lib/diagramdata.c (new_layer): use utfchar instead of char for
11024         argument.
11026         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
11027         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
11028         it's needed for now. also this function needs prototype declaration.
11030 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
11032         * lib/widgets.c: Style now functional on font selector.  Some leak
11033         possible, but doesn't show up under stress test.
11035 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
11037         * app/plugin-manager.c (clist_select_row): name and description needs to
11038         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11039         (get_plugin_manager): ditto.
11041         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
11043         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
11044         support.
11046         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
11047         when prop->string_data is NULL.
11049 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11051         * lib/widgets.c: 
11052         * lib/widgets.h: New font selector separating font and style.
11053         Style not functional yet.
11055 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11057         * lib/text.c: 
11058         * app/render_gdk.c (draw_string): More freetype support, now
11059         renders text.  Still broken is font selection and exporting.
11061 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
11063         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
11064         for font.
11066         * objects/chronogram/chronoline.c (chronoline_create): ditto.
11068         * objects/UML/usecase.c (usecase_create): ditto.
11070         * objects/UML/state.c (state_create): ditto.
11072         * objects/UML/object.c (objet_create): ditto.
11074         * objects/UML/node.c (node_create): ditto.
11076         * objects/UML/message.c (message_create): ditto.
11078         * objects/UML/component.c (component_create): ditto.
11080         * objects/UML/classicon.c (classicon_create): ditto.
11082         * objects/UML/actor.c (actor_create): ditto.
11084         * objects/SADT/box.c (sadtbox_create): ditto.
11086         * objects/SADT/annotation.c (annotation_create): ditto.
11088         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
11090         * objects/GRAFCET/step.c (STEP_FONT):
11091         * (step_create): ditto.
11093         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
11095         * objects/GRAFCET/action.c (ACTION_FONT):
11096         (action_create): ditto.
11098         * objects/FS/function.c (function_create): ditto.
11100         * objects/FS/flow.c (flow_create):
11101         (flow_load): 
11102         (flow_apply_defaults): ditto.
11104         * objects/FS/flow-poly.c (flow_create):
11105         (flow_load):
11106         (flow_apply_defaults): ditto.
11108         * objects/FS/flow-ortho.c (orthflow_create):
11109         (orthflow_load):
11110         (orthflow_apply_defaults): ditto.
11112         * objects/ER/relationship.c: use utfchar instead of char for structure.
11113         (relationship_create): name needs to convert to UTF-8.
11115         * objects/ER/attribute.c: use utfchar instead of char for structure.
11116         (attribute_create): name needs to convert to UTF-8.
11118         * objects/ER/entity.c: use utfchar instead of char for structure.
11119         (entity_create): name needs to convert to UTF-8.
11121         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
11122         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
11123         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
11124         items. if GTK_TALKS_UTF8 isn't defined.
11126 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
11128         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
11129         it was my careless mistake...
11131         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
11132         a font name, because there are strings which isn't shown by "Courier".
11133         We need to consider a way to feel free to choose a font at runtime.
11135         * lib/render_object.c (render_object_load): ditto.
11137         * lib/text.c (data_text): ditto.
11139         * objects/EML/instantiation.c (instantiation_create): ditto.
11141         * objects/EML/interaction-ortho.c (interaction_ortho_create):
11142         (interaction_ortho_load): ditto.
11144         * objects/EML/interaction.c (interaction_create):
11145         (interaction_load): ditto.
11147         * objects/EML/process.c (fill_in_fontdata): ditto.
11149         * objects/ER/attribute.c (attribute_create): 
11150         (attribute_load): ditto.
11152         * objects/ER/entity.c (entity_create): 
11153         (entity_load): ditto.
11155         * objects/ER/relationship.c (relationship_create): 
11156         (relationship_load): ditto.
11158         * objects/UML/association.c (association_create): 
11159         (association_load): ditto.
11161         * objects/UML/class.c (fill_in_fontdata): ditto.
11163         * objects/UML/constraint.c (constraint_create): ditto.
11165         * objects/UML/dependency.c (dependency_create): ditto.
11167         * objects/UML/generalization.c (generalization_create): ditto.
11169         * objects/UML/implements.c (implements_create): ditto.
11171         * objects/UML/large_package.c (largepackage_create): ditto.
11173         * objects/UML/note.c (note_create): ditto.
11175         * objects/UML/realizes.c (realizes_create): ditto.
11177         * objects/UML/small_package.c (smallpackage_create): ditto.
11179         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
11181         * objects/custom/custom_object.c (custom_create): ditto.
11183         * objects/network/antenna.c (render_to_store): ditto.
11185         * objects/network/computer.c (render_to_store): ditto.
11187         * objects/network/disc.c (render_to_store): ditto.
11189         * objects/network/flash.c (render_to_store): ditto.
11191         * objects/network/hub.c (render_to_store): ditto.
11193         * objects/network/modem.c (render_to_store): ditto.
11195         * objects/network/modularswitch.c (render_to_store): ditto.
11197         * objects/network/monitor.c (render_to_store): ditto.
11199         * objects/network/printer.c (render_to_store): ditto.
11201         * objects/network/rj45plug.c (render_to_store): ditto.
11203         * objects/network/scead-plug.c (render_to_store): ditto.
11205         * objects/standard/textobj.c (textobj_load): ditto.
11207         * objects/sybase/client.c (render_to_store): ditto.
11209         * objects/sybase/dataserver.c (render_to_store): ditto.
11211         * objects/sybase/ltm.c (render_to_store): ditto.
11213         * objects/sybase/repserver.c (render_to_store): ditto.
11215         * objects/sybase/rsm.c (render_to_store): ditto.
11217         * objects/sybase/stableq.c (render_to_store): ditto.
11219         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
11221         * objects/UML/uml.h (UML_STEREOTYPE_START):
11222         (UML_STEREOTYPE_END): changes default strings.
11224 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
11226         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
11227         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
11228         which is given to arguments isn't UTF-8. so don't need to convert it.
11229         if GTK+ handle UTF-8, also don't need to convert it.
11230         (strend): remove.
11231         (bracketted_to_string): fixed transaction for UTF-8 support.
11232         also start/end bracket is not necessarily 1 character. so that when use
11233         strend(), it doesn't work correctly.
11234         (string_to_stereotype): use utfchar instead of char.
11235         (remove_stereotype_from_string): ditto.
11236         (stereotype_to_string): ditto.
11238         * objects/UML/stereotype.h: ditto.
11240         * objects/UML/message.c: use utfchar instead of char for structure.
11241         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
11243         * objects/UML/small_package.c: use utfchar instead of char for structure.
11245         * objects/UML/realizes.c: ditto.
11247         * objects/UML/object.c: ditto.
11249         * objects/UML/large_package.c: ditto.
11251         * objects/UML/implements.c: ditto.
11253         * objects/UML/generalization.c: ditto.
11255         * objects/UML/dependency.c: ditto.
11257         * objects/UML/constraint.c: ditto.
11259         * objects/UML/component.c: ditto.
11261         * objects/UML/class_dialog.c (attributes_get_current_values):
11262         (attributes_list_new_callback, attributes_fill_in_dialog):
11263         (parameters_set_values, parameters_get_values):
11264         (parameters_get_current_values, parameters_list_new_callback):
11265         (operations_set_values, operations_get_values):
11266         (operations_get_current_values, operations_list_new_callback):
11267         (operations_fill_in_dialog, templates_set_values):
11268         (templates_get_values, templates_get_current_values):
11269         (templates_list_new_callback, templates_fill_in_dialog):
11270         fixed transaction for UTF-8 support.
11272 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
11274         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
11276         * objects/UML/class_dialog.c (class_read_from_dialog):
11277         (class_fill_in_dialog):
11278         (attributes_get_values): ditto.
11280         * objects/UML/actor.c (actor_create): ditto.
11282         * objects/UML/class.c (umlclass_calculate_data): ditto.
11284         * objects/UML/association.c (association_apply_properties):
11285         (fill_in_dialog): ditto.
11287         * objects/UML/uml.c (uml_get_attribute_string):
11288         (uml_get_operation_string):
11289         (uml_get_parameter_string):
11290         (uml_get_formalparameter_string): use utfchar instead of char.
11292         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
11293         UML_STEREOTYPE_END.
11295         * objects/UML/class.h: use utfchar instead of char.
11297         * lib/dia_xml.c (data_add_string): ditto.
11299         * lib/text.c (text_insert_char): fixed characters# calculation
11300         when includes multibytes character in strings.
11302 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
11304         Patch from Richard Rowell <rwrowell@bellsouth.net>:
11306         * app/lineprops_area.c:
11307         * lib/arrows.h:
11308         * lib/arrows.c: 
11309         * lib/widgets.c: added crow foot arrow and cross arrow
11310         
11311         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
11312         
11313         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
11315 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
11317         * po/update.pl (REMOVED):
11318         * po/update.sh (REMOVED):
11319         * xml-i18n-merge.in.kg (REMOVED):
11320         * xml-i18n-update.in.kg (REMOVED):
11321         * sheets/Makefile.am:
11322         * Makefile.am:
11323         * autogen.sh:
11324         * configure.in: converted from xml-i18n-tools to intltools
11326         This looks like it fixes the build bugs of the snapshot tarballs, 
11327         and it supersedes #69611.       
11329 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
11331         * lib/text.c (text_insert_char): fixed characters# calculation.
11332         it's not string length.
11334         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
11335         is defined, needs to convert a description to UTF-8.
11337         * app/render_gdk.c (get_text_width): fixed transaction for
11338         UTF-8 support. also should uses gdk_text_width_wc() instead
11339         of gdk_text_width().
11341         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
11342         is defined, needs to convert to locale encoding for display.
11343         Also use utfchar instead of char for argument.
11345 2002-01-24  Hans Breuer  <hans@breuer.org>
11347         * app/commands.c(edit_paste_callback and more) : 
11348         call diagram_modified(ddisp->diagram) to fix #68083
11349         (help_menu_callback) : plug a DIR leak
11351         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
11352         GTK_TALKS_UTF8_WE_DONT
11354         * app/render_gdk.c(get_text_with) : it's a bad idea to use
11355         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
11356         gdk_text_width(). The length value is still questionable ...
11358         * lib/charconv.c : use functions already available in early
11359         GLIB-1.3 days whiches API hasn't changed since, to avoid
11360         version problems with the win32 build
11362         * lib/font.c : finally fix #58045 and #68208
11364         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
11366 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
11368         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
11369         no strings, fixed transaction.
11371         * lib/charconv.h: fixed typo.
11373         * app/menus.c: fixed typo.
11375         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
11377         * objects/UML/object.c: attrib's type uses utfchar instead of char.
11379         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
11381         * lib/text.c (text_create_change): use unichar instead of char.
11383         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
11384         use utfchar instead of char.
11386         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
11387         UTF-8 support.
11389         * lib/charconv.c (charconv_utf8_get_char): add new function.
11391 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
11393         * lib/text.c (text_delete_forward, text_delete_backward,
11394         text_split_line): fixed transaction for UTF-8 support.
11396         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
11397         strlen[] has string length for UTF-8, so has to use alloclen[].
11399         * dia.pot: remove.
11401         * .cvsignore: add dia.pot.
11403 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
11405         * configure.in: Added "sk" to ALL_LINGUAS.
11407 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
11409         * lib/text.c (text_set_string, new_text, text_copy,
11410         text_get_string_copy, text_join_lines): use utfchar instead of gchar
11411         for strings.
11413         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
11414         strchr().
11416         * lib/charconv.c (charconv_utf8_strchr): add new function.
11418         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
11420         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
11422         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
11423         strings to the appropriate encoding.
11425 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
11427         * app/object_ops.c (object_list_align_[hv]): Leak fix.
11429         * lib/Makefile.am (INCLUDES): Added debug flags.
11431         * app/object_ops.c: Fixed ordering problem of align equi-distant &
11432         adjacent. 
11434 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
11436         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
11437         gdk_string_width().
11439         * objects/GRAFCET/boolequation.c: fixed invalid comment.
11441         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
11442         when defined UNICODE_WORK_IN_PROGRESS.
11444         * lib/dia_xml.c (data_add_string): fixed typo.
11446 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
11448         * configure.in: fixed test gtk_advancement.
11450 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
11452         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
11453         exported to SVG
11455         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
11457         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
11458         tool tips, preferences, and arbitrarily long ~/.dia/history
11460         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
11461         removed 'Open Recent'; added new separators for recent documents on
11462         File menu.
11464         * app/interface.[ch] (interface_get_toolbox_shell): new function
11466         * app/diagram.c: added new parameter to recent_file_history_add() call
11468         * app/preferences.[ch]: added new 'Recent documents list size'
11469         preferences item
11470         
11471 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
11473         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
11474         if it failed, should be used gdk_font_load ().
11476         * lib/font.c (font_data): added the font entries for CJK.
11478 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
11480         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
11482         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
11483         
11484 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
11486         Patch from Martin Cracauer <cracauer@cons.org>:
11487         
11488         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
11489         non-GNOME case ?)
11491 2002-01-01  Hans Breuer  <hans@breuer.org>
11493         * app/command.c : optional use GDI printing on windoze
11495         * app/preferences.[hc] : add option 'prefer_psprint' to 
11496         select the print engine to use (could be used for Dia/Gnome
11497         as well)
11499         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
11500         wmf plug-in with the common win32 print api. Now printing
11501         should work almost as expected from a windows program :-)
11503         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
11504         to .edit_delete to avoid clashes with C++
11506         * app/makefile.msc : updated for GDI printing
11508         * plug-ins/wmf/wmf.cpp : some small modifications to support
11509         GDI printing. Also swap R and B channel in draw_image()
11511         * app/makefile.am : added windows only files to EXTRA_DIST
11513         * objects/uml/class.c(umlclass_set_props) : force recalculation
11514         when applying properties
11516         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
11517         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
11518         many incompatible changes (and would force a gtk update)
11520         * objects/makefile.msc : don't build C-Objects which are
11521         already available as 'pure shape'
11523         * plug-ins/makefile.msc : remove diaimport from build. It was
11524         only available via mailing-list and is broken since the
11525         StdProp overhaul.
11528         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
11530         * app/preferences.[hc] : tweaked preferences.c to make 
11531         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
11532         added some more DiagramTree prefererences and their own
11533         notebook page.
11535         * app/diagram_tree.[hc] : allow to sort by object type or name
11536         and hide by type ...
11537         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
11538         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
11540         * app/diagram_tree_window.c : handle hidden types and window
11541         size restoring.
11543 2001-12-20  Hans Breuer  <hans@breuer.org>
11545         * plug-ins/python/Makefile.am : patch from Peter Moulder 
11546         <pmoulder@csse.monash.edu.au> to make the python plug-in
11547         compile on *nix too.
11549 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
11551         Patch from Alan <horkana@tcd.ie>:
11553         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
11555 2001-11-20  Hans Breuer  <hans@breuer.org>
11557         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
11559 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
11561         * app/diagram_tree.[hc] : Added new functions and types for
11562         sorting diagram and objects, and attaching the popup menus.
11564         * app/preferences.h: Added more diagram tree preferences, using a
11565         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
11566         height and width of the diagram tree window and the default sort
11567         orders for diagrams and objects.
11569         * app/preferences.c (prefs_data): Added new entries for the new
11570         diagram tree preferences.
11572         * app/preferences.c (prefs_tabs): New tab for diagram tree
11573         preferences.
11575         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
11576         * app/diagram_tree_window.c (diagram_tree_window_new): 
11577         * app/interface.c (create_tree_window): The diagram tree window is
11578         initialised using the DiagramTreeConfig part of prefs.
11581 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
11583         * app/diagram_tree_menu.[hc]: New files. Functions to create the
11584         diagram tree popup menus.
11586         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
11587         the diagram tree popup menus.
11589         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
11590         added.
11592 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
11594         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
11595         double-clicking a diagram tree node raises the diagram window
11596         to the foreground (and, if a object node was clicked, selects the
11597         object in the diagram).
11599         * app/diagram_tree.c (select_tree_widget): selecting an object
11600         node with single click simply updates it (no raise).
11602 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
11603         These changes make the diagram tree lazy: it is not created unless
11604         the diagram tree window is requested.
11605         
11606         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
11607         function for creating the tree window.
11609         * app/interface.c (create_tree_window): call
11610         create_diagram_tree_window() instead of diagram_window().
11612         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
11613         (diagram_tree_update, diagram_tree_update_name) 
11614         (diagram_tree_add_object, diagram_tree_add_objects) 
11615         (diagram_tree_remove_object, diagram_tree_remove_objects) 
11616         (diagram_tree_update_object): accept a NULL tree as a nominal
11617         argument (and do nothing in this case!), so that the diagram tree
11618         is not initialised if not used.
11620         * app/diagram_tree_window.c (diagram_tree): do not create the
11621         diagram tree until diagram_window() or diagtree_show_callback()
11622         are invoked.
11624 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
11625         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
11627         * app/diagram_tree_window.[hc] : (new files) implementation of 
11628         the diagram tree window, a container for a diagram tree. [Removed
11629         the horizontal scroll bar glitch by disableing it]
11631         * app/diagram_tree.[hc] : (new files) implementation of the 
11632         diagram tree widget. [Don't rely on the layers GPtrArray to be
11633         NULL terminated, but use its ->len field] 
11635         * app/Makefile.am (dia_core_files): added new files
11636         diagram_tree.[hc] and diagram_tree_window.[hc]
11638         * app/interface.[hc] : (create_tree_window): this function 
11639         creates the new diagram tree window widget
11641         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
11642         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
11643         (ungroup_objects_apply) (ungroup_objects_revert): 
11644         every time that an undoable command modifies a diagram 
11645         adding/removing/(un)grouping objects, a diagram_tree_something() is 
11646         invoked to keep the diagram tree window in sync
11648         * app/properties.c (properties_apply): call to
11649         diagram_object_modified(), which updates the diagram tree window
11650         when the properties of an object are modified
11652         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
11653         (whether the diagram tree window should be shown on dia startup)
11655         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
11657         * app/diagram.h (diagram_object_modified): callback notifying of a
11658         diagram object modification
11660         * app/diagram.c (diagram_load_into): added call to
11661         diagram_tree_add() to add newly loaded diagrams to the diagram
11662         tree window
11663         (diagram_destroy): call to diagram_tree_remove() to remove a
11664         destroyed diagram from the diagram tree window
11665         (diagram_add_object): call to diagram_tree_add_object() to add an
11666         object to the diagram tree window
11667         (diagram_add_object_list): as above, but with an object list
11668         (diagram_selected_break_external): deletion of objects from the
11669         diagram is detected here, and diagram_tree_remove_object() is
11670         invoked to remove the object from the diagram tree window (it
11671         would be nice to have a diagram_remove_object() in the Diagram
11672         interface)
11673         (diagram_set_filename): update the diagram tree window when a
11674         diagram's filename changes
11676         * app/commands.c (file_new_callback): added call to
11677         diagram_tree_add() to add newly created diagrams to the diagram
11678         tree window
11680         * app/app_procs.c (app_init): added call to create_tree_window()
11682         * app/makefile.msc : updated
11684 2001-10-28  Hans Breuer  <hans@breuer.org>
11686         * app/preferences.h (DiaPreferences): 
11687         * app/preferences.c (prefs_data): new "show_diagram_tree"
11688         configuration option (whether the diagram tree window should be
11689         shown on dia startup)
11691         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
11692         entry (both for GNOME and gtk)
11694         * app/diagram.h (diagram_object_modified): callback notifying of a
11695         diagram object modification
11697         * app/diagram.c (diagram_load_into): added call to
11698         diagram_tree_add() to add newly loaded diagrams to the diagram
11699         tree window
11700         (diagram_destroy): call to diagram_tree_remove() to remove a
11701         destroyed diagram from the diagram tree window
11702         (diagram_add_object): call to diagram_tree_add_object() to add an
11703         object to the diagram tree window
11704         (diagram_add_object_list): as above, but with an object list
11705         (diagram_selected_break_external): deletion of objects from the
11706         diagram is detected here, and diagram_tree_remove_object() is
11707         invoked to remove the object from the diagram tree window (it
11708         would be nice to have a diagram_remove_object() in the Diagram
11709         interface)
11710         (diagram_set_filename): update the diagram tree window when a
11711         diagram's filename changes
11713         * app/commands.c (file_new_callback): added call to
11714         diagram_tree_add() to add newly created diagrams to the diagram
11715         tree window
11717         * app/app_procs.c (app_init): added call to create_tree_window()
11719 2001-10-28  Hans Breuer  <hans@breuer.org>
11721         * plug-ins/python/pydia-property.c : apparently I missed
11722         to commit this last time. Now it has some more SetAttr
11723         support (apply from property)
11725         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
11727         * plug-ins/python/pydia-text.[ch] : new files
11729 2001-10-14  Hans Breuer  <hans@breuer.org>
11731         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
11732         strings. Use g_strdup() for these.
11734         libxml2 does not produce 'any extra indentation when saving a tree'
11735         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
11736         libxml(1). To get human readable XML some extra tweaking is required.
11737         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
11738         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
11739         * app/preferences.[ch] : initialize 'pretty_formated_xml'
11741         * lib/libdia.def : updated externals
11743         * lib/properties.h : add prototype for prop_list_from_single ()
11745         * plug-ins/makefile.msc : build metapost plug-in
11747         * plug-ins/metapost/render_metapost.c : msvc does not like
11748         switch labels without operation 'default: }'. Added a noop.
11750         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
11751         * plug-ins/python/diamodule.c : added PyDiaText 
11752         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
11753         Although the python plug-in does not use libxml at all, the
11754         headers are required to use the lib/prop*.h headers
11756         * plug-ins/python/pydia-diagramdata.c : added wrappers for
11757         update_extents and get_sorted_selected (should I duplicate
11758         more functions from PyDiaDiagram or should they be moved?)
11760         * plug-ins/python/pydia-properties.c : allow to set (some) properties
11761         through the dictionary api
11762         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
11763         * plug-ins/python/pydia-property.c : implement it (currently only
11764         string properties can be set)
11766         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
11767         Quoting myself: 'Still not convinced that this is better than an 
11768          integral property->type and some casting ...
11769          It is trading a straightforward 40 lines switch statement to
11770          this nice 'type safe' function mapping (about 125 lines)'
11771         (But now it works again, better than changing the News file :)
11772         
11773 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
11775         patch from <robert.young@dsto.defence.gov.au>: 
11776         * objects/UML/component.c: remember to set font in UML component
11777         object (fixes #62132)   
11779 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11781         * plug-ins/metapost/metapost.c: 
11782         * plug-ins/metapost/Makefile.am:
11783         * plug-ins/metapost/render_metapost.c:
11784         * plug-ins/metapost/render_metapost.h:
11785         Metapost renderer from Chris Sperandio
11787 2001-09-14  Hans Breuer  <hans@breuer.org>
11789         * app/render_gdk.c : reflect the fact, that GTK already talks
11790         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
11792         * lib/font.c : 
11793         * app/render_libart.c : trying to fix #58045 but it appears
11794         to be an Gdk/win32, too. 
11796         * lib/charconv.c : handle utf8 conversion with the help of
11797         glib-1.3 even in the !HAVE_UNICODE case.
11799         * lib/dia_xml.c : reduce complaing about missing encoding, by
11800         detecting if the default (utf8) would break the file.
11802 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
11804         * lib/charconv.c: (get_local_charset): at least please try to not 
11805         silently change the logic, while avoiding crashes. 
11807         * lib/font.c: (suck_font): put a #error, we have a nasty something
11808         to fix there before we switch to Gtk 2.0.
11809         
11810 2001-09-09  Hans Breuer  <hans@breuer.org>
11812         * **/makefile.mingw : Approach to compile Dia with mingw.
11813         Compiling mostly works but running does not (yet) ... 
11815         * lib/geometry.h : 
11816         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
11817           Apparently mingw needs it too.
11818         - enable 'normalization' of a null verctor. Otherwise the beziergon
11819           bounding box calculation would be broken at least with msvc. What's
11820           the mathematical correct result of 0.0/0.0 ?
11822         * lib/dia_xml.c : isinf() for mingw too.
11824         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
11825         and msvc)
11827         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
11828         Please don't do it.
11830         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
11832         * lib/libdia.def : updated externals. Apparently mingw needs
11833         them to produce the right mangling.
11835         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
11836         and xmlDiaSaveFile
11838 2001-09-08  Wang Jian  <lark@linux.net.cn>
11840         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
11842 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
11844         * lib/dia_xml_libxml.h:
11845         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
11846         libxml1's code, to rework the output file before it gets committed
11847         to disk. This is rubbish, and will be removed when libxml2
11848         switches from discouraged to mandatory. 
11849         All in all, this fixes #60152. 
11850         
11851         * lib/charconv.h: 
11852         * lib/charconv.c: (charconv_unichar_to_utf8):
11853         made the type of the input parameter explicitly an unsigned long.
11855         * configure.in: Added a check for libz (we must now include it
11856         explicitly, for xmlDiaSaveFile).
11857         
11858         * app/load_save.c: (diagram_data_save):
11859         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
11860         (dia_pluginrc_write):
11861         * plug-ins/shape/shape-export.c: (new_shape_renderer),
11862         (end_render), (draw_string):
11863         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
11864         (draw_string):
11866         Made sure we always write UTF-8 XML files, and through
11867         xmlDiaSaveFile().
11869         * NEWS: documented that fact.
11870         
11871 2001-09-07  James Henstridge  <james@daa.com.au>
11873         * configure.in (found_libxml): refactor the check for libxml a
11874         little so that it handles finding both libxml1 and 2 better.
11876 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
11878         * app/app_procs.c: removed a spurious } which caused a compilation
11879         error in the (!HAVE_GNOME && HAVE_POPT_H) case
11881         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
11882         don't know what ANSI X3.4-1968 is. I didn't know until this day,
11883         but it's just plain old ASCII. Added a check to shield the poor
11884         XML library.
11886         Patches from <robert.young@dsto.defence.gov.au>:
11888         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
11889         width and height of text before calculating bounds. Fixes #59928
11891         * app/preferences.c: Moved grid related items into Grid Tab.
11892         
11893 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
11895         * app/interface.c: (create_zoom_widget): connected one more signal
11896         to the Zoom selector combo's list. Fixes #59879.
11898         * app/app_procs.[ch]: (app_init) (do_convert)
11899         (build_output_file_name): brought back into the main executable
11900         the rare useful bits of the ill-fated diaconv. This means we have
11901         one new feature : --export-to-format (-t), which should make
11902         writing conversion scripts easier, and a crude implementation of
11903         -t and -e for the poptless argument parsing, which means the Win32
11904         port should be able to take advantage of it (that should make
11905         resolving #58197 possible).
11907         * app/diaconv.c: kept the poor duck compiling (but that's about
11908         it).
11910         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
11911         I've got it right).
11913         * NEWS: updated about the new feature above, and documented the 
11914         "missing encoding specification" complaint. 
11915         
11916 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
11918         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
11920 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
11922         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
11923         care of #59837.
11925 2001-09-01  James Henstridge  <james@daa.com.au>
11927         * */Makefile.am: various changes to include missing files, and fix
11928         sheets dir to handle building with builddir != srcdir.
11930         * autogen.sh: unconditionally pass the --enable-maintainer-mode
11931         and --enable-db2html flags so that builds from CVS work correctly.
11933         * configure.in: increment version number.  Also add an
11934         --enable-db2html flag.  Without the flag, db2html won't be run (if
11935         the flag is passed and db2html is not present, do nothing).
11937 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
11939         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
11940         even compiled. It's really too bad there is no lint tool easily
11941         available (or a more cautious, pedandic, paranoid and verbose
11942         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
11944 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11946         * app/load_save.c:
11947         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
11948         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
11950         * app/menu.c: added ellipsis(...) to diagram properties menu item.
11951         * app/dia-props.c: diagram properties dialog contents did not
11952         represent current diagram settings.
11953         * app/dia-props.[ch]:
11954         * app/display.c: diagram properties contents now follows currently
11955         selected diagram.
11956         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
11958         * AUTHORS: added Robert Young.
11959         
11960 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11962         * app/modify_tool.c: (modify_button_release): Patch from
11963         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
11964         #59090: if selection dragging was released outside of the window, 
11965         artifacts of the selection box remained.
11967 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
11969         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
11971 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
11973         * configure.in:
11974         * sheets/Makefile.am: prepared the terrain for the Version of
11975         xml-i18n-tools Which Comes After 0.9 (and which will feature at
11976         last a sane behaviour with XML files). Some reasonible delay
11977         before enforcing that version *will* be given.
11979         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
11980         
11981         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
11982         becomes a nonexistent symbol.
11983         
11984 2001-08-18  Hans Breuer  <hans@breuer.org>
11986         * app/app_procs.c : made it compile without ENABLE_NLS
11988         * app/diap_callbacks.c : strcmp isn't guaranteed to work
11989         with NULL pointers
11991         * app/load_save.c :
11992         * lib/plug-ins.c : 
11993         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
11994         It has to be :
11995                 xmlGetProp, ... -> xmlFree
11996                 malloc, strdup -> free
11997                 g_new, g_malloc, g_strdup - > g_free
11999         * app/win32print.c : some more error checking, still not
12000         working on Win9x
12002         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
12004         * lib/dia_xml.c : msvc still has no unistd.h
12006         * lib/dia_xml.c :
12007         * lib/sheets.c : temporary resolved libxml include brokeness
12009         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
12010         changes. Compiles again, but doesn't do anything useful anymore.
12011         (see THE_PROP_TYPE_IS_INTEGRAL)
12013         * **/makefile.msc : updated to use LIBXML2
12015         * lib/libdia.def : reflect api changes
12017 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
12019         * config.h.win32: added defines telling that gtk speaks UTF8.
12020         Hans, I believe this reflects what GTK on Win32 does.
12022         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
12023         strings.        
12024         * lib/prop_inttypes.c: 
12025         * lib/prop_text.c:
12026         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
12027         code path.
12028         
12029         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
12030         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
12031         search for plug-ins is done.
12032         * app/Makefile.am: made app/run_dia.sh use the // capability. No
12033         need to update this anymore if we get a new plug-in library (or
12034         remove one).
12036         * lib/dia_xml.c: #include <unistd.h> was missing.
12037         
12038         * lib/properties.h: 
12039         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
12040         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
12041         support.        
12043 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
12045         * sheets/civil.sheet: removed duplicate "Danish" entries.
12047         * autogen.sh:
12048         * configure.in: 
12049         * .cvsignore:
12050         * sheets/Makefile.am: 
12051         * po/POTFILES.in:
12052         * Makefile.am: applied the xml-i18n-tools README's instructions.
12054         * po/(da de fr hu nl nn no sl).po: merged the translations from
12055         the sheet files into the .po files. I hope I haven't mixed
12056         languages...
12057         * sheets/*.sheet (REMOVED):
12058         * sheets/*.sheet.in (NEW): moved the sheet files sans
12059         translations into .sheet.in files. 
12060         
12061         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
12062         because we don't yet want to force all translators to work using
12063         UTF-8 editors. We'll want to do that sometime (sooner rather than
12064         later). Okay, I sing a slightly different tune in po/ChangeLog...
12066         * dia.desktop (REMOVED):
12067         * dia.desktop.in (NEW): used also the x18t infrastructure for
12068         this too.
12070         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
12071         "official" version of x18t with support for .sheet files is available.
12072         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
12073         "official" version of x18t which doesn't corrupt UTF-8 data in XML
12074         is available.
12075         
12076         ** yes, we are now using xml-i18n-tools to manage the sheet
12077         translations. For the Win32 build, Nemo stores snapshots of
12078         translated strings next to the CVS snapshots. **
12080         * sheets/checktrans.py: suddenly, some sheets have lots of
12081         translations (objects which existed before sheets, mostly).
12082         Adapted the formatting.
12084         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
12086         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
12087         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
12088         <robert.young@dsto.defence.gov.au>, to fix #59090.
12090         * app/display.c: (ddisplay_scroll): While at it, added some
12091         margin, so that autoscrolling can happen within a margin outside
12092         the diagram's extents.
12094         * app/tool.[ch]: 
12095         * app/interface.c:
12096         * app/disp_callbacks.c: Robert "forced" me to go when I usually
12097         don't, namely the app/ directory. So while I was there, I
12098         scratched a long-time itch. If no object has focus, pressing the
12099         space bar will select back the tool which was selected before the 
12100         current one (I find this especially useful with "reset after create" !)
12101         
12102         * lib/proplist.c: (prop_list_from_single): Renamed
12103         prop_list_singleton() to avoid confusion with the Singleton
12104         pattern (which it definitely is not).
12105         
12106         * lib/propobject.c: (object_prop_by_name_type),
12107         (object_prop_by_name): The "flags" parameter was not necessary.
12108         These don't return synthetic properties, but properties built from
12109         a real property description list; therefore, we don't call
12110         make_new_prop() but use the existing property descriptor, which
12111         has perfectly valid (and meaningful) flags.
12113         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
12114         new predicates better reflect the reason why properties exist when
12115         they're created by make_new_prop() or object_prop_by_name().    
12117         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12118         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
12119         of pdtpp_true().
12121         * lib/properties.h: reflects all the above changes.
12123         * objects/SADT/arrow.c:
12124         * objects/SADT/annotation.c:
12125         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
12126         IDEF0 terminology.
12127         
12128 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
12130         * lib/properties.h:
12131         * lib/proplist.c: (prop_list_singleton):
12132         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12133         Added these, to simplify interactions of plug-ins with the StdProp
12134         core.
12136         * lib/Makefile.am:
12137         * lib/dia_xml.h:
12138         * lib/dia_xml_libxml.h (NEW): 
12139         * app/load_save.c:
12140         * lib/dia_xml.c:
12141         * lib/plug-ins.c:
12142         * lib/sheet.c:
12143         * objects/custom/shape_info.c: A few prototypes were causing
12144         #include hell, because we generally attempt to not pull the whole
12145         libxml header set when we include dia_xml.h. Moved those
12146         prototypes away for the rare cases they're necessary.
12147         
12148 2001-08-15  Hans Breuer  <hans@breuer.org>
12150         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
12152         * lib/libdia.def : 
12153         * lib/makefile.msc : updated
12155         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
12156         use G_GNUC_FUNCTION instead.
12158         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
12160         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
12161         msvc instead of cleaning missing includes
12163         * plug-ins/wmf/wmf.cpp :
12164         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
12166 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12168         * app/app_procs.c:
12169         * app/load_save.c:
12170         * lib/dia_xml.c:
12171         * lib/plug-ins.c:
12172         * lib/sheet.c:
12173         * objects/custom/shape_info.c:
12174         * plug-ins/shape/shape-export.c:
12175         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
12176         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
12177         removed xmlKeepBlanksDefault(0) in favour for proper
12178         xmlIsBlankNode() testing. Lots of other fixups to use the
12179         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
12180         make libxml1 output correct files.
12182         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
12183         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
12184         packages). If both devel packages are found, the build will stop 
12185         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
12187         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
12188         allocate the first handle :-)
12189         
12190         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
12191         a cast and a sizeof.</gratuitous>
12193         * objects/custom/custom_object.c: (custom_copy): don't call
12194         text_get_attrbutes if the shape has no text...
12195         (custom_update_data): The info->resize_with_text code was a bit
12196         directive; basically, the shape's bounding box was forced to be 
12197         proportional to the text's bounding box.... This fixes #57187.
12198         
12199         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
12200         default for info->aspect_ratio; unobfuscated a line about
12201         info->resize_with_text;
12202         
12203 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12205         * lib/properties.h: added comments next to the PROP_TYPEs to tell
12206         which C Property subclass to use.
12207         
12208         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
12209         cast-ridden form of setting properties in a list, in favour for
12210         the "local pointers" form. I'll take any better offer...
12212 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
12213         
12214         * lib/font.c: fprintf(...) --> fprintf(format...)
12216         * configure.in: added a disabled versioned test for glib.
12217         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
12218         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
12219         g_critical() with a simple g_error(). Proper fix is to implement
12220         that stuff. 
12222         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
12223         PROP_TYPE_STRING.
12224         
12225         * lib/properties.h:     
12226         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
12227         * lib/proplist.c: (find_prop_by_name_and_type):
12228         * lib/prop_basic.c: (make_new_prop), (initialize_property):
12229         * lib/propoffsets.c: (do_set_props_from_offsets),
12230         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
12231         Added a type_quark member to PropDescription, Property and
12232         PropOffset. Used it to implement a safety in
12233         do_[sg]et_props_from_offsets().
12234                 
12235         * objects/flowchart/diamond.c: the diamond's text was not saved,
12236         and thus not even copied (c&p).
12237         * objects/standard/textobj.c: ditto.
12239         Most of the above changes thanks to Robert Young's testing. Thanks !
12240         
12241 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
12243         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
12244         and bokmÃ¥l).
12245         
12246 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
12248         * lib/proplist.c (prop_list_from_descs): added a call to
12249         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
12250         too embarrassing to tell.
12251         
12252         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
12253         while loop to a for loop, for symmetry with
12254         prop_offset_list_calculate_quarks().
12256         * lib/geometry.h: new inline function, rectangle_equals.
12258         * lib/diagramdata.[ch]: refactored a bit the diagram extents
12259         computation logic, and changed it to always be the union of the
12260         visible layers' extents. This should close #58882 (Debian
12261         #107167), and fixes #55498.
12263         * app/display.c: made the initial visible box more coherent with
12264         the diagram being loaded's extents.
12266         * app/prop_attr.c: don't set the font (from offset) if font_data
12267         is NULL. Two brainos in colorprop_load() and fontprop_load().
12268         
12269 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
12271         * lib/properties.[ch]: split in a lot of pieces: 
12273         * lib/prop_*.[ch] (NEW): all property types are now first-class
12274         objects, inheriting from the original abstract Property type.
12275         * lib/propdesc.c (NEW): property description handling routines
12276         * lib/propoffsets.c (NEW): property offset handling routines
12277         * lib/proplist.c (NEW): property list handling routines
12278         * lib/propobject.c (NEW): property list <-> object routines
12279         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
12280         relations.
12281         * lib/propinternals.h: prototypes for stuff not usually needed by 
12282         the outside of StdProps.
12283         * lib/Makefile.am: a lot of new files have been added...
12285         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
12286         BOTH INTERFACES AND RUN-TIME STABILITY.
12288         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
12289         
12290         * lib/object.h: removed the incestuous relationship with
12291         properties.h' contents. Now a Property list is a GPtrArray -->
12292         object interface change !
12294         * app/app_procs.c/app_init(): removed a disabled call to a
12295         non-existent routine. Added a call to stdprops_init().
12296         
12297         * objects/Makefile.am: disabled the construction of EML. I'm not
12298         touching these until a certain issue is solved (or this module
12299         removed).
12300         * app/group.c:  
12301         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
12302         objects to the interface changes.
12303         
12304         * app/disp_callbacks.c: killed a warning.
12305         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
12307         * app/commands.c: 
12308         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
12309         interface.
12311         * plug-ins/dxf/dxf-import.c: 
12312         * plug-ins/xfig/xfig-import.c: 
12313         PROP_VALUE_* macros have been removed. Converted to the new API.
12315         * plug-ins/python/**/*: I gave up converting this; I can't
12316         compile --with-python (problems with object.h defined both by us
12317         and by Python). I'll gladly help whomever cares to fix it !
12318         (or, fix it myself if someone tells me how to compile it).
12319         
12320         * configure.in: added the UNICODE-related progress defines.
12321                 
12322         * configure.in:
12323         * lib/geometry.h: On Solaris and perhaps other systems, finite()
12324         is defined in ieeefp.h rather than in math.h. Patch from Andrew
12325         Halper <ashalper@acm.org> with further modifications, isinf() is
12326         provided by -lsunmath (sunmath.h).
12327         
12328         * lib/font.c: conditionally disabled Lars' debugging messages.
12329         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
12330         
12331 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
12333         * lib/bezier_conn.h: 
12334         * objects/standard/bezier.c (bezierline_create): 
12335         * lib/bezier_conn.c (bezierconn_init): 
12336         Preparations for use of userdata for bezier lines.
12337         
12338         * objects/standard/polygon.c: 
12339         * objects/standard/create.h:
12340         * lib/polyshape.c:
12341         * lib/polyshape.h:
12342         * plug-ins/xfig/xfig-import.c:
12343         Use of user_data for polygon as well, including adding
12344         polyshape_set_points.  Include file for non-interactive 
12345         creation of standard objects, objects/standard/create.h
12347 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12349         * app/render_gdk.c: 
12350         * app/render_gdk.h: 
12351         * lib/font.c:
12352         * lib/font.h:
12353         * lib/widgets.c:
12354         More preliminary freetype support.  Not at all functional, crashes
12355         when rendering.
12357         * lib/poly_conn.h: 
12358         * lib/poly_conn.c: 
12359         * objects/standard/polyline.c: 
12360         Support for creating polyline objects with more than two points.
12361         This includes an extra function and a prototype change in the
12362         poly_conn lib object.
12364         * lib/object.c (object_copy): Fixed memory leak of handles and
12365         connections.
12367 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
12369         * dia.desktop: added traditional Chinese strings
12371 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
12373         * NEWS: updated to reflect build-time dependencies.
12375         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
12376         around obj->ops->describe_props(obj). Quarks are none of an
12377         object's business in the general case... 
12378         * lib/text.c: Added an apply_textattr_properties() function to
12379         factor out some common code related to applying a dialog's text
12380         attribute properties to a (Text *) which wasn't edited there. 
12381         Ditto for textstr, for the string part of an objet.
12383         * objects/GRAFCET/action.c:
12384         * objects/SADT/annotation.c:
12385         * objects/SADT/box.c: used apply_textattr_properties().
12386         
12387         * objects/UML/actor.c: 
12388         * objects/UML/branch.c:
12389         * objects/UML/component.c:
12390         * objects/UML/constraint.c:
12391         * objects/UML/small_package.c:
12392         * objects/UML/state.c:
12393         * objects/UML/usecase.c:
12394         * objects/UML/large_package.c:
12395         * objects/UML/note.c:
12396         * objects/UML/node.c:
12397         * objects/UML/message.c:
12398         * objects/UML/classicon.c:
12399         * objects/UML/object.c:
12400         * objects/UML/realizes.c:
12401         * objects/UML/dependency.c:
12402         * objects/UML/implements.c:
12403         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
12404         (most objects were already using StdProps to some extent ; this
12405         systematises usage and removes some dead wood). 
12406         
12407         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
12408         * objects/UML/uml.[ch]: audited for UTF-8.
12410         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
12411         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
12412         private (ISO-8859-1) definition.
12413         
12414         * lib/charconv.c: Added a warning if we didn't run
12415         nl_langinfo(CODESET) but rely instead on a hardcoded default.
12416         
12417 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
12419         * lib/diamenu.h:
12420         * app/disp_callbacks.c: added a way for an object to cause an
12421         already realised menu to be destroyed (for instance if it changes
12422         too much).
12424         * objects/custom/custom_object.c: used the above to fix #55073.
12426 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12428         * configure.in: Remove 2.50 prereq.
12430 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
12432         * po-checktrans.py: under some circumstances, there was one column 
12433         more than what was supposed to be, thus breaking the formatting.
12434         
12435 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
12436         
12437         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
12439         * NEWS: updated with new stuff since 0.88
12441         * shapes/network/antenna.shape: the text was misplaced ; fixed.
12443         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
12444         firewall router (upon request from Cyril Lacoux
12445         <clacoux@easter-eggs.com>)
12447         * configure.in (didn't rename to configure.ac): autoconf 2.50
12448         constructs were used ; added an AC_PREREQ call to guard against
12449         older autoconfs.
12450         
12451 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
12453         * lib/properties.c: minor clean-ups with the event delivery code.
12455         * EML/instantiation.c: brought this object back from stone and ice
12456         age.    
12458         * app/diaconv.c(NEW): added a command-line conversion tool. Still
12459         lacks a man page and correctness. In fact, it doesn't work. Please
12460         see #58196 if you want to finish it.
12461         
12462         * lib/message.[ch]: redefined things a little so that a different
12463         message_internal routine could be passed.
12464         applications can use that to fit themselves to the display model.
12466 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
12468         * objects/SADT/box.c: 
12469         * objects/GRAFCET/action.c: spelling in property descriptors (name
12470         field...)
12471         * objects/SADT/annotation.c: ditto, plus a temporary test of the
12472         event delivery code (try to click on the "click me !" button !).
12474         * app/group.c: 
12475         * lib/properties.[ch]: improved (fixed) support for group event 
12476         handlers. Fixed various things from yesterday's code to make it
12477         not too obviously crash.
12479 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
12481         * app/group.c: added delivery of events to the first member of the
12482         group which is able to process it.
12484         * lib/properties.c(prop_desc_lists_intersection): properties
12485         don't match if they don't have identical event handler.
12486         * lib/properties.h: simplified the PropEventHandler signature.
12488         Event delivery code is still untested so far, but should be
12489         lurking harmless.
12490         
12491 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
12493         * lib/properties.[ch]: Added (untested !) property event handler
12494         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
12495         generating such events. This stuff compiles, and should lurk
12496         around silently as long as you don't declare property descriptors
12497         with events (AFAICT).
12498         In object_create_props_dialog() and friends:
12499         attached a single structure with lots of data instead of lots of
12500         little attachments of data to the dialog widget.
12501         
12502         * lib/object.h: fixed mild typedef breakage introduced by the above.
12504 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
12506         * lots of files: Changed Font to DiaFont
12507         * */Makefile.am: Added FREETYPE_LIBS
12508         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
12510 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
12512         * configure.in: Added "nn" to ALL_LINGUAS.
12513         
12514 2001-07-09  Alex Larsson  <alexl@redhat.com>
12516         * app/disp_callbacks.c:
12517         Add gdk_im_ready() calls to XIM code.
12519 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
12521         * lib/properties.[ch]: splitted prop_get_widget() into
12522         prop_get_widget() (gives a widget but doesn't fill it) and 
12523         prop_reset_widget() (fills an existing widget with a property's value).
12525         * lib/widgets.[ch]: const enforcement police work.
12527         * shapes/network/antenna.shape: added a connection point at top,
12528         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
12529         
12530 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
12532         * intl/*: tested with gettext-0.10.38
12533         * configure.in: moved a macro call around (AM_PROG_CC) to keep
12534         some of autogen.sh from complaining.
12535         * INSTALL: added a warning against gettext older than at least 0.10.36
12536         
12537 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
12539         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
12540         AM_ICONV (both provided by gettext)
12542 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
12544         * lib/charconv.c: corrected the degraded mode for when
12545         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
12547         * objects/chronoline/chronoline_events.c: UTF8 compliance.
12548         
12549 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
12551         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
12552         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
12553         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
12554         into a frame box.
12556         * objects/chronogram/chronoline.c:
12557         * objects/chronogram/chronoref.c: took advantage of the above to
12558         make nicer looking dialogs.
12560         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
12561         from libunicode's internals).
12562         * lib/message.c: convert strings to local encoding prior to
12563         display (UNICODE_WORK_IN_PROGRESS)
12564         * lib/properties.[ch]: convert strings to local encoding prior to
12565         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
12566         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
12567         * lib/stringprerenderer.[ch]: ditto
12569         (lib/text.c has been audited for UTF8, but the size of the changes
12570         make them inappropriate for commit before 0.89)
12571         
12572 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
12574         * objects/boolequation.h (<save|load>_boolequation): made the 
12575         prototypes for match the .c file.
12576         
12577         * samples/grafcet.dia: minor non-conformance with IEC-848
12578         fixed (in the transition from step 100 to step 101).
12580         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
12581         disallow editing of properties if the object is part of a group.
12583         * objects/chronogram/chronoline.c: 
12584         * objects/SADT/annotation.c:
12585         * objects/SADT/box.c:
12586         * objects/GRAFCET/step.c:
12587         * objects/GRAFCET/transition.c:
12588         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
12589         
12590 2001-06-12  Hans Breuer  <hans@breuer.org>
12592         * lib/libdia.def : removed lazyprop exports
12593         * lib/makefile.msc : removed lazyprop.obj
12595         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
12596         and avoid crashes by always creating a custom->text,
12597         when (custom->info->has_text) 
12599         * objects/makefile.msc : removed sybase from build
12601         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
12602         ObjectNode is a pointer already, which is what we want
12603         instead of a pointer pointer.
12605         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
12606         and implemented working export for images
12608         * shapes/network/zip-disk.shape : added connection points 
12610 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
12612         * objects/SADT/box.c: removed lazyprops for standard props.
12613         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
12614         * objects/chronograms/chronoref.c: ditto 
12616         * lib/Makefile.am:
12617         * lib/dummy_dep.h:
12618         * lib/connpoint_line.c:
12619         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
12620         * lib/properties.[ch]: new property types:
12621             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
12622             - PROP_TYPE_MULTISTRING: same as string, but renders as a
12623             multi-line entry box.
12624             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
12625             in a tabbed-notebook style (this is a bit complicated to use; 
12626             see objects/chronograms/chronoline.c for an example).
12627                
12628 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
12630         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
12631         * objects/GRAFCET/step.c: ditto.
12632         * objects/GRAFCET/vector.c: ditto.
12633         * objects/SADT/annotation.c: ditto.
12634         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
12635         
12636         * lib/properties.[ch]: two more non-visible types
12637         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
12639         * lib/neworthconn.[ch]:
12640         * lib/orthconn.[ch]: added support for manipulation through
12641         standard properties.
12643         * configure.in: removed -fomit-frame-pointer, this seems to
12644         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
12645         bugzilla.
12647         * charconv.[ch]: more functions from unicode.h.
12648         get_local_charset() wasn't working properly, fixed now.
12649         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
12650         ElectricFence !)
12651         
12652         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
12653         * lib/lazyprops.[ch]: put a big fat warning in.
12655         * app/render_eps.c: one line mysteriously went away, causing a
12656         variable to be used uninitialised....
12658 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
12660         * app/app_procs.c: commented out the call to
12661         bind_textdomain_codeset(): it's premature.
12662         
12663         * lib/connpoint_line.c: a NULL point can be given to
12664         connpointline_adjust_count(), in case there's not really a clicked
12665         point.
12667         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
12668         #include order troubles. #included by lib/text.h, so there is no 
12669         impact outside lib/.
12670         * lib/properties.[ch]: added support for CONNPOINT_LINE and
12671         (nonvisible) TEXT properties.
12673         * objects/GRAFCET/action.c:
12674         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
12675         properties.
12676         
12677         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
12678         standard properties code). Grafted a dynamic number of connection
12679         points (heavily inspired from what Vergent does). This is the real
12680         fix for #55863.
12682         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
12684         * lib/fonts.c: some hardening (mostly g_assert())
12685 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
12687         * app/app_procs.c (app_init): added a call to
12688         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
12689         (UNICODE_WORK_IN_PROGRESS).
12690         
12691 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
12693         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
12695         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
12696         (fixes #55863) : some clean-ups in the handling of connection
12697         points. Now the total number of connection points is just a
12698         #define (the proper solution is to retrofit the GRAFCET Vergent's
12699         dynamic behaviour wrt connection points).
12700         
12701 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
12703         * app/app_procs.c (app_init): added a call to unicode_init() (only
12704         if HAVE_UNICODE, of course).
12706         * lib/charconv.c: simplified the code which detects the local
12707         charset. No need to use <langinfo.h>, libunicode already takes the
12708         burden of figuring that out. Also, if local charset is utf8, no
12709         conversion will take place.
12710         Exposed a way to get the current charset (similar to
12711         unicode_get_charset() but actually working, hopefully).
12713         * lib/charconv.h: Added a partial non-UTF8 implementation of
12714         unicode.h if !HAVE_UNICODE (actually, all the time for the
12715         moment). The UTF8 implementation is just macros on libunicode (use
12716         the functions prefixed by uni_, as defined by charconv.h, not
12717         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
12718         From now on, all strings which don't *need* to be ASCII should be
12719         utfchar *, not gchar *. Just include charconv.h, let it sort out
12720         the details (such as: "is libunicode available and enabled?") 
12722         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
12723         "API" instead of directly libunicode. Removed the now unnecessary
12724         speculative clustering of characters in encoding pages.
12726         * app/render_eps.c: made the local8->utf8 conversions dependent of
12727         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
12728         boundary will be when this WIP is done).
12730         * lib/dia_xml.c (data_point): fixed a format string typo.
12732         * po/POTFILES.in: added all C files from lib/ 
12733         
12734 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
12736         * app/disp_callbacks.c: make sure the objects' connected objects
12737         are updated when the objects' size changes after a keypress event
12738         (fixes #51222)
12740         * configure.in: added a big warning about the possible future
12741         non-optionality of --enable-unicode. 
12743         * TODO: removed entries which look like done ; added a few ones
12744         (Bugzilla "enhancement" bugs may be a better way to keep track of
12745         this)
12746         
12747 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
12749         * objects/UML/message.c: got rid of #55564 and of message_copy()
12750         by using more standard properties (are the message_state_*()
12751         functions still necessary ?)
12753 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
12755         * lib/plug-ins.c: 
12756         * objecs/custom/shape_info.c:
12757         * plug-ins/shape/shape-export.c:
12758         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
12759         use xmlChar instead of obsolete CHAR.
12761 2001-06-03  Hans Breuer  <hans@breuer.org>
12763         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
12764         * app/commands.c : give the right number of parameters
12765         to diagram_update_menu_sensitivity ()
12767         * app/preferences.c : do proper initialization for DiaPrefsData:
12768         render_bounding_boxes. It would be a real surprise if 'hidden'
12769         properties would have ever worked before.
12770         Don't try to access the widgets of hidden property, it does not
12771         have one.
12773         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
12774         it is defined in libdia, but initialized from dia app, which 
12775         otherwise gave nice start-up crashes.
12777         * lib/diagramdata.c : initialize the color for rendering bounding 
12778         boxes in the Dia range (0 .. 1.0)
12780         * lib/libdia.def : added *_bbox functions for export
12782         * lib/makefile.msc : added new sources
12784         * objects/custom/custom_object.c : use HAVE_UNISTD_H
12786 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
12788         * app/interface.c:
12789         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
12790         removes a translation of menus (in a place where there shouldn't
12791         have been), which gets rid of a waterfall of warnings if LANG!=C,
12792         and a fix to #55047.
12794 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
12796         * lib/charconv.c : added #include <errno.h>
12798         * app/dia_embedd.c : updated menus_get_item_from_path usage
12799         
12800 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
12802         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
12803         Added a special case for Symbol strings, so that they're not
12804         re-encoded using the LN encoding (we use the bare Adobe encoding
12805         instead).
12807         * objects/custom/custom_object.c: Now that #52912 is fixed,
12808         I could remove the ugly hack I wrote to squash the shape bounding box
12809         problem shown by Ben A. Hetland a few months ago, and fix it
12810         properly this time.
12811         
12812         * lib/text.c: enlarged a little the bounding box to account for
12813         the cursor in rightmost position.
12814         
12815         * lib/diagramdata.c: draw bounding boxes only if the relevant
12816         variable is set (as before), but also only if the rendere is
12817         interactive (ie, don't bother rendering bounding boxes on 
12818         Postscript...)
12819         Made the bounding box's line width a fixed value, 0.01
12820         
12821         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
12822         and assymmetric control beziers. Implemented ellipse_bbox().
12823         
12824         * Makefile.am: incantations to get po/dia.pot build, as suggested
12825         by Hubert in #55075.
12826         
12827         * shapes/network/computer.shape: typo fixed.
12828         * shapes/network/antenna.shape: fixed #55074 (antenna is now
12829         properly translucent, except for its base where it makes sense. It
12830         doesn't look that ugly anymore if transparent mode is on).
12832         * configure.in: --enable-unicode is now the default. This
12833         still currently affects only printing.
12834         
12835 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12837         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
12838         The overshoot code is buggy, and the bounding boxes for polyshapes
12839         looks a bit cheezy. To be done ASAP.
12841 2001-05-26  James Henstridge  <james@daa.com.au>
12843         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
12844         This should clear up some of the build problems people have been
12845         having.
12847         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
12849 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12851         * lib/Makefile.am:
12852         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
12853         box code (beginning with lines, polylines and polybeziers), into a
12854         more generic facility. While at it, a better shot at correctly
12855         computing the bounding box of a Bezieroid (should take care of
12856         #53424, #51233 and of course is part 1 of #52912).
12858         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
12859         into a hidden preference (set render_bounding_boxes in diarc).
12860         * app/preferences.[ch]: Added support for hidden preferences.
12862         * lib/geometry.[ch]: sprinkled with "const" modifiers.
12863         
12864         * lib/bezier_conn.[ch]:
12865         * lib/beziershape.[ch]:
12866         * lib/connection.[ch]:
12867         * lib/element.[ch]:
12868         * lib/poly_conn.[ch]:
12869         * lib/orth_conn.[ch]:
12870         * lib/neworth_conn.[ch]:
12871         * lib/polyshape.[ch]: adapted to take advantage of
12872         boundingbox.[ch] instead of relying on private (duplicate) code.
12874         * object/FS/flow.c:
12875         * object/GRAFCET/action.c:
12876         * objects/GRAFCET/condition.c:
12877         * objects/GRAFCET/vergent.c:
12878         * objects/GRAFCET/vector.c:
12879         * objects/SADT/annotation.c:
12880         * objects/SADT/arrow.c:
12881         * objects/ER/participation.c:
12882         * objects/UML/constraint.c:
12883         * objects/UML/implements.c:
12884         * objects/UML/lifeline.c:
12885         * objects/UML/message.c:
12886         * objects/UML/realizes.c:
12887         * objects/UML/generalization.c:
12888         * objects/UML/association.c:
12889         * objects/UML/dependency.c:
12890         * objects/FS/flow-ortho.c:
12891         * objects/network/bus.c:
12892         * objects/standard/arc.c:
12893         * objects/standard/bezier.c:
12894         * objects/standard/beziergon.c:
12895         * objects/standard/line.c:
12896         * objects/standard/polygon.c:
12897         * objects/standard/zigzagline.c:
12898         
12899         * objects/standard/polyline.c: Some *BBExtras structures changed
12900         names while moving to boundingbox.[ch]. A trivial mass-renaming.
12901         
12902 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
12904         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
12905         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
12907         * app/display.c (ddisplay_update_scrollbars): from Patrick's
12908         suggestion, remove the extra scrollable area (it was only visible
12909         to the scrollbars). This is experimental.
12910         
12911         * objects/custom/custom_object.c: If a shape's icon file doesn't 
12912         exist, warn and substitute a default icon, instead of crashing.
12913         (fixes #52913)
12914         
12915         * objects/network/network.c:
12916         * shapes/network/modularswitch.(shape|xpm) (NEW):
12917         * shapes/network/printer.(shape|xpm) (NEW):
12918         * shapes/network/genmonitor.(shape|xpm) (NEW):
12919         * shapes/network/computer.(shape|xpm) (NEW):
12920         * shapes/network/Makefile.am: four less objects, four more shapes.
12921         These were the last known RenderObjects. (phew !)
12923         * lib/Makefile.am:
12924         * lib/dummy_dep.h:
12925         * objects/sybase/Makefile.am: 
12926         * objects/network/Makefile.am: Removed the older Renderobjects
12927         from the build, and their infrastructure (not yet deleted,
12928         though).
12930         * shapes/network/sceadplug.shape:
12931         * shapes/network/antenna.shape:
12932         * shapes/network/modem.shape:
12933         * shapes/network/hub.shape:
12934         * shapes/network/rj45plug.shape:
12935         * shapes/sybase/client.shape:
12936         * shapes/sybase/dataserver.shape:
12937         * shapes/sybase/ltm.shape:
12938         * shapes/sybase/repserver.shape:
12939         * shapes/sybase/rsm.shape:
12940         * shapes/sybase/stableq.shape: Minor corrections (line widths were
12941         ten times too narrow).
12942         
12943 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
12945         * objects/network/network.c:
12946         * shapes/network/sceadplug.(shape|xpm) (NEW):
12947         * shapes/network/antenna.(shape|xpm) (NEW):
12948         * shapes/network/modem.(shape|xpm) (NEW):
12949         * shapes/network/Makefile.am: four less objects, four more shapes.
12950         
12951         * lib/Makefile.am:
12952         * lib/diagramdata.c:
12953         * lib/render.h:
12954         * lib/string_prerenderer.[ch] (NEW):
12955         Add a new renderer primitive, predraw_string() (does nothing, to be
12956         used as a hook to optimise the character encodings if needed). 
12957         Added a string pre-renderer, which can be viewed as a filter
12958         renderer (to route draw_string() to predraw_string() and ignore
12959         the rest, in a first rendering pass)
12960         
12961         * app/render_eps.c: Took advantage of the above to make wholly
12962         optimised Postscript encoding page(s), even (especially) with 
12963         non-latin1 code (HAVE_UNICODE must be true).
12965         (#53512 in fact is wholly resolved).
12966         
12967 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
12969         * lib/charconv.c: steps towards resolution of #53512 (inspired by
12970         Alexey Novodvorsky <aen@logic.ru>'s patch).
12972         * app/menus.c (dia_menu_signal_proxy): checked that the signal
12973         handler is not NULL before transferring control to it... (fixes #52836)
12975         * app/app_procs.c (app_init): removed non-constant initialiser
12976         (fixes #52950)
12978         * objects/custom/custom_object.c:
12979         * objects/custom/shape_info.[ch]:
12980         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
12981         <skh@mathstar.com>. This add support for a <svg:text> shape
12982         element, and some related style properties (font, font height, 
12983         alignment)
12985         * doc/custom_shapes: a precision about the meaning of case in a
12986         SVG path (closes #52364)
12988         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
12989         fixed by <drk@sgi.com>)
12990         
12991 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
12993         * objects/network/network.c:
12994         * shapes/network/Makefile.am:
12995         * shapes/network/hub.(shape|xpm) (NEW):
12996         * shapes/network/flash.(shape|xpm) (NEW):
12997         * shapes/network/rj45plug.(shape|xpm) (NEW):
12998         More shapes, less renderobjects.
13000 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
13001         
13002         * plug-ins/svg/render_svg.c: typo made exported ellipses
13003         corrupted (zero Y pseudo-radius).
13005         * objects/network/network.c:
13006         * objects/network/disc.c:
13007         * shapes/network/disc.(shape|xpm): Converted the first
13008         Renderobject into a shape. Normally, old diagrams should reload
13009         without problems (please check this against your diagrams). More
13010         flexibility should be gained that way. I intend to hunt and
13011         eradicate all renderobjects as I can commit cycles to that. 
13013         * objects/Makefile.am:
13014         * configure.in:
13015         * app/Makefile.am:
13016         * objects/sybase/sybase.c:
13017         * shapes/sybase/Makefile.am(NEW):
13018         * shapes/sybase/client.(xpm|shape) (NEW):
13019         * shapes/sybase/dataserver.(xpm|shape) (NEW):
13020         * shapes/sybase/ltm.(xpm|shape) (NEW):
13021         * shapes/sybase/repserver.(xpm|shape) (NEW):
13022         * shapes/sybase/rsm.(xpm|shape) (NEW):
13023         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
13024         renderobjects into shapes. The Sybase objects are now not compiled
13025         anymore, and ready to be nuked if nobody objects in the next few weeks.
13026         
13027         * app/commands.c:
13028         * app/diagram.[ch]:
13029         * app/disp_callbacks.c:
13030         * app/display.[ch]:
13031         * app/interface.[ch]:
13032         * app/menus.[ch]:
13033         * app/modify_tool.c:
13034         * app/preferences.[ch]:
13035         * app/recent_files.c:
13036         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
13037         a menu bar reflecting the popup menu, to each display window. This
13038         is optional (changing the preference currently doesn't affect
13039         already opened windows; a few other rough edges to cut).
13041         * plug-ins/wpg/wpg.c:
13042         * plug-ins/xfig/xfig-import.c:
13043         * plug-ins/python/pydia-property.c:
13044         * plug-ins/python/pydia-properties.c:
13045         * plug-ins/python/pydia-geometry.c:
13046         * plug-ins/pstricks/render_pstricks.c:
13047         * lib/arrows.c:
13048         * objects/EML/dbox.c:
13049         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
13050         #53054.
13052         * lib/ps-utf8.c: improved the clustering of alphabetic character
13053         definitions in custom encodings pages.
13054         
13055 2001-05-02  Hans Breuer  <hans@breuer.org>
13057         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
13058         of 'obj_bb' to PROP_TYPE_RECT
13060         * objects/custom/custom_object.c : take all quarks into account, 
13061         not only 4 as copy&paste suggests
13063         * objects/uml/objects.c : completed the implementation of the
13064         property api to avoid reading of totally bogus data. Removed
13065         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
13066         there was too much but too less ...
13067   
13068         The above changes removed all known crashes (mentioned below) 
13069         from the Property API. Property access is still incomplete though.
13071         * objects/flowchart/box.c :
13072         * objects/flowchart/diamond.c :
13073         * objects/flowchart/ellipse.c :
13074         * objects/flowchart/parallelogram.c :
13075         * objects/uml/classicon.c :
13076         * objects/uml/state.c : calculate number of quarks from quark array 
13077         size instead of using hardcoded values for consistence and to avoid 
13078         future bugs like the above
13079         
13080         * objects/eml/nlist.c : include <string.h> for strcmp()
13082         * lib/dia_xml.c : relax g_warning for values, which
13083         appear to be too small. There is nothing which prevents
13084         them while saving
13086         * plug-ins/python/pydia-geometry.c : changed stringifying of
13087         geometry objects accept BezPoint back to %f, which does not
13088         crash anymore, because all the data is intialized now and it
13089         simply is more readable than %e ...
13091         * plug-ins/python/python-startup.py : removed dependency
13092         to PyGtk, because it isn't required here and probably won't
13093         in i.e.: export filters.
13095         * plug-ins/python/gtkcons.py : create the gtkoutfile even
13096         if sys.stderr.fileno() isn't supported
13098         * app/makefile.msc : make version 0.88
13099         * plug-ins/makefile.msc : make version 0.88 an added new
13100         xfig files to build
13102 2001-05-11  James Henstridge  <james@daa.com.au>
13104         * NEWS: remember to add news items this time.
13106         * dia.spec: update spec file for 0.88 release.
13108         * configure.in: up version number to 0.88
13110         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
13111         preventing any of the useful python scripts from being
13112         distributed.
13114         * sheets/Makefile.am (sheet-translation-report): fix bustage I
13115         introduced in my fixups for the 0.87 release :(
13117 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13119         * plug-ins/xfig/xfig-import.c: Finally got groups working.
13121 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
13123         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
13124         group manipulation.
13126 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
13128         * lib/ps-utf8.[ch]:
13129         * lib/Makefile.am: fix makefile breakage which led to not
13130         including ps-utf8.[ch] in the released tarballs. 
13132 2001-05-09  James Henstridge  <james@daa.com.au>
13134         * Makefile.am (core-translation-report): dist scripts needed for
13135         this target, and change to $(srcdir) before running.
13137         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
13138         files aren't automatically included in the tarball by automake
13139         because they could be generated files.
13141         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
13143         * doc/en/Makefile.am (install-data-hook): fix up where graphics
13144         are installed.
13146         * configure.in: up version number to 0.87
13148         * plug-ins/python/*.py: no longer necessary to explicitly set
13149         sys.argv, as python.c does it for us now (like it should).
13151         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
13152         python plugin.
13154         * plug-ins/python/python-startup.py: startup script that imports
13155         all modules in $(datadir)/dia/python and ~/.dia/python.
13157         * plug-ins/python/python.c (dia_plugin_init): change so that it
13158         only runs the $(datadir)/dia/python-startup.py script.  Make sure
13159         that sys.argv and __main__.__file__ are set when calling the
13160         startup script.
13162         * plug-ins/python/Makefile.am: update makefile.  Make it install
13163         gtkcons.py plugin.  I haven't set any other plugins to install, as
13164         they look like they are mainly for debugging purposes.
13166         * configure.in: add tests to detect if python is available, so we
13167         can build the python plugin.  Only run if --with-python passed to
13168         configure.
13170 2001-05-08  James Henstridge  <james@daa.com.au>
13172         * acinclude.m4: add macros for detecting python.
13174         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
13175         at GNOME_APP_UI_SUBTREE entries.
13176         (menus_add_path): function to add a menu item to the menubars.
13177         Uses a hash table to keep track of extra menu items it adds.  Also
13178         notifies the item factory about the entries so that accels can be
13179         saved for them.
13180         (menus_add_path): implement gtk only version.
13181         (menus_init): use menus_add_path() to add the menu.
13182         (plugin_callback): simplify.
13184 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
13186         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
13187         
13188 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
13190         * plug-ins/xfig/xfig-export.c: 
13191         * plug-ins/xfig/xfig-common.c: 
13192         * plug-ins/xfig/xfig-import.c: 
13193         * plug-ins/xfig/xfig.c: 
13194         * plug-ins/xfig/xfig.h: 
13195         * app/Makefile.am: Added support for exporting to Fig format
13196         (except splits, which are less powerful in Fig).  Some refactoring
13197         along the way.
13199 2001-05-02  Hans Breuer  <hans@breuer.org>
13201         * plug-ins/python/debug_objects.py : added another
13202         test to get massive crashes from the Property API due
13203         to unintialized data.
13205         * app/menu.c : the callback_action wasn't incremented
13206         (should have checked my last optimization). Now more
13207         than one plug-in callback is supported again.
13209         * plug-ins/python/pydia-geometry.c : avoid crashes from
13210         glib, when trying to g_strdup_printf unintialized floats.
13212         * plug-ins/python/pydia-property.c : avoid crashes from
13213         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
13215 2001-05-01  Hans Breuer  <hans@breuer.org>
13217         * objects/makefile.msc : added eml
13218         * objects/eml/instantiation.c : initialize 'inst' pointer
13219         before using, zero initialization for objects
13220         * objects/eml/interaction-ortho.c :
13221         * objects/eml/interaction.c : zero initialization for objects
13223         * app/menus.c : removed Gimp mru stuff which slipped in at
13224         2000-08-15, was never activated and will never be needed, 
13225         because of Steffens recent file list patch added at 2001-01-05.
13227         * objects/eml/*.c : some more zero initialization of objects
13228         to avoid infinite (uninitialized) bounding boxes
13230         Implemented a callback api which allows plug-ins to register
13231         menu call backs. Dia for Gnome should compile, but will need 
13232         some extra tweaking to make it work because I can't test it.
13234         * plug-ins/python/pydia-error.h :
13235         * plug-ins/python/pydia-render.c : moved Pxthon function return 
13236         value handling from pydia-render.c to pydia-error.h, to make it
13237         usable for
13238         * plug-ins/python/diamodule.c : implement callback function
13239         registration from and relaying to Python code
13241         * app/menus.c : register and use plug-in menu callbacks
13243         * lib/filter.[hc] : implement filter_register_callback() and
13244         filter_get_callbacks() for the above
13245         * lib/libdia.def : export them
13247         * plug-ins/python/debug_objects.py (new file): 
13248         sample using the above
13250 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
13252         * plug-ins/shape/shape-export.c (new_shape_renderer): 
13253         The name of a shape is now taken from the dir, to conform with
13254         standard naming.
13256 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
13258         * app/properties.c (properties_show): Added title containing
13259         object type, plus (hopefully) fix of the ghost properties dialog.
13261 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
13263         * app/display.c: remove the display idle handler in case we
13264         destroy the ddisplay (caused crashes in ddd, probably random
13265         crashes elsewhere).
13267         * autogen.sh: 
13268         * configure.in:
13269         * Makefile.am: hack around gettext-0.10.36's new "features".
13270         
13271         * lib/properties.[ch]: added new function object_copy_props().
13272         Added new property type PROP_TYPE_ENDPOINTS
13274         * lib/connection.h: added support for load/saving through the
13275         properties interface.
13277         * lib/object.[ch]: object_load/save/copy_using_properties()
13278         support functions (code factorisations).
13279         
13280         * objects/GRAFCET/boolequation.c: check against null values in
13281         boolequation_set_value() and boolequation_destroy().
13283         * objects/GRAFCET/transition.c: Converted from lazyprops to
13284         standard properties. 31% less (x86) code !
13286         * objects/GRAFCET/condition.c: also converted from lazyprops to
13287         standard properties. Also killed lots of code.
13288         
13289 2001-04-13  Hans Breuer  <hans@breuer.org>
13291         * plug-ins/wmf/wmf.cpp : changed text conversion from
13292         g_utf8_utf16 to g_convert usage. The latter function is already
13293         available in tml's last "official" Gtk+ version (2000-12-26).
13294         This change allows to use recent Dia with either the official
13295         version or the latest cvs "gtk-1-3-win32-production"-branch.
13297 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
13299         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
13300         * app/disp_callbacks.c:
13301         - Allow submenus in DiaMenus.
13302         - Don't require DiaMenu.title to be non-null (so that
13303           submenus aren't required to have titles)
13305         * objects/FS/function.c:
13306         - object menu now has submenus, an almost complete list of
13307           standard-basis verbs, and a start on nouns.
13308         - box padding, dash length, and other visual attributes are
13309           scaled by the font size... eventually font height will be
13310           a function property.
13311         - draw functions with smaller font to make initial view hold
13312           a reasonable number of functions.
13313         
13314 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
13316         * sheets/ER.sheet:
13317         * sheets/chronogram.sheet:
13318         * sheets/jigsaw.sheet:
13319         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
13320         Wieers <dag@wieers.com>
13322 2001-04-13  Hans Breuer  <hans@breuer.org>
13324         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
13325         to ensure that all the deinitialization is only done once. Fixes
13326         recent app exit crash on win32
13328         * lib/dia_xml.c : provide isinf() replacement for msc which does only
13329         have _finite()
13331         * lib/libdia.def : updated
13333         * objects/makefile.msc : added wanlink.c 
13335         * objects/network/wanlink.c : added M_PI_2 definition for poor
13336         platforms which don't have one
13338         * objects/standard/arc.c :
13339         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
13340         initialized which led to rather huge bounding boxes (try Ctrl^A on
13341         diagrams with Arcs or ZigZagLines).
13342         * objects/*/*.c : to avoid further bugs like the above changed all
13343         object initializations to g_malloc0 or g_new0
13346 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
13348         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
13349         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
13351         * objects/UML/class.c: 
13352         * objects/UML/usecase.c:
13353         * objects/UML/large_package.c:
13354         * objects/UML/message.c:
13355         * objects/UML/object.c:
13356         * objects/UML/lifeline.c:
13357         * objects/FS/flow.c:
13358         * objects/FS/flow-ortho.c:
13359         * objects/FS/function.c:
13360         * objects/custom/custom_object.c:
13361         * objects/GRAFCET/vergent.c:
13362         * objects/chronogram/chronoref.c:
13363         * objects/SADT/box.c:
13364         * objects/SADT/annotation.c:
13365         * plug-ins/dxf/dxf-import.c:
13366         * plug-ins/xfig/xfig-import.c:
13367         * plug-ins/wpg/wpg.c:
13368         * app/command.c:
13369         * app/app_procs.c:
13370         * app/display.c: /* certainly more WIP than dead code there */
13371         Unused variables, unused static function definitions, forgotten or
13372         incomplete prototypes added or fixed, lack of const or unwanted const,
13373         etc. (mostly clean-ups of leftovers of the pre-properties era).
13374         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
13375         please check these.
13377         * app/lineprops_area.c: More of the same. Missing prototypes
13378         added, and functions unused outside made static.
13380         * app/recent_files.c:
13381         * app/properties.c:
13382         * app/defaults.c: some variables are used only when doing a GNOME
13383         build.
13384         
13385         * app/magnify.c: missing #include <stdlib.h>.
13387         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
13389         These are a lot of clean-ups (by the way, this compiles and runs
13390         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
13391         for DEAD_CODE, and if it's yours, judge it.
13392         
13393 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
13395         * plug-ins/dxf-import.c: some progress with the arcs; still some
13396         clean-ups to do and line width scaling issues to figure out.
13398         * objects/standard/arc.c: start_point and end_point properties
13399         (duplicated from standard/line.c)
13401         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
13402         code there.
13403         
13404 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
13406         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
13407         preliminary support for arcs (doesn't work). Circles and ellipses are
13408         now transparent. Coordinate and width scaling are now a common 
13409         static constant (probably before morphing into a preference).
13410         
13411         * sheet/checktrans.py: improved error reporting. Made checktrans
13412         count lack of <name xml:lang="code"> as a lack of translation for
13413         language "code" (no, it's not a plot to bring down other
13414         language's scores !)
13415         
13416         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
13417         in the header, and have <name xml:lang="fr"> components.
13418         
13419 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
13421         * objects/custom/custom_object.c: temporary hack to fix the shape
13422         bounding box reported by Ben A. Hetland. Proper fix isn't .87
13423         material, see bugzilla #52912.
13425 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
13427         * objects/standard/image.c (get_directory): Now uses
13428         G_SEPARATOR_CHAR_S instead of "/"
13430         * sheets/network.sheet: 
13431         * sheets/Logic.sheet:
13432         * sheets/Flowchart.sheet:
13433         * sheets/Electric.sheet:
13434         * sheets/Circuit.sheet:
13435         * sheets/ER.sheet:
13436         * sheets/Pneumatic.sheet:
13437         * sheets/SDL.sheet:
13438         * sheets/UML.sheet:
13439         * sheets/GRAFCET.sheet:
13440         * sheets/MSE.sheet:
13441         * sheets/chronogram.sheet:
13442         * sheets/civil.sheet:
13443         * sheets/network.sheet:
13444         Danish translations.
13445         
13446         * objects/standard/image.c (get_directory): Changed get_directory
13447         to use g_dirname to find the directory part.
13449 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
13451         * sheets/ER.sheet:
13452         * sheets/Electric.sheet:
13453         * sheets/Flowchart.sheet:
13454         * sheets/Logic.sheet:
13455         * sheets/network.sheet: More Dutch translations from Dag Wieers.
13457 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
13459         * sheets/checktrans.py: now emits a warning when two descriptions
13460         for a single language code are found.
13462         * Makefile.am:
13463         * sheets/Makefile.am: -translation-reports now also depend on their
13464         checktrans.py
13465         
13466 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
13468         * sheets/Circuit.sheet:
13469         * sheets/Contact.sheet:
13470         * sheets/Logic.sheet:
13471         * sheets/chronogram.sheet:
13472         * sheets/sybase.sheet: 
13473         Dutch translations from Dag Wieers <dag@wieers.com>
13475 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
13477         * po-checktrans.py: Now shows the detailed counts alongside the
13478         percentage of translations.
13479         
13480 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
13482         * Makefile.am:
13483         * po-checktrans (NEW):
13484         * po-checktrans.py (NEW): builds core-translation-report:
13485         percentages of core (gettext) translations done [Not placed into
13486         po/ where that should belong, because of integration fear^Wissues
13487         with gettextize]. 
13489         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
13490         sheets/sheet-translation-report probably ought to be copied on the 
13491         user's /usr/share/doc/dia (or equivalent) directory.
13493         * sheets/Makefile.am: sheet-translation-report now a simple
13494         EXTRA_DIST; make install won't install it by default. 
13495         
13496 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
13498         * app/preferences.c: changed the default grid colour to something
13499         less intrusive. 
13501         * shapes/SDL/*.shape:
13502         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
13503         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
13504         DIA FILES (well, for files using SDL), see the mailing list
13505         archive "SDL (ab)using the global shape namespace" for a script to
13506         do this conversion.
13508         * sheets/SDL.sheet: translated into French
13509         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
13510         
13511 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
13513         * lib/dia_xml.c: made data_point() more paranoid
13515         * sheets/Makefile.am:
13516         * sheets/checktrans (NEW):
13517         * sheets/checktrans.py: Made checktrans handle more gracefully the
13518         absence of python and python-xml packages, and made the error
13519         message more helpful.
13520         
13521 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13523         * lib/render_object.c (new_render_object): Made initial handles
13524         behave like on most other objects.
13526         * app/load_save.c (read_objects): Fixed premature free'ing ofr
13527         typestr causing garbage.
13529 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
13531         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
13532         accouting for handle ordering through copy and save. (#51479)
13534 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
13536         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
13538 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
13540         * sheets/Circuit.sheet
13541         * sheets/UML.sheet
13542         * sheets/network.sheet: Updated German translations
13543         
13544 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
13545         * lib/arrows.[ch]:
13546         * lib/widgets.c:
13547         * app/lineprops_area.c: The return of the revenge of the arrow
13548         heads. Now all types covered by ISO 10303-201 should be covered.
13549         
13550 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
13552         * sheets/Flowchart.sheet: translations in probably Hungarian were
13553         a victim of cut-n-paste from the German one. Fixed (hopefully).
13554         * sheet/UML.sheet: translation in probably Norwegian was a victim
13555         of cut-n-paste from the French one. Fixed (hopefully).
13556         * sheets/Logic.sheet: French translation not tagged with
13557         xml:lang="fr".
13558         
13559         * sheets/checktrans.py:
13560         * sheets/Makefile.am: new file, sheet-translation-report, to be
13561         installed along the sheets, show how much of them has been
13562         translated into which language (I wish the result was prettier...)
13564         * po/README: most translators don't read this file, but anyway...
13566         * sheets/.cvsignore:
13567         * objects/network/.cvsignore: the usual negotiation with CVS.
13569 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
13571         * sheets/*.sheet: French translations
13573 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
13575         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
13577         ** objects/network/network.c:
13578         ** objects/network/wanlink.c:
13579         ** objects/network/pixmaps/wanlink.c:
13580         ** sheets/network.sheet:
13581         ** objects/network/Makefile.am: a better object to use instead of
13582         the older WAN Connection.
13583         
13584         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
13586         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
13587         name clash 
13589         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
13590         Arc; kept the C file name (because CVS wouldn't like it), and
13591         still registering the older object name (but advertising the newer
13592         one in sheets/GRAFCET.sheet).   
13594 2001-03-24  Hans Breuer  <hans@breuer.org>
13596         * app/dia.def : some plug-ins (currently only python, xfig) are using 
13597         functions from the dia executable. To get them working these functions 
13598         need to be explicit exported on win32. IMO the much cleaner way would
13599         be to move these functions to libdia, but that would require some
13600         long term restructuring ...
13602         * lib/libdia.def : updated
13604         * plug-ins/makefile.msc : build xfig plug-in
13606 2001-03-24  Hans Breuer  <hans@breuer.org>
13608         * app/diagram.c : g_strdup (dia->filename) because it will be
13609         g_free ()d
13611         * app/display.c : set ddisp->renderer to NULL after destruction.
13612         This may solve or help to identify erroneous access to it after
13613         destruction.
13615         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
13616         get 'umlauts' working
13618 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
13620         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
13621         were reversed... (look for the patch, and drink a beer to my
13622         stupidity)      
13623         
13624 2001-03-23  Hans Breuer  <hans@breuer.org>
13626         * app/app_procs.c : don't g_error () if the config directory
13627         can't be created (at least not on windoze) because it's quite
13628         common that the user don't read or understand the FAQ ...
13630         * app/cursor.c : use ddisplay_active () instead of active_display
13631         from app/display.c
13633         * app/display.[hc] : made active_display var static and provide
13634         an accessor funtion ddisplay_active_diagram ()
13636         * app/dia-props.c : don't store the active_diagram, but ask
13637         for it everytime it needed.
13639         * lib/properties.h : #include "intl.h"
13641         * lib/makefile.msc : need to take care of inclusion order to
13642         avoid clashes with gtk+2.0's gdk-pixbuf
13644         * objects/makefile.msc : added uml/stereotype.c to build
13646 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
13648         * **/*.c: Added config.h to the remaining .c files, and changed
13649         all to be <config.h>.
13651 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
13653         * lib/arrows.c
13654         * lib/arrows.h
13655         * lib/widgets.c
13656         * app/lineprops_area.c: added new arrow types with double
13657         heads
13658         
13659 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
13661         * shapes/Civil/civil_gas_bottle.xpm
13662         * shapes/Civil/civil_gas_bottle.shape
13663         * sheets/civil.sheet
13664         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
13665         Battermann
13666         
13667 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
13669         * objects/custom/shape_info.c (load_shape_info): 
13670         * objects/custom/shape_info.h: 
13671         * objects/custom/custom_object.c (custom_update_data): 
13672         Better support for text outside the box -- new attributes 'resize'
13673         and 'align' for text entity.  Align not fully supported yet.
13675         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
13677 2001-03-20  James Henstridge  <james@daa.com.au>
13679         * app/interface.c (display_data_received_callback): comment out
13680         status message.
13682 2001-03-19  James Henstridge  <james@daa.com.au>
13684         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
13686         * objects/UML/realizes.c: similar here.
13688         * objects/UML/implements.c: similar here.
13690         * objects/UML/component.c: similar here.
13692         * objects/UML/generalization.c: same here.
13694         * objects/UML/dependency.c: allow NULL for ->name and
13695         ->stereotype.  This fixes a number of problems in loading saved
13696         files.
13698         * lib/properties.c: various changes so that NULL string properties
13699         should work.
13701         * objects/standard/line.c (line_update_data):
13702         line->extra.start_long and line->extra.end_long were not being
13703         initialised.  This fixes potential problems with the bounding box
13704         of "Standard - Line" objects.
13706 2001-03-19  Hans Breuer  <hans@breuer.org>
13708         * app/commands.c : added win32 specific code to display a html
13709         file. #include "text.h" for text_delete_all prototype.
13711         * app/dia.ico :
13712         * app/dia.rc : (new) to give Dia win32 an icon
13714         * app/win32print.[ch] : new files to support direct postscript
13715         file printing on win32. Beware: it *requires* a ps-printer!
13717         * app/paginate_psprint.c : disable the signal code for win32 build
13718         and added small specific changes to support win32print.
13720         * app/makefile.msc : added win32print and linking shell32.lib
13722         * lib/libdia.def : updated
13724 2001-03-18  Kevin Breit <battery841@mediaone.net>
13726         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
13727           Help tabs.
13729 2001-03-17  James Henstridge  <james@daa.com.au>
13731         * app/paginate_psprint.c (diagram_print_ps): add code that traps
13732         SIGPIPEs during printing.  This gets rid of a number of crashes
13733         caused by printing (eg. typing an incorrect print command).
13735         * dia.spec (%install): gzip the manpage.
13737         * lib/beziershape.c (beziershape_save): fix off by one error in
13738         beziershape save code, which was adding an extra segment to the
13739         object on save.
13741         * app/menus.c: add a separator in the gnome version of the help
13742         menu.
13744         * app/app_procs.c (app_init): add a --nosplash argument which
13745         disables the splash screen.
13747         * app/dia_embedd.c (main): don't leave the splash screen open for
13748         embeddable component.
13750         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
13751         didn't seem to be showing the splash screen like expected, so I
13752         have replaced it with some code that calls gtk_main() until the
13753         first exposure of the window.
13755 2001-03-16  James Henstridge  <james@daa.com.au>
13757         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
13759         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
13760         stereotype.h
13762         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
13764         * app/Makefile.am (dia_core_files): remove splash.h from file
13765         list, as it doesn't exist.
13767         * doc/en/Makefile.am (uninstall-local): remove the docdir on
13768         uninstall.
13770         * doc/Makefile.am (uninstall-local): target to remove the C
13771         symlink.
13773         * dia.spec (%files): include the documentation in the package.
13775         * app/menus.c (toolbox_menu_items): add menu item for manual,
13776         which calls help_manual_callback.
13778         * app/commands.c (help_manual_callback): find help file and load
13779         netscape to view it.
13781         * app/commands.h: add prototype for help_manual_callback()
13783         * doc/Makefile.am (helpdir): similar here.
13785         * doc/en/Makefile.am (helpdir): make the helpdir
13786         $(pkgdatadir)/help/en in the non gnome case.
13788         * configure.in (HAVE_GNOME): add conditional.
13790         * doc/en/Makefile.am: handle the graphics in a more general way,
13791         so it is easier for Kevin to add them to the build (just add them
13792         to the GRAPHICS var).
13794         * app/Makefile.am (embed_extra_print_files): make the case of
13795         building without gnome-print support but with bonobo support work.
13796         dia-embedd needs to be include the gnome-print
13798 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13800         * samples/Makefile.am: included all samples in the distribution....
13801         
13802 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13804         * configure.in: removed premature test for DPS. Added -*- m4 -*-
13805         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
13806         vanished, removed it from ALL_LINGUAS.
13808         * lib/charconv.[ch] (NEW): a very small wrapper around
13809         unicode_iconv to convert strings between utf8 and local charset
13810         (actually, ISO-8859-1, though one can do
13811         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
13813         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
13814         library to help build Postscript streams which use as many custom
13815         font encodings as necessary to correctly represent all characters
13816         used (testing from users with non-latin1 and/or more than 256
13817         characters in routine use *very* welcome).
13819         * app/Makefile.am, lib/Makefile.am: integrated these into the
13820         build process.
13822         * shapes/Logic/.cvsignore (NEW): .cvsignore
13823         
13824         * app/render_eps.h: forwarded some changes Lars forgot to include.
13825         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
13826         doesn't yet build.
13828 2001-03-08  Kevin Breit <battery841@mediaone.net>
13830         * doc/en/home_network.png: Added file.
13831         * doc/en/line_props.png: Added file.
13832         * doc/en/usage-objects.sgml: Added two graphics to file.
13833         * doc/en/usage-quickstart.sgml: Added one graphic to file.
13835 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
13837         * app/grid.h: Place comment around text after #endif.
13838         * lib/bezier_conn.c: #include <string.h>.
13839         * lib/beziershape.c: #include <string.h>.
13840         * lib/connpoint_line.h: Comment after #endif.
13841         * lib/dia_dirs.c: #include <string.h>.
13842         * lib/element.c: Same.
13843         * lib/lazyprops.c: #include <config.h> and "intl.h".
13844         * lib/lazyprops.h: Comment out text after #endif.
13845         * lib/neworth_conn.c: #include <string.h>
13846         * lib/orth_conn.c: Same here.
13847         * lib/poly_conn.c: Here too.
13848         * lib/polyshape.c: And here.
13849         * lib/properties.c: Remove #include "intl.h" from here and add
13850         an array of static strings to work around bug in gettext that
13851         makes it miss strings in a #define body.
13852         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
13853         * objects/GRAFCET/boolequation.h: Same here.
13854         * objects/chronogram/chronoline_event.h: Add prototype for
13855         destroy_cle().
13856         
13857 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13859         * objects/FS/function.c: 
13860         * objects/FS/flow.c: 
13861         * objects/FS/flow-ortho.c: 
13862         Updated to use properties.
13864 2001-03-03  James Henstridge  <james@daa.com.au>
13866         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
13867         button labels when creating them.
13869 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13871         * objects/UML/actor.c
13872         * objects/UML/realizes.c 
13873         * objects/UML/implements.c 
13874         * objects/UML/generalization.c 
13875         * objects/UML/dependency.c 
13876         * objects/UML/constraint.c
13877         Updated to use properties.
13878         
13879         * objects/UML/stereotype.c 
13880         * objects/UML/stereotype.h
13881         Generalized to any kind of bracketting.
13882         
13883 2001-02-28  James Henstridge  <james@daa.com.au>
13885         * app/menus.c: add help entry to the help menu.  Need to get this
13886         working for the non GNOME case as well (maybe put help under
13887         $(datadir)/dia/help for non GNOME?)
13889         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
13891         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
13892         this element so that we get a meaningful filename in the html
13893         translation.
13895         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
13896         documentation.
13898         * configure.in (DB2HTML): add a check for the db2html program, and
13899         set an automake conditional if it is found.
13901         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
13902         and descend into doc/ directory while building.
13904         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
13905         we need more complex rules for building the docs.
13907 2001-02-25  Hans Breuer  <hans@breuer.org>
13909         * config.h.win32 : some cleanup
13911         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
13912         are deprecated since glib-1.3.2. Sorry needing to use them
13913         contionally, but there is no glib-1.2 for win32
13915         * app/recent_files.c : use g_strescape (params) conditionally
13917         * lib/connection.c : include string.h for memcpy
13919         * lib/geometry.h : added some stuff for compatibility with
13920         msvc, which previously came from included config.h
13922         * lib/libdia.def : updated
13924         * objects/makefile.msc : updated
13926         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
13927         'extra' used without having been initialized
13929         * objects/network/bus.c(658) : initialize 'extra'
13931         * plug-ins/makefile.msc : updated
13933         * plug-ins/cgm/cgm.c :
13934         * plug-ins/pstricks/render_pstricks.c : 
13935         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
13936         huge memory leaks.
13938         * plug-ins/python/python.c : use HAVE_DIRENT_H
13940 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13942         * lib/connection.c (connection_update_boundingbox): 
13943         Made the BB shrink on right and lower sides, too.
13945 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
13947         * */*.c: #incude <config.h> at the top.
13948         * */*.h: Remove include of "config.h" since it should only
13949         be included in .c files and at the very top for things to
13950         work.
13951         * sheets/*.sheet: Updated Norwegian translations.
13952         
13953 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13955         * objects/UML/small_package.c: 
13956         * objects/UML/class.c: 
13957         * objects/UML/node.c: 
13958         * objects/UML/usecase.c:
13959         * objects/UML/lifeline.c: 
13960         * objects/UML/message.c:
13961         Various cleanup of properties in particular.  Now much more use of
13962         standard properties.
13964         * lib/diagramdata.c (layer_render): Visualization of bounding
13965         boxes, for debugging purpoises.
13967 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
13969         * lib/geometry.h:
13970         * lib/connection.[ch]:
13971         * lib/poly_conn.[ch]:
13972         * lib/polyshape.[ch]:
13973         * lib/bezier_conn.[ch]:
13974         * lib/beziershape.[ch]:
13975         * lib/orth_conn.[ch]:
13976         * lib/neworth_conn.[ch]:
13977         * lib/element.[ch]: Changed a bit the _update_boundingbox()
13978         interface. Now the parent elements have an extra_spacing
13979         structure, which child objects just need to fill, to take care of
13980         most arrow & line width extra space needs.
13982         * objects/**/*.c: updated all objects to the new interface.
13983         While at it, killed all instances of (Object *) downcasts (phew !)
13985         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
13986         doesn't speak about.
13987         
13988 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13990         * sheets/Logic.sheet: New sheet for Logic symbols.
13992 2001-02-21  James Henstridge  <james@daa.com.au>
13994         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
13995         widget by its path name.  Walks the GnomeUIInfo heirachy rather
13996         than widget tree, compares untranslated label names and ignores
13997         underscores in the labels.
13998         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
13999         lookups are not dependent on the current locale, as with
14000         gnome_app_find_menu_pos.
14002         * acconfig.h: guard against multiple inclusion of config.h.
14004         * app/select.c (select_style_callback): simply set the selection
14005         style to the value of action.
14007         * app/menus.c (menus_init): simplify the item factory based menu
14008         code a bit.  It looks like it was using some code cut and pasted
14009         from the gimp, which looked a bit unnecessary.  Things work fine
14010         without it.
14011         (selectmenu): set the action to the type of selection mode
14012         requested.
14013         (display_menu_items): use the symbolic enumeration values for the
14014         action field.
14016         * app/plugin-manager.c: 
14017         * app/plugin-manager.h: 
14018         * app/filedlg.c:
14019         * app/filedlg.h: 
14020         * app/select.c:
14021         * app/select.h: change prototypes.
14023         * app/commands.c: update all callback prototypes, and get rid of
14024         some #ifdef GNOME's.
14026         * app/commands.h: change function prototypes.
14028         * app/dia_embedd.c (save_fn):
14029         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
14031         * app/menus.c (menus_init): for gnome menus, use
14032         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
14033         structure that proxies the callbacks to have the same signature as
14034         GtkItemFactory type 1 callbacks.
14035         (menus_init): for GTK menus, change from callback type 2 to type
14036         1.
14037         (display_menu_items): add back tearoffs.  I don't know who removed
14038         these for the gtk menu case.
14040 2001-02-20  Kevin Breit <battery841@mediaone.net>
14042         * doc/en/usage-objects-special.sgml: Fixed a few of the special
14043         object descriptions.  More to come in the next few days.
14045 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14047         * app/render_eps.c: Fixed for internationalized floating point
14048         output. 
14050         * objects/UML/note.c: Fixed properties -- was missing
14051         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
14052         position. 
14054 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
14056         * plug-ins/xfig/xfig-import.c: 
14057         File added importing xfig files.  Still very rough, but good
14058         enough to let others hack on it.
14060 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
14062         * app/interface.c:
14063         * app/linewidth_area.c:
14064         * lib/lazyprops.c:
14065         * lib/properties.c:
14066         * lib/widgets.c:
14067         * objects/ER/attribute.c:
14068         * objects/ER/entity.c:
14069         * objects/ER/relationship.c:
14070         * objects/custom/custom_object.c:
14071         * objects/flowchart/box.c:
14072         * objects/flowchart/diamond.c:
14073         * objects/flowchart/ellipse.c:
14074         * objects/flowchart/parallelogram.c:
14075         * objects/standard/box.c:
14076         * objects/standard/textobj.c: per Vlad Harchev's request, made
14077         page sizes of gtk_adjustments different than their step sizes.
14078         When sensible values of page size weren't found (overwhelming
14079         majority of cases), page sizes were set to 10.0 * respective step
14080         size.   
14082 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
14084         * objects/network/hub.c: 
14085         Patch from Hubert Figuiere applied, adding connection points.
14087 2001-02-02  James Henstridge  <james@daa.com.au>
14089         * app/display.c (new_display): set update id to 0 here.
14090         (ddisplay_update_handler): rename from ddisplay_flush, and set
14091         update_id to 0 at end of processing.
14092         (ddisplay_flush): new implementation that simply sets an idle
14093         handler to perform the actual drawing.
14095         * app/display.h: add structure member to hold the redraw idle
14096         handler id.
14098 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
14100         * objects/standard/ellipse.c (ellipse_copy): 
14101         * objects/standard/zigzagline.c (zigzagline_copy): 
14102         Fix of copying provided by Martin Hawlisch.
14104 2001-01-23  Kevin Breit <battery841@mediaone.net>
14106         * doc/en/graphics/: added directory
14108         * doc/en/graphics/greendots.png: added file
14110         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
14111         release.
14113 2001-01-23  Kevin Breit <battery841@mediaone.net>
14115         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
14116                         thanks to John Fleck!
14118 2001-01-21  Kevin Breit <battery841@mediaone.net>
14120         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
14122 2001-01-12  Michael Meeks  <michael@helixcode.com>
14124         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
14125         so our POA gets setup properly.
14127         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
14128         things we g_malloc.
14130         * configure.in: Use bonobox_print.
14132         * app/dia_embedd.c (embeddable_factory): add print interface.
14133         (object_print): impl.
14135 2001-01-11  Michael Meeks  <michael@helixcode.com>
14137         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
14138         (load_fn, save_fn): impl.
14139         (view_factory): hide modified status bar, & use activate fn.
14140         (refresh_view): force redraws of the views.
14141         (view_show_hide): split from
14142         (dia_view_activate): here.
14144         * app/diagram.c (diagram_load_into): split from diagram_load.
14145         (new_diagram): simplify bu splittin stuff into
14146         (diagram_init): here.
14148 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
14150         * shapes/jigsaw/*.shape: replaced #000000 with foreground
14151         and #ffffff with background
14152         
14153 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
14155         *configure.in: GTK+-build was broken due to missing
14156         have_bonobo=no
14157         
14158 2001-01-06  Michael Meeks  <michael@helixcode.com>
14160         * app/dia_embedd.c (main): add running context support.
14161         (dia_embeddable_destroy): remove old running object counting.
14162         (embeddable_factory): ditto.
14163         (view_factory): comment out menu path hiding.
14165         * lib/sheet.c (load_register_sheet): use free to free
14166         stuff from libxml not g_free.
14168         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
14170         * configure.in: remove USE_OAF checks, check for a precice
14171         Bonobo version >= 0.31, revamp bits.
14173         * app/dia_embedd.c (init_server_factory): upd.
14174         (init_dia_factory): remove OAF conditionals, everything uses
14175         oaf now.
14177         * app/GNOME_Dia.oafinfo: rename OAFIIDs
14179         * app/Makefile.am: remove ancient gnorba code.
14180         rename dia.oafinfo to GNOME_Dia.oafinfo
14182 2001-01-07  Hans Breuer <Hans@Breuer.Org>
14184         * config.h.win32
14185         * install.win32
14186         * readme.win32 : some more files required or useful to build 
14187         Dia on win32
14189         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
14190         fill_bezier implementation, boundary drawing in fill mode, etc.
14191         Next one complaining gets the source, uncommented ...
14193         * shapes/network/router-symbol.xpm 
14194         * shapes/network/switch-atm-symbol.xpm 
14195         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
14196         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
14197         the files as XPMs. Maybe the X versions of these functions are more
14198         tolerant ...
14200 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
14202         * plug-ins/python/Makefile.am: added libart path
14204         * plug-ins/python/python.c: added dirent.h
14206         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
14207         
14208 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14210         * objects/uml/actor.c
14211         * objects/uml/branch.c
14212         * objects/uml/class.c
14213         * objects/uml/classicon.c
14214         * objects/uml/component.c
14215         * objects/uml/large_package.c
14216         * objects/uml/node.c
14217         * objects/uml/note.c
14218         * objects/uml/object.c
14219         * objects/uml/small_package.c
14220         * objects/uml/state.c
14221         * objects/uml/usecase.c : started to implement the generic property
14222         interface for the uml objects. Would appreciate some help on how
14223         to implement properties which are list of properties themselves,
14224         e.g. member functions and their parameters of UMLClass.
14226 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14228         * plug-ins/python/diamodule.c : finally ported to win32.
14229         Added new objects and implemented register_export function.
14231         * plug-ins/python/pydia-object.h
14232         * plug-ins/python/pydia-display.c
14233         * plug-ins/python/pydia-handle.c
14234         PyObject_HEAD_INIT needs some tweakink on win32. Done in
14235         pydia-object.h; others files simply using it.
14237         * plug-ins/python/pydia-layer.c : reflect 
14238         layer_find_closest_connection(_)point renaming
14240         * plug-ins/python/pydia-object.c : add property properties.
14241         Also change bounding_box to DiaRectangle.
14243         * plug-ins/python/python.c : extended error reporting; use
14244         all *.py files from Dia's plug-in dir instead of hardcoded
14245         test.py. This sollution should be fine with Win32, but on
14246         Unix it may need some tweaking (dunno) ...
14248         * plug-ins/python/export-object.py
14249         * plug-ins/python/export-render.py : test and documentation 
14250         implementations for export filter implementations in Python
14252         * plug-ins/python/pydia-color.[hc]
14253         * plug-ins/python/pydia-diagramdata.[hc]
14254         * plug-ins/python/pydia-error.[hc]
14255         * plug-ins/python/pydia-export.[hc]
14256         * plug-ins/python/pydia-font.[hc]
14257         * plug-ins/python/pydia-geometry.[hc]
14258         * plug-ins/python/pydia-image.[hc]
14259         * plug-ins/python/pydia-properties.[hc]
14260         * plug-ins/python/pydia-property.c
14261         * plug-ins/python/pydia-render.c : new objects in new files 
14263         * plug-ins/python/makefile.am : added new files but can't test it
14265         * plug-ins/python/pydia.def
14266         * plug-ins/python/makefile.msc : for win32 build
14268         * plug-ins/cgm/cgm.c
14269         * plug-ins/dxf/dxf-import.c
14270         * plug-ins/dxf/dxf-export.c
14271         * plug-ins/hpgl/hpgl.c : reflect export API change
14273         * plug-ins/shape/shape-export.c : reflect export API change
14274         and check for libart (better the availibility of a png exporter) 
14275         at run-time instead of compile-time. 
14277 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
14279         * app/recent_files.h was missing from Hans's commit
14281         * plug-ins/shape/shape_export.c: shape export was broken
14282         due to interface changes
14283         
14284 2001-01-05  Hans Breuer <Hans@Breuer.Org>
14286         Applied Steffen's recent file list patch :
14287         * app/Makefile.am : added recent_files.[hc]
14288         * app/diagram.c : add files to recent file list
14289         * app/menus.c : add recent file menu
14290         * app/app_procs.c : changed initialization order to
14291         make recent file list work with command line processing.
14293         The Filter export()/import() functions have got an additional 
14294         parameter to allow multiple filters via one C callback (required
14295         for Python bindings)
14297         * app/commands.[hc] : corrected the signature for gtk menu callback
14298         functions, which actually use the second or third parameter. This
14299         is the absolute minimum change to make these functions/menu entries
14300         work again. Using the other possible gtk menu callback signature
14301         would have required one more function to change. (see mailing list
14302         thread "Objects/Align/Equal Distance" for more information.
14304         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
14305         zoom-combo focus patch
14307         * app/display.c
14308         * app/interface.c : wrapped the Zoom Combo code into 
14309         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
14310         improvement but cluttering the user interface. Also it wasn't
14311         compiling on Win32 anyway. The win32 version does define 
14312         WITHOUT_ZOOM_COMBO to keep the old look. 
14313         There are plans to use the statusbar to display size and placement
14314         of selected objects, whereas the Zoom Combo would need to get out
14315         of the way as well.
14317         Added "Save Changes?" to diagram close dialog. Hopefuly the
14318         Yes/No/Cancel option isn't too much windoze like. IHMO this is
14319         an useability improvement.
14321         * app/export_png.c
14322         * app/filedlg.c
14323         * app/load_save.c
14324         * app/layer_dialog.c
14325         * app/paginate_psprint.c
14326         * app/render_eps.c
14327         - reflect signature changing of filter->export function
14328         - replaced '/' with G_DIR_SEPARARTOR where appropriate
14330         * app/diaunitspinner.c
14331         * app/render_libart.c
14332         added misssing headers like <string.h>
14334         * app/object_ops.c : fixed copy&paste bug in dialog string
14336         * app/splash.c : gdk_widget_show_now () does not ensure actual
14337         drawing of the splash screen, at least not on win32. Reuse the
14338         previous implementation with gtk_main_iteration() again.
14340         * */makefile.msc : make use of the build module (available in
14341         gnome-cvs/build. Updated for other source changes
14343         * lib/filter.h : added an user_data pointer to <ex/im>port()
14344         function signature and Dia<Im/Ex>portFilter to allow different
14345         filters to reuse the same callback function
14347         * lib/font.c : #include <string.h>
14349         * lib/orth_conn.c 
14350         * lib/poly_conn.c 
14351         * lib/poly_shape.c 
14352         * lib/neworth_conn.c
14353         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
14355         * */*.def : export function definition files required by win32 build
14357         * objects/custom/custom.c : #include <string.h>
14359         * plug-ins/pstricks/render_pstricks.c
14360         * plug-ins/shape/shape_export.c
14361         * plug-ins/svg/render_svg.c
14362         reflect changes to filter export function signature
14364         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
14365         mostly work as expected
14366         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
14367         to build the wmf plug-in because on the one hand the GDI emulation 
14368         isn't finished and on the other hand it isn't required when building
14369         for win32. Is there anybody out there, who wants to save WMF on non
14370         windoze platforms ?
14372         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
14373         offset into account.
14375 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
14377         * app/Makefile.am: added missing plug-ins to run_dia.sh
14379         * lib/paper.c: added paper sizes A0, A1, A2
14381         * objects/UML/class.c
14382         objects/UML/class.h
14383         objects/UML/class_dialog.c: added support for colored UML
14384         classes
14385         
14386 2000-12-30  Kevin Breit <battery841@mediaone.net>
14388         * doc/en/usage-customization.sgml: added more content
14390 2000-12-24  Kevin Breit <battery841@mediaone.net>
14392         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
14393         <remy.viard@laposte.net>
14395 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
14397         * added limiting lines to Civil Engineering sheet,
14398         fixed vertical pump icon
14399         
14400 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
14402         * updated/additional Civil Engineering shapes: better icons,
14403         shapes use foreground/background colors now and are filled
14404         
14405 2000-12-03  Kevin Breit  <battery841@mediaone.net>
14407         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
14408         the selection <sect1>
14410 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
14412         * app/load_save.c (diagram_data_save): avoid using obsoleted
14413         libxml calls (only matters when compiling with libxml2)
14415 2000-11-25  James Henstridge  <james@daa.com.au>
14417         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
14418         handle the tool drops on the canvas.
14420         * app/interface.c (display_data_received_callback): do the check
14421         to make sure that the drag is from a local toolbox here as well.
14423         * app/interface.c (create_tools): unref the pixmap/mask after
14424         creating the GtkPixmap.
14425         (tool_setup_drag_source): function to set up a drag source for
14426         create object tool buttons.
14427         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
14428         (fill_sheet_wbox): same here.
14429         (create_display_shell): set up the display canvas as a drag
14430         destination.
14431         (display_drop_callback, display_data_received_callback): functions
14432         to handle drops of tool buttons.
14434         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
14435         does weird shit to the user_data pointer for a menu item.  Object
14436         alignment should work again now.
14438         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
14439         NULL, and mark this function static.
14440         (app_splash_init): use gtk_widget_show_now() instead of the
14441         gtk_main_iteration loop.
14442         (app_splash_init): connecting gtk_widget_destroy to the destroy
14443         signal of a widget seems pretty useless.
14445 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
14447         * doc/en/dia-manual.sgml:
14448                 Added sect1 for advanced object types.  Starting development
14449                 on that part.
14451 2000-11-18  Kevin Breit <battery841@mediaone.net>
14453         * doc/en/dia-manual.sgml:
14454                 Stupid spelling fixes.
14456 2000-11-18  Kevin Breit <battery841@mediaone.net>
14458         * doc/en/dia-manual.sgml:
14459                 Just some small changes I made.  Props to Greg LeBlanc on the
14460                 recommendations.
14462 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
14464         * app/display.c:
14465         (ddisplay_add_display_area): Clip input rectangle to
14466         the visible part of the display.
14467         (ddisplay_scroll): Optimization, don't scroll and
14468         redraw if moving to the same position as before.
14470         * app/render_libart.c (renderer_libart_copy_to_window):
14471         Removed sanity check. Now moved to ddisplay_add_display_area().
14473         * lib/diavar.h:
14474         Added return at end of file.
14475         
14476 2000-11-13 Kevin Breit <battery841@mypad.com>
14477         * doc/en/dia-manual.sgml
14478                 Commited manual changes from Henry House <hajhouse@houseag.com>
14480 2000-10-21 Hans Breuer <Hans@Breuer.Org>
14481         * lib/beziershape.c :
14482                 The previous code was accessing unowned memory due to IHMO
14483                 wrong index calculation. Now it appears to be fixed.
14484                 *Please Review!*
14486         * lib/makefile.msc
14487         * plug-ins/makefile.msc
14488         * objects/makefile.msc
14489         * app/makefile.msc: (new files)
14490                 Makefiles for Dia on Win32, Micro$oft VC only.
14492         * plug-ins/pstricks/render_pstricks.c
14493         * plug-ins/dxf/dxf-import.c
14494         * plug-ins/shape/shape-export.c
14495         * plug-ins/svg/render_svg.c
14496         * app/commands.c
14497         * app/filedlg.c
14498         * app/preferences.c
14499         * app/render_eps.c
14500         * lib/sheet.c
14501         * lib/plug-ins.c
14502         * objects/custom/custom.c
14503         * objects/standard/image.c
14504                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
14505                 where   appropriate, add missing prototypes like <string.h>
14507         * plug-ins/wmf/wmf_gdi.cpp
14508         * plug-ins/wmf/wmf_gdi.h:
14509                 start of wmf write functions for non Win32 platform. Not 
14510                 finished yet. The other way to get it working maybe to
14511                 link the plug-in against wine libs.
14512                 
14513         * plug-ins/wpg/wpg.c : add missing brace
14515         * app/load_save.c :
14516                 Handling for unknown objects at load time. Previously Dia
14517                 was crashing, if you try to load a file referencing objects
14518                 whiches plug-ins aren't installed/available. Now it spits out 
14519                 a warning and ignores the unknown objects.
14521         * app/interface.c
14522                 toolbox DND support for files like The Gimp does it.
14524         * app/main.c
14525         * app/app_procs.h
14526                 Simple splash screen support and usage.
14528         * app/app_procs.c
14529                 Splash screen, portability fixes, dont' g_error if there is
14530                 g_get_homedir return NULL. This may remove the one and only
14531                 FAQ for Win32.
14533         * app/menus.c :
14534                 Make it compile without ENABLE_NLS
14536         * app/render_libart.c :
14537                 Sanity check to avoid calling libart with wrong window coordinates.
14538                 They come from the update handler. Direct Gdk is dealing nicely
14539                 with coordinates out of range, libart does access un-owned memory
14540                 in this case, mostly causing crashes.
14542         * app/winmain.c: (new file) Export the Win32 Gui version of the
14543                 main function. This file is only required for Windoze.
14545         * app/splash.c: (new file) splash screen implementation
14547         * lib/color.h
14548         * lib/font.h
14549         * lib/diavar.h: (new file)
14550                 moved special variable export code to diavar.h, because it is
14551                 needed in color.h and font.h
14553         * lib/paper.c :
14554                 M$VC cann't export inlined functions. Quick hack to let it
14555                 link again. Probably the glib mechanics should be used here?
14557         * objects/UML/lifeline.c : initialize var before usage
14559         * objects/GRAFCET/step.c : removed unused var
14561 2000-10-14  James Henstridge  <james@daa.com.au>
14563         * app/render_gnomeprint.c (draw_image): change code so images
14564         don't get flipped when printing.
14566         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
14567         sure that the return value of
14568         gnome_print_context_new_with_paper_size is not NULL.
14570         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
14571         into a series of bezier segments.
14572         (fill_arc): similar code to handle filled arc segments.
14574 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
14576         * app/app_procs.c
14577         * app/commands.c
14578         * app/dia-props.c
14579         * app/diagram.c
14580         * app/diagram.h
14581         * app/disp_callbacks.c
14582         * app/display.c
14583         * app/linewidth_area.c
14584         * app/paginate_psprint.c
14585         * app/preferences.c
14586         * app/undo.c
14587         * app/font.c
14588         * app/message.c
14589         * app/neworth_conn.c
14590         * app/orth_conn.c
14591         * objects/standard/box.c: various small changes to get rid of 
14592         annoying warnings (eg faulty prototypes and unused variables)
14594         * app/disp_callbacks.c
14595         * app/cursor.h
14596         * app/magnify.c
14597         * app/magnify.h: update magnify tool icon when pressing/releasing
14598         shift. I will try to make something more general so that similar
14599         things can be used by other tools.
14601         * shapes/SDL/inout.shape
14602         * shapes/SDL/return.shape: fixed some typos
14604 2000-10-09  James Henstridge  <james@daa.com.au>
14606         * objects/custom/shape_info.c (parse_path): apply patch from
14607         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
14608         #25221
14610 2000-10-08  James Henstridge  <james@daa.com.au>
14612         * objects/standard/image.c (image_set_props): if the file could not
14613         be loaded, show the broken image icon.
14615         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
14617         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
14619         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
14620         object icon when loading from a file.  This allows you to have PNG
14621         icon files for shapes.
14623 2000-10-07  James Henstridge  <james@daa.com.au>
14625         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
14627         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
14628         GDK_IMLIB_CFLAGS reference.
14630         * app/commands.c (help_about_callback): remove imlib code.
14632         * lib/dia_image.c: only include the pixbuf version of the image
14633         routines.
14635         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
14637         * configure.in (CPPFLAGS): remove the check for imlib, as we now
14638         require gdk-pixbuf.
14640         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
14641         conditionally define \setfont as well.
14643 2000-10-05  James Henstridge  <james@daa.com.au>
14645         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
14646         preamble so that we define \setlinejoinmode and \setlinecaps
14647         commands conditionally on them being undefined.  This way, the
14648         pstricks output files should work without modification, and will
14649         support the commands when they are implemented in pstricks.
14651 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
14653         * dia.desktop: added hungarian translations to dia.desktop
14655 2000-10-04  James Henstridge  <james@daa.com.au>
14657         * sheets/UML.sheet: fix typo.
14659         * objects/custom/shape_info.c: use strtod instead of g_strtod.
14660         (parse_path): actually call setlocale around strtod calls.
14662         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
14663         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
14664         the g_strtod wrapper.
14666         * shapes/SDL/: add SDL shapes from Rubens Ramos
14667         <rubens_ramos@yahoo.com>
14669         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
14671         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
14673         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
14674         W. Michael Petullo <mike@flyn.org>.
14676         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
14677         from the 0.86 tarball) and jigsaw.sheet.
14679         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
14681         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
14683         * shapes/network/: add network-additional shapes here.
14685         * sheets/network.sheet: add the network-additional shapes from
14686         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
14687         sheet.
14689 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
14691         * configure.in: Updated ALL_LINGUAS
14693         * po/nl.po: Removed newline from translation
14695 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
14697         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
14698         logo filename generation. 
14700         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
14701         Avoiding "//dia_logo.png".
14703 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
14705         * app/filedlg.c: add include <sys/types.h> to
14706         remove warning. (OS/2)
14708 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
14710         * objects/chronogram/chronoline_event.c (reparse_clevent):
14711         the __checksum routine was simply bogus. Redone it in a slightly
14712         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
14714 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
14716         * app/create_object.c (create_object_button_press): 
14717         * app/modify_tool.c (click_select_object): 
14718         * lib/object.h: select renamed to selectf to prevent
14719         compiler problems with function select().  OS/2 version.
14721 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
14723         * po/de.po: Updated.
14725 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
14727         * dia.desktop: Added German translation
14728         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
14730 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
14732         * configure.in (ALL_LINGUAS): added "es"
14734 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14736         * app/magnify.c:
14737         * app/cursor.h:
14738         * app/cursor.c:
14739         * app/scroll_tool.c:
14740         Standardized cursor function get_cursor().  Magnify now has
14741         looking-glass cursor with + and -.
14743         * app/create_object.c (create_object_button_press): 
14744         Newly created connections now snap to connection points even when
14745         off the grid. 
14747 2000-08-17  Daniel Egger  <egger@suse.de>
14749         * app/menus.c: #ifdef'ed some code for the none GNOME
14750         case.
14751         * app/dia_embedd.c: Changed obvious hackery. Can anyone
14752         please have a look at the GNOME UI menu creation? The
14753         gnome-app-helper code is ages old and plainly broken!
14755 2000-08-15  Daniel Egger  <egger@suse.de>
14757         * app/commands.c:
14758         * app/commands.h:
14759         * app/diagram.c:
14760         * app/display.c:
14761         * app/menus.c:
14762         * app/select.c: First big patch to get the menus
14763         working again in the international version. Copied
14764         some code written by Sven and me from GIMP and
14765         thus implemented automatic tearoffmenu creation and
14766         proper translation. I also removed that pseudo
14767         radiomenu hack and cleaned up several translation
14768         hacks which have never really worked. All in all
14769         this is part I of the big menu patch. Enjoy and tell
14770         me if you detect any problems.
14772 2000-08-14  Daniel Egger  <egger@suse.de>
14774         * sheets/UML.sheet: Changed one German translation as
14775         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
14777 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
14779         * app/diapagelayout.c:
14780         * lib/diagramdata.c:
14781         * lib/diagramdata.h:
14782         * lib/Makefile.am:
14783         * lib/paper.c:
14784         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
14785         selecting paper size for a new diagram. TODO: Use libpaper if 
14786         available and use gnome_paper-stuff if using GNOME.
14788         * sheets/Electric.sheet: fixed typo.
14789         
14790 2000-08-08  James Henstridge  <james@daa.com.au>
14792         * po/README: added a readme file to tell translators to translate
14793         the .sheet files as well.
14795         * app/commands.c (help_about_callback): fix small bug where we tried
14796         to gdk_bitmap_unref() the mask for the about box image, even though
14797         it was NULL.  Now check for a NULL mask.
14799 2000-08-07  Daniel Egger  <egger@suse.de>
14801         * sheets/*.sheet: Added translations for the name
14802         in the toolbar tab. Brushed up some descriptions 
14803         and some translations a bit.
14805 2000-08-06  James Henstridge  <james@daa.com.au>
14807         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
14808         identifier and dtd url for SVG output.
14809         (new_svg_renderer): fix the output of the viewBox output.  The
14810         second two numbers are the width and height -- not the right
14811         and bottom sides of the box.
14813         * shapes/*/*.shape: update svg namespace URI.
14815         * objects/custom/shape_info.c (load_shape_info): change the
14816         namespace URI for custom shapes yet again to match the Candidate
14817         Recommedation.  It looks like this one will probably be the final
14818         one.
14820         * app/display.c (new_display): remove the code that sets ic and
14821         ic_attr members to NULL, as one of the previous function calls
14822         causes the display to be realised.  This means that the ic gets
14823         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
14824         this one.
14826 2000-08-06  James Henstridge  <james@daa.com.au>
14828         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
14830         * NEWS: fixed date in NEWS file, as I will release today.
14832         * README: updated the README a little.  Added note that Dia is now
14833         a GNU program.
14835         * dia.spec: fix up spec file.
14837         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
14839         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
14840         get heaps of warnings when you turn off debugging.
14841         Also made a few other warning fixes.
14843 2000-08-02  James Henstridge  <james@daa.com.au>
14845         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
14847         * configure.in: update version number.
14849 2000-08-01  James Henstridge  <james@daa.com.au>
14851         * app/commands.c (help_about_callback): add Hans to about dialog.
14853         * doc/shape.dtd: dtd for shape file format.
14855         * doc/custom-shapes: update doc file about creating custom shapes.
14857         * shapes/*/*.shape: change namespace URI for the SVG portion to the
14858         one for the latest draft.
14860         * shapes/*/*.shape: fix up rect definitions.
14862         * objects/custom/shape_info.c (load_shape_info): recognise newer
14863         namespace tag for SVG.
14864         (parse_svg_node): the rect element should take attributes x, y, width
14865         and height -- not x1,y1,x2,y2.
14867         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
14868         output to use the newest draft DTD.
14870         * plug-ins/svg/svg.c: initialisation code for plugin.
14872         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
14874         * plug-ins/svg/Makefile.am: makefile for svg plugin.
14876         * app/app_procs.c (internal_plugin_init): don't register the svg
14877         export filter here.
14879         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
14881 2000-07-31  James Henstridge  <james@daa.com.au>
14883         * objects/standard/textobj.c (textobj_get_defaults): 
14884         * objects/standard/polygon.c (polygon_get_defaults): 
14885         * objects/standard/image.c (image_get_defaults): 
14886         * objects/standard/ellipse.c (ellipse_get_defaults): 
14887         * objects/standard/box.c (box_get_defaults): 
14888         * objects/standard/beziergon.c (beziergon_get_defaults): 
14889         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
14890         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
14891         * objects/flowchart/diamond.c (diamond_get_defaults): 
14892         * objects/flowchart/box.c (box_get_defaults): 
14893         * objects/custom/custom_object.c (custom_get_defaults): 
14894         * objects/FS/flow.c (flow_get_defaults): 
14895         * objects/FS/flow-poly.c (flow_get_defaults): 
14896         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
14897         defaults widget.
14899         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
14900         widgets for various object types.
14901         (create_dialog): ref and sink the no_defaults_dialog.
14903         * app/preferences.c (prefs_create_dialog): change
14904         gtk_container_border_width call to gtk_container_set_border_width.
14906 2000-07-29  James Henstridge  <james@daa.com.au>
14908         * app/commands.c (view_aa_callback): show a warning dialog if
14909         you start AA mode.
14911         * app/interface.c (fill_sheet_menu): don't add a menu item for
14912         empty sheets.
14914 2000-07-26  James Henstridge  <james@daa.com.au>
14916         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
14918         * app/menus.c: remove edit grid menu item.
14920         * app/commands.[ch] (view_edit_grid_callback): removed.
14922         * app/display.c (new_display): don't initialise removed Grid members.
14924         * app/grid.c: remove unused functions.
14926         * app/grid.h: remove dialog related stuff from Grid structure.
14927         Remove prototypes for dialog functions.
14929         * app/menus.c: add to menus
14930         
14931         * app/commands.[ch] (view_diagram_properties_callback): new command
14932         for showing the diagram properties dialog.
14934         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
14935         the edit grid dialog.
14937 2000-07-25  James Henstridge  <james@daa.com.au>
14939         * app/grid.c (grid_x_update): 
14940         (grid_y_update): as the grid setting is stored with the diagram,
14941         update all displays when a change is made.
14943         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
14945         * app/create_object.c (create_object_button_press): 
14946         (create_object_motion): use new snap_to_grid signature.
14948         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
14949         and handle invisible grid lines.
14950         (snap_to_grid): use new grid settings.  Also changed signature to
14951         take a DDisplay rather than Grid pointer.
14952         (grid_show_dialog): get the defaults from the correct place.
14954         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
14956         * app/diagram.c (new_diagram): set the grid size defaults from the
14957         user preferences.
14959         * app/load_save.c (diagram_data_save): save grid and guide info to
14960         diagram file.
14961         (diagram_data_load): add guide and grid load support.
14963         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
14964         members.
14966         * lib/diagramdata.h: add members to DiagramData for grid and guide
14967         settings.
14969         * configure.in (BONOBO_LIBS): update configure scripts
14971         * app/dia.oafinfo: oafinfo file for dia embeddables.
14973         * app/dia_embedd.c: add OAF support.
14975 2000-07-24  James Henstridge  <james@daa.com.au>
14977         * plug-ins/wpg/Makefile.am: 
14978         * plug-ins/pstricks/Makefile.am: 
14979         * plug-ins/hpgl/Makefile.am: 
14980         * plug-ins/dxf/Makefile.am: same here.
14982         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
14983         the required libraries, and the link line was causing libtool not
14984         to build a shared library on some systems :(
14986         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
14987         be checking x, not n.
14989 2000-07-23  James Henstridge  <james@daa.com.au>
14991         * app/preferences.c (prefs_data): set the "reset tools after
14992         create" preference to true by default.  That seems to be what most
14993         people expect.
14995         * app/interface.c (create_sheets): instead of a notebook, use an
14996         option menu that updates the sheet tools.  The notebook tabs were
14997         getting a bit unwieldly, so the option menu should fix that.  This
14998         also reduces the number of widgets in the tools radio button
14999         group, which should make the UI a little more responsive.
15001 2000-07-19  Fatih Demir <kabalak@gmx.net>
15002         
15003         * configure.in: Added tr to ALL_LINGUAS.
15004                 [ Yeah, we're now having a Turkish translation,
15005                    too. ]
15006         
15007         * dia.desktop: Added the Turkish entries.
15009 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
15011         * doc/diagram.dtd: changed string-element so it conforms to the
15012         output from dia.
15014 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15016         * configure.in: added chinese. 
15017         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
15019         * app/app_procs.c:
15020           app/load_save.c:
15021           app/render_svg.c:
15022           lib/dia_xml.c:
15023           lib/plug-ins.c:
15024           lib/sheet.c:
15025           objects/custom/shape_info.c: 
15026           shapes/Circuit/npn.shape:
15027           shapes/Circuit/pnp.shape:
15028           sheets/*.sheet: dia now works with libxml2.
15029         Libxml2 is a bit more picky when parsing xml and reported errors on all 
15030         sheet files because they use non ascii characters (added 
15031         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
15032         I commented out these.
15034 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
15036         * configure.in (ALL_LINGUAS): added Italian
15038 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
15040         * configure.in (ALL_LINGUAS): added Korean
15042 2000-06-25  James Henstridge  <james@daa.com.au>
15044         * objects/flowchart/parallelogram.c (pgram_create): use default font
15045         and add properties interface support.
15047         * objects/flowchart/ellipse.c (ellipse_create): use default font and
15048         add properties interface support.
15050         * objects/flowchart/diamond.c (diamond_create): use default font and
15051         add properties interface code.
15053         * objects/flowchart/box.c (box_create): use default font.
15055         * objects/custom/custom_object.c (custom_create): use default font
15056         here too.
15058         * objects/standard/textobj.c (textobj_create): update to use default
15059         font.
15061         * lib/attributes.c: add implementations.
15063         * lib/attributes.h (attributes_[gs]et_default_font): add function
15064         prototypes for setting/getting a default font.
15066 2000-06-24  James Henstridge  <james@daa.com.au>
15068         * app/paginate_gnomeprint.h: updated prototype.
15070         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
15071         diagram page settings.
15073         * objects/standard/beziergon.c (beziergon_copy): same here.
15075         * objects/standard/polygon.c (polygon_copy): copy the fill colour
15076         as well.
15078         * app/undo.h: 
15079         * app/tool.h (tool_options_dialog_show): 
15080         * app/scroll_tool.h (free_scroll_tool): 
15081         * app/render_svg.h: 
15082         * app/render_libart.h (renderer_libart_copy_to_window): 
15083         * app/render_gdk.h (renderer_gdk_copy_to_window): 
15084         * app/properties.h (properties_hide_if_shown): 
15085         * app/preferences.h (prefs_load): 
15086         * app/object_ops.h: 
15087         * app/modify_tool.h (free_modify_tool): 
15088         * app/magnify.h (free_magnify_tool): 
15089         * app/linewidth_area.h (linewidth_area_create): 
15090         * app/layer_dialog.h: 
15091         * app/handle_ops.h (handle_is_clicked): 
15092         * app/group.h: 
15093         * app/grid.h (grid_destroy_dialog): 
15094         * app/defaults.h (defaults_show): 
15095         * app/cut_n_paste.h (cnp_exist_stored_objects): 
15096         * app/create_object.h (free_create_object_tool): 
15097         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
15098         * app/commands.h: 
15099         * app/color_area.h (color_area_create): 
15100         * app/app_procs.h (app_is_embedded): remove extern keyword from
15101         function prototypes.
15103         * lib/text.h: 
15104         * lib/sheet.h (load_all_sheets): 
15105         * lib/render_store.h: 
15106         * lib/render_object.h (render_object_load): 
15107         * lib/polyshape.h (polyshape_closest_segment): 
15108         * lib/poly_conn.h (polyconn_closest_segment): 
15109         * lib/orth_conn.h: 
15110         * lib/object.h: 
15111         * lib/objchange.h (new_object_state_change): 
15112         * lib/neworth_conn.h (neworthconn_add_segment): 
15113         * lib/message.h (message_error): 
15114         * lib/lazyprops.h: 
15115         * lib/geometry.h: 
15116         * lib/font.h (font_descent): 
15117         * lib/focus.h (remove_focus): 
15118         * lib/element.h: 
15119         * lib/diagramdata.h: 
15120         * lib/dia_xml.h (data_add_composite): 
15121         * lib/dia_image.h: 
15122         * lib/connpoint_line.h: 
15123         * lib/connection.h (connection_move_handle): 
15124         * lib/color.h: 
15125         * lib/attributes.h (attributes_set_default_line_style): 
15126         * lib/arrows.h (arrow_draw): remove extern keyword from function
15127         definitions.  It is not required for functions.
15129         * plug-ins/dxf/Makefile.am (INCLUDES): 
15130         * plug-ins/pstricks/Makefile.am (INCLUDES): 
15131         * plug-ins/cgm/Makefile.am (INCLUDES): 
15132         * objects/SADT/Makefile.am (INCLUDES): 
15133         * objects/chronogram/Makefile.am (INCLUDES): 
15134         * objects/GRAFCET/Makefile.am (INCLUDES): 
15135         * objects/flowchart/Makefile.am (INCLUDES): 
15136         * objects/sybase/Makefile.am (INCLUDES): 
15137         * objects/FS/Makefile.am (INCLUDES): 
15138         * objects/standard/Makefile.am (INCLUDES): 
15139         * objects/network/Makefile.am (INCLUDES):
15140         * objects/UML/Makefile.am (INCLUDES): same here.
15142         * objects/ER/Makefile.am: changed inclusion of some macros to
15143         variables.
15145         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
15146         handle the plug in extension, rather than have all the #ifdef's in
15147         the code.
15149         * plug-ins/Makefile.am: add renderer.inc to dist.
15151         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
15153 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
15155         * lib/plug-ins.c: Handle OS/2 dll's too.
15157 2000-06-07  James Henstridge  <james@daa.com.au>
15159         * app/plugin-manager.c (get_plugin_manager): set some table
15160         packing options to make it look a little nicer.
15162         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
15163         makefiles for these plug-ins.
15165         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
15167         * configure.in: added hpgl and wpg directories to build.  Added
15168         note about whether gnome-print support was enabled, and noted that
15169         it is not recommended.
15171 2000-06-06  James Henstridge  <james@daa.com.au>
15173         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
15174         a little work, but I am checking them in so I don't lose them.
15176 2000-06-01  James Henstridge  <james@daa.com.au>
15178         * objects/standard/arc.c: added extra properties.
15180         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
15181         was using the wrong index into the handles array.  This gets corner
15182         type changing working correctly.
15184         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
15185         to properties code (no editing or loading yet though).  Also added
15186         support for point array manipulation through the offsets interfaces.
15188         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
15190         * app/interface.c (origin_button_press): changes so the origin
15191         button doesn't grab the pointer when we pop up the menu.
15193         * app/commands.c (help_about_callback): fix small memory leak in
15194         about box code.
15196         * app/menus.c (menus_init): fixed breakage I introduced in the non
15197         gnome menus when I was doing the menu changes.  The tearoffs work
15198         really nicely in plain gtk mode as well.
15200         * objects/standard/beziergon.c (beziergon_create): changed the
15201         returned handles to match the handle numbering changes.  Now
15202         segment addition and removal works correctly with undo!
15204         * lib/beziershape.c: various changes to the code.  Changed the
15205         numbering of handles, and fixed the segment removal code.
15207 2000-05-31  James Henstridge  <james@daa.com.au>
15209         * objects/standard/beziergon.c: remove connection point handling.
15210         There is still a bit of work to be done to get adding and removing
15211         of segments working correctly.
15213         * lib/beziershape.c: add connection point handling to beziershape.
15214         I set it for two connection points per segment.
15216 2000-05-30  James Henstridge  <james@daa.com.au>
15218         * objects/standard/polygon.c: don't do connectionpoint handling.
15220         * lib/polyshape.c: changed to handle connection points internally.
15221         Also, don't worry about connections to handles on polyshape, as
15222         all handles are non connectable.
15224 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
15226         * configure.in: Added finnish
15227         
15228 2000-05-30  James Henstridge  <james@daa.com.au>
15230         * sheets/*.sheet: translation updates to the .sheet files.
15232         * po/fr.po: updated po file from Christophe Merlet.
15234         * menus.h: removed prototypes for functions which have been removed.
15236 2000-05-29  James Henstridge  <james@daa.com.au>
15238         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
15239         item in the option menu when changing selected diagram.
15241         * app/dia_embedd.c (view_factory): fix up function to work with new
15242         menus API.
15244         * app/disp_callbacks.c (ddisplay_realize): remove call to
15245         display_set_active from here.
15246         (ddisplay_canvas_events): move call here.  This gets rid of all the
15247         warnings, as the renderer has been fully set up correctly at this
15248         point.
15250         * app/menus.c (menus_init): add the tearoff item to the start of the
15251         right click menu.
15253         * app/app_procs.c (create_user_dirs): we don't need to create the
15254         menus directory anymore.
15256         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
15257         necessary to update the menu state here, as it was done when the
15258         active display was set.
15260         * app/display.c (display_set_active): update the menu state when
15261         changing active displays.
15263         * app/interface.c (origin_button_press): set the display as active
15264         when a click is made on the menu button.
15266         * app/menus.c (menus_init): set up a quit function to save the accels
15267         at exit.
15268         Add tearoff items for the non GNOME menus, add accelerators for
15269         several GNOME menus.
15271         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
15272         menus_get_image_menu().
15274         * app/menus.c (menus_get_item_from_path): use display_menus here
15275         rather than ddisp->popup.
15277         * app/display.h: remove the popup member in the DDisplay structure.
15279         * app/interface.c: remove option of not using wrap box.
15280         (create_toolbox): change to always use menus_get_toolbox_menubar
15281         even when using gnome menus.
15282         (create_display_shell): use menus_get_image_menu to load accelerators
15283         only -- not the actual popup menu.
15285         * app/menus.c (menus_init): new function to create the menus.
15286         (menus_get_toolbox_menubar): use this function whether gnome is
15287         in use or not.  Changed to use menus_init.
15288         (menus_get_image_menu): same here.  Also, now this function always
15289         returns the same menu, rather than a new one each time.
15290         (menus_init): read a menurc file to load accelerators here.
15292 2000-05-28  James Henstridge  <james@daa.com.au>
15294         * app/display.c (ddisplay_really_destroy): unset active display if
15295         active display is destroyed.
15296         (ddisplay_active): simplify function to return active_display as set
15297         by display_set_active.  This allows using a pinned menu with any
15298         display -- not just the one it was popped up from.
15299         (display_set_active): notify the layer dialog of change of diagrams
15300         when active diagram changes.
15302         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
15303         on button and key presses.
15304         (ddisplay_realize): set active display on realize.
15306         * app/display.c (display_set_active): simple implementation of this
15307         function.
15309         * app/display.h (display_set_active): add prototype for setting
15310         the active display.
15312         * app/interface.c (create_display_shell): don't give focus to the
15313         menu button.
15315         * app/menus.c: fix up menus for Beziergon.
15317         * app/interface.c (create_display_shell): make the widget in the
15318         top left corner a button that can be used to pop up the right click
15319         menu, like in gimp and sketch.
15321         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
15322         the display menu.
15324         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
15325         add code to set corner types for beziergon.
15327         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
15328         setting code.
15329         (beziershape_move_handle): use the previous corner type for right
15330         controls.
15332         * app/interface.c (tool_data): add beziergon to toolbox.
15334         * objects/standard/standard.c (dia_plugin_init): initialise the new
15335         Beziergon object type.
15337         * objects/standard/beziergon.c: an object based on BezierShape.
15339         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
15341         * lib/beziershape.[ch]: new files implementing a bezier shape.
15343 2000-05-26  James Henstridge  <james@daa.com.au>
15345         * lib/text.c (text_key_event): handle multibyte inserts.
15346         (text_key_event): also add home and end keybindings.
15348         * app/interface.c (create_display_shell): connect handlers for
15349         focus_in_event, focus_out_event, realize and unrealize signals.
15351         * app/display.[ch] (new_display): initialise input context members.
15353         * app/disp_callbacks.[ch]: added XIM support here.
15355         * lib/font.c (suck_font): the black and white pixel values should be
15356         taken from a 1 bit colormap rather than the default colormap.
15358         Hans Breuer's Windows patches ...
15360         * lib/font.c: use Courier New for fixed width font on windows
15361         machines.
15363         * lib/dia_image.h: change to "struct _DiaImage".
15365         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
15367         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
15368         mouse button for object menu.  This will make two button mouse owners
15369         happier.
15371 2000-05-25  James Henstridge  <james@daa.com.au>
15373         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
15375         * app/app_procs.c (app_init): add extra NULL argument to call of
15376         diagram_load.
15378         * app/load_save.h: remove prototype.
15380         * app/load_save.c: remove diagram_data function here.
15382         * app/diagram.h: added prototype.
15384         * app/diagram.c (diagram_load): new function here, which uses import
15385         filters.
15387         * plug-ins/dxf/dxf.c: register the import filter as well.
15389         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
15390         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
15392         * objects/standard/line.c: add start_point and end_point properties
15393         to standard line object.
15395 2000-05-21  James Henstridge  <james@daa.com.au>
15397         * app/paginate_psprint.c: added missing include of locale.h.
15399         * objects/custom/custom_object.c (custom_draw): use fabs rather than
15400         abs for scaling factors.
15401         (custom_distance_from): same here.
15403         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
15405 2000-05-18  James Henstridge  <james@daa.com.au>
15407         * po/POTFILES.in: updated POTFILES.in.
15409         * dia.spec: incremented version number in spec file.
15411         * NEWS: added (lots of) news items for the 0.85 release.
15413         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
15414         the config file.
15416         * configure.in: updated version number here.
15418         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
15420 2000-05-17  James Henstridge  <james@daa.com.au>
15422         * app/app_procs.c (internal_plugin_init): register the native import
15423         filter.
15425         * app/load_save.c (diagram_data_load, diagram_load): split this
15426         function into two -- one that does all the work on the DiagramData
15427         structure, and the other that provides compatibility with the old
15428         function.
15429         (dia_import_filter): use diagram_data_load to define an import
15430         filter.
15432         * app/diagram.h (new_diagram): added const to prototype.
15434         * app/filedlg.c (file_open_callback): change to use new import filter
15435         code.
15437         * lib/filter.c: added import filter management functions.
15439         * lib/filter.h: added prototypes for import filter interface.
15441         * app/commands.c (help_about_callback): updated about dialog to
15442         contain a few more names.
15444 2000-05-16  James Henstridge  <james@daa.com.au>
15446         * configure.in (Configuration): added a status message to the end of
15447         the configure script to give the user some idea of what was
15448         configured.
15450         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
15452         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
15453         plugin.
15455         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
15456         filter for dia.
15458         * configure.in (AM_PATH_LIBART): use the check function provided
15459         with libart rather than our own code.  It is more reliable, and
15460         it only requires that people who build out of CVS have libart.m4
15461         installed (not necessarily all of libart).
15462         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
15464 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
15466         * dia.desktop: Added Swedish translation.
15468 2000-05-09  James Henstridge  <james@daa.com.au>
15470         * lib/dia_xml.c: you can't free a const pointer, so remove const
15471         from variable definitions.
15473         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
15474         initialised correctly.
15476         * app/render_svg.c (export_svg): set locale to C.
15478         * app/paginate_psprint.c (paginate_psprint): set locale to C.
15480         * app/render_eps.c (export_eps): set locale to C for EPS export.
15482         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
15483         (data_add_point): same here.
15484         (data_add_rectangle): same here.
15485         (data_real): use g_strtod to convert strings to real numbers, so that
15486         locales are taken into account.
15487         (data_point): same here.
15488         (data_rectangle): same here.
15490         * AUTHORS: added Henk and Jacek to authors file.
15492         Daniel Egger's code cleanups.
15494         * app/select.c (select_invert_callback): remove unused variable.
15496         * app/plugin-manager.c (get_plugin_manager): fix typo.
15498         * app/load_save.c (read_connections, write_objects): 
15499         (write_connections): made some functions static.
15501         * app/interface.c (toolbox_delete, toolbox_destroy): made some
15502         functions static.
15504         * app/filedlg.c (file_export_callback): remove unused variable.
15506         * app/app_procs.c: various warning fixes.
15508         Integrating Jacek Pliszka's pstricks export filter.
15510         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
15512         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
15513         renderer (with a few small modifications by me).
15515         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
15517         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
15519 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
15521         * configure.in:
15522         * sheets/Makefile.am:
15523         * shapes/Makefile.am:
15524         * shapes/Civil/Makefile.am:
15525         * sheets/civil.sheet:
15526         * shapes/Civil/*:
15527         Added civil/hydraulic/structural engineering objects from
15528         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
15529         
15530 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
15532         * objects/FS/flow-poly.c:
15533         * objects/FS/flow.c:
15534         Fix division by zero in point_normalize().
15535         Patch by David Thompson <dcthomp@mail.utexas.edu>
15537 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
15539         * lib/arrows.c:
15540         * lib/bezier_conn.c:
15541         * lib/connpoint_line.c:
15542         Added checks for zero-length lines before calls to point_normalize.
15544 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15546         * app/preferences.c (prefs_data): Changed
15547         reversed_dragging_intersects to not make the dialog ridiculously
15548         wide.
15549         
15550 2000-04-22  James Henstridge  <james@daa.com.au>
15552         Hans's win32 patches:
15554         * app/export_png.c: include message.h
15555         * app/interface.c: include dia_dirs.h
15556         * app/linewidth_area.c: check for rint
15557         * app/main.c: include interface.h
15558         * app/paginate_psprint.c: remove unused variable.
15559         * app/preferences.c: include message.h
15560         * app/render_svg.c: include stdlib.h
15561         * app/select.c: include object_ops.h
15562         * lib/dia_dirs.c: miscelaneous fixes for win32.
15563         * lib/dia_image.c: include string.h
15564         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
15565         * lib/properties.c: include stdlib.h
15566         * lib/properties.h: define extra data for standard properties as
15567         static variables on win32 (to get around dynamic linker problems).
15568         * objects/standard/polygon.c: polygon_create_change missing return
15569         statement.
15571 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
15573         * configure.in (ALL_LINGUAS): added Catalan
15575 2000-04-18  James Henstridge  <james@daa.com.au>
15577         * objects/standard/bezier.c (bezierline_get_object_menu): add a
15578         separator to the object menu between the add/remove segment items
15579         and the corner type items.
15580         (bezierline_get_object_menu): add code to disable the menu item for
15581         the current corner type.  Really just a cosmetic change.
15583         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
15584         a NULL for the label or with no associated callback.
15586         * objects/standard/bezier.c (bezierline_menu_items): use the
15587         enumeration values rather than numeric values for the corner types.
15589         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
15590         structure, and add code to handle it.  Also, don't save the corner
15591         types inline in the bez_points node.  The way it is conditionally
15592         including the element just feels like it will break.
15594         * lib/geometry.h (BezPoint): removed the corner_type stuff from
15595         BezPoint.  The corner type stuff is a user interface level idea rather
15596         than something required by the renderer, so should be taken care of
15597         at the object level.
15599 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15601         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
15602         checks.  Weren't able to reproduce original bug, tough.
15604 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
15606         * sheets/Electric.sheet:
15607         * sheets/Contact.sheet:
15608         * sheets/Pneumatic.sheet:
15609         * sheets/Circuit.sheet: sprayed some <br/>'s around.
15610         (added a few French translations in the last file)
15611         
15612 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15614         * lib/geometry.h: 
15615         * lib/bezier_conn.h: 
15616         * objects/standard/bezier.c: 
15617         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
15618         bezier points.  Only one minor problem known:  Menus are active
15619         for endpoints minor handles.
15620         11:28: Save and load now works, too.
15621         (bezierconn_closest_major_handle): 12:03: New function to get the
15622         non-control point handle associated with the nearest control
15623         point.  
15624         Also fixed the menu activation problem, and made remove_segment
15625         not remove the endpoint.
15627 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15629         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
15630         new API is in use.
15632 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
15634         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
15635         <sys/stat.h>.   OS/2 patch.
15637 2000-04-15  James Henstridge  <james@daa.com.au>
15639         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
15640         Thompson's patch that adds undo support to the function structure
15641         diagram objects.
15643 2000-04-14  James Henstridge  <james@daa.com.au>
15645         * objects/custom/custom_object.c (custom_distance_from): new
15646         implementation of distance algorithm that actually takes the
15647         display list into account when calculating the distance.  Much nicer
15648         than a simple bounding box.
15650 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
15652         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
15654 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15656         * objects/standard/polygon.c: Start of polygons own changes (for
15657         connectionpoints).  Need to do seperate changes in polyshape, too,
15658         rather than reuse the bezier changes.
15660 2000-04-13  James Henstridge  <james@daa.com.au>
15662         * lib/dia_image.c (dia_image_draw): use the new enumeration values
15663         from after the gdk-pixbuf cleanup.
15665         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
15666         on for loop.  Last set of coefficients were not beeing calculated,
15667         which caused a bit of breakage.
15669         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
15670         functions in geometry.c for calculating the closest segment.
15671         (bezierconn_distance_from): use distance_bez_line_point to calculate
15672         the distance.
15674         * lib/geometry.c (distance_bez_line_point): new function to calculate
15675         the distance from an open bezier line to a point.
15676         (distance_bez_shape_point): new function to calculate the distance
15677         from a closed bezier shape.
15678         (distance_ellipse_point): new function to calculate the distance from
15679         a filled ellipse to a point.
15681         * lib/geometry.h (BezPoint): moved this structure here from render.h
15683 2000-04-12  James Henstridge  <james@daa.com.au>
15685         * lib/geometry.c (distance_bez_seg_point): new function to calculate
15686         the distance from a bezier segment.
15688         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
15689         to calculate the distance from the object.
15691         * lib/geometry.c (distance_polygon_point): function for calculating
15692         the distance from a polygon to a point.
15694 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
15696         * app/interface.c:
15697         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
15698         breaks can be inserted in the tool box. 
15700         * doc/sheet.dtd: updated the DTD
15701         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
15702         
15703 2000-04-12  James Henstridge  <james@daa.com.au>
15705         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
15706         macro if the dialog is a GtkDialog :(
15708 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15710         * objects/standard/polygon.c: Connectionpoints now properly
15711         managed in a GList.  As far as I can tell, this will not dieturb
15712         the order (but I have the nagging doubt...)
15714         * lib/polyshape.c: No longer knows about connectionpoints.
15716 2000-04-11  James Henstridge  <james@daa.com.au>
15718         * app/Makefile.am: fix makefile for bonobo build.
15720         * configure.in: fix checks for bonobo.
15722         * app/menus.c: added entries for the plugin manager.
15724         * app/Makefile.am (dia_core_files): added plugin manager to files
15725         list.
15727         * app/plugin-manager.[ch]: the plugin manager dialog.
15729         * app/display.c (display_update_menu_state): set the antialiased
15730         menu entry to the correct value.
15732 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
15734         * objects/custom/custom_object.c: not all renderers like ellipses with
15735         negative dimensions. This could cause ellipses to disappear when using
15736         the flip_h and flip_v functions.
15738         * samples/grafcet.dia: fixed speling and correctness.
15739         
15740 2000-04-11  James Henstridge  <james@daa.com.au>
15742         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
15743         exposed the dia_plugin_load and dia_plugin_unload functions.
15745         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
15746         already created PluginInfo structure.
15748         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
15749         the pluginrc file.
15751         * lib/sheet.c: fix up call to dia_config_filename.
15753         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
15754         file.  This would save information such as which plugins not to
15755         load during startup.
15757 2000-04-09  James Henstridge  <james@daa.com.au>
15759         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
15761 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
15763         * lib/plug-ins.c (dia_register_plugins):
15764         Don't free the value returned from g_getenv.
15766 2000-04-09  Anders Carlsson  <andersca@gnu.org>
15768         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
15770         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
15772         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
15773         right to left, select objects that intersect the rubberbanding rectangle
15774         instead of selecting objects that are in the rectangle.
15776         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
15778         * lib/diagramdata.h: Likewise.
15781 2000-04-09  James Henstridge  <james@daa.com.au>
15783         * lib/plug-ins.[ch]: add copyright messages to files.
15785         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
15786         plugin interface.
15788         * objects/sybase/sybase.c (dia_plugin_init): 
15789         * objects/network/network.c (dia_plugin_init): 
15790         * objects/flowchart/flowchart.c (dia_plugin_init): 
15791         * objects/custom/custom.c (dia_plugin_init): 
15792         * objects/chronogram/chronogram.c (dia_plugin_init): 
15793         * objects/UML/uml.c (dia_plugin_init): 
15794         * objects/SADT/sadt.c (dia_plugin_init): 
15795         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
15796         * objects/FS/fs.c (dia_plugin_init): 
15797         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
15798         object libraries.
15800         * objects/standard/standard.c (dia_plugin_init): change over to new
15801         plugin interface.
15803         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
15804         the version checker for plugins.
15806         * app/app_procs.c: remove plugin loading code from here, and use
15807         code from plug-ins.[ch].  Also move registration of internal
15808         objects/filters to a `builtin' plugin.
15810         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
15812         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
15814         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
15815         defined variable in EXTRA_DIST.
15817         * app/preferences.h: removed dia_config_filename from header.
15819         * app/preferences.c: removed dia_config_filename function.
15821         * lib/dia_dirs.c (dia_config_filename): moved function over to this
15822         file.  Also changed implementation slightly so that it should work
15823         on the win32 port correctly (and use NT home directories).
15825         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
15826         it should have been.
15828         * lib/plug-ins.[ch]: new plugin loading code.
15830 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15832         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
15834         * lib/polyshape.c: Fix closest segment finding, exposes deeper
15835         bugs in adding corners to 'wraparound' segment.
15837         * objects/standard/polygon.c: Added connection points (fixed so
15838         far), set menu sensitivity.
15840         * lib/polyshape.c: Changed to box-style handles, fixed for start
15841         and ends not being special, added initial connections,
15843         * lib/dummy_dep.h: Added polyshape (gotcha!)
15845         * objects/standard/pixmaps/ellipse.xpm: 
15846         * objects/standard/pixmaps/box.xpm: 
15847         Filled element pixmaps with white.
15849         * lib/polyshape.c: 
15850         * objects/standard/polygon.c: 
15851         * lib/polyshape.h: 
15852         * objects/standard/standard.c: 
15853         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
15854         * lib/Makefile.am (libdia_a_SOURCES): 
15855         * app/menus.c: 
15856         * app/interface.c (tool_data): 
15857         Added Standard/Polygon object and PolyShape lib object.  Still
15858         needs inside grab and connection points.
15860         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
15861         available. 
15863         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
15864         not wanted.
15866         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
15867         if (argv) outside ifdefs.
15869 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15871         * objects/standard/image.c (image_set_props): 
15872         Aspect ratio is back in town.
15874         * app/Makefile.am (dia_LDADD): 
15875         * acconfig.h: 
15876         * configure.in: 
15877         Check for gdk_pixbuf (by default disabled, for now)
15879         * app/render_eps.c (draw_image): 
15880         * app/render_libart.c (draw_image): 
15881         * app/render_gnomeprint.c (draw_image): 
15882         Support for alpha mask in rendering.  Color postscript, too.
15884         * lib/dia_image.c: 
15885         * lib/dia_image.h: 
15886         Support for gdk_pixbuf and proper masking for exports.
15888 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
15890         * sheets/*.sheets: Updated Norwegian translations.
15891         
15892 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15894         * lib/text.c (text_insert_char): 
15895         * lib/render_store.c (add_data): 
15896         Made realloc double the alloced space rather than add
15897         a fixed amount, to reduce memory stress.
15899         * app/select.c: Added new select method 'Transitive'
15900         that select every reachable (by connections) object.
15902 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
15904         * dia.desktop: Added Norwegian translation.
15905         
15906 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15908         * app/render_eps.c:
15909         * app/render_svg.c:
15910         Don't dereference NULL pointer if the renderer
15911         couldn't open the file. Fix by Lars Clausen.
15912         Bug reported by Martin Chisholm <b1mt@unb.ca>
15913         
15914 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15916         * dia.desktop:
15917         * po/pt.po:
15918         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
15920 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15922         * app/dia.gnorba (location_info):
15923         Changed to correct executable name.
15925 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15927         * app/app_procs.c:
15928         Don't do any argument parsing or initialization
15929         if argv==NULL.
15931         * app/dia_embedd.c:
15932         Call init_server_factroy before app_init.
15933         Call app_init with argv==NULL
15934         Now we don't get any critical error on startup.
15936         * configure.in:
15937         Add Electric and Pneumatic to makefile list.
15938         
15939 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
15941         * shapes/Electric/*:
15942         * sheets/Electric.sheet:
15943         Add some Electric circuit shapes.
15945         * shapes/Pneumatic/*:
15946         * sheets/Pneumatic.sheet:
15947         Add some Pneumatic & Hydraulic circuit shapes
15948         (both sheets are still incomplete, though feature enough 
15949         things for basic circuits).
15951         * shapes/Contact/l_*.(xpm|shape):
15952         * sheets/Contact.sheet
15953         * shapes/Contact/Makefile.am
15954         made the older electric circuit shapes in Contact obsolete (disabled
15955         them in the sheet, made that sheet Ladder only). Fixed the makefile
15956         for forgotten items.
15957         
15958 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
15960         * app/Makefile.am:
15961         Add support for Dia bonobo component.
15962         Currently a bit raw, so it's commented out.
15963         
15964         * app/dia_embedd.c:
15965         * app/dia.gnorba:
15966         New files for embedding dia.
15967         The menu disabling hack is a bit gross. Esp. for GNOME.
15969         * app/app_procs.h:
15970         Add new function app_is_embedded();
15972         * app/diagram.c:
15973         Don't destroy diagram when last display is destroyed if embedded.
15974         
15975         * app/display.c:
15976         Change initialization of display so it works with embedding.
15978         * app/display.h:
15979         Clarify comment about display destruction.
15981         * app/interface.[ch]:
15982         Added top_level_window argument to create_display_shell.
15983         Don't open a top-level window if embedding.
15984         Don't quit app if trying to close toolbox window when embedding.
15985         Add toolbox_show() and toolbox_hide().
15987         * app/main.c:
15988         Added app_is_embedded() function (just returns false).
15989         Added toolbox_show() call in main().
15991         * app/menus.c:
15992         Added code for getting toolbox menus. This is used to
15993         hide some menu items when running embedded.
15994         
15995         * app/app_procs.c:
15996         Include sheet.h to remove warning.
15998         * objects/UML/association.c:
15999         Clarify association direction text.
16000         
16001 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
16003         * dia.1
16004         Fixed man page so whatis parsing works.
16006 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
16008         * app/render_libart.c (new_libart_renderer):
16009         Fix from segg <segg@infonet.ca> to compile without libart.
16010         I forgot to change the stub for new_libart_renderer when doing
16011         the interactive renderer stuff for libart.
16013 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
16015         * dia.desktop: Added Irish translation.
16016         
16017         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
16019 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
16021         * app/load_save.c (fchmod): OS/2 defines only.
16023 2000-03-07  James Henstridge  <james@daa.com.au>
16025         * lib/properties.c (prop_get_widget): set the position in the option
16026         menu correctly.
16028 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
16030         * app/display.c:
16031         * app/export_png.c:
16032         * app/render_libart.[ch]:
16033         Don't export png:s with an interactive libart renderer.
16035 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
16037         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
16039 2000-03-02  James Henstridge  <james@daa.com.au>
16041         * dia.spec (%build): unset LINGUAS before running configure.  This
16042         ensures that all translations get included in the RPM.
16044         * lib/properties.c (object_create_props_dialog): put in a check for
16045         a NULL return from the describe_props() object method.
16046         (prop_desc_lists_union): make sure that the returned array is not
16047         NULL.
16048         (prop_desc_lists_intersection): same here.
16050 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
16052         * objects/ER/Makefile.am:
16053         * objects/FS/Makefile.am:
16054         * objects/UML/Makefile.am:
16055         Don't link object libs with gtk.
16057 2000-02-29  James Henstridge  <james@daa.com.au>
16059         * app/preferences.c (prefs_save): check to see if the file could
16060         be opened before writing the prefs.
16062         * app/disp_callbacks.c (popup_object_menu): pass the button event
16063         to gtk_menu_popup.  This allows you to click and release to open
16064         the object menu.
16065         (ddisplay_canvas_events): same here.
16066         (create_object_menu): set the object type menu item in the object
16067         menu to be insensitive.
16069         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
16070         as we are now requiring a new version of libxml.
16072         * dia.spec: updated version number.  Added requirement for
16073         libxml >= 1.8.5
16075         * configure.in: incremented version number to 0.84.
16076         Added check for libxml >= 1.8.5.  This will prevent some of the
16077         problems people have had with broken libxml versions.
16079         * NEWS: added news items.
16081         * app/interface.c (create_color_area): removed call to realize parent
16082         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
16083         but I haven't seen it on my copy of dia.
16085 2000-02-28  James Henstridge  <james@daa.com.au>
16087         * app/export_png.c: added copyright notice, and made the band height
16088         a constant.
16090 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
16092         * lib/font.c (suck_font):
16093         Fixed off-by one bug in font pixmap height.
16094         Fixes the problem with garbage at the bottom of some text in aa mode
16095         and in png exported files.
16097 2000-02-27  James Henstridge  <james@daa.com.au>
16099         * app/app_procs.c: add the png export filter if it was compiled in.
16101         * app/export_png.c (export_png): new PNG export filter.  This requires
16102         the libart renderer to work as it needs a renderer that renders to a
16103         pixel buffer.
16105         * configure.in: add check for libpng.
16107         * lib/message.c (message_internal): use a GNOME dialog here as well.
16109         * app/display.c (ddisplay_close): use a GNOME dialog here.
16111         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
16112         when exporting to EPS.  This is because some people said the EPS
16113         output was too large
16115 2000-02-26  James Henstridge  <james@daa.com.au>
16117         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
16118         window.
16120         * app/app_procs.c (app_exit): use a GNOME dialog here.
16122         * app/preferences.c (prefs_create_dialog): if GNOME support is
16123         enabled, show a GNOME dialog.
16125         * app/grid.c (grid_draw): use preferences when drawing page break
16126         lines.
16128         * app/preferences.c: add page break preferences to dialog.
16130         * app/preferences.h: added page break preferences.
16132 2000-02-25  James Henstridge  <james@daa.com.au>
16134         * sheets/UML.sheet: added new objects.
16136         * objects/UML/uml.c: link in the two new objects.
16138         * objects/UML/node.c: 
16139         * objects/UML/branch.c: new UML objects from Stfan Seefeld
16140         <seefelds@magellan.umontreal.ca>.
16142 2000-02-24  James Henstridge  <james@daa.com.au>
16144         * objects/custom/custom_object.c: converted to use the properties
16145         interface.  In the future, it would be nice to add support for
16146         defining custom properties for custom objects, but that can wait.
16148 2000-02-22  James Henstridge  <james@daa.com.au>
16150         * sheets/Circuit.sheet: added new circuit shapes to sheet.
16152         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
16153         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
16154         and adds a few new features.
16156 2000-02-21  Daniel Egger  <egger@suse.de>
16158         * sheets/*.sheets: Added German translations and made some
16159         corrections to the others.
16160         
16161 2000-02-21  James Henstridge  <james@daa.com.au>
16163         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
16165         * shapes/Circuit/...: added new shapes from Erik Janssens.
16167 2000-02-20  James Henstridge  <james@daa.com.au>
16169         * app/interface.c (create_color_area): realize the parent window
16170         first.
16172         * objects/standard/image.c: properties patch for standard image
16173         object, from Lars Clausen.
16175         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
16177         * lib/properties.h (PropType): added file property type.
16179         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
16180         other shapes.
16182         * app/interface.c: use wrap box for toolbox.
16184         * app/Makefile.am: added new files.
16186         * app/gtk*wrapbox.[ch]: added wrap box widget.
16188 2000-02-19  James Henstridge  <james@daa.com.au>
16190         * sheets/network.sheet: added extra shapes to networks sheet.
16192         * configure.in (AC_OUTPUT): added shapes/network/Makefile
16194         * shapes/network/*: added shapes that were posted to the list a while
16195         back.
16196         
16197         * shapes/Makefile.am (SUBDIRS): added network subdirectory
16199         * app/menus.c (toolbox_menu_items): don't right justify help menu for
16200         gtk+ version of menus.
16202         * app/properties.c (create_dialog): use a GnomeDialog if we happen
16203         to be using gnome.
16205 2000-02-18  James Henstridge  <james@daa.com.au>
16207         * objects/flowchart/box.c: set extra data for corner radius and text
16208         padding properties.
16210         * objects/standard/box.c: set extra data for corner radius property.
16212         * lib/properties.h: set extra data in some standard properties.
16214         * lib/properties.c (prop_get_widget): look at the extra data for
16215         int, real and enum property types.  They now use GtkSpinButton and
16216         GtkOptionMenu respectively.
16218         * lib/properties.h: extra data members for creating property setting
16219         widgets.
16221 2000-02-17  James Henstridge  <james@daa.com.au>
16223         * objects/flowchart/box.c: reverted load/save functions back to
16224         previous implementations.  Made box use standard property names.
16226         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
16228         * app/grid.c: add more digits to the grid edit dialog.  This patch
16229         was also from Lars Clausen.
16231         * objects/standard/zigzagline.c: 
16232         * objects/standard/textobj.c:
16233         * objects/standard/polyline.c:
16234         * objects/standard/line.c:
16235         * objects/standard/ellipse.c:
16236         * objects/standard/box.c: 
16237         * objects/standard/bezier.c: 
16238         * objects/standard/arc.c: patches to add properties code to standard
16239         objects.  Based on patches from Lars Clausen.  I have also removed
16240         some dead code from the files.
16242         * lib/properties.h (PROP_STD_*): define a number of standard
16243         properties.  Where appropriate, objects should include these
16244         properties in their PropDescription list.  This way, the intersection
16245         of properties of two different shapes will be greater.
16247 2000-02-14  James Henstridge  <james@daa.com.au>
16249         * objects/flowchart/box.c (box_load, box_save): use property save
16250         routines.  Make sure that any props not handled by object_load_props
16251         are loaded before calling object_load_props, or we get errors because
16252         update_data is called.
16254         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
16255         error that could cause properties to be loaded incorrectly.
16256         (object_set_props_from_offsets): similar here.
16258         * lib/properties.[ch] (prop_{load,save}): functions for loading
16259         or saving a property in Dia's XML file format.
16260         (object_{load,save}_props): load or save some properties of an
16261         object.  These functions should help simplify the load/save methods
16262         of objects that implement the properties interface.
16264 2000-02-13  James Henstridge  <james@daa.com.au>
16266         * objects/flowchart/box.c: use offset code to simplify property
16267         get/set routines.
16269         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
16270         properties.
16271         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
16273         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
16274         properties.
16275         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
16277         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
16278         functions 
16280 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
16282         * app/Makefile.am:
16283         Add the custom object to DIA_LIB_PATH in run_dia.sh
16285 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
16287         * sheets/Circuit.sheet:
16288         * shapes/l_sout* (NEW):
16289         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
16290         variants of simple, inverted, set and reset outputs.
16291         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
16292         probably a split of Contact and Ladder sheets. And then a major 
16293         revamping of the Contact sheet.
16295 2000-02-10  James Henstridge  <james@daa.com.au>
16297         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
16299         * app/app_procs.c (register_all_objects): don't explicitely
16300         register the custom objects library -- let it be loaded by the
16301         normal plugin loading methods.
16303         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
16305         * objects/custom/Makefile.am: build libcustom_objects as a shared
16306         library again.
16308         * objects/custom/shape_info.[ch]: don't read the description field
16309         of custom shapes.  It makes more sense to have these in the sheet
16310         file to localise the parts of dia that translators have to deal
16311         with.
16313         * objects/custom/custom_object.c (custom_object_new): do not
16314         create the sheet object for the new custom shape -- this is
16315         handled by the custom sheet code.
16317         * objects/custom/custom.c: change over to being a normal plug-in
16318         rather than being linked with the main dia executable.
16320 2000-02-09  James Henstridge  <james@daa.com.au>
16322         * sheets/Circuit.sheet: 
16323         * sheets/Flowchart.sheet: 
16324         * sheets/Contact.sheet: fixed up sheets.
16326         * objects/custom/custom_object.c (custom_object_new): set the
16327         extra ObjectType fields.
16329         * lib/sheet.c: use extra ObjectType fields when creating sheet
16330         objects.  Give a warning if <shape> tags are found in a sheet
16331         file.  Now the custom sheet code does not know about custom
16332         shapes -- they look like any other object type.
16334         * lib/object.h (ObjectType): added extra members
16336 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
16338         * app/linewidth_area.c:
16339         Added code to set arbitrary line width.
16340         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
16342 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
16344         * app/linewidth_area.c: 
16345         * lib/font.[ch]:
16346         Add support for font-sucking.
16347         Implementation borrowed from gnome-canvas.
16348         
16349         * app/render_libart.[ch]:
16350         Implement text rendering.
16352 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
16354         * app/properties.c (create_dialog):
16355         ref and sink no_properties_dialog.
16357 2000-02-07  James Henstridge  <james@daa.com.au>
16359         * app/group.c (group_describe_props): new function.  Return the
16360         intersection of the properties of the contained objects that
16361         implement the describe_props interface.
16362         (group_get_props): implement by iterating through contained objects
16363         and calling their get_props method until all properties have been
16364         set.  Maybe this should go through all objects all the time??
16365         (group_set_props): implement by calling set_props method on all
16366         contained objects.
16367         (group_ops): use standard props dialog creation routines.
16369         * lib/properties.c (prop_desc_lists_intersection): fix implementation
16370         of intersection -- I was using i++ instead of i-- in a for loop :(
16372         * objects/custom/custom.c (custom_register_objects): fix usage
16373         of dia_get_data_directory again.
16375         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
16376         actually read the sheets.
16378 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
16380         Win32 port by Hans Breuer <Hans@Breuer.org>
16382         * app/Makefile.am:
16383         Remove DATADIR and LIBDIR defines.
16385         * lib/Makefile.am:
16386         Add dia_dirs.c and dia_dirs.h
16387         Added DATADIR and LIBDIR defines.
16389         * lib/dia_dirs.[ch]:
16390         New files for handling special directories.
16392         * app/app_procs.c:
16393         * app/commands.c:
16394         * lib/sheet.c:
16395         * objects/custom/custom.c:
16396         Fix warnings.  Use directory functions.
16398         * app/diagram.h:
16399         Add prototype for diagram_redraw_all.
16401         * app/diaunitspinner.c:
16402         * app/filedlg.c:
16403         * app/interface.c:
16404         * app/preferences.c:
16405         Fix warning.
16407         * app/load_save.c:
16408         Win32 doesn't have mkstemp and fchmod.
16410         * app/paginate_psprint.c:
16411         Win32 calls popen _popen and pclose _pclose.
16412         
16413         * app/arrow.c:
16414         Win32 calls finite _finite.
16416         * lib/color.h:
16417         Win32 needs to dllexport the color vars.
16419         * objects/GRAFCET/step.c:
16420         * objects/chronogram/chronoref.c:
16421         snprintf -> g_snprintf
16423 2000-02-05  James Henstridge  <james@daa.com.au>
16425         * lib/properties.c: more fixes so that it doesn't crash when using
16426         properties.  The undo/redo stuff also works!!
16428         * objects/flowchart/box.c (box_{describe, get, set}_props): test
16429         object where I have implemented the new properties interface
16430         complete with automatic properties dialog generation.
16432         * lib/properties.c (object_apply_props): fixed stupid error when
16433         creating the old_props array.  Also, it no longer frees the props
16434         array -- you will have to do that yourself.
16436 2000-02-04  James Henstridge  <james@daa.com.au>
16438         * app/properties.c (properties_apply): pass object_part to
16439         apply_properties.
16441         * lib/object.h (ApplyPropertiesFunc): added widget argument.
16443         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
16444         created this way as well.
16446         * objects/*/*.c: ref and sink the properties dialog window for each
16447         widget.  It can't rely on ref count being incremented by
16448         properties_show anymore.
16450         * app/properties.c (properties_show): don't ref the widget before
16451         removing it, or its ref count will increase each time you open the
16452         properties dialog.  Don't unparent the widget, as container_remove
16453         does that for us.
16455         * lib/object.h: fixed up prototypes for new object methods.
16457         * lib/properties.[ch]: added functions for automatically creating
16458         a properties dialog from the output of describe_props, get_props and
16459         set_props.
16460         (object_apply_props): apply properties and return an ObjectChange
16461         structure that can be used for undo.
16463 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
16465         * objects/GRAFCET/transition.c: minor leak plugged.
16467         * sheets/GRAFCET.sheet:
16468         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
16469         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
16470         conditions.
16471         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
16472         new ones (for condition.c).
16473         * objects/GRAFCET/action.c: added connection points for the conditions.
16474         * samples/grafcet.dia: updated the sample to improve conformance to
16475         IEC 848 and take advantage of dia's new features.
16476         
16477         * lib/geometry.h: (point_get_normed) fixed a typo.
16479 2000-02-02  James Henstridge  <james@daa.com.au>
16481         * lib/object.h: added object functions describe_props, get_props and
16482         set_props.  Do type definitions so that object.h doesn't need to
16483         include properties.h, since properties.h includes object.h.
16485         * lib/properties.[ch]: more hacking.
16487         * po/de.po: updated po file.
16489 2000-01-30  James Henstridge  <james@daa.com.au>
16491         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
16492         check to see if the C compiler accepts the flag beforehand.
16494         * lib/properties.[ch]: start of properties code.
16496         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
16498 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
16499         
16500         * sheets/GRAFCET.sheet:
16501         * sheets/GRAFCET/etapemc.xpm: (NEW)
16502         * sheets/GRAFCET/etapesp.xpm: (NEW)
16503         * objects/GRAFCET/step.c: Added the macro and
16504         sub-program call step types.
16506         * objects/GRAFCET/receptivity.[ch]: renamed to 
16507         objects/GRAFCET/boolequation.[ch]. 
16508         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
16509         (BoolEquation *)
16511         * lib/connpoint_line.[ch]: 
16512         * objects/chronogram/chronoline.c:
16513         * objects/chronogram/chronoref.c:
16514         * objects/GRAFCET/vergent.c:
16515         * objects/standard/line.c:
16516         * objects/SADT/box.c: Minor CPL interface changes, factored out the
16517         point count adjustment code into the CPL object.
16518         
16519 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
16521         * app/render_libart.c:
16522         Added support for images and bezier curves.
16523         Only text/fonts missing now.
16525         * app/render_gdk.c:
16526         Removed old erronous comment.
16528 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
16530         * objects/chronogram/chronoline_event.c: removed references to
16531         lround(). Please don't insist, I'm already red of shame.
16532         
16533 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
16535         * app/render_libart.[ch]:
16536         * app/Makefile.am:
16537         Non-finished libart renderer.
16539         * acconfig.h:
16540         Added HAVE_LIBART flag
16542         * configure.in:
16543         Added libart probe
16545         * app/app_procs.c:
16546         Call gdk_rbg_init().
16548         * app/connectionpoint_ops.c:
16549         * app/disp_callbacks.c:
16550         * app/grid.c:
16551         * app/handle_ops.c:
16552         * app/magnify.c:
16553         * app/modify_tool.c:
16554         Change ddisp->renderer type from RendererGdk * to Renderer *
16555         Draw zoom and select rects in ddisp->canvas->window instead
16556         of ddisp->renderer->renderer->pixmap.
16558         * app/display.[ch]:
16559         Add aa_renderer to DDisplay, and  support for it.
16560         New function ddisplay_set_renderer() for changing renderer.
16561         Add ddisplay_transform_coords_double() function, used by aa renderer.
16562         Change ddisp->renderer type from RendererGdk * to Renderer *
16564         * app/menus.c:
16565         Add antialias to menu.
16566         
16567         * app/commands.[ch]:
16568         add view_aa_callback function
16569         Change ddisp->renderer type from RendererGdk * to Renderer *
16571         * lib/geometry.[ch]:
16572         Added IntRectangle and int_rectangle_union.
16574 2000-01-28  James Henstridge  <james@daa.com.au>
16576         * app/commands.h: removed prototypes.
16578         * app/commands.c: removed the functions that have been moved to
16579         filedlg.c.
16581         * app/filedlg.h: added new prototypes.
16583         * app/filedlg.c (file_open_callback): move open dialog to this
16584         file.  This implementation should remember the current directory
16585         between file loads.
16586         (file_save_as_callback): moved this dialog as well.
16587         (file_save_callback): moved this function here.
16589         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
16590         align page boundaries to the origin.
16592         * app/diagram.c (diagram_update_extents): redraw the diagram if the
16593         scaling factor changes while updating the extents.  This is so the
16594         page breaks get redrawn correctly.
16596         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
16597         applying changes.
16599         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
16600         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
16601         the corner of the bounding box.
16603         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
16604         into page setup dialog.
16605         (pagesetup_apply): apply new `fit to' attributes to the diagram.
16607         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
16608         (diagram_data_save): save `fit to' data.
16610         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
16611         (data_update_extents): when in `fit to' mode, update scale factor
16612         when we update the extents.
16614         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
16615         structure.
16617         * .../.cvsignore: added some cvsignore files to quieten cvs.
16618         
16619         * app/pagesetup.c (pagesetup_changed): added code to change the
16620         scaling/fit to values as you change the options in the page setup
16621         dialog.  I haven't added code so that the fit to options are saved
16622         though.
16624         * app/diapagelayout.[ch]: changed the scaling portion of the widget
16625         to make it easier to set a `fit to' style scaling factor.
16627 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
16628         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
16629         but connpoint_line-based, so that there's a connection point at the 
16630         middle of each segment. Currently only the SADT arrow uses this.
16632         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
16633         
16634 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
16635         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
16636         saving and editing of properties (and default properties). 
16637         See the new objects (GRAFCET, SADT, chonograms) for examples.
16638         For already too hairy stuff, see objects/chronogram/chronoline.c.
16640         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
16641         evenly spaced connection points, which the user can add or remove at
16642         will. An object can own several connection point lines. See the SADT
16643         Box, or the GRAFCET vergents for examples.
16645         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
16646         quiet about unused stuff.
16648         * objects/GRAFCET (NEW):
16649         * samples/grafcet.dia (NEW):
16650         Added support for GRAFCET charts. 
16652         * objects/chronogram (NEW):
16653         * samples/chronograms.dia (NEW):
16654         Added support for chronograms (feature requested by Ronald L. Chichest;
16655         I found I'd use it often, too).
16657         * objects/standard/line.c: Replace the middle connectionpoint by 
16658         a whole connection point line, which defaults to one point (hint, 
16659         hint). New Line object menu to take advantage of this. 
16660         "Bothwards" compatibility is preserved (although you may loose 
16661         connections if you load a newer file in a older dia).
16663         * app/lineprops_area.c:
16664         * lib/arrows.[ch]:
16665         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
16666         (feature requested by Benjamin Kahn).
16667         Merged in Steffen Macke's slashed arrow head type.
16669         * app/Makefile.am (app/run_dia.sh actually):
16670         Added $DEBUGGER in front of dia's invocation, so that
16671         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
16672         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
16673         "EFENCE=-lefence" to link with Electric Fence.
16675         * configure.in: Made gcc do more aggressive optimisations on i386, and
16676         enabled warnings.
16677         
16678 2000-01-24  James Henstridge  <james@daa.com.au>
16680         * lib/geometry.[ch]: added inline versions of functions.  Used
16681         glib's G_INLINE_FUNC stuff, so it should still work on systems
16682         without inline funcs.
16684         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
16685         it outputs the correct element id for the ellipse objects.
16687 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16689         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
16690         object_add_handle_at. Message typo fixed.
16691         
16692         * lib/sheet.c (load_register_sheet):
16693         potential bug fixed (warning hunt).
16695         * objects/custom/custom.c (custom_object_load): disabled an assertion
16696         which made dia abort upon failure to load a shape file. Fixed a
16697         subsequent crash. 
16699         * objects/custom/shape_info.c (load_shape_info): Made the custom 
16700         shape load code ignore XML comments between <?xml ...?> and the 
16701         root object (mostly useful to put the emacs magic comments).
16702         
16703         * app/load_save.c: Made dia do backup copies of files when saving,
16704         and complain in case of failure.
16706 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
16708         * AUTHORS: fixed my address (ISP thought it was a great idea to change
16709         the domain name)
16710         
16711         * configure.in:
16712         * shapes/Contact:
16713         * shapes/Contact/*:
16714         * sheets/Contact.sheet:
16715         * sheets/Makefile.am:
16716         Added support for Contact and LADDER charts.
16718         * dia.desktop: Added a French translation.
16719         
16720 2000-01-23  James Henstridge  <james@daa.com.au>
16722         * app/commands.c (help_about_callback): don't die if can't load
16723         logo image.
16725         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
16726         out NaN's when performing bezier curve subdivision.
16728         * objects/custom/custom_object.c: initialise memory of Custom structs
16729         to zero.
16731         * app/render_svg.c (draw_image): added image support to the XML
16732         output filter.  The image is just referenced, rather than being
16733         included inline, so if you copy the SVG file somewhere else, you
16734         may need to move the images or fix up the links.
16736         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
16737         so the text is not just displayed in black all the time.
16739 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
16741         * configure.in: fixed libpopt test so we wont try to build with
16742         too old libpopt.
16744 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
16746         * configure.in: Added "uk" to ALL_LINGUAS.
16748 1999-12-24  James Henstridge  <james@daa.com.au>
16750         * po/ru.po: updated russian translation from Valek Filippov.
16751         
16752         * app/render_svg.c (new_svg_renderer): make output use 19991203
16753         version of SVG DTD.  Use viewBox to set the extents of the view.
16755         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
16756         ftp.gnome.org as the download.
16758         * TODO (TODO): weeded out completed todo items and added a few extra.
16760         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
16762         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
16763         be good to get rid of the object/shape distinction and separate
16764         the custom shape code out from the main application.
16766         * objects/custom/README, diagram.dtd: moved to new doc directory.
16767         Renamed the custom shapes README to custom-shapes.  Also updated
16768         custom shape docs a bit and removed the section on sheet files, as
16769         that has changed a bit.
16771         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
16772         of the image data is larger than the maximum cell array.  I should
16773         add code to break scan lines down further in this case, but for now
16774         an error message is better than an infinite loop.
16776         * app/filedlg.c (file_export_ok_callback): show a dialog if we
16777         couldn't determine the export filter to use.
16779         * app/commands.c (help_about_callback): fixed up about box logo
16780         expose bug.  Now just use a GtkPixmap widget rather than a
16781         GtkDrawingArea and calling gdk_imlib_paste_image.
16783         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
16784         because automake does not always get things right.
16786         * configure.in: updated version number to 0.83.
16788         * app/preferences.c (prefs_save): 
16789         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
16790         for fopen.  Text is the default file mode anyway.
16792         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
16793         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
16794         * app/load_save.c (write_objects, write_connections): 
16795         * app/filedlg.c (file_export_ok_callback): 
16796         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
16797         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
16798         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
16799         snprintf to calls to g_snprintf.
16801         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
16802         as the picture name.
16804 1999-12-23  James Henstridge  <james@daa.com.au>
16806         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
16807         negative numbers.  This fixes the upside down text problem I was
16808         having previously.
16809         (draw_image): implemented the image code.  It will try to split the
16810         image data up into bands if it is too big to fit into a single
16811         cgm cell array element.  It will have problems if you try to insert
16812         an image wider than about 10,000 pixels though.
16814         * Makefile.am: use gnomedatadir for the files that need to be
16815         installed in gnome's datadir.  This is mainly to help people doing
16816         packages for weird setups.
16818 1999-12-22  James Henstridge  <james@daa.com.au>
16820         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
16821         beziers are left to do.  The text seems to be the wrong way up
16822         still.  This is probably a problem with character orientation
16823         element, but I have used what the settings given in the standard.
16824         Other than this, the CGMs dia produces are readable (and displayable)
16825         by ralcgm and corel draw.
16826         (draw_string): subtract from the X coord rather than the Y coord for
16827         center and right aligned text.
16829         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
16830         the size of a real number, and changed name of write_double to
16831         write_real.  Consider changing to fixed real encoding.  Also, now
16832         all element headers are correct.  Once the real number encoding is
16833         fixed, only text, beziers and images are left to do.
16835 1999-12-21  James Henstridge  <james@daa.com.au>
16837         * Makefile.am (SUBDIRS): recurse into plug-ins.
16839         * configure.in: add plug-ins directory makefiles to list.
16841         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
16842         not done yet.  Also, the output files are not quite correct.
16844         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
16845         font.  It doesn't work if you do.
16847 1999-12-20  James Henstridge  <james@daa.com.au>
16849         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
16850         export the files.  Instead, use filter_guess_export_filter to
16851         guess the correct format to save in and use the appropriate filter.
16852         It defaults to postscript for compatibility.
16854         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
16855         function.
16857         * app/commands.[ch]: removed export to eps functions.
16859         * app/menus.c: removed export to eps menu items.
16861         * app/app_procs.c: register new export filters.
16863         * app/load_save.[ch]: define dia native export filter.
16865         * app/render_eps.[ch]: define eps export filter.
16867         * lib/filter.h: added diafilename argument to the DiaExportFunc
16868         prototype.  This is useful for putting the source of the diagram
16869         into the output file for instance.
16871         * app/app_procs.c (app_init): register the SVG export filter.  Have
16872         to get EPS code converted to this API, and maybe also allow saving in
16873         DIA's native format from the export dialog.  In fact, it is now
16874         possible to load an export filter from a shared library and it will
16875         integrate into the interface correctly.
16877         * app/menus.c: removed references to the SVG renderer.
16879         * app/commands.[ch]: removed svg stuff.
16881         * app/diagram.[ch]: removed diagram_export_to_svg function.
16883         * app/render_svg.[ch]: added a DiaExportFilter structure for this
16884         renderer.
16886         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
16887         probably move the open/save dialogs to this file as well.
16889 1999-12-19  James Henstridge  <james@daa.com.au>
16891         * lib/filter.[ch]: start of interface for generalised handling of
16892         filters.  I have only done code for export filters so far.  I still
16893         need to do the gui for this, and convert the current SVG and EPS
16894         filters to the new API.
16896         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
16897         weren't setting the last handle correctly.  It was actually assigning
16898         to the wrong position in the handles array, so the last handle was
16899         left as NULL, which caused the segfault.
16901         * objects/standard/image.c (image_copy): modified routine so that
16902         it just adds a reference to the DiaImage structure in the new image
16903         object.  This seems to have cleared up the problems with copying
16904         image objects.
16906         * dia.spec: spec file additions from John Gotts.
16908 1999-12-12  James Henstridge  <james@daa.com.au>
16910         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
16911         has not been released yet though.
16913         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
16915         
16916         The following based on a patch from Lars Clausen:
16917         
16918         * objects/standard/bezier.c (bezierline_move_handle): when performing
16919         the initial drag of the bezierline, move the control points to keep
16920         the line straight.
16922         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
16923         make the new control points a bit closer to the major point.
16925         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
16926         as the reason for the move.
16927         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
16928         move reason.
16930         * lib/handle.h: new handle move reasons.
16932 1999-12-09  James Henstridge  <james@daa.com.au>
16934         * dia.spec: include the new files in RPMs.
16936         * Makefile.am: install these new files.
16938         * dia.keys.in: file describing actions and icon for dia diagrams for
16939         use in the gnome file manager.
16940         
16941         * dia.mime: a file defining the application/x-dia-diagram mime type.
16942         
16943         * dia-diagram.png: an icon for dia diagrams.
16945 1999-12-08  James Henstridge  <james@daa.com.au>
16947         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
16949         * plug-ins/python/pydia-display.[ch]: wrapper for display.
16951         * objects/standard/ellipse.c: applied Lars's patch to optionally not
16952         draw the background of the ellipse.
16954         * app/load_save.c (read_connections): do some sanity checking on the
16955         handle and connection point numbers before performing the object
16956         connection.
16958         * lib/bezier_conn.c (bezierconn_load): give the correct number of
16959         handles when loading a BezierConn.
16961 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
16963         * sheets/*.sheet: Finished Norwegian translations.
16964         
16965 1999-12-07  James Henstridge  <james@daa.com.au>
16967         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
16968         (PyDia_GetObjectType): find object type function.
16970         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
16971         method for diagrams.
16973         * plug-ins/python/pydia-object.c: added methods for DiaObject and
16974         DiaObjectType.
16976         * AUTHORS: added Lars and Cyrille to the authors file.
16978         * objects/standard/bezier.c (bezierline_add_segment_callback): place
16979         new point correctly.
16981         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
16983         * lib/bezier_conn.c: applied Lars's patch for placement of the new
16984         point when adding a segment to a BezierConn.
16986 1999-12-06  James Henstridge  <james@daa.com.au>
16988         * plug-ins/python/test.py: test script for the python plug-in.
16990         * plug-ins/python/python.c: this file contains the plug-in startup
16991         code for the python plugin.  Right now, it just initialises the
16992         dia module and executes a script.
16994         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
16996         * objects/standard/bezier.c (bezierline_draw): draw control lines for
16997         bezier curve if we are using an interactive renderer (ie. only if
16998         displaying to the screen).
17000         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
17001         to draw control lines on to a bezier curve.  Based on implementation
17002         from Lars.
17004         * objects/standard/bezier.c (bezierline_delete_segment_callback):
17005         calculate segment number using closest_segment rather than
17006         closest_handle.  Sometimes the closest handle is part of a different
17007         segment.
17008         (bezierline_draw): use correct size for start arrow.
17010         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
17011         * lib/geometry.c (distance_line_point): added notes to documentation
17012         in comment.
17013         * app/object_ops.c (object_list_align_v): 
17014         (object_list_align_h): fix of by one error when calculating free space
17015         for equal distance alignment.
17016         * app/menus.c (objects_align_h, objects_align_v): include align
17017         adjacent menu items in the gnome version of the menus.
17018         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
17019         align adjacent menu items correctly.
17022         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
17023         table.
17025         * objects/standard/bezier.c: converted bezierline to use BezierConn.
17026         Still a few bugs.  It crashes on deleting line segments.
17028         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
17030 1999-12-05  James Henstridge  <james@daa.com.au>
17032         * lib/bezier_conn.[ch]: start of BezierConn object
17034         * app/interface.c: add bezierline to toolbox.
17036         * objects/standard/standard.c: initialise bezierline.
17038         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
17039         made a few modifications to get it working nicely.  It still needs
17040         a bit of work though.  Maybe create a BezierConn object in lib.
17042 1999-12-02  James Henstridge  <james@daa.com.au>
17044         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
17045         
17046         * plug-ins/python/Makefile.am: tried building everything.  It is
17047         building as a library at the moment.  I will have to convert it
17048         to a libtool library and add some initialisation code.
17049         
17050         * plug-ins/python/diamodule.c: start of the dia module, using the
17051         other object wrappers.  Not complete.
17053 1999-12-01  James Henstridge  <james@daa.com.au>
17055         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
17056         the handles and connections attributes.
17058         * plug-ins/python/pydia-layer.c: added functions that use
17059         ConnectionPoint's.
17061         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
17063         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
17065         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
17066         I am currently wrapping the basic elements in the diagram in python
17067         objects -- nothing to see or play with yet.
17069 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
17071         * AUTHORS:
17072         * HACKING:
17073         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
17075 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
17077         * configure.in:
17078         * po/ru.po:
17079         Added russian translation from Valek Filippov <frob@df.ru>
17081 1999-11-24  James Henstridge  <james@daa.com.au>
17083         * sheets/UML/*: 
17084         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
17085         discussed with Alex.  Also added extra makefiles so that make install
17086         works correctly.
17088 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
17090         * app/preferences.[ch]:
17091         * app/display.c:
17092         Added snap to grid preference.
17093         Patch from Michael Leslie <mles@springboardwireless.com>
17095 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17097         * app/load_save.c:
17098         * lib/dia_xml.c:
17099         * lib/sheet.c:
17100         * lib/text.c:
17101         * objects/custom/shape_info.c:
17102         All strings returned by libxml must be freed with free, not
17103         g_free, or there will be problems if you use memory debugging
17104         in glib.
17105         
17106 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17108         * app/create_object.[ch]:
17109         * app/menus.c:
17110         * app/tool.[ch]:
17111         * app/commands.[ch]:
17112         * app/pixmaps.h:
17113         * app/interface.[ch]:
17114         Reverted the tool menu patch. It has some 'issues'.
17115         I liked it though, so it'll probably return.
17117 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17119         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
17120         <bruce@cybersight.com> for some purify runs and analysis.
17121         Also a great thank you to Owen Taylor for creating MemProf, a
17122         free memory leak detector that was used to find and verify a
17123         lot of these fixes.
17124         
17125         * app/diagram.c:
17126         * app/paginate_psprint.c:
17127         * app/render_eps.[ch]:
17128         * app/render_svg.[ch]:
17129         Free renderers.
17131         * app/interface.c:
17132         Don't add a reference to ddisp->shell. Why was this done in
17133         the first place?
17135         * app/load_save.c:
17136         * lib/dia_xml.c:
17137         * lib/sheet.c:
17138         * lib/text.c:
17139         Free all strings returned from xmlGetProp
17141         * app/modify_tool.c:
17142         Plug leak.
17144         * objects/custom/custom.c:
17145         Use closedir() after opendir().
17147         * objects/custom/shape_info.c:
17148         User g_free() instead of "if (tmp) free(tmp)".
17150         * sheets/ER.sheet:
17151         Add newline at end of file.
17152         
17154 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17156         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
17157         Adds tool menu and keyboard shortcuts.
17159         * app/create_object.[ch]:
17160         Use tool_set() instead of tool_reset().
17161         create_create_object_tool() takes extra type argument
17163         * menus.c:
17164         Add tools menu.
17165         
17166         * tool.[ch]:
17167         Moved tool_data here, export it.
17168         Add separate tool type for all create objects tools.
17169         new functions tool_set().
17171         * commands.[ch]:
17172         New callback tool_set_callback.
17174         * pixmaps.h:
17175         Moved some pixmaps to interface.c.
17176         
17177         * interface.[ch]:
17178         Remove tool_data array (moved to tool.c).
17179         Use the tool_data from tool.c.
17180         Remove modify_tool_button global var.
17181         
17182 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17184         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
17185         
17186         * app/app_procs.c:
17187         Interprets command-line arguments as files to open even when
17188         HAVE_POPT is not defined.
17190         * app/magnify.c:        
17191         Shift-clicking when zooming zooms out, like the Gimp.
17193         * app/menus.c:
17194         Has hotkeys for zoom-100% and snap-to-grid.
17196 1999-11-17  James Henstridge  <james@daa.com.au>
17198         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
17199         that it is not jumpy.
17201         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
17203         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
17204         scrolling by pressing the shift key when using the scroll tool.
17206         * sheets/Makefile.am: fixed makefile so that install actually works
17207         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
17208         don't exist.
17209         (SHEETS): install Circuit.sheet
17211 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
17212         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17214         * sheets/Circuit.sheet:
17215         * sheets/ER.sheet:
17216         * sheets/FS.sheet:
17217         * sheets/Flowchart.sheet:
17218         * sheets/UML.sheet:
17219         * sheets/network.sheet:
17220         * sheets/sybase.sheet:
17221         Changed name space
17223         * sheets/Circuit.sheet:
17224         added some missing French translations
17226         * lib/sheet.c:
17227         killed the temporary sheet namespace
17229         * objects/custom/custom.c:
17230         obsolete comment cleaned up
17232 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
17234         * configure.in:
17235         * po/pt.po:
17236         Added portugese translation from Pedro Morais
17237         <pmmm@rnl.ist.utl.pt>
17239 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
17241         Changed all sheets to be specified in xml.
17242         All sheet objects removed from the C code.
17243         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17244         
17245         * Makefile.am:
17246         * configure.in:
17247         Adding shapes dir.
17248         Updated version to 0.81cvs.
17249         
17250         * app/Makefile.am:
17251         Update run_dia.sh with sheet-dir.
17252         
17253         * app/app_procs.c:
17254         Load all sheets on startup.
17255         Create sheet directory first time.
17256         Don't call custom_register_sheets().
17258         * lib/Makefile.am:
17259         Add sheetdir define
17261         * lib/custom.h:
17262         Remove custom_register_sheets().
17264         * lib/sheet.[ch]:
17265         Add sheet loading code.
17267         * sheet/Circuit.sheet:
17268         * sheet/ER.sheet:
17269         * sheet/FS.sheet:
17270         * sheet/Flowchart.sheet:
17271         * sheet/UML.sheet:
17272         * sheet/network.sheet:
17273         * sheet/sybase.sheet:
17274         Added sheet files.
17276         * sheet/ER/weakentity.xpm:
17277         * sheet/UML/aggregation.xpm
17278         * sheet/UML/umlclass_template.xpm
17279         Added sheet pixmaps.
17280         These are moved from their old places.
17282         * sheet/.cvsignore:
17283         Shut up cvs.
17285         * objects/*/*.c:
17286         Removed sheet objects and sheet registration.
17287         
17288         * objects/ER/Makefile.am:
17289         * objects/ER/pixmaps/weakentity.xpm:
17290         * objects/UML/Makefile.am:
17291         * objects/UML/pixmaps/aggregation.xpm:
17292         * objects/UML/pixmaps/umlclass_template.xpm:
17293         Removed alternative pixmaps. (Moved to sheet).
17295         * objects/custom/Makefile.am:
17296         * objects/custom/load_sheet.[ch]:
17297         Removed old sheet loading code.
17298         
17299         * objects/custom/custom.c:
17300         Load all shapes instead of sheets.
17301         Removed custom_register_sheets().
17303         * objects/custom/custom_object.c:
17304         Added debug code.
17306         * objects/custom/shape_info.[ch]:
17307         Added shape_info_getbyname().
17309         * objects/flowchart/Makefile.am:
17310         * objects/flowchart/collate.shape            
17311         * objects/flowchart/delay.shape              
17312         * objects/flowchart/display.shape            
17313         * objects/flowchart/document.shape           
17314         * objects/flowchart/extract.shape            
17315         * objects/flowchart/flowchart.c              
17316         * objects/flowchart/intstorage.shape         
17317         * objects/flowchart/magdisk.shape            
17318         * objects/flowchart/magdrum.shape            
17319         * objects/flowchart/magtape.shape            
17320         * objects/flowchart/manualinput.shape        
17321         * objects/flowchart/manualop.shape           
17322         * objects/flowchart/merge.shape              
17323         * objects/flowchart/offlinestore.shape       
17324         * objects/flowchart/offpageconn.shape        
17325         * objects/flowchart/or.shape                 
17326         * objects/flowchart/predefdproc.shape        
17327         * objects/flowchart/preparation.shape        
17328         * objects/flowchart/punchedcard.shape        
17329         * objects/flowchart/punchedtape.shape        
17330         * objects/flowchart/sort.shape               
17331         * objects/flowchart/sumjunction.shape        
17332         * objects/flowchart/terminal.shape           
17333         * objects/flowchart/transaction.shape        
17334         * objects/flowchart/transmittape.shape       
17335         * objects/flowchart/pixmaps/collate.xpm      
17336         * objects/flowchart/pixmaps/delay.xpm        
17337         * objects/flowchart/pixmaps/display.xpm      
17338         * objects/flowchart/pixmaps/document.xpm     
17339         * objects/flowchart/pixmaps/extract.xpm      
17340         * objects/flowchart/pixmaps/intstorage.xpm   
17341         * objects/flowchart/pixmaps/magdisk.xpm      
17342         * objects/flowchart/pixmaps/magdrum.xpm      
17343         * objects/flowchart/pixmaps/magtape.xpm      
17344         * objects/flowchart/pixmaps/manualinput.xpm  
17345         * objects/flowchart/pixmaps/manualop.xpm     
17346         * objects/flowchart/pixmaps/merge.xpm        
17347         * objects/flowchart/pixmaps/offlinestore.xpm 
17348         * objects/flowchart/pixmaps/offpageconn.xpm  
17349         * objects/flowchart/pixmaps/or.xpm           
17350         * objects/flowchart/pixmaps/predefdproc.xpm  
17351         * objects/flowchart/pixmaps/preparation.xpm  
17352         * objects/flowchart/pixmaps/punchedcard.xpm  
17353         * objects/flowchart/pixmaps/punchedtape.xpm  
17354         * objects/flowchart/pixmaps/sort.xpm         
17355         * objects/flowchart/pixmaps/sumjunction.xpm  
17356         * objects/flowchart/pixmaps/terminal.xpm     
17357         * objects/flowchart/pixmaps/transaction.xpm  
17358         * objects/flowchart/pixmaps/transmittape.xpm 
17359         Moved shapes and their pixmaps to shapes/flowchart
17361         * shapes/Circuit/Makefile.am:
17362         * shapes/Circuit/index.sheet:
17363         Removed index.sheet.
17364         
17365         * shapes/Makefile.am:
17366         * shapes/flowchart/Makefile.am:
17367         * shapes/flowchart/*.shape:
17368         * shapes/flowchart/*.xpm:
17369         Added flowchart shapes. (Moved from objects/flowchart)
17370         
17372 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
17374         * app/app_procs.c: Fixed popt stuff.
17376 1999-11-01  James Henstridge  <james@daa.com.au>
17378         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
17379         Andreas Scherf.
17381 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
17383         * dia.spec:
17384         * configure.in:
17385         Update version to 0.81.
17386         
17387         * NEWS:
17388         Update with news for 0.81.
17389         
17390         * shapes/Circuit/*:
17391         * shapes/Circuit_eu/*:
17392         Moved european circuit objects to Circuit sheet.
17394 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
17395         
17396         * lib/diagramdata.[ch]:
17397         Added layer_set_object_list() function.
17399         * app/undo.[ch]:
17400         Added support for undo of reordered objects.
17401         Fix the undo of delete to keep the right order on undo.
17402         
17403         * app/diagram.c:
17404         changed loop to object_add_updates_list() calls.
17405         Added undo support to bring to front/back.
17407         * app/disp_callbacks.c:
17408         * app/paginate_psprint.c:
17409         Remove warnings.
17411 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
17413         This plugs some leaks. Thanks to
17414         Bruce Mitchener <bruce@cybersight.com> for running
17415         Dia through purify for me.
17416         
17417         * app/app_procs.c:
17418         Free displays and diagrams on exit.
17420         * app/modify_tool.c:
17421         Free gc when freeing tool.
17423         * lib/diagramdata.c:
17424         Free layer name.
17425         
17426         * app/display.c:
17427         Free update and display lists when destroying display.
17428         
17429         * lib/diagramdata.c:
17430         Don't leak layer name.
17432         * objects/custom/load_sheet.c: 
17433         * objects/custom/shape_info.c:
17434         Free loaded xml documents.
17436 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
17438         * app/commands.c:
17439         * app/object_ops.[ch]:
17440         Add undo handling to alignment ops.
17441         Based partially on patch by Dan Cohn <dan@internap.com>.
17443         * objects/standard/image.c (image_move_handle):
17444         Don't divide by zero for small images.
17445         Patch by Dan Cohn <dan@internap.com>.
17447         * objects/UML/class.c (umlclass_destroy): 
17448         * objects/custom/custom_object.c (custom_destroy):
17449         Don't free connectionpoints before calling element_destroy
17450         which unconnects them.
17452 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
17454         * objects/custom/custom_object.c: 
17455         Load and save padding too. Fixes strange load crashes.
17457         * app/group.c (group_destroy):
17458         Don't unconnect already freed connectionpoints when
17459         destroying group. Probably fixes bug reported by
17460         Elliot Lee <sopwith@redhat.com>.
17462         * app/render_gdk.c:
17463         Don't crash on zero-size (broken) bezier curves.
17464         Different sort of fix. This should work on closed bezier curves
17465         too.
17467         * objects/standard/textobj.c:
17468         Activate default properties dialog for Text objects.
17470         * app/render_eps.c: 
17471         * app/load_save.c:
17472         * app/preferences.c:
17473         * app/render_svg.c:
17474         fopen files in binary or text mode.
17476 1999-10-26  Alexander Larsson  <alex@cendio.se>
17478         * app/render_gdk.c (bezier_add_lines):
17479         Don't crash on zero-size (broken) bezier curves.
17480         Fixes a crashing bug.
17482 1999-10-25  James Henstridge  <james@daa.com.au>
17484         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
17485         before it is installed.
17487         * objects/flowchart/flowchart.c: use relative paths to find shapes.
17489         * objects/custom/custom.c (custom_object_load): take file names
17490         relative to $(pkgdatadir)/shape-internal, and check an environment
17491         variable for an alternative directory.
17493         * app/...: added copyright messages to the top of my new code.
17495         * app/paginate_psprint.c: some general clean ups.  Also, give an error
17496         dialog if we can't open the command or output file for writing.
17498         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
17499         function so it would set orientation to landscape correctly.
17501         * app/paginate_psprint.c: use the paper settings that come with
17502         the diagram.  Also implemented landscape printing.
17504         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
17505         in PS header.
17507         * app/commands.[ch] (file_pagesetup_callback): added callback for
17508         the page setup dialog.
17510         * app/menus.c: added page setup menu item.
17512         * app/pagesetup.[ch]: implementation of the page setup dialog.
17514         * app/diapagelayout.[ch]: added accessors for the scaling factor.
17515         
17516         * app/load_save.c (diagram_load): load paper information from save
17517         file.
17518         (diagram_save): save the paper info.
17520         * lib/diagramdata.c (new_diagram_data): initialise paper info section
17521         of DiagramData structure.
17522         (diagram_data_destroy): free the paper name.
17524         * lib/diagramdata.h: added a paper member to the DiagramData structure
17525         that holds the page layout info for a diagram.
17527 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
17529         * objects/flowchart/box.c:
17530         * objects/flowchart/ellipse.c:
17531         * objects/flowchart/diamond.c:
17532         * objects/flowchart/parallelogram.c:
17533         Load and save padding too. Fixes strange load crashes.
17535 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
17537         * app/app_procs.c (name_is_lib):
17538         .dll, .sl and .so.0.0.0 are also libraries.
17540 1999-10-20  James Henstridge  <james@daa.com.au>
17542         * configure.in: added extra makefile.
17543         
17544         * shapes/Circuit_eu/*: a new set of european circuit shapes from
17545         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
17546         (added fuses to makefile, fill the area of some of the components).
17548 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
17550         * lib/Makefile.am:
17551         * app/Makefile.am: 
17552         Add GDK_IMLIB_CFLAGS to includes.
17553         Changed --export-dynamic to -export-dynamic
17555         * lib/widgets.c:
17556         * objects/UML/message.c:
17557         Removed c++ comment.
17559         * lib/render_store.[ch]:
17560         Don't use empty structure. That is not Ansi C.
17562 1999-10-19  James Henstridge  <james@daa.com.au>
17564         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
17565         the margin entries, as they allow interpretation of units.
17566         (paper_size_change): display the current page dimensions.
17568         * app/diaunitspinner.[ch]: a widget derived from the standard
17569         GtkSpinButton that tries to take units into account.  So if you enter
17570         "1in" into the entry, it will convert it to 2.54cm.
17572 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
17574         * app/app_procs.c:
17575         Removed include of dlfcn.h
17577 1999-10-18  James Henstridge  <james@daa.com.au>
17579         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
17580         bound on margin widths.  It is set to the paper width/height.
17582         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
17583         routine for the diamond.  This bug was found and fixed by Daniel Wang
17584         <danwang@CS.Princeton.EDU>
17586 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
17588         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
17589         remove warning (OS/2 version).
17591 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
17593         * README:
17594         Put a pointer to objects/custom/README.
17595         
17596 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
17598         * dia.spec:
17599         Updated version to 0.80
17601         * configure.in:
17602         Updated version to 0.80cvs
17604 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
17606         * Released Dia 0.80
17607         Tag called DIA_0_80
17608         
17609 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
17611         * app/Makefile.am
17612         * lib/Makefile.am
17613         * objects/UML/Makefile.am
17614         * objects/ER/Makefile.am
17615         * objects/network/Makefile.am
17616         * objects/standard/Makefile.am
17617         * objects/FS/Makefile.am
17618         * objects/sybase/Makefile.am
17619         * objects/flowchart/Makefile.am
17620         * objects/custom/Makefile.am
17621         Added -I$(top_srcdir)/intl which is needed for
17622         --with-included-gettext.
17624         * POTFILES.in
17625         Updated.
17626         
17627         * po/sv.po
17628         Updated swedish translation.
17630 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
17632         * configure.in:
17633         Updated version number to 0.80.
17635         * KNOWN_BUGS:
17636         New file.
17638         * TODO:
17639         Updated. Moved bugs to KNOWN_BUGS.
17641         * NEWS:
17642         Updated with 0.80 release notes.
17643         
17644 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
17645         
17646         * lib/orth_conn.c:
17647         For backwards compatibility, make sure handle 0 and 1 are the
17648         first and last handle. Fixes compatibility with 0.41, breaks
17649         compatibility with cvs version.
17650         Fixed bug in undo/redo of adding deleting endpoint segments
17651         when the endpoint was connected.
17652         Start OrthConn objects with three segments.
17654 1999-10-16  James Henstridge  <james@daa.com.au>
17656         * objects/custom/custom_object.c (custom_update_data): changed
17657         resizing behaviour a bit so that shapes don't grow huge when you try
17658         to resize them to smaller than the size required by the text box.
17659         Also, now shapes will not grow with fixed aspect ratio when you enter
17660         text into them unless the shape has the fixed aspect ratio flag set.
17662 1999-10-15  James Henstridge  <james@daa.com.au>
17664         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17666         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17668         * objects/flowchart/magdrum.shape: 
17669         * objects/flowchart/offlinestore.shape: 
17670         * objects/flowchart/punchedtape.shape: 
17671         * objects/flowchart/transmittape.shape: 
17672         * objects/flowchart/punchedcard.shape: new shapes.
17674         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17676         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17678         * objects/flowchart/collate.shape:
17679         * objects/flowchart/delay.shape:
17680         * objects/flowchart/extract.shape:
17681         * objects/flowchart/intstorage.shape:
17682         * objects/flowchart/magdisk.shape:
17683         * objects/flowchart/magtape.shape:
17684         * objects/flowchart/merge.shape:
17685         * objects/flowchart/or.shape:
17686         * objects/flowchart/sort.shape:
17687         * objects/flowchart/sumjunction.shape: new shapes.
17689 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
17691         * TODO (BUGS):
17692         Added bug:
17693         Entering an erronous command as print command
17694         crashes dia.
17696         * app/paginate_psprint.c:
17697         Save all print dialog values for next time.
17698         
17699         * app/Makefile.am:
17700         Remove custom lib from DIA_LIB_PATH.
17702 1999-10-14  James Henstridge  <james@daa.com.au>
17704         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17706         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17707         
17708         * objects/flowchart/offpageconn.shape: 
17709         * objects/flowchart/manualop.shape: 
17710         * objects/flowchart/preparation.shape: 
17711         * objects/flowchart/manualinput.shape: 
17712         * objects/flowchart/predefdproc.shape: 
17713         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
17715 1999-10-13  James Henstridge  <james@daa.com.au>
17717         * app/diapagelayout.[ch]: added accessors to paper information.  The
17718         widget should be just about complete now.
17720         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
17721         It actually does something now.
17723 1999-10-12  James Henstridge  <james@daa.com.au>
17725         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
17726         for the page layout widget.
17728         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
17729         built yet as it is not complete.
17731         * objects/flowchart/flowchart.c: added new shapes to sheet.
17733         * objects/flowchart/display.shape:
17734         * objects/flowchart/transaction.shape: new shapes.
17736         * AUTHORS: added my name to the spec file.
17738         * dia.spec: include the dia desktop entry to the spec file.
17740         * Makefile.am: install the dia.desktop file.
17742         * dia.desktop: added a gnome desktop entry so you can start dia
17743         from the gnome panel menu.
17745 1999-10-11  James Henstridge  <james@daa.com.au>
17747         * objects/custom/custom_object.c:
17748         * objects/custom/shape_info.c: warning fixes.
17750         * objects/flowchart/document.shape: a shape file for the `document'
17751         flowchart shape.
17753         * lib/custom.h: new header with the custom shape prototypes.
17755         * app/app_procs.c: register custom objects as well.
17756         (register_objects_in): close shared libraries if they don't load
17757         correctly, and call g_module_make_resident on libraries that load
17758         correctly.
17760         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
17762         * objects/custom/custom.c: removed get_version, added custom_ prefix
17763         to register_objects and register_sheets.
17765         * objects/custom/Makefile.am: converted to a normal library.
17767 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
17769         * app/lineprops_area.c:
17770         * app/render_svg.c:
17771         * lib/objchange.c:
17772         * objects/custom/shape_info.c:
17773         * objects/flowchart/box.c:
17774         * objects/flowchart/diamond.c:
17775         * objects/flowchart/ellipse.c:
17776         * objects/flowchart/parallelogram.c:
17777         * objects/network/flash.c:
17778         * objects/network/scead-plug.c:
17779         * objects/sybase/client.c:
17780         Removed -Wall warnings.
17781         
17782         * objects/network/bus.c:
17783         Removed unused functions.
17785         * objects/FS/flow-ortho.c:
17786         * objects/FS/flow-poly.c:
17787         * objects/FS/flow.c:
17788         * objects/FS/function.c:
17789         
17790         Implemented "non-implemented" undo for FS objects.
17791         Now at least it won't crash.
17792         
17793 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
17795         * objects/network/bus.c:
17796         Implemented undo.
17797         Handles are now added and removed using the object menu.
17798         Default to 6 handles instead of 10.
17799         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17800         name for backwards compatibility.
17802         * objects/network/network.c:
17803         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17804         name for backwards compatibility.
17806         * app/properties.[ch]:
17807         * app/undo.c:
17808         Update properties in properties dialog if the shown object
17809         is part of and ObjectChange (undo or redo).
17811         * lib/poly_conn.c:
17812         Remove old known bugs list.
17814         * objects/UML/class_dialog.c:
17815         Removed debug printf's.
17817 1999-10-10  James Henstridge  <james@daa.com.au>
17819         * objects/custom/custom.c (custom_object_load): new function that
17820         provides a nice entry point to the custom shape code for when it
17821         gets used by other libraries.
17823         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
17824         speeds builds up a bit.
17826         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
17827         (SUBDIRS): do not descend into pixmaps subdirs.
17829         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
17830         This speeds up build process.
17832         * objects/custom/custom.c (sheets): made variable static.
17834         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
17835         renamed function.
17837         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
17839         * objects/custom/custom.c: look in ~/.shapes instead of
17840         ~/.dia_shapes as the per-user shapes directory.
17842         * app/preferences.c (prefs_save): save config to ~/.diarc.
17843         (prefs_load): load configuration from ~/.diarc.  If the file
17844         does not exist, fallback on the old ~/.diarc location.
17846         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
17847         on startup.
17848         (register_all_objects): look for user specific objects in
17849         ~/.objects rather than ~/.dia_libs.
17851 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
17853         * configure.in:
17854         * app_procs.c:
17855         * objects/flowchart/box.c
17856         * objects/flowchart/ellipse.c
17857         * objects/flowchart/flowchart.c 
17858         Use gmodule for dynamic linking. As gmodule is using
17859         RTLD_GLOBAL i had to change flowchart box and ellipse
17860         so the typenames doesn't conflict with the standard
17861         box and ellipse.
17863         * message.c
17864         * commands.c
17865         Use button box to make dialogs look better.
17867 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
17869         * objects/UML/class_dialog.c:
17870         * objects/UML/class.h:
17871         Implemented undo for "UML - Class" objects.
17872         Not 100% tested yet.
17874         * objects/UML/classicon.c:
17875         * objects/UML/constraint.c:
17876         * objects/UML/dependency.c:
17877         * objects/UML/generalization.c:
17878         * objects/UML/implements.c:
17879         * objects/UML/large_package.c:
17880         * objects/UML/lifeline.c:
17881         * objects/UML/message.c:
17882         * objects/UML/object.c:
17883         * objects/UML/realizes.c:
17884         * objects/UML/state.c:
17885         * objects/UML/usecase.c:
17886         Removed warnings.
17887         
17888         * lib/connectionpoint.h:
17889         Fixed typo.
17890         
17891 1999-10-09  James Henstridge  <james@daa.com.au>
17893         * objects/custom/*.[ch]: added copyright notices to custom object
17894         files.
17896         * shapes/Circuit/hdiode.shape:
17897         * shapes/Circuit/hzener.shape: 
17898         * shapes/Circuit/opamp.shape:
17899         * shapes/Circuit/vdiode.shape:
17900         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
17901         shapes look nice after the custom shape code changes.
17903         * objects/custom/README: updated docs to cover changes to drawing
17904         code.
17906         * objects/custom/custom_object.c (custom_draw): honour the line
17907         properties when drawing the shape.
17909         * objects/custom/shape_info.[ch]: added support for setting line
17910         properties for individual drawing elements in a custom shape.  You
17911         can set the dash style, dash length, cap style and join style.
17913 1999-10-07  James Henstridge  <james@daa.com.au>
17915         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
17916         for foreground and background.
17918         * objects/custom/custom_object.c (custom_draw): use the new style
17919         information when drawing the object.
17921         * objects/custom/shape_info.[ch]: store all shape style info in the
17922         GraphicStyle structure.  This makes adding support for extra CSS
17923         attributes easier -- we don't have to keep adding extra arguments to
17924         a lot of functions.
17926 1999-10-05  James Henstridge  <james@daa.com.au>
17928         * lib/intl.c (unalias_lang): merged in changes from the i18n code
17929         swiped from gnome-libs.
17931 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
17933         * objects/standard/image.c (get_directory):
17934         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
17936 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17938         * lib/poly_conn.c (polyconn_destroy):
17939         Fix bug. Access of freed memory.
17940         Rememeber, you can't free the handles of an object
17941         before calling object_destroy(), as it unconnects the handles
17942         therefore referencing them.
17944 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17946         * app/undo.c:
17947         undo_clear() didn't set stack->depth to zero.
17948         This made other undo functions crash after this had been called
17949         on a "full" stack.
17950         
17951         * dia.xpm:
17952         Slightly modified by Chris Love <clove@exactis.com>
17954 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17956         * objects/UML/class.h: 
17957         * objects/UML/class_dialog.c:
17958         Retrun NULL ObjectChange on class property change.
17959         This means no crashes, but "UML - Class" doesn't support undo yet.
17960         
17961 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17962         
17963         * lib/text.c:
17964         Indentation fix.
17966         * objects/UML/classicon.c:
17967         * objects/UML/dependency.c:
17968         * objects/UML/generalization.c:
17969         * objects/UML/implements.c:
17970         * objects/UML/large_package.c:
17971         * objects/UML/lifeline.c:
17972         * objects/UML/message.c:
17973         * objects/UML/object.c:
17974         * objects/UML/realizes.c:
17975         * objects/UML/state.c:
17976         * objects/UML/usecase.c:
17977         Update to new undo (w. get/set_state).
17978         Add object menu to add/delete segments.
17980 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
17982         * app/menus.c:
17983         Add equal distance alignment.
17985         * app/object_ops.c:
17986         Add equal distance alignment.
17987         Fix bug in adjacent alignment.
17989 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
17991         * objects/UML/constraint.c: 
17992         Update to new undo (w. get/set_state).
17994 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
17996         * app/paginate_psprint.c:
17997         Save (parts, more todo) of the info in the print dialog to the
17998         next time it's opened.
17999         Patch from Yo Ric Dude <ricdude@toad.net>
18001 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
18003         * configure.in:
18004         Updated version string to 0.41cvs.
18006         * objects/UML/assocition.c:
18007         Update to new undo (w. get/set_state).
18008         Add object menu to add/delete segments.
18010         * app/app_procs.c:
18011         Added function debug_break() and called it after all
18012         objects and sheets are loaded. Place a breakpoint here if you
18013         want to debug objects. All symbols should be loaded.
18015 1999-09-12  James Henstridge  <james@daa.com.au>
18017         * app/menus.c (display_menu_items): added print menu item.
18018         (filemenu): always add print menu item -- even if gnome-print is
18019         not installed.
18021         * app/commands.h, app/commands.c (file_print_callback): the print
18022         menu item is now available for both gnome-print and non gnome-print
18023         setups.
18025         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
18026         print with the non gnome-print driver.
18028 1999-09-11  James Henstridge  <james@daa.com.au>
18030         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
18031         printer dialog code out of commands.c.
18033         * app/paginate_psprint.c: new file containing the pagination code for
18034         psprint.
18036         * app/render_eps.c: made a few modifications so as well as producing
18037         EPS files, this renderer can be set up to do postscript printing.
18038         This basically entailed adding an extra function to create a RenderEPS
18039         renderer which did not bother setting the viewport for the document.
18040         That was left for the pagination code.
18042 1999-09-10  James Henstridge  <james@daa.com.au>
18044         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
18045         gnome-print does not support elliptic arcs at the moment, approximate
18046         the ellipse with eight bezier curves.  This gives a pretty good
18047         match to a true ellipse.
18049 1999-09-09  James Henstridge  <james@daa.com.au>
18051         * app/commands.c (file_gnome_print_callback): added support for
18052         scaling the diagram.  Also fixed a few other bugs.
18054         * app/paginate_gnomeprint.c (print_page): added ability to scale
18055         document.  Fixed up test to see if the page has no objects on it.
18056         This should prevent some blank pages being printed.  Non square
18057         objects such as lines could still cause problems.
18059 1999-09-08  James Henstridge  <james@daa.com.au>
18061         * app/commands.c (file_gnome_print_callback): changed from using the
18062         standard printer selection dialog to one that also has a paper size
18063         selector as well.
18065         * commands.[ch]: added callbacks for the print menu item.  Currently
18066         it only does A4 output.  I will make it configurable soon.
18067         
18068         * app/menus.c: add a print diagram menu item if gnome-print support
18069         is enabled.
18070         
18071         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
18072         bit higher level than the gnome-print renderer.  It splits the
18073         diagram into page size chunks and then renders them.  For each
18074         page, it only renders the objects whose bounding box intersects
18075         the page, and it sets the clip mask so that the diagram does not
18076         overlap the margins.
18077         
18078         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
18079         that uses gnome-print as its back end.
18080         
18081         * configure.in: added a check for gnome-print.  It is disabled by
18082         default because the code is not really working correctly yet.
18084         * app/menus.c: the delete object menu item was missing from the
18085         GnomeUIInfo style menus.
18087 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18089         * configure.in
18090         Added japanese to ALL_LINGUAS.
18091         Fix for Linux on Alpha.
18093 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
18095         * app/create_object.c (create_object_button_press):
18096         Always initialize tool->obj. Otherwise we store a null
18097         in the undo Change.
18099         * lib/text.c:
18100         Set linestyle before drawing cursor.
18101         Fix undo of backwards delete.
18103 1999-09-05  James Henstridge  <james@daa.com.au>
18105         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
18107         * app/render_svg.c (draw_image): some fixes so that the appropriate
18108         style attributes are set.  Before it was setting line styles on
18109         fill_* functions.  Now it only does this for the draw_* variants.
18111         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
18112         variable so that custom shapes can be loaded.
18114         * shapes/: new directory for custom shapes.  The Circuit sheet has
18115         been moved here.
18117 1999-09-02  James Henstridge  <james@daa.com.au>
18119         * TODO: removed a few todo items that have been implemented.
18121         * app/interface.c (create_sheets): enabled the popup page menu to the
18122         notebook.  This can make it easier to select different sheets.
18124         * object/custom/Circuit/: added diode, zener diode, ground point and
18125         operational amplifier shapes.
18126         
18127         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
18128         if you want the output.
18130         * objects/custom/shape_info.c (parse_path): same here.
18132         * objects/custom/load_sheet.c (load_with_readdir): don't print so
18133         much debugging output.  To get the previous level of output, define
18134         DEBUG_CUSTOM.
18136         * objects/custom/shape_info.c (parse_svg_node): polygons were being
18137         recorded as polylines in the ShapeInfo structure.
18139         * objects/custom/README: some notes on writing new custom shapes.
18140         
18141 1999-09-01  James Henstridge  <james@daa.com.au>
18143         * objects/custom/Circuit/hinductor.*:
18144         * objects/custom/Circuit/vinductor.*: added inductor shapes that
18145         also test out the bezier curve and SVG path support.
18146         
18147         * objects/custom/custom_object.c (custom_draw): added support for
18148         drawing bezier paths and filled shapes.
18150         * objects/custom/shape_info.c (parse_path): new function to parse
18151         SVG path elements.  It does not do quadratic beziers or elliptic
18152         arcs though.  Only moves, lines and cubic beziers.
18153         (*): added support for paths.
18155 1999-08-31  James Henstridge  <james@daa.com.au>
18157         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
18159         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
18160         interface
18162         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
18163         interface
18165         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
18166         interface.
18168         * lib/render_store.[ch]: use newer bezier functions.
18170         * lib/render.h: changed the bezier drawing functions to use an array
18171         of BezPoint structures instead of normal Point structures to allow
18172         lineto's mixed in with the curveto's.
18173         
18174         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
18175         
18176         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
18177         xpm images for different shapes to Makefile.
18179         * objects/custom/custom_object.c (custom_object_new): set the icon
18180         for the sheet button if there is one.  Otherwise fall back on the
18181         default custom object icon.
18183         * objects/custom/shape_info.c (load_shape_info): read the sheet
18184         icon name from the shape file.
18186         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
18187         check the pixmap_file field for the name of a pixmap file to load
18188         for the tool.
18190         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
18191         at the end of the structure, and it isn't used if the pixmap field
18192         is non NULL, so it should not break binary compatibility.
18194         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
18195         added support for the use of an index.sheet file so you can specify
18196         the ordering of the shapes in the sheet, and also internationalise
18197         the sheet name and actually be able to give a description.  The old
18198         readdir based sheet loading code acts as a fallback if an index.sheet
18199         file can not be found.
18201         * objects/custom/custom_util.[ch]: new file containing useful routines
18202         needed by the custom object code.  Currently only contains a simple
18203         routine for resolving relative paths.
18205         * objects/custom/custom_object.c (custom_draw): fixed problem with
18206         drawing rectangles if the shape has been flipped.
18208 1999-08-30  James Henstridge  <james@daa.com.au>
18210         * objects/custom/custom_object.c (custom_get_object_menu): allow
18211         flipping of custom shapes.  This uses the miggle click object
18212         menu.
18214         * objects/custom/Circuit/npn.shape: fix aspect ratio.
18216         * objects/custom/custom_object.c (custom_update_data): honour the
18217         aspect ratio constraints.
18219         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
18220         tag parsing, so you can specify a free, fixed or a range for aspect
18221         ratios for the shape.
18223 1999-08-29  James Henstridge  <james@daa.com.au>
18225         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
18226         up shape namespace tag.
18228         * objects/custom/shape_info.c (load_shape_info): check xml:lang
18229         attribute on <description> elements to support i18n for custom
18230         shape descriptions.
18231         Also changed the shape namespace for custom shapes to something
18232         a little more sensible.
18234         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
18236         * lib/intl.c: new file containing some functions for i18n stuff.
18238         * app/layer_dialog.c (create_button_box): fixed a warning.
18240         * objects/custom/custom_object.c: use current line style.  Save dash
18241         length.
18243         * objects/flowchart/diamond.c: use current line style.  Save dash
18244         length.
18246         * objects/flowchart/parallelogram.c: use current line style.  Save
18247         dash length.
18249         * objects/flowchart/ellipse.c: use current line style.  Save dash
18250         length.
18252         * objects/flowchart/box.c: use current line style.  Save dash length.
18254         * objects/standard/ellipse.c: make ellipse use current line style.
18256         * objects/standard/box.c: use the line style set in the toolbox for
18257         new boxes, and remember the dash length.
18259         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
18260         rulers.
18262 1999-08-24  James Henstridge  <james@daa.com.au>
18264         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
18265         to try to stop ellipse to get infinite width/height when we resize,
18266         while trying to keep the text inside the ellipse.
18268         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
18269         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
18270         resizing behaviour, so that you can't push objects round the screen
18271         with the resize handles.
18273         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
18274         get the OK buttons in the dialogs to take default clicks.
18276         * objects/custom/custom_object.c: added code so that resizing the
18277         shape does not end up pushing it round the screen.
18279 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
18281         * app/display.[ch]:
18282         Generate rectangle with the union of the damaged regions.
18283         This is used to optimize the grid paint and the object rendering.
18284         display_render_pixmap passes this info to grid_draw() and data_render().
18286         * app/grid.[ch]:
18287         grid_draw doesn't draw grid lines outside of damaged rectangle.
18288         Sets dashlength when drawing non-solid grid.
18289         
18290         * lib/diagramdata.[ch]:
18291         data_render() and layer_render() takes an optional damaged rectangle
18292         argument. No objects not intersecting this are drawn.
18294         * app/diagram.c:
18295         Fix warning.
18296         Call data_render with NULL update rectangle.
18297         
18298 1999-08-23  James Henstridge  <james@daa.com.au>
18300         * objects/custom/custom_object.c (custom_update_data): if the aspect
18301         ratio is fixed, make sure the shape is not distorted.
18303         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
18304         a <fixaspectratio/> tag is given in the shape file.
18306         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
18307         added support for stroke-width, stroke and fill CSS attributes
18308         specified in style attributes of the SVG elements.  The line width
18309         is relative to the user specified line width.  The stroke and fill
18310         attributes can only be used to swap the foreground/background
18311         colours.
18313         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
18314         sensitivity on the dash length selector when this function is called.
18316         * objects/standard/arc.c: same.  Also handle dash length.
18317         * objects/standard/zigzagline.c: same.
18318         * objects/standard/polyline.c: same.  Also handle dash length.
18319         * objects/standard/line.c: use default arrow/line styles.
18321         * app/interface.c: added callbacks to set the default attributes.
18323         * lib/attributes.c: added implementations of these functions.
18325         * lib/attributes.h: added extra prototypes for the new line properties
18326         area in the toolbox.
18328         * app/interface.c (create_lineprops_area): added line properties
18329         area to bottom of toolbox.
18331         * app/lineprops_area.h: a header exporting a few routines of the
18332         line properties area widgets.
18334         * app/lineprops_area.c: new file containing a selector for arrows
18335         and line styles to go in the main toolbox.
18337 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
18339         * HACKING:
18340         Update Gtk+ 1.0.5 comment to 1.2.0.
18342         * INSTALL:
18343         Demand libtool 1.3
18345         * acconfig.h:
18346         Add HAVE_LIBPOPT
18348         * configure.in:
18349         Make sure we don't propagate -ldl and -lpopt to all LIBS
18350         by adding new var APP_LIBS that only app/dia links with.
18351                 
18352         * app/Makefile.am:
18353         Update run_dia.sh to load custom and flowchart objects.
18355         * objects/ER/Makefile.am:
18356         * objects/FS/Makefile.am:
18357         * objects/UML/Makefile.am:
18358         * objects/network/Makefile.am:
18359         * objects/standard/Makefile.am:
18360         * objects/sybase/Makefile.am:
18361         Don't build versioned libs.     
18362         
18363 1999-08-22  James Henstridge  <james@daa.com.au>
18365         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
18366         list.
18368         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
18369         should actually work a bit now.
18371         * objects/custom/Circuit/*: a test sheet for the custom shape code.
18372         It is a small collection of circuit elements.
18374         * objects/custom/shape_info.c: fixed up loading of polylines and
18375         polygons.  Before it was removing negative signs :(
18377         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
18378         placeholder was here before.  I still need to work out how to set
18379         icons for individual custom shapes.
18380         
18381         * objects/custom/custom.c: added code to load the shapes into sheets
18382         properly.  The shape files should be arranged into directories, and
18383         each directory represents a different sheet in the toolbox.  This
18384         will make it very easy to distribute a collection of dia shapes as
18385         a tarball.  I still need to work out internationalisation, and maybe
18386         also shape ordering in the sheet.
18388         * objects/custom/custom_object.c: fixed up dialogs for these objects.
18389         (custom_create): fix for objects without text areas.
18391         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
18392         and saving of custom object works correctly now.
18394 1999-08-21  James Henstridge  <james@daa.com.au>
18396         * objects/flowchart/ellipse.c: 
18397         * objects/flowchart/diamond.c: 
18398         * objects/flowchart/parallelogram.c: 
18399         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
18400         copying or loading these object types.  Not all the connection
18401         points would be initialised correctly.
18403         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
18404         similar here.
18406         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
18407         build a versioned library.  It will only ever be dlopen'd, so this
18408         is not a problem.
18410         * objects/custom/custom_object.c (custom_distance_from): allow
18411         selecting the object by clicking on the text.  This fixes problems
18412         where the text box is outside the graphic.
18414         * objects/custom/shape_info.c (load_shape_info): fixed up reading
18415         of connections points.  It should be possible to add connections
18416         to custom objects now.
18418         * objects/custom/custom_object.c (custom_update_data): fixed resizing
18419         due to changes to text.
18421         * configure.in: added extra makefiles.
18422         
18423         * objects/custom/shape_info.[ch]:
18424         * objects/custom/custom_object.c:
18425         * objects/custom/custom.c: the starts of custom shape support in dia.
18426         This is not built by default at the moment, since it is not quite
18427         complete.  When it is, it will let you create more shapes for dia
18428         without writing a line of C.  Its implementation includes buzzwords
18429         such as XML and SVG, so it must be good :)
18431 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
18433         * app/app_procs.c (app_exit): Use button labels "Quit" and
18434         "Cancel" instead of "Yes" and "No".
18435         Set default action to "Cancel" instead of "Quit".
18437 1999-08-19  James Henstridge  <james@daa.com.au>
18439         * objects/flowchart/flowchart.c: added ellipse object.
18440         
18441         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
18443 1999-08-18  James Henstridge  <james@daa.com.au>d
18445         * app/color_area.c (color_area_edit): small fix to prevent dia from
18446         segfaulting when you try to change the default foreground/background.
18448 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
18450         * app/diagram.[ch] (diagram_redraw_all):
18451         Added function that redraws all diagrams.
18453         * app/preferences.c (prefs_apply):
18454         Call diagram_redraw_all when prefs are changed.
18456         * app/render_svg.c:
18457         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
18458         older libxml's, and the old version works good enought here.
18459         
18460 1999-08-17  James Henstridge  <james@daa.com.au>
18462         * lib/widgets.c: changed handlers that were connected to the GtkButton
18463         "pressed" signal to connect to the "clicked" signal.  This removes the
18464         problem where dialogs are inactive until you click a mouse button
18465         after using a colour selector.
18467         * configure.in: added extra makefiles to AC_OUTPUT list.
18468         
18469         * objects/Makefile.am (SUBDIRS): added flowchart module
18471         * objects/flowchart/*: a collection of shapes for use in flowcharts.
18473         * app/color_area.c (color_area_events): similar here.
18475         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
18476         event is recieved with event->width == 0, which causes a warning if we
18477         try to create a pixmap of that width.
18479         * app/preferences.c, app/preferences.h, app/grid.c: added code to
18480         allow you to configure the colour of the grid, and also lets you
18481         set the grid to use dotted lines instead of solid ones.
18482         
18483         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
18484         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
18485         
18486         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
18487         export filter.  It is not quite complete, but for most shapes it
18488         works as expected.  Fonts still need a bit of work.
18490 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
18492         * configure.in: Added "en_GB" to ALL_LINGUAS.
18494 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
18496         * menus.c
18497         Added Undo and Redo to GNOME menus.
18498         
18499         * objects/ER/attribute.c:
18500         * objects/ER/entity.c:
18501         * objects/ER/participation.c:
18502         * objects/ER/relationship.c:
18503         Added get/set_state functions.
18505         * objects/ER/participation.c:
18506         Added add/delete segment.
18508         * po/sv.po
18509         Updated Swedish translation.
18511 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
18513         * app/preferences.[hc]:
18514         Added undo_depth pref.
18515         
18516         * app/undo.[ch]:
18517         Never grow stack larger than pref.undo_depth.
18518         undo_depth == 0 means unlimited.
18519         Converted printfs to conditionally compiled DEBUG_PRINTFs.
18520         
18521 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
18523         * app/diagram.c:
18524         * app/group.c:
18525         * lib/object.h:
18526         * lib/render_object.c:
18527         * objects/ER/attribute.c:
18528         * objects/ER/entity.c:
18529         * objects/ER/participation.c:
18530         * objects/ER/relationship.c:
18531         * objects/FS/flow-ortho.c:
18532         * objects/FS/flow-poly.c:
18533         * objects/FS/flow.c:
18534         * objects/FS/function.c:
18535         * objects/UML/actor.c:
18536         * objects/UML/association.c:
18537         * objects/UML/class.c:
18538         * objects/UML/classicon.c:
18539         * objects/UML/component.c:
18540         * objects/UML/constraint.c:
18541         * objects/UML/dependency.c:
18542         * objects/UML/generalization.c:
18543         * objects/UML/implements.c:
18544         * objects/UML/large_package.c:
18545         * objects/UML/lifeline.c:
18546         * objects/UML/message.c:
18547         * objects/UML/note.c:
18548         * objects/UML/object.c:
18549         * objects/UML/realizes.c:
18550         * objects/UML/small_package.c:
18551         * objects/UML/state.c:
18552         * objects/UML/usecase.c:
18553         * objects/network/bus.c:
18554         * objects/standard/arc.c:
18555         * objects/standard/box.c:
18556         * objects/standard/ellipse.c:
18557         * objects/standard/image.c:
18558         * objects/standard/line.c:
18559         * objects/standard/polyline.c:
18560         * objects/standard/textobj.c:
18561         * objects/standard/zigzagline.c:
18562         Removed all traces of is_empty(). It doesn't work in an
18563         Undo/Redo world.
18565 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
18567         * app/diagram.c:
18568         * app/group.[ch]:
18569         * app/undo.[ch]:
18570         Undoable grouping and ungrouping.
18572         * app/layer_dialog.c:
18573         * lib/diagramdata.[ch]:
18574         Undoable layer ops.
18576         * app/modify_tool.c:
18577         Undoable unconnect on handle move.
18579         * lib/orth_conn.[ch]:
18580         Working undoable add/remove segment.
18581         Removed endpoint_handles from OrthConn, renamed
18582         midpoint_handles to handles and put the endpoint
18583         handles there.
18585         * objects/standard/zigzagline.c:
18586         * objects/ER/participation.c:
18587         * objects/UML/association.c:
18588         * objects/UML/dependency.c:
18589         * objects/UML/generalization.c:
18590         * objects/UML/realizes.c:
18591         Update for the changes in OrthConn
18592         
18593 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
18595         * configure.in: Added "de" to ALL_LINGUAS.
18597 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
18599         * dia.1:
18600         Fixed typo.
18602         * app/display.c:
18603         * po/da.po:
18604         * po/fr.po:
18605         * po/hu.po:
18606         * po/no.po:
18607         * po/pl.po:
18608         * po/sv.po:
18609         Don't have the <Display> etc part of the menu strings
18610         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18612         * app/diagram.c:
18613         Don't have the <Display> etc part of the menu strings
18614         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18615         Don't remove is_empty() objects, that don't work with undo.
18617         * lib/objchange.[ch]:
18618         New files.
18619         Definition of ObjectChange. This is essentially an Change
18620         exported to the object libs. It encapsulates a change made
18621         to an objects internals. It can be applied, reverted and freed.
18622         There are also utility functions for doing ObjectChanges that
18623         only get/set the whole state of an object to store the change.
18624         This cannot be used when the object change deletes or adds a
18625         object which has references from other objects, eg. Handles which
18626         might be connected.
18628         * lib/Makefile.am:
18629         Added objchange.c and objchange.h.
18631         * lib/dia_image.c:
18632         Return NULL when loading fails.
18634         * lib/diamenu.h:
18635         Menu callbacks return an ObjectChange.
18637         * lib/dummy_dep.h:
18638         Reference objchange.o
18640         * lib/focus.h:
18641         Key events return ObjectChange if they modify the object.
18643         
18644         * lib/object.h:
18645         Added object_add_handle_at() function.
18646         Apply properties returns an ObjectChange.
18647         Remove ObjectState and the get/set state functions, these
18648         don't always work. Use the new ObjectChange instead.
18649         
18650         * lib/object.c:
18651         Added object_add_handle_at() function implementation.
18652         
18653         * lib/orth_conn.[ch]:
18654         Use ObjectChange. Not finished yet.
18655         Removed get/set/free state functions
18657         * lib/poly_conn.[ch]:
18658         Use ObjectChange.
18659         Don't remove segments that are small.
18660         Removed get/set/free state functions
18662         * lib/text.[ch]:
18663         Use ObjectChange.
18664         Added functions to get/set all text attributes.
18666         * objects/standard/arc.c:
18667         * objects/standard/box.c:
18668         * objects/standard/ellipse.c:
18669         * objects/standard/image.c:
18670         * objects/standard/line.c:
18671         * objects/standard/polyline.c:
18672         * objects/standard/textobj.c:
18673         * objects/standard/zigzagline.c:
18674         Use ObjectChange.
18675         fixed bug in image_set_state.
18676         zigzagline.c not finished yet.
18678         * app/disp_callbacks.c:
18679         Use ObjectChange that are returned from menu callbacks and
18680         key_events for undo.
18682         * app/properties.c:
18683         Use ObjectChange that are returned from properties apply
18684         for undo.
18686         * app/undo.c:
18687         * app/undo.h:
18688         New undo type: ObjectChangeChange. This wraps a change to the
18689         internals of an object (and ObjectChange) in code that does
18690         app specific stuff (object_add_updates etc.)
18692 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
18694         * lib/orth_conn.[ch]:
18695         Added code for add/delete segment.
18697         * objects/standard/zigzagline.c:
18698         Use the new orth_conn code.
18699         
18701 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
18703         * objects/FS/Makefile.am
18704         Removed fs.h from sources.
18706         * Makefile.am
18707         * dia.1
18708         Added man page.
18710 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
18712         * app/disp_callbacks.c (ddisplay_canvas_events):
18713         Fix for bug. Every other arrow-key press got lost.
18714         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
18716         * INSTALL:
18717         change automake.sh to autogen.sh
18718         
18719 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
18721         * app/diagram.c:
18722         Don't remove 'empty' objects.
18723         This violent destruction of objects won't work
18724         with the new undo framework.
18726         * app/disp_callbacks.c:
18727         Save undo info for object menu calls and key_events.
18729         * app/properties.c:
18730         Save undo info on properties apply.
18732         * lib/dia_image.[ch]:
18733         Add refcounting for images.
18735         * app/render_eps.c:
18736         * app/render_gdk.c:
18737         * lib/render.h:
18738         DiaImage * -> DiaImage
18740         * app/undo.[ch]:
18741         Add undo functions for object state changes.
18743         * lib/focus.h:
18744         * lib/text.c:
18745         change of semntics for focus->key_event.
18746         Now returns TRUE if the object recieving the event
18747         was changed.
18749         * lib/object.h:
18750         Comment changes.
18752         * lib/orth_conn.[ch]:
18753         Don't automatically create and delete segments when
18754         handles are moved. This is incompatible with undo.
18755         Added state get, set and free functions.
18757         * lib/orth_conn.[ch]:
18758         Added state get, set and free functions.
18760         * objects/UML/object.c:
18761         * objects/UML/uml.c:
18762         Fixed typo "UML - Objet" -> "UML - Object".
18763         Saved old for backwards compatibility.
18765         * objects/standard/arc.c:
18766         * objects/standard/box.c:
18767         * objects/standard/ellipse.c:
18768         * objects/standard/image.c:
18769         * objects/standard/line.c:
18770         * objects/standard/polyline.c:
18771         * objects/standard/textobj.c:
18772         * objects/standard/zigzagline.c:
18773         Added get/set state functions.
18774         Textobj has a redo crash-bug.
18775         Zigzagline needs object menus to add segments.
18776         
18778 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
18780         * app/render_eps.c (set_dashlength):
18781         Don't generate eps files with zero dash-length.
18783 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
18785         * app/commands.c:
18786         * app/create_object.c:
18787         * app/undo.[ch]:
18788         Finished undo for create and paste.
18789         
18790         * lib/object.h:
18791         Started properties undo.
18793 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
18795         * TODO:
18796         Added resizeable groups.
18798         * app/app_procs.c:
18799         Removed unused variable.
18801         * app/commands.c:
18802         * app/undo.[ch]:
18803         Undo/redo for cut/delete done.
18805         * app/create_object.c:
18806         * app/modify_tool.c:
18807         * lib/diagramdata.[ch]:
18808         * app/diagram.[ch]:
18809         renamed diagram_add_selected -> diagram_select
18810         renamed diagram_remove_selected -> diagram_unselect
18811         
18812         * app/properties.[ch]:
18813         Added properties_hide_if_shown() function.
18815 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
18817         * app/undo.[ch]:
18818         * app/Makefile.am:
18819         Undo functions.
18820         
18821         * app/commands.[ch]
18822         * app/modify_tool.[ch]
18823         * app/object_ops.[ch]
18824         * app/connectionpoint_ops.c
18825         * app/menus.c
18826         Use undo functions.
18827         WARNING: Not finished. Will break.
18828         Finished: move object, move handle.
18830         * app/diagram.[ch]
18831         Added diagram_selected_break_external() function.
18832         It removes all connections between selected objects
18833         and non-selected.
18834         Add undo stack to Diagram.
18835         
18836         * lib/diagramdata.[ch]
18837         Added layer_remove_objects() function
18838         
18839 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
18841         * objects/FS/Makefile.am
18842         * objects/sybase/Makefile.am
18843         Now uses GNOME_CFLAGS.
18845         * app/app_procs.c
18846         Now compiles with GNOME even if popt.h isn't available.
18848 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
18850         * configure.in
18851         * objects/Makefile.am
18852         * objects/sybase/*
18853         First version of sybase objects from
18854         Brian Bruns <camber@umcc.ais.org>
18856 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18858         * configure.in
18859         Added fr to ALL_LINGUAS
18861 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
18863         * configure.in
18864         * app/app_procs.c
18865         Popt-code is activated if popt is available.
18867 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
18869         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
18870         
18871         * lib/orth_conn.[ch]:
18872         Added orthconn_get_middle_handle()
18874         * lib/text.[ch]:
18875         Added text_set_cursor_at_end()
18876         
18877         * objects/FS/*
18878         Added first version of functions structure diagrams.
18879         
18880 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
18882         * app/modify_tool.c:
18883         Include math.h to remove warning.
18885         * app/commands.c (dialogs_properties_callback):
18886         Bring up correct properties dialog when selected
18887         from menu.
18888         From Dan Cohn <dan@internap.com>
18890 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
18892         Patch from Lars R. Clausen 
18893         
18894         * app/modify_tool.c:
18895         Changed abs to fabs.
18897 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
18899         * INSTALL: 
18900         * configure.in:
18901         Require Gtk+ 1.2.0
18903 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18905         Patches from Dan Cohn <dan@internap.com>
18906         
18907         * app/commands.[ch]: 
18908         * app/display.[ch]: 
18909         * app/menus.c:
18910         * app/preferences.[ch]:
18911         Implements ability to turn on/off connection points in
18912         current drawing and in global prefs.
18914 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18916         * lib/widgets.c (dia_line_style_selector_init): 
18917         Fixed warnings.
18918         
18919         * lib/diagramdata.c (layer_update_extents):
18920         Fixed uninitialized variable error.
18922 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
18924         * lib/dia_image.c:
18925         Made some changes to the gdk_imlib visual+colormap setup.
18927 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18929         * objects/UML/usecase.c: 
18930        * objects/UML/lifeline.c
18931         Fine tunning.
18933         * objects/UML/object.c: 
18934         * objects/UML/message.c: 
18935         Changed font from Courier to Helvetica.
18937         * lib/widgets.c: 
18938         * lib/widgets.h:
18939         Added dash lenth to the LineStyle widget.
18940         
18941         * objects/standard/ellipse.c :
18942         * objects/standard/zigzagline.c: 
18943         * objects/standard/line.c: 
18944         Added dash lenght property.
18946 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18948         * app/render_eps.c:
18949         First shot at latin1 encoded eps files.
18950         Works, but the eps files get a bit large.
18951         
18952 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18954         * objects/UML/class.[ch]: 
18955         * objects/UML/uml.[ch]:
18956         Reverted the line wrap changes.
18957         Some day this might return, but it has to be selectable and
18958         default to off for loaded objects, otherwise it breaks file
18959         format compatibility.
18960         There was also some complains about how it looked, so a making it
18961         selectable is good for this too.
18963 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
18965         * objects/UML/class.[ch]:
18966         Some indentation cleanup.
18967         Added wrap_lines variable to class.
18968         I'll fix the line break stuff tomorrow.
18970 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18972         * lib/dummy_dep.h:
18973         Added ref to poly_conn.o.
18975         * objects/standard/polyline.c (polyline_draw): 
18976         * objects/standard/zigzagline.c (zigzagline_draw): 
18977         * objects/standard/arc.c (arc_draw): 
18978         * objects/standard/line.c (line_draw):
18979         Draw lines before arrows. This makes hollow arrows not
18980         show the line.
18982 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18984         Changes from Kim Peasley <kpeasley@ior.com> 
18985                 
18986         * objects/UML/class.c:
18987         Break lines with long operations so classes won't be
18988         so wide.
18990         * objects/UML/uml.[ch]:
18991         Helperfunctions for the above.
18992         
18993         * objects/UML/objects.c:
18994         Fix bug that duplicated the text in the attributes
18995         textwidget each time the object was selected.
18996         
18997 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
18999         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
19000         
19001         * app/modify_tool.c:
19002         * app/modify_tool.h:
19003         Control-drag is restricted to vertical/horizontal movement
19004         
19005         * lib/object.h:
19006         ModifierKeys argument added to object_move_handle
19008         * app/connectionpoint_ops.c:
19009         * app/create_object.c:
19010         * app/object_ops.c:
19011         * objects/ER/attribute.c:
19012         * objects/ER/entity.c:
19013         * objects/ER/participation.c:
19014         * objects/ER/relationship.c:
19015         * objects/UML/actor.c:
19016         * objects/UML/association.c:
19017         * objects/UML/class.c:
19018         * objects/UML/classicon.c:
19019         * objects/UML/component.c:
19020         * objects/UML/constraint.c:
19021         * objects/UML/dependency.c:
19022         * objects/UML/generalization.c:
19023         * objects/UML/implements.c:
19024         * objects/UML/large_package.c:
19025         * objects/UML/lifeline.c:
19026         * objects/UML/message.c:
19027         * objects/UML/note.c:
19028         * objects/UML/object.c:
19029         * objects/UML/realizes.c:
19030         * objects/UML/small_package.c:
19031         * objects/UML/state.c:
19032         * objects/UML/usecase.c:
19033         * objects/network/bus.c:
19034         * objects/standard/arc.c:
19035         * objects/standard/box.c:
19036         * objects/standard/ellipse.c:
19037         * objects/standard/image.c:
19038         * objects/standard/line.c:
19039         * objects/standard/polyline.c:
19040         * objects/standard/textobj.c:
19041         * objects/standard/zigzagline.c:
19042         Changed calls to move_handle to pass the new argument.
19043         
19044         * lib/widgets.c:
19045         * lib/widgets.h:
19046         Default line width, color etc #define'd
19047         
19048         * po/da.po:
19049         Updates of danish menus
19051 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19053         * dia.xpm
19054         * dia_gnome_icon.png
19055         * dia_gnome_menu_icon.png
19056         * dia_logo.png
19057         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
19059         * app/commands.c
19060         About dialog shows dia_logo.png. Removed the GNOME about dialog.
19062         * Makefile.am
19063         Distribute the icons and install logo in pkgdatadir.
19064         
19065         * app/Makefile.am
19066         Added DATADIR-define.
19067         
19068 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19069         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
19071         * dia.spec:
19072         Updated version number, made setup quiet, can build from cvs,
19073         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
19075         * lib/Makefile.am
19076         * objects/ER/Makefile.am
19077         * objects/UML/Makefile.am
19078         * objects/network/Makefile.am
19079         * objects/standard/Makefile.am
19080         now builds better with gnome
19082         * objects/UML/class_dialog.c
19083         Fixed typo -> po files must be updated too!!
19084         
19085 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19087         * lib/dummy_dep.h:
19088         Added reference so that widgets.o gets linked to the app.
19090 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19092         * objects/UML/classicon.c: 
19093         Added object mode.
19095         * objects/UML/actor.c: 
19096         Changed position of 'snap-to-grid' so connection points are
19097         in the grid.
19099 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19101         * objects/UML/classicon.c:
19102         Changed position of 'snap-to-grid'.
19103         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19104         
19105 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19107         * objects/network/antenna.c
19108         * objects/network/flash.c
19109         * objects/network/hub.c
19110         * objects/network/modem.c
19111         * objects/network/modularswitch.c
19112         * objects/network/rj45plug.c
19113         * objects/network/scead-plug.c
19114         * objects/network/network.c
19115         * objects/network/Makefile.am
19116         * objects/network/pixmaps/antenna.xpm
19117         * objects/network/pixmaps/flash.xpm
19118         * objects/network/pixmaps/hub.xpm
19119         * objects/network/pixmaps/modem.xpm
19120         * objects/network/pixmaps/modularswitch.xpm
19121         * objects/network/pixmaps/rj45plug.xpm
19122         * objects/network/pixmaps/sceadplug.xpm
19123         * objects/network/pixmaps/Makefile.am
19124         Lots of new network objects from
19125         Roland Steinbach <roland@support-system.com>.
19127 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19129         * objects/UML/classicon.c: 
19130         Fixed connection positions, saved type as int (it has 3 states),
19131         and other small fixes.
19132         
19133 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
19135         * app/preferences.c:
19136         * app/load_save.c:
19137         Added preference compress_save. It lets dia save uncompressed
19138         xml files.
19140         * objects/UML/class.c:
19141         Fixed bug with size calculation on methods that had class scope.
19142         
19143 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19145         * objects/UML/usecase.c: 
19146         Added collaboration mode
19147         Fixed connection points with text > ellipse bug and other 
19148         small things
19150         * objects/UML/state.c:
19151         Fixed bug of bad position of text after being either end
19152         or begin, moved and returned to text
19154 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19156         * app/preferences.c: Add prototype declaration for prefs_apply.
19158 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
19160         * app/preferences.c:
19161         Added 'ok' button.
19162         Apply don't hide window.
19164         * app/properties.c:
19165         Add 'ok' button.
19167         * objects/UML/object.c:
19168         * objdcts/UML/state.c:
19169         Some data was not copied on copy.
19171         This patch is from
19172         Ben Hochstedler <benh@eeyore.moneng.mei.com>
19174 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
19176         * app/Makefile.am:
19177         Changed link order between X and libxml.
19178         Some people had problems with an old libz in their
19179         x11 directory.  
19181 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
19183         * po/no.po: updated translation.
19184         
19185 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
19187         * lib/message.c (message_error):
19188         Fixed small error.
19190         * app/commands.[ch]:
19191         * app/diagram.[ch]:
19192         Added begining of xfig importing
19194 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19196         * objects/UML/pixmaps/state.xpm: 
19197         * objects/UML/state.c: 
19198         New UML object state machine.
19200         * objects/UML/uml.c:
19201         * objects/UML/Makefile.am:
19202         * objects/UML/pixmaps/Makefile.am:
19203         Added the state object.
19204         
19205 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
19207         * objects/UML/usecase.c: 
19208         Added dialog to allow move text outside the ellipse.
19210 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19212         * Released Dia 0.41
19213         Tag called DIA_0_41
19215         * NEWS:
19216         Updates for 0.41.
19217         
19218 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19220         * configure.in:
19221         Updated version number to 0.41
19223         * po/*.po:
19224         Update po-files
19226 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19228         * app/app_procs.c
19229         Changed errormessage for --export-to-ps. Removed call to 
19230         g_log_set_always_fatal().
19232         * app/diagram.c
19233         * app/disp_callbacks.c
19234         * app/load_save.c
19235         (i18n) Removed gettext from some debugmessages.
19237         * app/menus.c
19238         Small fix in GNOME-menus. Added warning that will help track
19239         problems with translations.
19241         * po/sv.po
19242         (i18n) Updated swedish translation.
19244 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
19246         * po/da.po:
19247         New updates
19249 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
19251         * po/da.po:
19252         * po/no.po:
19253         Some fixes.
19254         
19255 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
19257         * po/da.po:
19258         (i18n) Updated the danish translation.
19259         From Lars R. Clausen.
19261 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
19263         * app/menus.c
19264         (i18n) The popup menu is translated now.
19266         * po/sv.po
19267         (i18n) Updated swedish translation.
19269 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19271         * Released Dia 0.40
19272         Tag called DIA_0_40
19274         * NEWS:
19275         Updated for new release
19276         
19277 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19279         * objects/network/bus.c:
19280         Added initialization of properties dialog to NULL.
19282         * app/commands.c (edit_cut_callback):
19283         Update menu sensitivity when cut object.
19285         * app/modify_tool.c (click_select_object):
19286         * app/modify_tool.c (modify_button_release): 
19287         Call diagram_update_menu_sensitivity() when
19288         selecting objects to update stuff that depends
19289         on selected/not selected.
19291 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
19293         * Makefile.am:
19294         Change order of subdir so that libintl.a builds.
19295         Now passed make distcheck.
19297 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19299         * lib/font.c (init_x11_font):
19300         Stupid bug fixed.
19302 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19304         * objects/UML/pixmaps/classicon.xpm: 
19305         * objects/UML/classicon.c:
19306         * objects/UML/uml.c:
19307         Added the class stereotype icon objects.
19309         * app/commands.c:
19310         Changed default ps extension from .ps to .eps.
19311         
19312 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19314         * lib/Makefile.am:
19315         Added diamenu.h and intl.h
19317         * lib/font.c:
19318         Stupid typo fix.
19319         
19320         * objects/UML/pixmaps/Makefile.am:
19321         Added message.xpm
19323         * objects/standard/pixmaps/Makefile.am:
19324         Added image.xpm
19326 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19328         * lib/font.c:
19329         Use a scalable font before fixed when real font not found.
19331         * app/commands.c:
19332         Removed warning.
19334         * objects/standard/image.c:
19335         Better handling of loading/saving of images.
19337         * INSTALL:
19338         Added some text about cvs, fonts and rewrote some parts.
19340         * TODO:
19341         Updated with new stuff.
19342         
19343         * configure.in:
19344         Bump up version number to 0.40.
19345         
19346 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19348         * app/display.c:
19349         Moved diagram_add_ddisplay() call into new_display().
19350         Fixed new_display to not use uninitialized variables
19351         causing loaded files to show up as black (or garbage).
19352         
19353         * app/commands.c:
19354         * app/app_procs.c:
19355         Removed unneeded calls to diagram_add_ddisplay().
19356         
19357 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
19359         * objects/UML/lifeline.c:
19360         Fixed bug in copy.
19361         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
19363         * objects/UML/message.c:
19364         Fixed bug loading messages with null-text.
19365         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
19367 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
19369         * po/sv.po
19370         Updated swedish translation.
19372         * app/menus.c
19373         (GNOME) Removed help-browser from help menu. Fixed typo.
19375         * app/interface.c
19376         (GNOME) Accelerators in diagrams should work now. 
19378 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
19380         * app/app_procs.c
19381         * app/commands.c
19382         * app/defaults.c
19383         * app/disp_callbacks.c
19384         * app/display.c
19385         * app/interface.c
19386         * app/menus.c
19387         * app/preferences.c
19388         * app/render_eps.c
19389         * lib/diagramdata.c
19390         * lib/font.c
19391         * lib/message.c
19392         * lib/widgets.c
19393         * objects/ER/*.c
19394         * objects/UML/*.c
19395         * objects/network/*.c
19396         * objects/standard/*.c
19397         * po/update_pofiles_in.sh
19398         * po/POFILES.in
19399         More i18n. All strings (expect rare debug messages) can be
19400         translated now. Moved intl.h from app to lib. Updated
19401         update_pofiles_in.sh to check all .c-files.
19403 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
19405         * app/disp_callbacks.c (ddisplay_canvas_events):
19406         Don't drop keys while num-lock, scroll-lock etc is on.
19408 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
19410         * app/render_eps.c (draw_image):
19411         Fixed exporting of images.
19412         Still not perfect, but not outright buggy.
19413         
19414 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
19416         * configure.in:
19417         * po/hu.po:
19418         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
19420         * app/Makefile.am:
19421         Added $* to the dia call in run_dia.sh
19423 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19424         
19425         * lib/color.[ch]:
19426         Added color_equals() call.
19428         * objects/standard/arc.c:
19429         * objects/standard/line.c:
19430         Don't save unneccesary data.
19431         
19432         * objects/standard/box.c:
19433         * objects/standard/ellipse.c:
19434         * objects/standard/image.c:
19435         * objects/standard/polyline.c:
19436         * objects/standard/zigzagline.c:
19437         Share properties dialog.
19438         Don't save unneccesary data.
19439         
19440 1999-03-22  Seth Alves  <alves@hungry.com>
19442         * app/menus.c:
19443         * app/diagram.c:
19444         * app/display.c:
19445         small changes so that gnome menus aren't broken
19446         
19447 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
19449         * po/da.po:
19450         Added danish translation from lrclause@cs.uiuc.edu.
19452         * po/POFILES.in:
19453         Updated file.
19455         * po/update_pofiles_in.sh:
19456         Added script that updates POFILES.in.
19457         This should probably be run automatically from somewhere.
19459 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
19461         * app/diagram.[ch]:
19462         Added function diagram_update_menu_sensitivity() which
19463         sets the sensitivity of some menu items. This function
19464         is called at each diagram state change (from diagram_modified()).
19465         This is needed  because otherwise the keyboard accelerators
19466         don't work correctly.
19468         * app/display.[ch]:
19469         Changed display_set_menu_sensitivity() to display_update_menu_state().
19470         Moved lots of code to diagram_update_menu_sensitivity() in
19471         diagram.c. Optimized to only look up menu-items from path:s once.
19472         
19473         * app/disp_callbacks.c:
19474         * app/interface.c:
19475         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
19476         Need to set GDK_FOCUS_CHANGE_MASK.
19477         
19478         * app/create_object.c:
19479         Call diagram_modified when an object has been created and
19480         selected so that the menu sensitivity is updated. 
19482         * app/menus.[ch]:
19483         removed menus_set_sensitive() and menus_set_state(). Exported
19484         renamed function menus_get_item_from_path().
19486 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
19488         * app/disp_callbacks.c:
19489         Show (empty) object menus on object that has none.
19490         Show title on object menus.
19492         * app/display.c:
19493         Set zoom factor correctly when opening new displays.
19494         Better setting of scrollbars.
19496         * app/grid.c:
19497         * app/menus.h:
19498         Some reformating cleanup.
19500         * lib/diamenu.h:
19501         Added title to object menus.
19503         * objects/*/*.c:
19504         Added object menu method (NULL-valued) to all objects.
19506         * objects/standard/polyline.c:
19507         Added title to object menu.
19509 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
19511         * app/preferences.[ch]:
19512         New files. Implements the preferences dialog and
19513         loading/saving of ~/.diarc.
19515         * app/Makefile.am:
19516         Added preferences.[ch].
19518         * app/app_procs.c:
19519         Load preferences on startup.
19521         * app/commands.[ch]:
19522         Added file_preferences_callback to show the preferences dialog.
19524         * app/create_object.c:
19525         Update extents when creating object.
19526         Use the reset_tools_after_create preferences setting.
19528         * app/display.c:
19529         Use preferences when creating new display.
19531         * app/menus.c:
19532         Add preferences to menu.
19534         * app/defaults.c:
19535         * app/layer_dialog.c:
19536         * app/properties.c:
19537         Don't allow shrinking of dialog.
19538         Add i18n of some strings.
19540 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
19541         * po/no.po:
19542         Norwegian translation added.
19543         
19544 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
19546         * objects/standard/line.c: 
19547         * objects/standard/arc.c: 
19548         * objects/standard/polyline.c: 
19549         * objects/standard/zigzagline.c:
19550         Loading of arrow data fixed.
19552 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
19554         * app/commands.c:
19555         Update extents when saving and exporting to postscript.
19556         Fixes a bug with postscript bounding-box being wrong.
19558         * app/defaults.c:
19559         Changed border width from 5 to 2.
19561         * app/group.c:
19562         Move grouped objects by the move-point of the first object.
19563         Fixes bug that made all objects in the group be off-grid
19564         when moving the group, even though all objects was on-grid.
19566         * app/layer_dialog.c:
19567         Update extents when changing layer.
19569 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19571        * objects/UML/uml.c: 
19572        * objects/UML/component.c: 
19573        * objects/UML/pixmaps/component.xpm: 
19574        Added the UML component object
19575         
19576 1999-03-04  Seth Alves  <alves@hungry.com>
19578         * objects/UML/generalization.c (generalization_create): avoid
19579         math on uninitialized genlz->text_width (NaN causes sigfpe)
19580         
19581         * objects/UML/realizes.c (realizes_create): same
19583         * objects/UML/dependency.c (dependency_create): same
19585 1999-03-01  Seth Alves  <alves@hungry.com>
19587         * app/display.c (ddisplay_active): don't fly a warning panel
19588         if ddisplay_active is called when no views are open.
19590         * app/commands.c (set_default_file_selection_directory): set
19591         file selector's default directory if there is already
19592         a document open.
19594 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19596         * INSTALL:
19597         New info about imlib requirements.
19599         * Configure.in:
19600         Added lib/pixmaps/Makefile to created makefiles.
19602         * app/app_procs.c:
19603         * app/commands.c:
19604         Change from obsoleted to newer gtk calls.
19605         
19606         * load_save.c:
19607         Pass filename of the diagram when loading and saving.
19608         This creates better oportunities to handle filename saving.
19610         * lib/object.h:
19611         Pass filenames to load and save methods.
19612         
19613         * lib/dia_image.[ch]:
19614         Added dia_image_get_broken() call that returns a image which
19615         is used for 'broken' images.
19616         
19617         * lib/pixmaps/.cvsignore:
19618         * lib/pixmaps/Makefile.am:
19619         * lib/pixmaps/broken.xpm:
19620         New files for the broken image bitmap.
19622         * lib/widgets.c:
19623         Fixed bug with double destroyed filedialog.
19625         * objects/*/*.c:
19626         Updated load and save prototypes to use the new filename argument.
19628         * objects/image.c:
19629         Render broken image instead of line when got no image.
19630         Use the new filename in load and save to save (if possible)
19631         relative pathnames and to better try to find loaded images.
19633 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19635         * TODO:
19636         Some updates to the todo file.
19637         
19638         * app/menus.c:
19639         * app/display.c:
19640         Place over/place over => sent to back/bring to front.
19641         Added some keyboard shortcuts to menus.
19642         
19643 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19645         * lib/dia_xml.c:
19646         Changed string saving/loading to a new method. This should
19647         be much better att handling &,<,> and whitespaces.
19648         Loading strings of the old kind is still supported for backwards
19649         compatibility.
19651         * samples/ER-demo.dia:
19652         * samples/UML-demo.dia:
19653         Updated to use the new strings.
19654         
19655         * app/load_save.c:
19656         statusbar modified update fix.
19658 1999-02-27  Seth Alves  <alves@hungry.com>
19660         * app/app_procs.c (app_init): added a --export-to-ps option
19661         which will cause dia to load a dia file and save it as ps
19662         and then exit.  this is a little bogus, because it still
19663         pops up a window.  this option only shows up if --enable-gnome
19664         is used
19666         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
19667         menu when built with --enable-gnome
19669         * app/interface.c (create_display_shell): build status bar
19670         even if --enable-gnome is used
19672         * app/menus.c: menu fixes for --enable-gnome
19674         * app/commands.c (file_open_dialog_ok_callback): fixed up
19675         menus when --enable-gnome is used
19676         (file_export_to_eps_callback): set a default file name
19677         when dialog is created
19679 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
19681         * objects/UML/association.c (association_create):
19682         Fixed usage of not initialized variable.
19683         Pointed out by Seth Alves <alves@hungry.com>.
19685 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
19687         * configure.in:
19688         Fixed detection of gnome-xml.
19689         From Valtteri Vuorikoski <vuori@k.notcom.org>.
19690         
19691         * app/app_procs.c:
19692         Fixed error detection on dlsym calls. 
19693         From Valtteri Vuorikoski <vuori@k.notcom.org>.
19695 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
19697         * objects/UML/message.c (fill_in_dialog):
19698         Fixed warnings.
19700 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19702         * objects/standard/zigzagline.c:
19703         * objects/standard/polyline.c:
19704         * objects/standard/line.c:
19705         * objects/standard/arc.c:
19706         * lib/widgets.h:
19707         * lib/arrows.h:
19708         * lib/widgets.c:
19709         Support for sizeable arrows. 
19711         * objects/standard/box.c:
19712         * objects/standard/ellipse.c:
19713         * objects/standard/image.c:
19714         Changed creation handle to lower-right.
19715         Transparent box/ellipse.
19716         
19717         * objects/standard/image.c:
19718         Better layout of properties boxes.
19720 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19722         * objects/UML/message.c (fill_in_dialog): 
19723         Fixed dialog fill in. Common dialog for all messages.
19725         * objects/UML/object.c: 
19726         Added multiple instance. Dialog related bugs fixed.
19727         Common dialog for all instances. Completed copy and destroy.
19729         * objects/UML/lifeline.c (lifeline_load): 
19730         Conn initialization bug fixed and few bad loading prevention flags.
19731         Common dialog for all lifeline objects.
19732         
19733 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19735         * lib/dia_image.[ch]:
19736         More work on the DiaImage abstraction.
19737         
19738         * app/app_procs.c:
19739         * app/render_eps.c:
19740         * app/render_gdk.c:
19741         * objects/standard/image.c:
19742         Use the new DiaImage calls.
19744 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19746         * app/menus.c:
19747         * app/display.c:
19748         Reversed the meaning of align horizontal/vertical.
19750 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19752         * app/load_save.c (diagram_load):
19753         Statusbar update fix.
19755 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19757         * app/interface.c (create_display_shell):
19758         Fixed status bar size.
19759         
19760 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19762         * lib/dia_image.[ch]:
19763         Added extern declaration for dia_image_release.
19764         Removed dia_image_draw, as it's not neseccary.
19766 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19767         
19768         * app/object_ops.c: 
19769         * app/menus.c: 
19770         Added equal distance alignment both vertical and horizontal.
19771         
19772         * objects/UML/object.c: 
19773         Added a couple of attributes to load/read that were missing.
19775         * objects/UML/lifeline.c: 
19776         Better handling of handles. Fixed another bug I forgot to add
19777         to my last patch.
19778         
19779 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
19781         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19782         
19783         * lib/dia_image.[ch]:
19784         * lib/Makefile.am:
19785         New files. DiaImage wraps the GdkImlibImage.
19787         * lib/render.h:
19788         * app/render_eps.c:
19789         * app/render_gdk.c:
19790         * lib/render_store.[ch]:
19791         * objects/standard/image.c:
19792         Use the new DiaImagetype.
19794         * lib/widgets.c:
19795         Removed unused variable to eliminate  warning.
19797 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
19799         * objects/standard/box.c:
19800         Added rounded corners on the box object.
19802         * lib/widgets.[ch]:
19803         Updated the DiaFileSelector widget.
19804         
19805 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19807         * objects/UML/object.c (objet_draw): 
19808         Completed underlining of all object name lines. 
19810         * objects/UML/message.c (fill_in_dialog): 
19811         Fixed a bug that filled incorrectly the message's dialog.
19813         * objects/UML/lifeline.c (lifeline_load): 
19814         Some cleanning and fixed a couple of bugs that caused
19815         crashes after reading diagrams with lifelines.
19817         * lib/text.c: 
19818         Added flags to prevent crash with void strings
19820 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
19821         * app/display.[ch]:
19822         Added statusbar to the display widget. Currently shows the zoom
19823         factor and modified flag of the viewed diagram. The statusbar is
19824         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
19825         This caused the following additions:
19826         
19827         * app/diagram.[ch]:
19828         Added function diagram_set_modified. Calls
19829         ddisplay_update_statusbar for all displays showing the modified diagram.
19830         Changed diagram_modified to call diagram_set_modified.
19831         
19832         * app/interface.c:
19833         Added the creation of the statusbar.
19834         
19835         * app/load_save.c:
19836         diagram_save now calls diagram_set_modified instead of setting
19837         dia->modified. Needed to force call to display_update_statusbar
19838         
19839         * app/commands.c:
19840         Changed the way view_show_all works. Now calls ddisplay_zoom
19841         instead of directly setting the zoom_factor, so the zoom factor is
19842         correctly shown in the statusbar.
19844         * app/magnify.c:
19845         Fixed rubberband zoom to use ddisplay_zoom().
19846         
19847 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
19849         * app/app_procs.c
19850         Rudimentary GNOME session management.
19851         
19852         * app/disp_callbacks.c
19853         * app/interface.c
19854         * app/menus.c
19855         * app/menus.h
19856         GNOME menus. Problems: 
19857         Callbacks doesn't get user_data.
19858         Weird warnings when creating popup menus.
19859         menus_set_sensitive(), menus_set_state() doesn't work.
19861 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19863         * configure.in:
19864         Add AM_PATH_GDK_IMLIB() call.
19866         * app/Makefile.am:
19867         Add gdk_imlib to linking flags.
19869         * app/app_procs.c:
19870         Init gdk_imlib.
19871         Print library-loading error messages on stdout too.
19873         * app/interface.c:
19874         Add standard image to toolbox.
19875         
19876         * app/render_eps.c: 
19877         Set a more reasonable dot length.  Fixed
19878         missing initialization of dot length.
19879         Added draw_image methods.
19881         * app/render_gdk.c (new_gdk_renderer): 
19882         Dot a bit wider.  Looks good in normal mode now.
19884         * objects/standard/image.c:
19885         * objects/standard/pixmaps/image.xpm:
19886         New files. Standard object for images.
19887         
19888         * app/render_eps.c (set_linestyle):
19889         * app/render_gdk.c (set_linestyle):
19890         * lib/widgets.c (dia_line_style_selector_init): 
19891         * lib/render.h: 
19892         New line style DOTTED.
19894         * lib/render.h:
19895         * lib/render_store.c:
19896         Change DrawImage call to use gdk_imlib.
19898         * lib/widgets.[ch]:
19899         Added widgets for selecting files.
19900         Added dotted to the linestyle selector.
19902 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19904         * objects/network/printer.c:
19905         * objects/network/network.c:
19906         * objects/network/pixmaps/printer.xpm:
19907         * objects/network/.cvsignore:
19908         * objects/network/Makefile.am:
19909         * objects/network/pixmaps/Makefile.am:
19910         New printer object in network.
19911         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
19913         * TODO:
19914         Added known XML bug.
19915         
19916 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19918         * app/load_save.c:
19919         * lib/dia_xml.c:
19920         Reverted back from #include <gnome-xml/tree.h> to
19921         #include <tree.h> as this is fixed by the xml-config program.
19922         The former way broke for some people.
19923         Reported by blizzard@redhat.com.
19925         * objects/UML/lifeline.c:
19926         * objects/UML/message.c:
19927         * objects/UML/object.c:
19928         Removed some warnings.
19929         
19930 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19932         * objects/UML/lifeline.c: 
19933         Fixed connection points over the life line when the focus of
19934         control is not drawn.
19936         * objects/UML/message.c: 
19937         Now a recursive message can be freely resized using the handles.
19939 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19941         * objects/UML/lifeline.c:
19942         Added connection points.
19943         Added properties dialog with the option to draw/hide focus of control
19944         box and destruction mark.
19946         * objects/UML/object.c: 
19947         Added properties dialog and stereotype, explicit state and attributes. 
19948         It's also possible to mark the object as active.
19950         * objects/UML/pixmaps/object.xpm: 
19951         Cosmetic change.
19953         * objects/UML/message.c:
19954         Added "recursive" message type (was not necessary to use OrthConn).
19956 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
19958         * objects/standard/arc.c:
19959         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
19961 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
19963         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
19964         
19965         * app/load_save.c:
19966         * lib/dia_xml.c:
19967         Update xml includes to gnome-xml/*.h.
19969         * objects/standard/arc.c:
19970         Only one property dialog per type.
19971         Fix arrows directions.
19973         * objects/standard/box.c:
19974         * objects/standard/ellipse.c:
19975         * objects/standard/textobj.c
19976         Added default properties dialog.
19977         
19979 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19981         * objects/UML/Makefile.am: 
19982         * objects/UML/uml.c:
19983         * objects/UML/lifeline.c: 
19984         * objects/UML/object.c: 
19985         * objects/UML/message.c:
19986         * objects/UML/pixmaps/lifeline.xpm: 
19987         * objects/UML/pixmaps/object.xpm: 
19988         * objects/UML/pixmaps/message.xpm:
19989         Added 3 new UML objects for dynamic modeling. To avoid internal 
19990         conflicts, the name "objet" is used for object "object".        
19992         * lib/arrows.[ch]: 
19993         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
19994         UML messages.
19995         
19996 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
19998         * app/display.[ch]:
19999         * app/modify_tool.c:
20000         Added autoscrolling while doing rubber-band select.
20001         This patch from Matthias Köster
20002         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
20003         
20005 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
20007         * app/defaults.[ch]:
20008         New files, deals with default properties dialog.
20010         * lib/diamenu.h:
20011         New file. Contains definitions for the new object menu.
20013         * lib/poly_conn.[ch]:
20014         New file. Base class for poly-line like objects.
20016         * objects/standard/polyline.c:
20017         * objects/standard/pixmaps/polyline.xpm:
20018         New files. Polyline object.
20020         * app/app_procs.c:
20021         Fixed bug with infinite loop when registering sheets.
20022         
20023         * app/commands.c:
20024         Removed unneccesary stuff.
20026         * app/disp_callbacks.c:
20027         Support for object menus.
20029         * app/interface.c:
20030         Added polyline to toolbox.
20031         Added call to tool_options_dialog_show() when double clicking on
20032         tool.
20034         * app/tool.[ch]:
20035         New function tool_options_dialog_show() for tool properties.
20037         * lib/arrows.[ch]:
20038         Added ARROW_NONE.
20040         * lib/object.h:
20041         Added ObjectType methods for handling object default dialogs.
20042         Added Object method for handling object_menu.
20043         Added unused methods to ObjectTypeOps for future binary
20044         compatibility.
20046         * lib/widgets.[ch]:
20047         Added DiaArrowTypeSelector widget.
20049         * objects/standard/arc.c:
20050         * objects/standard/zigzagline.c:
20051         Added support for default properties.
20053         * objects/standard/line.c:
20054         Added support for default properties.
20055         Just use one properties dialog for all line objects. NOTE: This
20056         seems to have a bug. We're working on it.
20058         * standard/standard.c:
20059         Add the polyline object.
20061 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
20063         * app/modify_tool.c:
20064         Commented out buggy transitive select function. It wasn't really
20065         meant to go into cvs.
20066         
20068 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20070         * autogen.sh:
20071         * acconfig.h:
20072         * configure.in:
20073         * Makefile.am:
20074         * app/Makefile.am:
20075         * po/POTFILES.in:
20076         * app/intl.h
20077         i18n-support.
20079         * po/sv.po:
20080         Swedish translation. Not completed.
20081         
20082         * configure.in:
20083         * acconfig.h:
20084         Added possibility to enable GNOME specific code with configure.
20086         * configure.in:
20087         Added possibility to set debug level with configure.
20089         * commands.[hc]:
20090         Added about dialog.
20092         * app_procs.c
20093         * commands.c
20094         * interface.c
20095         * menus.c
20096         Added some GNOME specific code. Not ready for use.
20098 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
20100         * INSTALL:
20101         Added text about needing gtk 1.1.13 and gnome-xml.
20102         
20103         * NEWS:
20104         Described changes since last version (0.20).
20106         Released version 0.30, tagged DIA_0_30.
20108 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
20110         * app/magnify.c (magnify_button_release):
20111         Fixed a problem when zooming in on a very small box would
20112         not release the grabbed pointer-focus.
20114 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20116         * app/load_save.c (diagram_load):
20117         Be somewhat more robust when loading files that
20118         are not diagrams.
20119         
20120 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20122         * app/app_procs.c:
20123         * objects/ER/er.c:
20124         * objects/UML/uml.c:
20125         * objects/network/network.c:
20126         * objects/standard/standard.c:
20127         Added versioning of object libraries.
20129         * app/create_object.c:
20130         Don't change tool when an object is created.
20131         
20132         * objects/network/network.c:
20134         * TODO:
20135         Update
20137 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
20139         * configure.in:
20140         Updated gtk requirement to Gtk+ 1.1.13.
20142         * app/display.c:
20143         Always add one screenful of scrolling space on
20144         each side of a diagram window.
20146 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
20148         * autogen.sh:
20149         Tell automake to auto-install missing files.
20151         * app/menus.c:
20152         Renamed deprecated Gtk+ function.
20154 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20156         * Makefile.am:
20157         * configure.in:
20158         * samples/Makefile.am:
20159         * samples/ER-demo.dia:
20160         * samples/UML-demo.dia:
20161         Added samples directory.
20162         Added samples for ER and UML.
20163         
20164         * app/commands.c:
20165         * app/disp_callbacks.c:
20166         * app/menus.c:
20167         Zoom is done by sqrt(2) instead of 2.
20168         Lots of more zoom options in the menu.
20170         * objects/ER/relationship.c:
20171         Relationships have 8 connectionpoints instead of 4.
20173         * objects/UML/class.c:
20174         UML class name font a bit smaller.
20175         Fixed stupid bug in the copy operation.
20176         
20177         * app/display.c:
20178         Displays are opened at 500x400 instead of 256x256.
20180         * app/load_save.c:
20181         Fixup of internal error message.
20183         * app/color_area.c:
20184         * app/diagram.c:
20185         * app/modify_tool.c:
20186         * lib/object.c:
20187         Removed debug printf's.
20188         
20189         * TODO (BUGS):
20190         Added new known bug.
20192 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20194         * app/interface.c:
20195         * app/menus.c:
20196         Fixed so accelerator groups work in all windows.
20197         Updated to new gtk function names.
20199         * TODO (BUGS):
20200         Removed fixed bug.
20202         * app/display.c:
20203         Updated to new gtk function names.
20204         Set sensitivity of the align menu items.        
20206         * objects/ER/pixmaps/Makefile.am:
20207         * objects/UML/pixmaps/Makefile.am:
20208         * objects/network/pixmaps/Makefile.am:
20209         Fix so that make dist works.
20211         * app/app_procs.c:
20212         * app/color_area.c:
20213         * app/commands.c:
20214         * app/diagram.c:
20215         * app/grid.c:
20216         * app/layer_dialog.c:
20217         * app/load_save.c:
20218         * app/object_ops.c:
20219         * app/properties.c:
20220         * lib/diagramdata.[ch]: 
20221         * lib/message.c:
20222         * lib/objects/ER/attribute.c:
20223         * lib/objects/ER/entity.c:
20224         * lib/objects/ER/participation.c:
20225         * lib/objects/ER/relationship.c:
20226         * lib/objects/ER/.c:
20227         * objects/UML/actor.c:
20228         * objects/UML/association.c:
20229         * objects/UML/class_dialog.c:
20230         * objects/UML/dependency.c:
20231         * objects/UML/generalization.c:
20232         * objects/UML/large_package.c:
20233         * objects/UML/realizes.c:
20234         * objects/UML/.c:
20235         * objects/UML/.c:
20236         Updated to new gtk function names.
20237         Removed warnings.
20239 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
20241         * TODO:
20242         Update TODO.
20244         * app/app_procs.c:
20245         Fixed loading of diagrams specified as arguments.
20247         * objects/ER/attribute.c:
20248         * objects/ER/entity.c:
20249         * objects/ER/er.c:
20250         * objects/ER/participation.c:
20251         * objects/ER/relationship.c:
20252         Updated the ER objects.
20253         
20255 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
20257         * configure.in:
20258         * app/Makefile.am:
20259         * objects/Makefile.am:
20260         * objects/ER/attribute.c:
20261         * objects/ER/entity.c:
20262         * objects/ER/er.c:
20263         * objects/ER/participation.c:
20264         * objects/ER/relationship.c:
20265         * objects/ER/pixmaps/Makefile.am:
20266         * objects/ER/pixmaps/attribute.xpm:
20267         * objects/ER/pixmaps/entity.xpm:
20268         * objects/ER/pixmaps/participation.xpm:
20269         * objects/ER/pixmaps/relationship.xpm:
20270         * objects/ER/pixmaps/weakentity.xpm:
20271         First commit of entity relationship objects.
20272         These were done by hallon@lysator.liu.se.
20273         There are still stuff to do on these.
20274         
20275 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
20277         * TODO:
20278         Updates.
20280         * app/diagram.[ch]:
20281         Change diagram_remove_all_selected to take new argument
20282         delete_empty. Empty objects are deleted only if it is TRUE.
20283         Removed call to close_eps_renderer. This is now done in end_render
20284         in the eps renderer.
20286         * app/create_object.c:
20287         * app/layer_dialog.c:
20288         Update calls to diagram_remove_all_selected.
20290         * app/commands.c:
20291         Update calls to diagram_remove_all_selected.
20292         Some code reformating.
20293         Changed order of adding updates i align_h and align_v.
20295         * app/modify_tool.c:
20296         Update calls to diagram_remove_all_selected.
20297         Added pointer grab when doing rubber-band selection, this fixes
20298         the bug when draging the box over to another window.
20300         * app/connectionpoint_ops.[ch]:
20301         diagram_update_connections_object changed to take an argument
20302         update_nonmoved. This lets connections that has not moved, but
20303         the stuff they're connected to has been moved work.
20304         Update calls to the new diagram_update_connections_object.
20306         * app/properties.c:
20307         Update calls to the new diagram_update_connections_object.
20308         Update extents when properties are applied.
20309         
20310         * app/disp_callbacks.c:
20311         Added support for zooming with the '+' and '-' keys.
20313         * app/menus.c:
20314         Removed old keyboard shortcuts for zoom.
20316         * lib/render.h:
20317         Added calls begin_render and end_render to renderer.
20318         These can be used for setup and cleanup.
20320         * lib/diagramdata.c:
20321         Added calls to begin_render and end_render in data_render.
20323         * app/render_gdk.c:
20324         Added begin_render and end_render.
20326         * app/render_eps.[ch]:
20327         Added begin_render and end_render.
20328         Moved close_eps_renderer code to end_render.
20329         Various fixes to the generated eps code. This fixes importing
20330         generated eps into LYX.
20331         
20332 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
20334         * TODO:
20335         Update of todo.
20336         
20337         * app/menus.c:
20338         Menus for alignment updated.
20340         * app/object_ops.[ch]:
20341         Functions for object alignment updated.
20343         * app/commands.[ch]:
20344         Object alignment callbacks updated.
20345         New diagrams are called Untitled-<nr>.
20347         * app/layer_dialog.c:
20348         Active layer selected when showing layers from new
20349         diagram.
20351         * app/load_save.c:
20352         Compress xml files when saving.
20353         Use xml namespace 'dia'.
20355         * lib/object.h:
20356         Minor comment update.
20358         * objects/UML/class_dialog.c:
20359         Cleanup of the gkt_list_item moving code.
20360         Fixed bug with update of operation when moving parameters.
20362 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
20364         * app/layer_dialog.[ch]:
20365         Fixed the rest of the layers dialog.
20367         * app/dialog.c:
20368         Added call to redo layer dialogs diagram list when changing
20369         diagram name.
20371         * lib/diagramdata.[ch]:
20372         Added data_raise_layer and data_lower_layer functions for
20373         raising/lowering layers. Added data_add_layer_at for adding a
20374         layer at a specified index.
20376 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
20378         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
20379                 
20380         * app/app_procs.c:
20381         Added support for reading diagrams from the command line.
20383 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
20385         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
20386                 
20387         * app/commands.[ch]:
20388         Added objects_align_callback().
20390         * app/menus.c:
20391         Added align objects to menu.
20393         * app/object_ops.[ch]:
20394         Add object_list_align().
20395         
20396 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
20397         * app/layer_dialog.[ch]:
20398         New files. Handles the layers dialog. Needs a bugfix for glib to
20399         work. Sent patch to gtk-list.
20400         
20401         * app/pixmaps/new.xpm:
20402         * app/pixmaps/eye.xbm:
20403         * app/pixmaps/lower.xpm:
20404         * app/pixmaps/raise.xpm:
20405         * app/pixmaps/delete.xpm:
20406         New files. Images for the layer dialog buttons.
20407         
20408         * lib/diagramdata.h
20409         * lib/diagramdata.c
20410         New files for the DiagramData and Layer structures and functions.
20411         
20412         * app/app_procs.c:
20413         Added call to create_layer_dialog() on startup.
20414         
20415         * app/commands.[ch]:
20416         New callbacks for showing the properties and layout dialog.
20417         Changes for the new DiagramData structure.
20419         * app/connectionpoint_ops.c:
20420         * app/cut_n_paste.c:
20421         * app/diagram.[ch]:
20422         * app/display.[ch]:
20423         * app/group.c:
20424         * app/modify_tool.c:
20425         * app/object_ops.[ch]:
20426         * app/render_eps.c:
20427         * lib/object.[ch]:
20428         Changes for the new DiagramData structure.
20430         * app/interface.c:
20431         * app/properties.c:
20432         Set correct wmclasses.
20434         * app/load_save.c:
20435         Fix load and save of layers.
20437         * diagram.dtd:
20438         Update DTD for layers.
20439         
20440         * app/menus.c:
20441         New menus for dialogs.
20443         
20444         * TODO:
20445         Some updates.
20446         
20447 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
20449         * TODO:
20450         Removed the gtk 1.1.5 stuff.
20452         * configure.in:
20453         Updated gtk check to version 1.1.5.
20454         Updated version from 0.20 to 0.30
20456         * app/commands.[ch]:
20457         Updated some callbacks to be of type GtkItemFactoryCallback1.
20458         Not all are done yet, but it works anyway.
20460         * app/display.h:
20461         Removed Gtk 1.0.0 GtkAcceleratorTable references.
20462         
20463         * app/interface.c:
20464         * app/menus.[ch]:
20465         Update to Gtk 1.1.x functions.
20466         Use ItemFactory instead of MenuFactory.
20467         
20468         * app/render_gdk.c:
20469         Removed Gtk 1.0.0 references.
20471         * objects/UML/class_dialog.c:
20472         Scrolled window updates for Gtk 1.1.5.
20473         
20474         * lib/dia_xml.c:
20475         Removed ugly fix for gnome-xml bug. Make sure you get the
20476         newest version of gnome-xml from CVS.
20477         
20478 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
20480         * TODO:
20481         Removed the xml load/save line.
20483         * lib/files.[ch]:
20484         Removed files.
20485         
20486         * lib/Makefile.am:
20487         Removed building of files.c
20489         * app/load_save.c:
20490         * lib/connection.c:
20491         * lib/element.c:
20492         * lib/object.c:
20493         * lib/orth_conn.c:
20494         * lib/render_object.c:
20495         * objects/UML/actor.c:
20496         * objects/UML/association.c:
20497         * objects/UML/class.c:
20498         * objects/UML/constraint.c:
20499         * objects/UML/dependency.c:
20500         * objects/UML/generalization.c:
20501         * objects/UML/implements.c:
20502         * objects/UML/large_package.c:
20503         * objects/UML/note.c:
20504         * objects/UML/realizes.c:
20505         * objects/UML/small_package.c:
20506         * objects/UML/uml.c:
20507         * objects/UML/usecase.c:
20508         * objects/network/bus.c:
20509         * objects/standard/arc.c:
20510         * objects/standard/box.c:
20511         * objects/standard/ellipse.c:
20512         * objects/standard/line.c:
20513         * objects/standard/textobj.c:
20514         * objects/standard/zigzagline.c:
20515         Removed all includes of files.h
20517         
20518 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
20520         * dialog.dtd:
20521         Made the val property of string be implied.
20522         This makes it possible to save strings that
20523         are NULL. Just leave out val.
20525         * objects/lib/dia_xml.c:
20526         Fixed string so that it is possible to save strings
20527         that are NULL. Also made an ugly workaround of a
20528         bug in gnome-xml which removes empty properties.
20529         
20530         * objects/lib/orth_conn.c:
20531         Fixed a bug in saving. Forgot to step through the
20532         directions.
20533         
20534         * objects/UML/association.c: 
20535         * objects/UML/class.c: 
20536         * objects/UML/constraint.c: 
20537         * objects/UML/dependency.c: 
20538         * objects/UML/generalization.c: 
20539         * objects/UML/implements.c: 
20540         * objects/UML/large_package.c: 
20541         * objects/UML/note.c: 
20542         * objects/UML/small_package.c:
20543         * objects/UML/realizes.c:
20544         * objects/UML/usecase.c: 
20545         * objects/UML/actor.c: 
20546         Fixed UML objects to save as xml.
20547         The last two were done by asierra@servidor.unam.mx (asierra-981204)
20548         
20549         * objects/UML/uml.[ch]:
20550         Updated *_write() and *_read() functions to use xml.
20552         * objects/network/bus.c: 
20553         * objects/network/computer.c: 
20554         * objects/network/disc.c: 
20555         * objects/network/monitor.c:
20556         Updated network diagrams to use xml.
20558 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
20560         * dialog.dtd:
20561         New file. DTD that describes the xml file format
20562         dia uses.
20564         * lib/dia_xml.[ch]:
20565         New files. Support for saving object to xml files.
20567         * configure.in:
20568         * app/Makefile.am:
20569         * lib/Makefile.am:
20570         Added check for and usage of gnome-xml library.
20572         * app/load_save.c:
20573         Major chages. Now saves/loads diagrams as xml.
20575         * lib/object.[ch]:
20576         * lib/element.[ch]:
20577         * lib/connection.[ch]:
20578         * lib/orth_conn.[ch]:
20579         * lib/render_object.[ch]:
20580         * lib/text.[ch]:
20581         Updated object support load/save functions for xml:
20583         * object/standard/arc.c:
20584         * object/standard/box.c:
20585         * object/standard/ellipse.c:
20586         * object/standard/line.c:
20587         * object/standard/textobj.c:
20588         * object/standard/zigzagline.c:
20589         Updated all standard objects to use xml.
20590         
20591         NOTE NOTE NOTE
20592         Only the standard objects are converted right now, don't
20593         save or load uml or network diagrams yet. Also, since this
20594         is new code it is deemed a bit unstable.
20595         
20596         * TODO
20597         Added a know bug.
20599 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
20601         * objects/UML/class.c:
20602         Changed classname font to Helvetica.
20603         Added more space above the classname
20605         * objects/UML/usecase.c:
20606         Correct placements of connectionpoints on ellipse.
20607         Better algorithm for deciding aspect ration on
20608         ellipse.
20610         These changes were made by Alejandro Aguilar Sierra
20611         <asierra@servidor.unam.mx>. (asierra-981201)
20613 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
20615         * objects/UML/actor.c:
20616         Changed the extents and alignment of the element
20617         and the text.
20619         * objects/UML/.cvsignore:
20620         Added usecase.lo and actor.lo.
20622 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
20624         * objects/UML/actor.c:
20625         * objects/UML/usecase.c:
20626         * objects/UML/pixmaps/actor.xpm:
20627         * objects/UML/pixmaps/case.xpm:
20628         New files. Implements usecase and actor UML objects.
20629         These objects are done by Alejandro Aguilar Sierra
20630         <asierra@servidor.unam.mx>.
20631         
20632         * objects/UML/Makefile.am:
20633         * objects/UML/pixmaps/Makefile.am:
20634         Added usecase and actor to makefile.
20635         
20636         * AUTHORS:
20637         Added Alejandro and Jerome to autors list.
20638         
20639 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
20641         * objects/UML/class.c (umlclass_load):
20642         Fixed typo. Reported by Jerome.Abela@solsoft.fr
20644 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
20646         * app/properties.c:
20647         Update connections when doing apply in the properties window.
20649         * objects/UML/uml.[ch]:
20650         * objects/UML/class.[ch]:
20651         * objects/UML/class_dialog.c:
20652         Added connection points on both sides of attributes and
20653         operations in UML classes.
20654         Based on idea from Jerome.Abela@solsoft.fr
20655         
20656 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
20658         * README:
20659         Some new documentation about handles and connectionpoints.
20660         
20661         * lib/object.[ch]:
20662         Added functions object_add_connectionpoint and
20663         object_remove_connectionpoint for handling a dynamic
20664         number of connectionpoints.
20666         * objects/UML/class.c:
20667         Only reserve space for stereotype when it is shown.
20669         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
20671 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
20673         * app/connectionpoint_ops.c:
20674         * app/commands.c:
20675         * app/disp_callbacks.c:
20676         * app/display.[ch]:
20677         * app/grid.c:
20678         * app/handle_ops.c:
20679         * app/magnify.c:
20680         * app/modify_tool.c:
20681         * app/render_gdk.[ch]:
20682         * lib/render.h:
20683         Huge cleanup of internal rendering system.
20684         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
20685         This gives a few new methods for Interactive Renderers for setting
20686         clipping regions and drawing pixel based lines and rects.
20687         Updated the rest of the code to use the new stuff.
20688         
20689         * app/render_eps.c:
20690         Fixed warning.
20692         * lib/widgets.c:
20693         * objects/standard/zigzagline.c
20694         Fixed unused variable warnings.
20696         * lib/font.c:
20697         Fixedbug with stringwidth where width==0.
20699         * TODO:
20700         Added known bug.
20702 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
20704         * lib/widgets.[ch]:
20705         Added suppot for setting the font of a
20706         DiaFontSelector widget.
20707         Also fixed some typos in the header.
20709         * lib/object.h: 
20710         Added a comment about the GetPRoperties method call.
20711         You have to make sure to update widget state when
20712         this method is called. (Not all objects do this yet,
20713         to be fixed.)
20715         * TODO:
20716         Some small updates
20718 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
20720         * lib/font.c
20721         Fixed problem with height of ascent and descent for fonts.
20722         It didn't use the whole height (==ascent+descent) when calculatine
20723         ascent_ratio and descent_ratio.
20725         * objects/standard/textobj.c:
20726         * objects/standard/box.c:
20727         * objects/standard/ellipse.c:
20728         * objects/standard/line.c:
20729         * objects/standard/arc.c:
20730         Updated and added property dialogs for these objects.
20731         Also added line width/color/style to those objects
20732         that didn't have it.
20733         This change breaks fileformat compatibility for these objects.
20734         
20735         * objects/standard/zigzagline.c:
20736         Changed zigzagline to be based on OrthConn, much nicer.
20737         Also added line style and color to properties.
20738         This change breaks fileformat compatibility for zigzagline.
20740         * lib/message.c:
20741         Fixed bug in message(). Forgot a pair of '&'.
20743 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
20745         * lib/widgets.[ch]:
20746         Added DiaColorSelector widget.
20747         This is a colored button that pops up a color selection
20748         dialog when pressed.
20750 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
20752         * lib/widgets.[ch]:
20753         * lib/Makefile.am:
20754         New files, added widgets for selecting fonts, alignment
20755         and line-style. Will be used later.
20757 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
20759         * app/Makefile.am:
20760         * lib/Makefile.am:
20761         * objects/UML/Makefile.am:
20762         * objects/network/Makefile.am:
20763         * objects/standard/Makefile.am:
20764         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
20765         in all Makefile.am.
20767 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
20769         * app/handle_ops.c (handle_draw):
20770         connected HANDLE_MINOR_CONTROL also becomes red.
20772 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
20774         * Makefile.am:
20775         removed -ldl from linking. This is added if needed by configure.
20777         * app/app_procs.c:
20778         Open dlls with RTLD_LAZY if it is defined.
20779         Some cleanups: char *error -> const char *error
20780         Added fprintf()'s to where we exited because of errors.
20782         * lib/files.c:
20783         Include <sys/types.h>
20785 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
20787         * acconfig.h:
20788         * configure.in:
20789         * app/app_procs.c:
20790         Detect dlopen better.
20791         Detect wether dlopen needs an underscore in the identifier.
20792         This code was mostly borrowed from guile.
20794         * lib/sheet.[ch]:
20795         * app/app_procs.c:
20796         * objects/standard/standard.c:
20797         * objects/network/network.c:
20798         * objects/UML/uml.c:
20799         * most objects:
20800         Changed the way sheets reference objects to use just the
20801         name. Changed module loading to a two stage model:
20802         First register_objects() is called for all modules.
20803         Then register_sheets() is called. This means that
20804         sheets can safely include objects from other modules.
20805         
20807 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20809         * objects/network/bus.c:
20810         * objects/network/network.c:
20811         * objects/network/Makefile.am:
20812         New file bus.c. Added new object: Ethernet bus.
20814         * objects/standard/box.c:
20815         Added call to gtk_spin_button_set_numeric for linewidth spinner
20816         in property dialog.
20818 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20820         * app/connectionpoint_ops.c:
20821         * app/create_object.c:
20822         * app/group.c:
20823         * app/handle_ops.c:
20824         * app/modify_tool.c:
20825         * lib/connection.c:
20826         * lib/element.c:
20827         * lib/handle.h:
20828         * lib/object.c:
20829         * lib/orth_conn.c:
20830         * loads of objects:
20831         Changed handle->connectable to handle->connect_type.
20832         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
20833         that their connections don't break when moving objects.
20835         * app/diagram.c:
20836         Always select the last handle in an object that has
20837         the closest distance.
20838         
20839         * lib/geometry.[ch]:
20840         Added rectangle_add_point function.
20841         
20843 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
20845         * app/properties.[ch]: New files. Handles the new properties
20846         dialog.
20848         * app/modify_tool.c: Changed to use new properties dialog.
20850         * app/object_ops.[ch]: Removed object_changed_callback, as it's
20851         not needed anymore. This is now handled differently in
20852         properties.c
20854         * lib/object.[ch]:
20855         Changed the properties ops for objects. Removed typedefs
20856         ChangedObjectTime and ObjectChangedFunc needed for the old way.
20857         Added object_return_null function.
20858         
20859         * app/group.c:
20860         * lib/render_object.c:
20861         * objects/*/*.c:
20862         Changed objects to use the new properties dialog.
20863         
20865 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
20867         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
20868         builddir.
20870         * autogen.sh: New file. Copied from gtk and added a call to
20871         libtoolize. Anyone knows why this isn't done in gtk?
20873         * Removed autogenerated files.
20875 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
20877         * Added call setlocale(LC_NUMERIC, "C") so that formating of
20878           floating-point numbers in postscript output will be correct.
20879         * Did some cleanup of generated postscript files.