12009-04-21  Steffen Macke <sdteffen@sdteffen.de>
2
3	* makefile.msc: Adjustments for libart.dll, deploye diaw.exe
4	* installer/win32/dia.nsi: Remove drs.dll for the time being, re-add
5	libart.dll, adjust for current libart 2.3.20 DLL from ftp.gnome.org
6
72009-04-17  Steffen Macke <sdteffen@sdteffen.de>
8
9	* app/commands.c: Updated copyright date
10
112009-04-15  Steffen Macke <sdteffen@sdteffen.de>
12
13	* makefile.msc: cairo, drs, locale build fixes
14	* dia.nsi: Various updates for 0.97-pre3
15
162009-04-13  Hans Breuer  <hans@breuer.org>
17
18	* NEWS config.h.win32 configure.in : updated for dia-0.97-pre3
19
20	* plug-ins/python/python.c : found and fixed the immediate crash
21	when loading the Python plug-in under win32 with Python version newer
22	than 2.3. Still did not get prebuilt pygtk running with it, so the
23	requirement of Python 2.3 (on win32) remains the same.
24
25	* data/integrated-ui.xml app/menus.c : removed Layers/Layers... from
26	the integrated UI menu and assigned <control>L also to ShowLayers
27	(the two menu entries are never available together, so no conflict)
28	Fixes bug #576879.
29
30	* app/preferences.[ch] :removed "Integrated UI" option here ...
31	(together with the annoying change-needs-restart message)
32	* app/app_procs.c : ... and made it a start-up option, aka. command
33	line switch. If the UI type some day can be switch at runtime the
34	prefernce setting may be added again.
35
362009-04-11  Hans Breuer  <hans@breuer.org>
37
38	* lib/propdialogs.c : derive initial scrolling area of properties
39	dialog from screen size, only use hardcoded values as fallback
40
41	* app/app_procs.c :  patch from Arunan Balasubramaniam, bug #573921 to
42	to reduce wakeups prefer g_timeout_add_seconds() over g_timeout_add()
43
44	* app/modify_tool.c(modify_button_press) : don't got to single handle
45	movement if there is more than one object selected, bug #525011
46	* app/handle_ops.c : consider the selection state in choosing the
47	handle color, to give some feedback on the handles behavior change
48
492009-04-06  Hans Breuer  <hans@breuer.org>
50
51	* app/display.c : something called ddisplay_flush() while we were
52	already in ddisplay_destroy() - moved removing the idle handler to
53	ddisplay_really_destroy(), the last possible moment - bug #578173
54
552009-04-05  Hans Breuer  <hans@breuer.org>
56
57	* objects/AADL/aadlbox.c : one const too much, build error with gcc
58
59	* plug-ins/python/wdeps.py : intended tinting on win32, too.
60	* plug-ins/python/dot2dia.py : don't let a single unknown color make
61	the whole import fail
62
63	* objects/AADL/aadlbox.c(aadlbox_destroy) : free ports after calling
64	element_destroy(), which needs valid handles, should fix bug #575224
65	Replaced some leaking, superfluous heap allocations with stack allocs.
66
67	* lib/diarenderer.c(get_text_width) : complain if the derived renderer
68	does not implment the method and does not maintian DiaRenderer::font.
69	* plug-ins/cairo/diacairo-renderer.c : actually maintain the font field
70	to make text cursor position calculation work, part of bug #576548
71
72	* app/display.c : make the tab use the short name again and adjust the
73	(integrated UI) application title HIC compliant, fixing bug #527288
74
75	* objects/network/basestation.c : don't move non-movable handles,
76	fixing bug #574637
77
78	* objects/UML/association.c : force an internal state update after
79	changing properties, fixes bug #576843
80
81	* lib/persistence.c : instead of trying to manage the open state of our
82	windows 'by hand' just use GTK_WIDGET_MAPPED(window), fixes bug #574388
83
842009-04-04  Hans Breuer  <hans@breuer.org>
85
86	* app/interface.c : don't translate g_warning
87	* lib/sheet.c : fix typo in translatebale string
88
892009-03-31  Hans Breuer  <hans@breuer.org>
90
91	* plug-ins/python/wdeps.py : tinting of nodes now working as intended
92	(also on windows)
93	* samples/Self/dia-win32-2.dot samples/Self/dia-win32-2.dia : sample
94	dependency graph with instructions
95
962009-03-30  Hans Breuer  <hans@breuer.org>
97
98	* plug-ins/python/wdeps.py : implement another coloring theme, fix
99	the previous tinting; allow to leave out C-Runtime on Linux, too
100	* plug-ins/python/dot2dia.py : the assumption of every node name being
101	in quotes broke with dia-linux.dot; now fixed and ...
102	* samples/Self/dia-linux-2.dia : ... updated the diagram also with new
103	colors and passing --remove-crt to wdeps.py
104
105
106	* app/find.and-replace.c : ensure visibility of the object found
107	* app/display.[ch](ddisp_present_object) : new function to move
108	an object into view with minimum scrolling
109
1102009-03-29  Hans Breuer  <hans@breuer.org>
111
112	* app/app_procs.c : slightly hacked version to avoid double request
113	of "Exit without save" for integrated UI case, bug #573635
114
115	* app/display.c : the interactive cairo renderer has highlighting
116	issues (bug #576548). For now default to the libart renderer for
117	the antialiased display renderer (only fall back to cairo if the
118	libart plug-in is not loaded)
119	* plug-ins/libart/dialibartrenderer : initialize
120	DiaRenderer::is_interactive to allow entering text edit mode
121
122	* app/display.h : increased the arbitrary zoom limits to make my
123	current stress test diagram fit
124
125	* plug-ins/python/wdeps.py : my dependency analysis script is finally
126	running on Linux and together with dot can produce pretty nice images
127	(last change was the introduction of tinting by layer)
128	* samples/Self/dia-linux-2.dia : dependency graph of Dia
129	* samples/Self/dia-linux-2.dot : dot file produced by wdeps.py and
130	preocessed by dot
131
1322009-03-28  Hans Breuer  <hans@breuer.org>
133
134	* plug-ins/cairo/diacairo-renderer.c : apparently I've found a
135	workaround for pango bug #341481. Or maybe bug #573261 always we mine.
136
137	* lib/prop_text.c : for 'multistring' connect to the 'change' signal
138	of the TextBuffer rather than to the unreliable 'insert-at-cursor' of
139	the TextView -> "Chronogram - line" works again, bug #576905
140	* lib/propinternals.h  lib/prop_attr.c lib/prop_geomtypes.c
141	  lib/prop_inttypes.c lib/prop_text.c lib/prop_widgets.c
142	  lib/propdialogs.c : make prophandler_connect() take a GObject* to
143	do the above without warnings
144
1452009-03-27  Hans Breuer  <hans@breuer.org>
146
147	* plug-ins/python/dot2dia.py plug-ins/python/Makefile.am : initial
148	version of dot (http://www.graphviz.org) import for Dia
149
1502009-03-26  Hans Breuer  <hans@breuer.org>
151
152	* plug-ins/python/pydia-property.c : check for a correct number of
153	bezier points before assigning them. So evem a broken PyDia script
154	can not crash the core (this way)
155
1562009-03-25  Hans Breuer  <hans@breuer.org>
157
158	* plug-ins/diapsrenderer.c : dont't throw away alignment information
159	an don't scale text arbitrary, we can't predict the Latin-1 font size
160	exactly enough. Fiyes bug #575186.
161	* lib/textline.[ch] : more const correct, avoids warning above
162
1632009-03-24  Hans Breuer  <hans@breuer.org>
164
165	* plug-ins/python/diastddia.py : almost finished, a bug left in Arc's
166	curve_distance calculation. Implemented the insane load/save property
167	name mapping - bug #576468, implmented draw_text and draw_arc. Some
168	comments on bezier related file format weakness.
169	Write some paper info; convert strings before writing to avoid
170	invalid XML (text and filename)
171
172	* plug-ins/python/otypes.py : 'meta' is part of every object type
173
174	* samples/Self/dia-standard-objects.dia : new file documenting the
175	structure of Dia's "Standard - *" objects, see also bug #576468
176
1772009-03-23  Hans Breuer  <hans@breuer.org>
178
179	* plug-ins/python/diastddia.py : a new renderer implementation which
180	outputs Dia's native format, but restricted to "Standard - *"-objects.
181	Initial version: buggy and incomplete (e.g. bug #576468).
182	* plug-ins/python/Makefile.am : added to EXTRA_DIST
183	* plug-ins/python/pydia-render.c : if the PyDia renderer does not
184	implement an optional method just fall back to the base classes
185	render implmentation. Also (try to) warn about missing, not optional
186	methods with PyErr_Warn(), but can't find these messages yet.
187
188	* plug-ins/python/diasvg.py : self.line_width was not initialized
189
190	* samples/UML-demo.dia : converted to be readable, not a single line
191	of uncpompresed XML.
192
1932009-03-22  Hans Breuer  <hans@breuer.org>
194
195	* plug-ins/UML/class_dialog.c : some more NULL pointer checks to avoid
196	crash bug #576247
197
1982009-03-15  Hans Breuer  <hans@breuer.org>
199
200	* doc/en/usage-objects-basic.xml : removed old workaround for DEL, we
201	have put quite some work to make it behave as expected. Still it would
202	be nice to have described the new text edit mode in more detail ...
203	* doc/en/usage-customization.xml doc/en/graphics/file-preferences-*.png
204	  doc/en/graphics/preferences-gridlines.png : updated to show the new
205	layout, also initial description of the Favorites pane.
206	Whitespace changes to have it more readable with tab width 8.
207	* doc/en/graphics/preferences-fig.png : unused -> deleted
208	* doc/en/Makefile.am : reflect above changes
209
210	* doc/en/usage-objects-basic.xml en/graphics/toolbox-basic.png :
211	reflect the recent addition of the twelves basic object - Outline
212	* en/usage-quickstart.xml : add more appeal(ees)
213
214	* plug-ins/cairo/diacairo-renderer.c : some unused test-code attempting
215	to work around bug #573261 but no luck.
216
217	* plug-ins/python/allprops.py : alpha-numeric sorting by type; after
218	by number of users
219	* plug-ins/python/aobjects.py : to make the resulting diagram more
220	interesting we set every sting property with it's name
221	* plug-ins/python/bbox.py : create annotated bounding boxes
222	* plug-ins/python/diagx.py : handling more tags/types like Ellipsis,
223	EnumValue and Function, some other are silently ignored
224	* plug-ins/python/doxrev.py : try to arrange before inserting the
225	classes into the diagram
226	* plug-ins/python/arrange.py : added for the above
227	* plug-ins/python/otypes.py : a better fix for running standalone or
228	from the toolbox menu
229	* plug-ins/python/pydiadoc.py : work better from toolbox and filter out
230	the SWIG noise when running from the other bindings, some more objects
231
232	* plug-ins/python/pydia-paperinfo.c : fixed typo in docu
233
234	* samples/Self/PyDiaObjects.dia : updated to 0.97 interface (e.g. PaperInfo
235	and fixed the same typo)
236
237	* objects/Database/compound.c : now there is no DiaObject any longer which
238	does not deliver at least OBJECT_COMMON_PROPERTIES
239
240	* bindings/test.py : make it work again (on win32)
241
2422009-03-13  Hans Breuer  <hans@breuer.org>
243
244	* plug-ins/cairo/diacairo.c : rather than using broken ellipse
245	approximation convert to translate/scale/arc dance, fixes bug #574868
246
2472009-03-09  Hans Breuer  <hans@breuer.org>
248
249	* plug-ins/python/codegen.py : PascalRenderer by Johann Glaser and
250	some adjustments to (Cxx/Py/Java)Renderer to almost get on par
251	(now really commited)
252
2532009-03-08  Hans Breuer  <hans@breuer.org>
254
255	* lib/filter.c(filter_guess_*_filter) : make the no-guess flag work
256	as intended, i.e. when there is just one filter per extension it's
257	no guess
258
259	* plug-ins/python/pydia-property.c : implement PyDia_set_Arrow() to
260	allow modification of line ends from python scripts, like:
261		o.properties["start_arrow"] = (17, .5, .5)
262
263	* app/filedlg.c : drop using GTK_WIN_POS_MOUSE on the file dialogs.
264	Nowadays that almost inevitable would lead to a partial off-screen
265	dialog, see e.g. bug #314084 and bug #512580
266
267	* lib/dia_xml_libxml.h lib/dia_xml.[ch] lib/prop_geomtypes.h
268	  plug-ins/shape/shape-export.c : removed some cruft from lixml1
269	days while investigating bug #570592
270	* config.h.win32 : insignificant changes slightly related bug #570592
271
272	* app/menus.c : don't pass diagram and filename to plug-ins called from
273	the toolbox-menu, otherwise the pydia help series could unintentinally
274	modify unrelated open diagrams
275
2762009-03-07  Hans Breuer  <hans@breuer.org>
277
278	* app/menus.c(create_or_ref_display_actions) :  only create the action
279	group once, not per display, so the right actions are sensitive for the
280	"Use menu bar", too. Fixes bug #574472
281
282	* app/layer_dialog.[ch] : implement "Add Layer" and "Rename Layer" also
283	without the indirection Layer dialog
284	* app/menus.c : activate both commands
285	* lib/diagramdata.[ch] lib/libdia.def : implement and export
286	data_layer_get_index() used for the above
287
288	* data/display-ui.xml data/integrated-ui.xml data/popup-ui.xml
289	  app/menus.c : move "Edit/Properties" to "File/Diagram Properties" as
290	suggested by bug #573259, also create a Layers submenu to hold formerly
291	"Edit/Layers", "Objects/Move (selection) to layer [...]"
292	* app/pixmaps/objects-layer-above.png app/pixmaps/layer-add.png
293	  app/pixmaps/objects-layer-below.png app/pixmaps/layers.png
294	  app/pixmaps/layer-rename.png : stock icons stolen from Inkscape for
295	the new Layers menu
296	* app/Makefile.am app/makefile.msc : generate inline icons
297	* app/commands.[ch] : new callbacks for layer add/rename (not enabled)
298
299	* app/preferences.c(prefs_set_value_in_widget) : don't choke on
300	val==NULL and have a matching default initialization for units,
301	both fixing bug #573625
302	(prefs_get_value_from_widget) : only call the props update function if
303	something has changed, get rid of spurious restart message, bug #574387
304
305	* lib/persistence.c : updating/serializing window positions had issues,
306	now hopefully fixed, bug #574388
307
308	* app/textedit_tool.c : ensure the action sensitivity is updated after
309	entering textedit mode. No tool activation by entering text, bug #572307
310
311	* app/menus.c : unique accelerators again, bug #573257
312
3132009-03-01  Steffen Macke <sdteffen@sdteffen.de>
314
315	* makefile.msc: Fixed typo (dia.exe was copied to dia-app.dll when doing
316	"make full")
317	* installer/win32/dia.nsi: Don't install Desktop shortcut. Patch from Niels
318	Martin Hansen
319
3202009-02-26  Steffen Macke <sdteffen@sdteffen.de>
321
322	* po/POTFILES.in:
323	* configure.in:
324	* installer/win32/Makefile.am:
325	* installer/win32/gennsh.c:
326	* Makefile.am: Add gennsh.c, a dummy C program to create NSIS
327	installer locale files. Bugzilla bug #572202
328
3292009-02-25  Steffen Macke <sdteffen@sdteffen.de>
330
331	* app/sheets_dialog_callbacks.c:
332	* lib/libdia.def:
333	* lib/sheet.c:
334	* lib/dia_dirs.[ch]: Save relative path for icons in user created
335	sheets; allow icon loader to fall back to system directoy if icon
336	is not found in config directory; fixes bug #573027
337
3382009-02-24  Steffen Macke <sdteffen@sdteffen.de>
339
340	* app/sheets_dialog_callbacks.c: Write <icon> to <object> instead of
341	<description>, fixes part of bug #573027
342
3432009-02-20  Steffen Macke <sdteffen@sdteffen.de>
344
345	* doc/en/dia.xml: Bumped revisions and dates to indicate progress
346	for 0.97 release.
347
3482009-02-19  Steffen Macke <sdteffen@sdteffen.de>
349
350	* installer/win32/dia.nsi: Include missing SISSI icons
351
3522009-02-16  Steffen Macke <sdteffen@sdteffen.de>
353
354	* installer/win32/dia.nsi: Various small updates
355	* installer/win32/locale/*.nsh: Use Python 2.3 instead of 2.2
356	* makefile.msc: Consequent use of build/win32
357
3582009-02-15  Hans Breuer  <hans@breuer.org>
359
360	* configure.in config.h.win32 NEWS : dia-0.97-pre2
361
362	* plug-ins/python/Makefile.am : every script to be installed for
363	--with-python must be available with EXTRA_DIST, bug #571862
364	(pyplugin_SCRIPTS_TO_INSTALL) : one variable to be used for both
365	cases, removed group_props.py there, the built-in dialog works better
366
367	* configure.in config.h.win32 : release of dia-0.97-pre1, finally;)
368	* INSTALL NEWS : updated
369
370	* tests/test-objects.c : g_assert(o->ops->get_object_menu == NULL ||
371	o->ops->get_object_menu(o, &point) != NULL); see below
372
373	* plug-ins/dxf/dxf-import.c : no localization of debug messages
374
375	* app/interface.c : don't add "Standard - Outline" when !HAVE_CAIRO
376	* app/create_tool.c : the error message for failing to create an object
377	was assuming the typename to be valid (crashing during message)
378
379	* objects/standard/outline.c objects/standard/standard.c : pollute with
380	#ifdef HAVE_CAIRO, otherwise Dia won't start when built --without-cairo
381	( Couldn't find standard objects ... )
382
383	[warningectomy - not sure where I've counted the 30;) ]
384	* lib/diarenderer.c : fix constness to produce no warnings anymore
385	* lib/diagdkrenderer.c : pointer targets ... differ in signedness
386	* objects/chronogram/chronoline_event.c : dereferencing type-punned
387	pointer will break strict-aliasing rules
388	* objects/Misc/measure.c : object_menu() now returning NULL, see below
389	* objects/Database/table_dialog.c : use GPOINTER_TO_UINT to avoid
390	warning: cast from pointer to integer of different size
391	* lib/object_defaults.c objects/FS/flow.c : use GPOINTER_TO_INT()
392	* lib/sheet.c : use GINT_TO_POINTER()
393	* lib/object.c : use GPOINTER_TO_UINT()
394	* plug-ins/wmf/wmf.cpp : explicit accept int precision for margins
395	* plug-ins/xslt.c : pointer targets ... differ in signedness
396
397	* app/disp_callbacks.c : allow obj->ops->get_object_menu() return NULL
398	  objects/standard/outline.c : use it for outline_get_object_menu
399
400	* app/disp_callbacks.c : make empty_menu a really empty DiaMenu with
401	menu_items==0 to avoid superfluous separators (bug #532534)
402	(ddisplay_canvas_events) : warning - integral size mismatch in argument
403
4042009-02-14  Hans Breuer  <hans@breuer.org>
405
406	* plug-ins/python/scascale.py : check input feasibility, bug #440884
407
408	* app/preferences.[ch] app/display.c : allow to configure the initial
409	mainpoint magnetism, aka. "Snap to Object", bug #571724
410
411	* app/diagram.c(diagram_load_into) : cleanup to remember the original
412	path of an import file (bug #570862) and also avoid to not simply save
413	the newly created diagram without asking for confirmation of the
414	filename. Also reflect the filename in the window title.
415
416	* plug-ins/wmf/wmf_gdi.h : define LPCWSTR type, bug #571125
417
4182009-02-08  Hans Breuer  <hans@breuer.org>
419
420	[warningectomy - about 30 left]
421	* configure.in : disable -Wunused, add a lot more useful, see:
422	http://blogs.gnome.org/otte/2008/12/22/warning-options/
423	* lib/dia_xml.c plug-ins/svg/render_svg.c : pointers differ in signedness
424	* lib/diagramdata.c : declared static but never defined
425	* lib/prop_dict.c lib/plug-ins.c : unused variable
426	* plug-ins/python/diamodule.c : dereferencing type-punned pointer will
427	break strict-aliasing rules, unused variables
428	* plug-ins/custom_line/line_info.c : mostly pointer targets differ in
429	signedness, but also some superfluous allocations
430	* lib/prop_sdarray.c lib/prefs.c objects/standard/line.c
431	  plug-ins/libart/dialibartrenderer.[ch] plug-ins/libart/render_libart.c
432	  objects/AADL/aadl.c app/layer_dialog.c : no previous prototype
433	(aka: should be static, prototyped or deleted)
434	* plug-ins/dxf/autocad_pal.c : maybe used uninitialized
435	* app/confirm.c : format not a string literal and no format arguments
436	* plug-ins/postscript/paginate_psprint.c : use g_object_(g|s)et_data()
437	* (diagram_print_ps) : format not a string literal and no format arguments
438	  and g_free(g_get_home_dir()) - agood reason for crashing later on
439	* app/load_save.c(diagram_data_save) : may be used uninitialized
440	* objects/UML/association.c : removed unused functions
441	* app/exit_dialog.c : unused variable, format not a string literal and
442	no format arguments
443	* app/menus.c : format not a string literal and no format arguments
444	* persistence.c : defined but not used
445	* objects/SISSI/*.[ch] : from around 100 warnings down to 2 ...
446	* objects/standard/arc.c : removed unused function
447	* lib/message.c : assignment discards qualifiers from pointer target type
448
449	* app/pixmaps/magnify.xpm app/pixmaps/scroll.xpm app/pixmaps.h : removed
450	* app/Makefile.am : adapted
451	* app/interfaces.c : added remaining XPMs directly
452
453	* lib/diagramdata.c : signed/unsigned mismatch
454	* lib/diagdkrenderer.c : different 'const' qualifiers
455	* lib/persistence.[ch] lib/message.c : constness
456	* app/autosave.c : doe not take a GCallback, but a GSourseFunc
457	* app/layer_dialog.c : gtk_button_set_image() takes a GtkWidget*
458	* app/textedit.c : s/ObjectChangeApplyFunc/UndoApplyFunc/ etc.
459	* plug-ins/wmf/wmf.cpp : explicit cast 'gunichar2 *' to 'W32::LPCWSTR'
460
461	* lib/makefile.msc : add -DG_DISABLE_DEPRECATED
462	* lib/filter.c lib/font.c lib/paper.c lib/widgets.c :
463	s/g_strcasecmp/g_ascii_strcasecmp/
464
4652009-02-07  Hans Breuer  <hans@breuer.org>
466
467	* lib/dia_svg.c : map special svg font name "sanserif" to special
468	dia font name "sans"
469
470	* lib/dia_image.c(dia_image_get_broken) : was broken
471	* plug-ins/svg/svg-import.c : don't try to create_standard_image() with
472	fileanme==NULL, rather set an invalid name. Better than crashing on
473	<svg:image data="..."/>
474	* lib/libdia.def : s/dia_image_release/dia_image_unref/
475
476	[two less leaks - thanks valgrind]
477	* lib/dia_image.c : free filename
478	* plug-ins/svg/svg-import.c(read_poly_svg) : free points
479
480	* plug-ins/xslt/xsltdialog.c : add #undef GTK_DISABLE_DEPRECATED to
481	fix bug #570850 - should be ported some day
482
483	* lib/dia_image.c : turn DiaImage into a GObject, plugs memory leak
484	fixing bug #570850
485
486	* plug-ins/svg/svg-import.c : actually implement read_image_svg(),
487	part of bug #570863 (strange this was not reporeted before)
488	(read_text_svg) : was creating two much whitespace for <tspan/>
489
490	* lib/diatypes.h : typedef _DiaImage DiaImage, i.e. make DiaImage
491	follow the naming pattern of every other struct in Dia's source ...
492	* lib/dia_image.[ch] : ... and also sprinkled const and rename
493	dia_image_release to dia_image_unref (too seldom used!)
494	* objects/SISSI/sissi.h objects/SISSI/sissi.c objects/KAOS/metabinrel.c
495	  objects/standard/image.c objects/custom/shape_info.h
496	  lib/diarenderer.[ch] lib/diasvgrenderer.c lib/diagdkrenderer.c
497	  plug-ins/python/pydia-render.c plug-ins/python/pydia-image.[ch]
498	  plug-ins/dxf/dxf-export.c plug-ins/drs/dia-render-script-renderer.c
499	  plug-ins/hpgl/hpgl.c plug-ins/metapost/render_metapost.c
500	  plug-ins/cairo/diacairo-renderer.c plug-ins/pgf/render_pgf.c
501	  plug-ins/pstricks/render_pstricks.c plug-ins/cgm/cgm.c
502	  plug-ins/postscript/diapsrenderer.c plug-ins/wpg/wpg.c
503	  plug-ins/libart/dialibartrenderer.c plug-ins/wmf/wmf.cpp
504	  plug-ins/xfig/xfig-export.c plug-ins/vdx/vdx-export.c : adapted
505	accordingly in prepartion to fix bug #570850
506	* objects/SISSI/sissi.c : don't leak ObjectSISSI::image
507
5082009-02-06  Hans Breuer  <hans@breuer.org>
509
510	* lib/beziershape.c(beziershape_update_data): remove stray semicolon
511	leading to leaking all connections on num_points change and the attempt
512	to free memory which was not allocated; fixes bug #570808.
513
514	* objects/standard/textobj.c : optionally draw the bounding box of text
515	with the given fill_color (Enrico Minack, bug #436560)
516
517	* app/disp_callbacks.c app/tool.h app/modify_tool.c : also allow
518	TextEdit entry via Button Press and Hold - patch from  Robert Young
519	fixing bug #570304
520
521	* plug-ins/python/diasvg_import.py : remove exception for error output
522
5232009-02-01  Hans Breuer  <hans@breuer.org>
524
525	* plug-ins/svg/svg-import.c : reset_arrows() to not create standard
526	objects with toolbox defaults during svg import, fixes bug #537103
527	(if the effect is desired it is still available with diasvg_import.py)
528
529	* lib/persitence.c : use g_hash_table_new_full() to get rid of a lot of
530	g_warnings for double allocations, the better fix for bug #564890
531
532	* lib/prop_dict.c(dictprop_load) : make it work, too.
533
534	* lib/dia_dirs.c(dia_get_canonical_path) : shortcut for pathes not
535	including ".." or "./" to keep UNC pathes intact; bug #362397
536
537	* po/POTFILES.in : +objects/Misc/grid_object.c
538
539	* plug-ins/drs/dia-render-script-renderer.c
540	  plug-ins/drs/dia-render-script.c : wrap <render>calls</render>,
541	save <properties/> by default
542
543	* plug-ins/drs/dia-render-script-import.c : more code, still unused
544
545	* app/menus.c : stop complains during plug-in callback menu
546	registration for the integrated UI case
547
548	* lib/object.[ch] lib/dia_xml.[ch] lib/prop_dict.[ch]
549	  lib/properties.[ch] lib/propinternals.h lib/Makefile.am
550	  lib/libdia.def po/POTFILES.in : allow to serialize meta info with
551	every DiaObject - no UI to modify it yet
552	* lib/plug-ins.h : bump api version because object size has changed
553	* plug-ins/python/pydia-property.c : handle translation between Python
554	and Dia dictionary to make accesible. Also s/g_warning/g_debug/
555	* plug-ins/python/diasvg_import.c : generate object meta info to test
556	the above. Also fixes regarding text color.
557
558	* objects/makefile.msc : Grid object on win32, too
559
5602009-01-31  Hans Breuer  <hans@breuer.org>
561
562	* lib/dia_xml.[ch] lib/libdia.def : implement data_(add_)bezpoint to
563	serialize bezier points
564	* lib/prop_geomtypes.c : use it instead of g_error() for an attempt to
565	save a bezpoint array (not used by any object implementation yet)
566
567	* plug-ins/python/diasvg_import.py : fixed typo
568
569	* objects/Misc/grid_object.c : give ranges to rows/columns properties
570	to avoid crashing on negative numbers, similar for line_width
571
572	* objects/Misc/pixmaps/grid_object.xpm objects/Misc/grid_object.c
573	  objects/Misc/libmisc.c objects/Misc/Makefile.am sheets/Misc.sheet.in:
574	patch from Don Blaheta adding a Grid object, bug #534118
575
576	* doc/en/intro.xml doc/en/usage-quickstart.xml : moved "try Dia"
577	flowchart to introduction.
578
579	* configure.in : configure failed to locate libpython when building GARNOME,
580	bug #338368 (Hans de Goede)
581
582	* omf.make : bug #306737 - installation fails in install-data-hook-omf
583	if omffile variable is empty (patch from Thomas Harding)
584
585	* doc/en/*.xml : remove undefined entity  '.&pngfile'
586	* po/POTFILES.in lib/sheetc : more strings to translate ;)
587	* doc/en/Makefile.am : added new images ('make distcheck' passes)
588
589	[
590	  Huge documentation update from Mark Dexter, bug #455400,
591	  hope I didn't break anything during merge.
592	]
593	* doc/en/*.xml doc/en/graphics/*.png :
594	1. major edits to the following XML files: usage-quickstart.xml,
595	usage-canvas.xml, usage-objects.xml, usage-objects-basic.xml,
596	usage-objects-special.xml, usage-objects-selecting.xml.
597	Added documentation for items not previously documented (e.g.,
598	Diagram Tree, Sheets and Objects, etc.) and expanded other
599	documentation.
600	2. Added 78 screenshots (for a total of 82).
601	3. Minor edit to authors.xml. (Still need to fix broken links and
602	bad e-mails).
603	4. Updated images. These changes obsolete the following bugs:
604	#347209, #439974, #144128.
605
606	* app/display.[ch] app/diagram.[ch] app/menus.[ch] : get rid of nearly
607	unmaintainable UpdatableMenuItems and a lot of ui-variant-specific code
608	by dynamic action lookup when updating sensitivity. This not only fixes
609	bug #527565 but also bug #322190 and allows ...
610	* app/interface.c : make Tool accelerator single key strokes - e.g. no
611	more <alt><shift>L to draw a line but just "L" - another benefit of the
612	dedicated test edit mode ;) - bug #439854.
613
6142009-01-30  Hans Breuer  <hans@breuer.org>
615
616	* app/object_ops.[ch] : implement object_list_nudge() ...
617	* app/disp_callbacks.c : ... use it to move selected objects by
618	keyboard keys (arrow/shift-arrow for small/bigger step), bug #137433
619	(The viewable area can still be moved as before if nothing is selected)
620	Make PageUp, Ctrl-PageUp, PageDown, Ctrl-PageDown scroll selected
621	view by one page up/left/down/right, bug #94015
622	Home/End to align the top-left/bottom-right corner of the diagram with
623	the viewable area
624
625	[ "a minor maintenance update" from Ian Redfern, bug #477679 ]
626	* plug-ins/vdx/vdx-import.c : it replaces the g_assert() calls with
627	attempts to handle errors, and adds a bit more sanity checking - this
628	should make it more robust with unusual or malformed files,
629	particularly those exported from applications other than Visio
630	(thank you OmniGraffle).
631	It also fixes assorted small bugs that people have raised with nested
632	shapes, disconnected polygons, font handling and layers, but there's
633	no new features such as embedded EMF or even rounded rectangles, and
634	it makes no attempt to handle new Visio 2007 features.
635
636	* objects/SISSI/area.c objects/SISSI/faraday.c objects/SISSI/room.c
637	  objects/SISSI/sissi_object.c objects/SISSI/site.c : quite some
638	allocation/deallocation mismatch removed, fixes bug #569725
639
640	* objects/Jackson/domain.c : remove superfluous allocation to avoid
641	leaking it, fixes bug #569720
642
643	* app/load_save.c : do not complain about missing object types per
644	layer but just once per diagram
645
646	* app/confirm.c : there is no glib-3.16 yet
647
6482009-02-27  Steffen Macke <sdteffen@sdteffen.de>
649
650	* doc/en/usage-objects.xml: Finished incomplete sentence. Fixes
651	bug #569369
652
6532009-01-24  Hans Breuer  <hans@breuer.org>
654
655	* lib/message.[ch] lib/libdia.def : new function dia_log_message()
656	which prints the given string together with a time-stamp, but only
657	if logging is enabled
658	* app/app_procs.c lib/dialib.[ch] : when given --verbose enable logging
659	* lib/plug-ins.c lib/sheet.c : sprinkled some dia_log_message() to get
660	a grip on Dia's start-up performance (4 secs for python plug-in, 5 secs
661	for custom plug-in - when started from cold caches)
662
663	* app/confirm.[ch] : new function confirm_export_size() which let's the
664	user confirm an unusal diagram size (conditionalized glib-2-16 function)
665	* app/Makefile.am app/makefile.msc po/POTFILES.in : add new files
666	* app/commands.c app/filedlg.c : use it before export and print to avoid
667	possibly unintended numbers of pages printed or memory used for export.
668	(Bug #540477, Martin Wegner)
669
670	app/preferences.[ch] : removed obsolete print preference
671
672	* objects/SISSI/area.c objects/SISSI/faraday.c objects/SISSI/room.c
673	  objects/SISSI/sissi.[ch] objects/SISSI/sissi_dialog.c
674	  objects/SISSI/sissi_object.c objects/SISSI/site.c : fixed object
675	method DiaObject::apply_props_from_dialog() for the last known issue
676	with changing multiple objects properties, bug #60331
677	(It did not crash because the SISSI object don't contribute anything
678	to the property list.)
679	* objects/SISSI/sissi_object.c(280) : local variable 'filename' used
680	without having been initialized
681	* objects/SISSI/sissi_dialog.c(380) : incompatible types - from
682	'struct _GtkWidget *' to 'struct _GtkScrolledWindow *'
683
684	[
685	  One menu entry File/Print is enough. The not any longer experimental
686	  cairo plug-in together with GtkPrint from gtk+-2-12 and cairo-1- or
687	  above superseds both former print facilities.
688	]
689	* app/menus.[ch] : introduce /InvisibleMenu as target for known actions
690	registered from plug-ins supposed to be available only once. Currently
691	there is just one of these actions "FilePrint" which gets routed to
692	FilePrintGTK, FilePrintGDI or FilePrintPS in that order, i.e. depending
693	on the plug-ins being loaded
694	* plug-ins/cairo/diacairo.c plug-ins/postscript/postscript.c
695	  plug-ins/wmf/wmf.cpp : register print actions to invisible menu
696
697	* shapes/Civil/civil_basin.shape shapes/Civil/civil_motor.shape :
698	foreground for stroke
699
700	* objects/UML/class_dialog.c(umlclass_dialog_free) : avoid double free
701	of the dialog struct. Is is already destroyed by destroy-signal
702	Fixes bug #569013
703
704	* objects/UML/fork.c : fix property get/set by using the right
705	methods, not object_return_void/object_return_null, bug #568524
706	* lib/object.[ch] lib/libdia.def : remove object_return_* helpers.
707	They are not used anymore now and were causing more harm than good.
708
709	* lib/diarenderer.h : moved draw_rounded_polyline to the high-level
710	methods of DiaRenderer, which are seldom implemented by "normal"
711	renderers
712	* lib/diarenderer.c : just coding style
713
714	* lib/plug-ins.h : bump DIA_PLUGIN_API_VERSION for all of the above
715
716	[
717	  Start of plug-in implementation around idea "DiaRenderScript", an
718	  XML-dialect modelled after the DiaRenderer API. Currently it is
719	  only useful for debugging other parts of Dia or itsef ;)
720	]
721	* plug-ins/drs/dia-render-script.dtd : to verify the xml files
722	* plug-ins/drs/dia-render-script-renderer.c : implementing allmost all
723	required and medium-level methods a renderer should have
724	* plug-ins/drs/dia-render-script.[ch] : registration of the exporter
725	and some dedicated diagram/layer render functions to preserve invisble
726	layers when writing .drs
727	* plug-ins/drs/dia-render-script-import.c : unfinished (some helpers
728	to parse back .drs, but far away from real import)
729	* plug-ins/drs/dia-render-script-object.c : mostly empty (should later
730	include the implmentation of a DiaObject capable to render .drs
731	* plug-ins/makefile.msc : build it
732	* configure.in plug-ins/Makefile.am plug-ins/drs/Makefile.am : build
733	drs on *NIX, too. But do not install it.
734	plug-ins/drs/*.[hc] : no warnings with gcc except defined but not used
735	* po/POTFILES.in : not much to translate, just silence 'make distcheck'
736
7372009-01-20  Hans Breuer  <hans@breuer.org>
738
739	* lib/persistence.c : use g_warning() instead of printf() for
740	pathological cases, also don't leak memory than; bug #564890.
741
742	* app/app_procs.c : cosmetical change when dumping pango version
743
744	* app/undo.[ch] app/commands.[ch] app/menus.c app/diagram.c
745	  data/*-ui. : implement "Objects/Move to layer above/below"
746	(maintaining connections between layers). Fixes bug #59105.
747	* samples/undo-check.dia a diagram to play with the above
748
749	* app/load_save.c doc/diagram.dtd : load, save and document
750	<layer active="true"/>, fixes bug #568497
751
7522009-01-18  Hans Breuer  <hans@breuer.org>
753
754	* app/app_procs.[ch] : implement command line switches -I and -O to give
755	input and output directories independent of filenames, bug #438842
756	* plug-ins/postscript/diapsrenderer.c : don't unref the postscript renderer
757	font twice, fixing a crash spotted while testing the above
758
759	* lib/dia_image.c : oops, commited before compiling - now it uses for
760	message_warning() for invalid pathes _and_ includes "message"
761
762	* app/load_save.c(read_connections) : while playing with "All Objects"
763	I've got "connection point %d does not exists", now I get the more
764	useful "connection point 14 does not exist on 'SISSI - area'"
765	Also there was some flaw with the wants_update calculation.
766
767	* makefile.msc lib/libdia.def : build the unit test on win32, too.
768
769	* lib/diagramdata.c lib/layer.c : split the latter from the former to
770	have more manageable pieces (one class per file)
771	* lib/Makefile.am lib/makefile.msc po/POTFILES.in : updated accordingly
772
773	* objects/custom/shape_info.c(load_shape_info) : default-(width|height)
774	was still in points. Now it is cm fixing bug #568099
775
776	[xmllint --dtdvalid doc/shape.dtd shapes/**/*.shape >/dev/null]
777	* shapes/Contact/c_ifnot.shape shapes/RDP/t_transition.shape
778	  shapes/RDP/transition.shape shapes/SDL/comment.shape
779	  shapes/SDL/function.shape shapes/SDL/macro.shape
780	  shapes/SDL/return.shape shapes/SDL/stop.shape : removed superfluous
781	'svg:' prefix on style attribute
782	* shapes/RDP/place_marquee.shape : removed attribute 'color' from
783	svg:circle element; it would be ambiguous and did not validate.
784	Both foreground and background color are set in the style attribute.
785	* docs/shape.dtd : changed circle attribute cy to be IMPLIED only
786	Together this reduces the complaints of xmllint down to zero. Given
787	the recent updates on
788	http://svn.gnome.org/viewvc/dia/trunk/doc/custom-shapes?view=log
789	IMO enough to close bug #86402
790
7912009-01-17  Hans Breuer  <hans@breuer.org>
792
793	* app/defaults.c app/gtkvwrapbox.c app/gtkwrapbox.c
794	  app/properties-dialog.c app/gtkhwrapbox.c lib/dialinechooser.c :
795	patch from Robert Young to build again with GLib 2.8, bug #567558
796
797	* tests/test-objects.c : now passes for all objects ...
798	(_test_movement) : ... due to an ugly long list of shapes skipped due
799	to probable bounding box miscalculation for bezier pathes, bug #568115
800	(_test_change) : some test of ObjectChange creation/destruction
801
802	* objects/UML/node.c objects/UML/object.c : text tinting was missing
803	for string or underline (bug #568009)
804
805	* lib/text.c : improved algorithm for bounding box calculation with
806	better understanding of the ascent/descent/font-height relation.
807	Fixes bug #567556 without reopening bug #528642.
808
809	* objects/standard/image.c : #include <time.h> to fix part of the issue
810	with building with GLib < 2.10 (bug #567559,  Robert Young)
811
812	* app/app_procs.c : don't dump built-with-cairo twice, instead
813	inform about pangocairo, too.
814
815	* INSTALL : improved consistency between configure.in and this file.
816	Also remove trace of CVS.
817
818	* lib/prop_geomtypes.c(fontsizeprop_set_from_offsets,
819	  fontsizeprop_load) : implement clipping to min/max values to protect
820	the Dia core against plug-ins playing havoc (see e.g. bug #488935)
821
822	* plug-ins/cgm/cgm.c(CgmRenderer::set_font) : a second call with an
823	already set font (with refcount 1) would have destroyed the font before
824	referencing it.
825
826	* plug-ins/vdx/vdx-import.c : one instruction per line to allow putting
827	a breakpoint on the g_debug() line
828
829	* RELEASE-PROCESS : updated from CVS to SVN usage, also clarify the
830	difference between tag and branch creation
831
832	* objects/UML/classicon.c objects/UML/implements.c
833	  objects/UML/message.c objects/UML/node.c
834	  objects/AADL/aadlbox.c objects/Jackson/phenomenon.c
835	  objects/KAOS/metaandorrel.c : reverted part of revision 3958
836	"same name, same type", nowadays I'm weighting forward-compatibility
837	higher than following unwritten rules
838
8392009-01-14  Steffen Macke <sdteffen@sdteffen.de>
840
841	* installer/win32/dia.nsi: Some updates for GTK 2.14.7
842	* app/interface.c: Include gtkhwrapbox.h in order to compile with MSVC
843
8442009-01-12  Hans Breuer  <hans@breuer.org>
845
846	* app/sheets_dialog_callbacks.c : don't leak a superfluous SheetObject
847	fixes bug #564677
848
8492009-01-11  Hans Breuer  <hans@breuer.org>
850
851	[make "./configure ---enable-gnome=yes" work again]
852	* app/interface.h : was including too much e.g. itself and gnome.h.
853	The latter gave compiling errors for --enable-gnome=yes
854	* app/interface.c app/commands.c app/recent_files.c app/display.c
855	  app/app_procs.c app/disp_callbacks.c : updated accordingly, basically
856	adding #undef GTK_DISABLE_DEPRECATED before inclusing gnome.h but also
857	adjusting include order (gnome before gtk) to make it have an effect
858
859	[make "make distcheck" work again]
860	* objects/FS/flow-poly.c : obsolete, finally removed
861	* po/POTFILES.in : added app/create_object.c
862	* po/POTFILES.skip : added some *.py to stop complains
863	* configure.in : default is no doc creation ...
864	* hardcopies.make : ... and thus not touching read-only directories.
865	Lowers the priority of bug #567385
866
867	* lib/dia_svg.c(read_text_svg) : support for text alignment, less
868	warnings and text colors corrected even for DIA_SVG_COLOUR_NONE
869	(read_items) : switched from if-continue to a more common if-else-if
870	* plug-ins/svg/svg-import.c : use DIA_SVG_COLOUR_NONE instead of (-1)
871
872	* plug-ins/svg/svg-import.c(read_text_svg) : the text style was not
873	properly intialize leading e.g. to random text colors.
874	Also it now supports multi-line text elements "<tspan/>". Both can
875	be booked under bug #108502 - but that bug will never get fixed;)
876
877	* plug-ins/render_svg.c(draw_text) : implementation supporting
878	multi-line text via <tspan/>
879
8802009-01-10  Hans Breuer  <hans@breuer.org>
881
882	* objects/standard/arc.c(arc_move_handle) : maintain a minimum
883	distance between the three arc handles. Two or even all three
884	handles in at the same position did produce unstable results.
885	As a side-effect this is fixing bug #501696
886	* objects/standard/outline.c(outline_move_handle) : maintain
887	minimum distance between the two handles here as well.
888	Otherwise a meaningless font-size of zero could occur.
889
8902009-01-09  Hans Breuer  <hans@breuer.org>
891
892	* plug-ins/xslt/Makefile.am : if !HAVE_XSLT prevent installation
893	bug #566842
894
895	* lib/propobject.c(object_list_get_propdescriptions) : for single
896	object in the list use the "intersection" because otherwise props
897	with PROP_FLAG_DONT_MERGE would not be accessible anymore, e.g.
898	for "Standard - Outline" there was no way to change the text anymore
899	(hopefully final regression introduced by fixing bug #60331)
900
901	* samples/render-test.dia : adapt font size check to concrete font
902	names commonly available on X and win32
903
904	* plug-ins/svg/render_svg.c : must use DIA_SVG_RENDERER_GET_CLASS
905	to cast from instance, otherwise it is crashing with GLib debug support
906
907	* lib/font.h : declare dia_font_get_size()
908	* lib/libdia.def : export it
909	* lib/font.c : use pango_font_description_set_absolute_size() - the
910	magic factor which tried to compensate for fontmap resolution issues
911	_and_ the difference between Dia's intention of "font_height" and
912	Pango's "font size" is gone.
913	There is a much less magic factor just compensating the second issue.
914	Dia's font-height always meant something like line height, i.e. a
915	good difference between two consecutive lines baselines (Pango itself
916	is using line_height=ascent+descent).
917	Instead of searching the right size for a given height a new factor
918	got introduced, which unfortunately changes the font-size on win32
919	and X, but all this finally fixes bug the OS dependent part of
920	bug #108293
921
922	* plug-ins/cairo/diacairo-renderer.c : use dia_font_get_size() and
923	pango_font_description_set_absolute_size instead of magic number 0.7
924	fixing bug #538499
925	* plug-ins/wmf/wmf.cpp : same here
926
927	* lib/diasvgrenderer.c(draw_string): moved #if-0-ed original ...
928	* plug-ins/svg/render_svg.c : ... implementation to be used in SVG
929	export but not for shape export. For SVG export we apparently want
930	the font-size instead of it's line-height - although my interpretation
931	of the specs differs ... should fix bug #345538
932
933	* lib/font-height.c : test program evaluating font size relations
934	* lib/makefile.msc : build it
935
936	[bugs found along the way]
937	* lib/text.c : don't use font_ref when a copy is needed
938
939	* lib/textline.c : removed superfluous g_warning
940
9412009-01-06  Hans Breuer  <hans@breuer.org>
942
943	* app/menus.c : bind "EditReplace" to "<control>H" (rather than ^F)
944
945	* plug-ins/wmf/Makefile.am : remove -lstdc++ from LIBADD line
946	(Matt Keenan, bug #558263); install the plug-in in case of
947	libEMF being available
948	* plug-ins/wmf/wmf.cpp : avoid double close of 'ofile'
949
950	* bindings/Makefile.am : tweaked once more to not break 'make distcheck'
951
952	* plug-ins/cairo/diacairo-renderer.c : compiles without warnings ...
953	* plug-ins/cairo/diacairo-interactive.c : ... intialize parent_class
954	and actually use cairo_interactive_renderer_finalize
955
9562009-01-05  Hans Breuer  <hans@breuer.org>
957
958	* app/diagram.c(diagram_save) : for links resolve to the real filename
959	before calculating the backup filename and actually overwriting the
960	file. Fixes bug #501777
961
9622009-01-03  Hans Breuer  <hans@breuer.org>
963
964	* lib/font.c : style changes to increase readability, behaviour change
965	in the next commit ;)
966
967	* lib/textline.c : remove obsolete 'renderer_cache' and superfuous g_warning()
968
969	* objects/standard/outline.c : don't use dia_font_ref in outline_copy
970
971	* plug-ins/cairo/diacairo-interactive.c
972	  plug-ins/cairo/diacairo-renderer.c : Dia's implicit fill-rule is
973	even-odd, make it explicit with cairo
974
975	* plug-ins/makefile.msc : updated
976
9772009-01-02  Hans Breuer  <hans@breuer.org>
978
979	Patch from  Takao Fujiwara fixing bug #564850  – dia crashes on none UTF-8
980	* app/diagram.c : don't initialize unused filename (with the wrong locale)
981	* app/filedlg.c : gtk_file_chooser_set_current_name() wants utf-8, not
982	filename encoding
983	* plug-ins/cairo/diacairo.c : export_data() first filename already is in
984	the GLib's filename encoding - but on win32 this is always utf-8, i.e. not
985	appropriate to be used with cairo
986
987	* app/preferences.c : don't try to set transient without shell
988
989	* lib/prop_text.c : don't leak prop->attr.font
990	* object/standard/textobj.c : fixed accordingly
991
992	* objects/UML/class.c(umlclass_copy) : don't use a font reference
993	where a copy is needed
994
995	* plug-ins/cairo/diacairo.c : fix scaling for clipboard use
996
997	* plug-ins/python/diamodule.c : whitespace changes
998
999	* plug-ins/python/group_props.py : better error message for missing
1000	pygtk (bug #563094)
1001
1002	Patch from Sameer D. Sahasrabuddhe fixing bug #565720
1003	En passant fixing bug #564799 and bug #564916
1004	* objects/SISSI/sissi.[ch] : introduced a new local function that
1005	returns the correct sheets directory for SISSI
1006	* objects/SISSI/site.c objects/SISSI/faraday.c objects/SISSI/area.c
1007	  objects/SISSI/room.c objects/SISSI/sissi_object.c : use it
1008	* sheets/SISSI/*.xml : relative path removed from
1009	<sissi:attribute name="file_image"/>
1010
1011	* app/create_object.c : don't crash if object creation fails
1012	(bug #565567,  Sameer D. Sahasrabuddhe)
1013
1014	* bindings objects/custom_lines objects/Database plug-ins/postscript
1015	plug-ins/libart : updated svn:ignore property
1016
1017	* Makefile.am bindings/Makefile.am data/icons/48x48/apps/Makefile.am :
1018	get rid of "variable `*' is used but `*' is undefied" warnings
1019
1020	* configure.in : remove traces of gnome print here as well
1021
10222008-12-19  Hans Breuer  <hans@breuer.org>
1023
1024	* app/preferences.c : fixed compiler errors with gcc without
1025	introducing warnings again with msvc
1026	* lib/filter.c : removed debug spew
1027	* po/POTFILES.in : reflect file renaming
1028
10292008-12-18  Hans Breuer  <hans@breuer.org>
1030
1031	* app/properties.[ch] : renamed to properties-dialog.* to have unique
1032	filenames (avoids debugger confusion)
1033	* app/Makefile.am app/makefile.msc app/makefile.mingw
1034	  app/commands.c app/defaults.c app/diagram.c app/diagram_tree.c
1035	  app/modify_tool.c : adapted accordingly
1036
1037	* app/properties-dialog.c : restored nullification of the static
1038	'object_part' on dialog destroy to avoid double destruction
1039
10402008-12-14  Hans Breuer  <hans@breuer.org>
1041
1042	* lib/textline.[ch] : removed obsolete RenderCache stuff while
1043	investigating bug #562574
1044
1045	* app/preferences.[ch] lib/filter.[ch] lib/libdia.def : allow to select
1046	a preferred export filter used when selecting exporter by extension
1047	(Bug #535179 - export to png does not use AntiAliasing, now up to user)
1048
1049	* lib/persistence.c : don't use g_ascii_strncasecmp as GCompareFunc,
1050	fixing crashes introduced by patch from bug #559671
1051
1052	* app/diagram.[ch] app/display.c : replace Diagram::display_count with
1053	g_slist_count(diagram->displays), no benefit in keeping both in sync.
1054
10552008-12-09  Hans Breuer  <hans@breuer.org>
1056
1057	* lib/diasvgrenderer.c lib/persistence.c lib/prop_basic.c : reduced
1058	use of long time deprecated functions ( Kjartan Maraas, bug #559671)
1059
1060	* objects/Database/table.c app/preferences.c : fixed the fix and a
1061	comment about it (Sameer Sahasrabuddhe, bug #60331)
1062
10632008-12-08  Hans Breuer  <hans@breuer.org>
1064
1065	* objects/UML/class.c : don't crash when
1066	umlclass_apply_props_from_dialog() get callesd without
1067	umlclass_get_properties(), instead fall back to
1068	object_apply_props_from_dialog() than
1069	* objects/Database/table.c : same here
1070
1071	* app/properties.c : for a single object let Object::get_properties()
1072	create the "object part" of the property dialog
1073
1074	* plug-ins/makefile.msc : remove obsolete plug-ins from build
1075
10762008-12-07  Hans Breuer  <hans@breuer.org>
1077
1078	* app/commands.c app/diagram_tree.c app/modify_tool.c app/properties.c
1079	  app/properties.h lib/group.c lib/object.h lib/propdesc.c
1080	  lib/propdialogs.c lib/properties.h lib/propinternals.h
1081	  lib/propobject.c : : patch from Sameer Sahasrabuddhe almost fixing
1082	Dia's oldest bug #60331 - Object properties should handle multiple
1083	objects (but it breaks with UM - Class)
1084	* lib/libdia.def : updated
1085
10862008-12-03  Hans Breuer  <hans@breuer.org>
1087
1088	* app/menus.c : map help to "F1", patch Matt Keenan, bug #563110
1089
1090	* app//diapagelayout.c : one gtk_adjustment_new call was not adjusted.
1091	Patch from Matt Keenan fixing bug #563106.
1092
10932008-11-30  Steffen Macke <sdteffen@sdteffen.de>
1094
1095	* makefile.msc: Create *.mo files in build/win32
1096	* installer/win32/dia.nsi: Reflect documentation updates
1097
10982008-11-22  Hans Breuer  <hans@breuer.org>
1099
1100	* objects/Database/table.c objects/UML/class.c : less warnings, patch by
1101	Sameer Sahasrabuddhe
1102
11032008-11-21  Hans Breuer  <hans@breuer.org>
1104
1105	* objects/custom_lines/custom_linetypes.c objects/Database/compound.c
1106	  objects/Database/reference.c objects/Database/table.c
1107	  objects/UML/actor.c objects/UML/class.c objects/UML/large_package.c
1108	  objects/UML/note.c objects/UML/object.c objects/UML/small_package.c
1109	  objects/UML/usecase.c : consitent use PROP_STDNAME_LINE_WIDTH instead
1110	of "line_width", patch from Sameer Sahasrabuddhe
1111
11122008-11-18  Steffen Macke <sdteffen@sdteffen.de>
1113
1114	* doc/en/dia.xml:
1115	* doc/eu/dia.xml:
1116	* doc/fr/dia.xml:
1117	* doc/pl/dia.xml: Consistently use DocBook 4.5 DTD from oasis-open.org
1118
11192008-11-16  Hans Breuer  <hans@breuer.org>
1120
1121	* plug-ins/gprint/* : back to the attic
1122	* plug-ins/Makefile.am po/POTFILES.in configure.in : adjusted
1123
1124	* plug-ins/cairo/diacairo.c : register "Edit/Copy Diagram" to copy
1125	the whole diagram into the clipboard (currently win32 only)
1126
1127	* app/dia-props.c app/diapagelayout.c app/preferences.c
1128	  lib/dialogs.c lib/prop_geomtypes.c lib/prop_inttypes.c lib/widgets.c
1129	  objects/Database/table_dialog.c objects/SISSI/sissi_dialog.c
1130	  objects/UML/class_dialog.c : stop newer gtk+ complaining about
1131	non-zero page size for spin buttons
1132
11332008-11-15  Steffen Macke <sdteffen@sdteffen.de>
1134
1135	* makefile.msc:
1136	* installer/win32/dia.nsi:
1137	* installer/win32/wikifaq2installerfaq.sed: Small script to generate the
1138	installer FAQ file from the Wiki
1139
11402008-11-02  Hans Breuer  <hans@breuer.org>
1141
1142	* objects/Istar/link.c objects/GRAFCET/vergent.c
1143	  objects/Database/reference.c objects/Database/table_dialog.c
1144	  objects/UML/class_dialog.c : spelling fixes, bug #554233 and
1145	bug #554238 - Duarte Loreto
1146
1147	* app/find-and-replace.c : no C++ comment and not other warnings
1148
1149	* lib/text.c : ignore single carriage return, work around for bug #547173
1150
1151	* lib/lib_dia. : removed (should never have been added)
1152
1153	* plug-ins/UML/class_dialog.c : don't crash if the selection callbacks
1154	get called after dialog destruction. Fixes bug #558650
1155
11562008-10-17  Hans Breuer  <hans@breuer.org>
1157
1158	* lib/libdia.def : export prop_list_add_list for ...
1159	* app/find-and-replace.c : patch from Johann Tienhaara adding the
1160	ability to find and/or replace (almost) any text content of the objects
1161
1162	* plug-ins/dxf/dxf-import.c : dxfcode now calculated as inside the read
1163	function, reduces code lines and en passant fixes load error of #321539
1164
1165	* plug-ins/dxf/dxf-import.c : bulge was calculated against the wrong
1166	vertices, now it at least does not produce huge errors. See bug #556547
1167
11682008-10-17  Steffen Macke <sdteffen@sdteffen.de>
1169
1170	* installer/win32/dia.nsi: Don't include the AADL sheet any more
1171
11722008-10-16  Steffen Macke <sdteffen@sdteffen.de>
1173
1174	* installer/win32/dia.nsi: Small updates for the new build system
1175
11762008-10-15  Hans Breuer  <hans@breuer.org>
1177
1178	* INSTALL : updated minimal version requirements (the real thing still
1179	in configure.in
1180
1181	* app/find-and-replace.c : consistent line ends
1182
11832008-10-12  Steffen Macke <sdteffen@sdteffen.de>
1184
1185	* makefile.msc: Small updates to sync makefile with compilation guide
1186
11872008-10-12  Hans Breuer  <hans@breuer.org>
1188
1189	* objects/UML/actor.c objects/UML/class.[ch]
1190	  objects/UML/class_dialog.c objects/UML/large_package.c
1191	  objects/UML/note.c objects/UML/object.c
1192	  objects/UML/small_package.c objects/UML/usecase.c : configurable
1193	line-width for UML elements, patch from Pablo Gra\~na
1194
11952008-09-20  Hans Breuer  <hans@breuer.org>
1196
1197	* app/filedlg.c : global usage of GTK_DISABLE_DEPRECATED broke
1198	this file with gtk+-2-14
1199
1200	* app/prefernces.c : avoid setting uninitialized (NULL) units,
1201	fixes a crash when starting with an old configuation file
1202
1203	* lib/text.c : also accept GDK_KP_Enter to ccreate a new line.
1204	Fixes bug #539476
1205
1206	* lib/makefile.msc : reflect renaming of libdia.c to dialib.c
1207
1208	* NEWS : mention Find&Replace feature
1209
1210	* plug-ins/python/autolayoutforce.py : more comment
1211
1212	* samples/render-test.dia samples/Self/PyDiaObjects.dia : update
1213
12142008-08-10  Hans Breuer  <hans@breuer.org>
1215
1216	* app/prefernces.c : don't call pref_set_*_unit with NULL
1217
1218	* objects/custom/custom_object.c : add user configurable text padding
1219	and properly consider it during bounding box calculation. Additionally
1220	<svg:text/> elements (fixed text parts) are finally tinted and scaled
1221	with the rest of the shape
1222
1223	* configure.in : one more step to build bindings on Linux
1224	* lib/libdia.[hc] : renamed to dialib.[hc] to avoid confusion with
1225	libdia.la (libdia.lo)
1226	* lib/Makefile.am app/app_procs.c bindings/dia-extra.cpp
1227	  plug-ins/python/diamodule.c tests/test-objects.c
1228	  tests/test-boundingbox.c : adapted to name change
1229
1230	* objects/UML/Makefile.am plug-ins/cairo/Makefile.am : add
1231	$(module)_la_LIBADD = $(OTHER_LIBS) $(top_builddir)/lib/libdia.la
1232
1233	* bindings/dia.swig : don't crash on passing None to do_export()
1234	* bindings/Makefile.am bindings/test.py : now work start to work
1235	on Linux, too.
1236
1237	* plug-ins/python/pydiadoc.py plug-ins/python/otypes.py : don't
1238	assume there is always a display. In the bindings non-interactive
1239	test case there is not
1240
1241	* app/layer_dialog.c : don't access layer_dialog while not initialized
1242	* objects/standard/outline.c : conditionalize on CAIRO_HAS_SVG_SURFACE
1243	* tests/test-objects.c tests/test-boundingbox.c : conditionalize on
1244	GLIB_CHECK_VERSION(2,16,0) - together this make Dia compile an run on
1245	a standard Dapper Drake (gtk+-2.8, glib-2.10, cairo-1.0.4)
1246
1247	* objects/custom/shape_info.[hc] objects/custom/custom_object.c :
1248	don't normalize ShapeInfo::default_(width|height) to points; everything
1249	else is in cm. Also some formatting/coding style issues.
1250
12512008-08-09  Hans Breuer  <hans@breuer.org>
1252
1253	* app/Makefile.am plug-ins/xslt/xslt.c : finally stop complaing about
1254	missing XSLT configuration files when running app/run_dia.sh
1255
1256	* tests/Makefile.am : start of unit test usage on *NIX
1257
1258	* lib/Makefile.am : add libdia_la_LIBADD = $(GTK_LIBS)
1259	fixing bug #545450
1260	* lib/newgroup.c : disable call to diagram_unselect_objects() on *NIX
1261	as well, it collides with --no-undefined and libdia use in unit-test
1262
1263	* tests/test-boundingbox.c : some bounding box unit test
1264	  tests/test-object.c tests/makefile.msc : updated
1265
1266	* app/display.[hc] app/dia.def : factor out ddisplay_show_all() from
1267	* app/commands.c : ... view_show_all_callback ...
1268	to make the functions signature more appropriate to be called by
1269	a plug-in
1270
1271	* plug-ins/python/autolayoutforce.py : my playground for Fred Morcos'
1272	'force based autolayout' algorithm, see:
1273	http://mail.gnome.org/archives/dia-list/2008-August/msg00030.html
1274	* plug-ins/python/Makefile.am : to EXTRA_DIST (not to be installed)
1275
1276	* lib/bezier_conn.c lib/bezier_shape.c : use g_new0 for Handle
1277	allocation to ensure they pointers are not referencing random objects
1278
1279	* lib/connectionpoint.c(connpoint_is_autogap): an unconnected
1280	ConnectionPoint can not matter for autogap
1281	* lib/bezier.c : allows to remove the hack to disable the bounding box
1282	calculation in bezier_load()
1283
1284	* lib/connectionpoint.h : turned ConnectionPoint(Flags|Dir) to enums,
1285	helps documentation and graphical debuggers
1286
1287	* lib/geometry.h(Rectangle): swap top/left and bottom/right to a more
1288	usual order (after debugging quite some bounding box code) finally
1289	because of it's use in bezierline_update_data()
1290	* lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
1291
1292	* lib/libdia.def : rectangle_in_rectangle export
1293
1294	* object/SISSI/sissi.c : don't try to load an image file from NULL
1295	filename; some formatting near that.
1296
12972008-08-02  Hans Breuer  <hans@breuer.org>
1298
1299	* lib/libdia.def : updated exports
1300	* lib/libdia.h : C++ guards
1301	* bindings/dia-extra.cpp : simplification by use of libdia_init()
1302
1303	* bindings/dia-object.h bindings/dia-properties.h : mark binding
1304	internal helpers as such
1305
1306	* lib/orth_conn.h : small docu update
1307
1308	* objects/makefile.msc : remove bondgraph here as well
1309
1310	* objects/standard/bezier.c objects/standard/polyline.c
1311	  objects/standard/zigzagline.c objects/UML/actor.c : correct
1312	bounding box calculation
1313
1314	* tests/test-objects.c tests/makefile.msc : start of unit tests
1315
13162008-07-27  Hans Breuer  <hans@breuer.org>
1317
1318	[Patch from Thomas Harding updating documentation, bug #544222]
1319	* doc/en/dia.xml: docbook version => 4.5 (use of docbook elements not
1320	disponible in 1.2. book valids now against db dtd 4.5)
1321	* doc/en/custom-shapes.xml: updated to reflect changes in
1322	doc/custom-shapes file
1323
13242008-07-26  Hans Breuer  <hans@breuer.org>
1325
1326	* doc-custom-shapes : shapes svg path can contain arc elements as well
1327
1328	* doc/shape.dtd : fixed so that most of the shapes delivered with Dia
1329	pass 'xmllint --dtdvalid shape.dtd'. Remaining are some shapes having
1330	<svg:circle cx="0" r="1.5"/> e.g. place.shape:22: element circle:
1331	validity error : Element circle does not carry attribute cy
1332	and the use of dublin core in some of Assorted
1333	* shape/(Contact|Electric|Pneumatic)/*.shape : remove the superfluous
1334	'svg:' prefix from style attribute
1335
1336	* sanples/Self/dia-renderer.dia : added the idea of renderer decorator
1337
1338	* app/display.c(ddisplay_zoom) : reverted changes from bug #540210,
1339	it broke the other use cases, mainly zoom all (ctrl^e)
1340
13412008-07-25  Hans Breuer  <hans@breuer.org>
1342
1343	* app/display.c(ddisplay_zoom) : improved zoom behavior when using
1344	ctrl+mouse wheel around the cursor position, based on code by
1345	Ithai Levi, bug #540210
1346
1347	* app/mavigation.c : don't divide by zero when using the navigation
1348	window with an empty diagram
1349
13502008-07-20  Hans Breuer  <hans@breuer.org>
1351
1352	* objects/custom/custom_object.c(custom_copy): use object_copy_props()
1353	instead of memcpy to support extended attribues where copy by reference
1354	is not enough, e.g. <ext_attribute name="Something" type="string">
1355	Simplifies the code and fixes bug #543874
1356
1357	* doc/custom-shapes doc/shapes.dtd : some documentation for subshapes,
1358	ext_attributes and some usefull atrributes on <textbox/>
1359
13602008-07-19  Hans Breuer  <hans@breuer.org>
1361
1362	* configure.in : when building debug also define GTK_DISABLE_DEPRECATED
1363
1364	* lib/prop_inttypes.c : removed #undef GTK_DISABLE_DEPRECATED
1365
1366	* objects/UML/Makefile.am : use $(DEBUG_FLAGS)
1367	* objects/UML/class.[ch] objects/UML/class_dialog.c : moved some stuff
1368	to restrict the #undef GTK_DISABLE_DEPRECATED to class_dialog.c
1369
1370	* objects/bondgraph/* : removed, it was empty from the beginning
1371	* objects/sybase/* : removed, unused since 2002
1372	* objects/Makefile.am configure.in po/POTFILES.in : adapted
1373
1374	* objects/chronogram/Makefile.am objects/ER/Makefile.am
1375	  objects/flowchart/Makefile.am objects/GRAFCET/Makefile.am
1376	  objects/Istar/Makefile.am  objects/Jackson/Makefile.am
1377	  objects/KAOS/Makefile.am objects/network/Makefile.am
1378	  objects/SADT/Makefile.am : add $(DEBUG_FLAGS)
1379
1380	* objects/custom/Makefile.am : add $(DEBUG_FLAGS)
1381	* objects/custom/custom_object.c objects/custom/shape_info.c
1382	  objects/custom/shape_typeinfo.c : warningectomy
1383
1384	* objects/Database/Makefile.am : use $(DEBUG_FLAGS)
1385	* objects/Database/table.[ch] objects/Database/table_dialog.c : moved
1386	some stuff to restrict the #undef GTK_DISABLE_DEPRECATED to
1387	table_dialog.c
1388
1389	* objects/FS/flow-ortho.c : warningectomy
1390
1391	* objects/SISSI/Makefile.am : add $(DEBUG_FLAGS)
1392	* objects/SISSI/sissi_dialog.c : #undef GTK_DISABLE_DEPRECATED
1393
1394	* objects/standard/Makefile.am : add $(DEBUG_FLAGS)
1395	* objects/standard/outline.c : warningectomy
1396
1397	* plug-ins/*/Makefile.am : propagate $(DEBUG_FLAGS)
1398
1399	* doc/*/Makefile.am : add html.xsl to EXTRA_DIST
1400
14012008-07-18  Hans Breuer  <hans@breuer.org>
1402
1403	[ on the way to compile dia with GTK_DISABLE_DEPRECATED ]
1404	* app/makefile.msc lib/makefile.msc : -DGTK_DISABLE_DEPRECATED
1405	* app/app_procs.c : s/gtk_timeout_add/g_timeout_add/
1406	* app/autosave.c : g(tk)_idle_remove_by_data ()
1407	* app/color_area.c : remove gtk_color_selection_set_update_policy () -
1408	it does not have any effect anymore
1409	* app/defaults.c : use g_object_ref_sink()
1410	* app/diagram_tree.c app/diagram_tree_menu.c :
1411	#undef GTK_DISABLE_DEPRECATED for GtkCList
1412	* app/diapagelayout.[ch] : information hiding to not pollute all users
1413	with deprecated stuff
1414	* app/disp_callbacks.c : remove gtk_menu_item_set_show_toggle (), it's
1415	deprecated and doesn't have any effect anymore, use g_signal_connect ()
1416	* app/display.c : replace gtk_idle_*() and gtk_object_get_user_data ()
1417	* app/dynamic_refresh.c : port away from gtk_timeout_*()
1418	* app/filedlg.c : not gtk_object_get_user_data () anymore
1419	* app/gtkhwrapbox.[ch] app/gtkvwrapbox.[ch] app/gtkwrapbox.[ch] :
1420	copied already ported version from The GIMP
1421	* app/interface.c : away from gtk_object_get_user_data ()
1422	* app/interface.h app/sheets.h : #ifdefed GtkTooltips
1423	* app/layer_dialog.[ch] : information hiding of deprecated stuff
1424	* app/linewidth_area.c app/navigation.c :
1425	s/gtk_drawing_area_size/gtk_widget_set_size_request/
1426	* app/menus.c : #undef GTK_DISABLE_DEPRECATED for GtkTooltips
1427	* app/pagesetup.c : replace gtk_object_set_data_full () and adapt to
1428	DiaPageLayout information hiding
1429	* app/preferences.c : GtkComboBox instead of GtkOptionMenu
1430	* app/properties.c : g_object_ref_sink ()
1431
1432	[ #undef GTK_DISABLE_DEPRECATED ...]
1433	* app/splash.c : ... for GtkPixmap
1434	* lib/diaarrowchooser.[ch] :  ... for GtkTooltips
1435	* app/sheets.c app/sheets_dialog.c app/sheets_dialog_callbacks.c : ...
1436	for GtkOptionMenu and GtkTooltips
1437
1438	* lib/dialinechooser.c : use g_object_ref_sink()
1439	* lib/dialogs.c : replace gtk_box_pack_start_defaults()
1440	* lib/messages.c : removed #undef GTK_DISABLE_DEPRECATED
1441	* lib/prop_inttypes.c : use gtk_combo_box_new_text () instead of
1442	deprecated gtk_option_menu_new(), also g_signal_*()
1443	* lib/prop_sdarray.c : use g_signal_connect()
1444	* lib/propdialogs.c : g_object_set_data (), g_signal_connect ()
1445	* lib/widgets.[ch] : moved struct _DiaDynamicMenu to implemention
1446	to hide _deprecated_ internals (GtkOptionMenu
1447
1448	* objects/UML/class_dialog.c(umlclass_update_connectionpoints) : dont
1449	crash when called without having used the properties dialog before
1450
14512008-07-14  Hans Breuer  <hans@breuer.org>
1452	[
1453	 Patch from Patrick Hallinan integrating the layers dialog into the
1454	 integrated UI
1455	]
1456	* app/app_procs.[ch] : only register the dialog for not integrated ui
1457	* app/interface.[ch] : creation of the new widget and ...
1458	* app/commands.[ch] : ... menu callbacks
1459	* app/layer_dialog.[ch] : conditionalized to resue most of the code in
1460	the integrated UI context
1461	* app/menus.[ch] data/integrated-ui.xml : move layer visibility toggle
1462	to View/Layers
1463
14642008-07-13  Hans Breuer  <hans@breuer.org>
1465
1466	* app/modify_tool.c : mouse position and bounding box on statusbar
1467	when resizing objects
1468
1469	* NEWS : mention wmf plug-in and libEMF
1470
1471	* shapes/Cybernetics/*.png shapes/Gane_and_Sarson/*.png
1472	  shapes/Logic/*.png shapes/Map/Isometric/*.png
1473	  shapes/Misc/*.png shapes/MSE/*.png : some icons were smaller than
1474	the usual 22x22, now they are expanded by an empty border
1475
14762008-07-06  Hans Breuer  <hans@breuer.org>
1477
1478	* lib/font.[hc] : some cleanup and test code to get on the real reason
1479	for Dia's notorious font-size mismatch, see e.g. bug #108293, #345538,
1480	#538499, ... not supposed to change behaviour yet
1481	* samples/font-sizes.dia : new test file using concrete fonts
1482
14832008-07-06  Hans Breuer  <hans@breuer.org>
1484
1485	[Patch from Thomas Harding fixing help finally fixing bug #536334]
1486	* doc/Makefile.am hardcopies.make :
1487	- documentation uninstall was not complete
1488	- symlinks are done on $(helpdocdir)
1489	instead of $(DESTDIR)$(helpdocdir) to make packagers life easier
1490	(this results in dangling symlinks while $(DESTDIR) != "",
1491	then symlinks are correct while the package is installed from
1492	$(DESTDIR) to "/")
1493
14942008-06-29  Hans Breuer  <hans@breuer.org>
1495
1496	[Patch from Thomas Harding fixing help generation for non-gnome case]
1497	* xmldocs.make : without gnome install to $(helpdocdir)
1498	* configure.in : initialize HAVE_XSLTPROC
1499	* hardcopies.make : conditionalize on HAVE_GNOME
1500
1501	[Third iteration on patch from Thomas Harding improving the
1502	 documentation generation, closing bug #465460]
1503	* doc/en/Makefile.am doc/fr/Makefile.am doc/eu/Makefile.am
1504	  doc/pl/Makefile.am : deleting $(xmlsources)
1505	* hardcopies.make : corrected paths to fit --psdir --pdfdir --htmldir
1506	./configure switches; corrected targets $(progname)(.pdf|.ps|_html)
1507	and .jw: to depend on $(xml_files) instead of (duplicate of xml_files)
1508
1509	* doc/fr/dia-cmdline.xml doc/eu/dia-1.xml : added, bug #465460
1510	* doc/eu/dia.1 : updated
1511
1512	* configure.in bindings/Makefile.am : some more autotools trial and
1513	error not fixing bug #540694 - help appreciated
1514
15152008-06-27  Hans Breuer  <hans@breuer.org>
1516
1517	[Second iteration on patch from Thomas Harding improving the
1518	 documentation generation, now 'make distcheck' succeeds again.
1519	 fixing bug #539848]
1520	* doc/html/images/*.png doc/html/images/callouts/*.png : added
1521	the missing png images and callouts
1522	* doc/fr/dia-cmdline.xml : updated
1523	* doc/eu/dia-1.xml : added (data out from dia.dbk)
1524	NOTE: don't know why an English man page is in "eu".
1525	* doc/eu/dia.xml : added entities placeholders (commenteds out)
1526	for commandline/manpage content
1527	* hardcopies.make :
1528	- added $(DESTDIR) to $(sysdoc) path.
1529	- html: deleted insane ;) dependency on $(progname)-cmdline.xml, as
1530	$(xmlsources) will list it in individual languages; rewritten
1531	file-to-compile as 'first target' == $(progname).xml
1532	- pdf: deleted insane dependency on $(progname)-cmdline.xml
1533	- ps: the same...
1534	- pdf and ps dependencies,"jw" build way: the same...
1535	* omf.make : solved inconsistency in omf files path between
1536	install/uninstall [$(DESTDIR)]
1537
15382008-06-22  Hans Breuer  <hans@breuer.org>
1539
1540	* doc/(en|fr)/Makefile.am : remove $(progname).$(progfiles_extension)
1541	from examples
1542	* hardcopies.make : resurrect example installation
1543
15442008-06-22  Hans Breuer  <hans@breuer.org>
1545
1546	[Patch from Thomas Harding improving the documentation generation]
1547	* doc/*/hardcopies.makefile : moved to $(top) directory
1548	* hardcopies.make : now uses dblatex or fallback on jw
1549	  (jade/openjade wrapper).
1550	* doc/*/README.hardcopies : removed, now handled by configure
1551	* configure.in : check for and do documentation generation when
1552	  given --with-hardbooks
1553	* doc/**/*.xml : dropping HTML entities, making dia-1.xml
1554	  independent from dia-cmdline.xml, dropping file extension from
1555	  graphics
1556	* doc/*dia-dbk-to-chapter.sed: removed leftovers from previous
1557	  doc patch (was too fragile)
1558	* doc/html/images/caution.svg
1559	  doc/html/images/important.svg
1560	  doc/html/images/note.svg
1561	  doc/html/images/tip.svg
1562	  doc/html/images/prev.svg
1563	  doc/html/images/home.svg
1564	  doc/html/images/next.svg
1565	  doc/html/images/warning.svg
1566	  doc/html/images/up.svg
1567	  doc/html/css/dia.css: new files - images for admonitions and
1568	  callouts (for html version)
1569	* doc/fr/dia.xml: switched encoding to utf8 (more versatile for
1570	  inexperienced maintainers (needs no entities for specific
1571	  glyphs such as ISO entity "oelig" or "laquo"...)
1572	* doc/pl/*.xml: updated some from *.sgml, corrected encoding to
1573	  iso-8859-2.  Corrected graphics "filetype" attribute to
1574	  uppercase "PNG".
1575	* Adding Changelog-tmp, which may be dropped at any time.
1576	* doc/*/dia-*.omf: make indexation really works with
1577	  scrollkeeper (which extends omf format). Now yelp shows
1578	  dia manual in its TOC/whatever.
1579
1580	* doc/(en|fr)/dia-cmdline.xml : added from my working copy, not sure
1581	where it came from ;) The 'fr' version needs translation.
1582	* doc/Makefile.am : temporary disabled due to build problems
1583	* doc/*/*.dia : svn mv doc/en/dia.dia ../samples/Self/
1584	  svn rm fr/dia.dia - there is no relation to the rest of docs
1585	* doc/hardcopies.make : don't (un)install-examples
1586
15872008-06-07  Steffen Macke <sdteffen@sdteffen.de>
1588
1589	* shapes/Cisco/telecommuter_house_router.png:
1590	* shapes/Cisco/layer3_switch.png:
1591	* shapes/Cisco/gigabit_switch_router_atm_tag.png:
1592	* shapes/Cisco/dpt.png:
1593	* shapes/Cisco/svx.png:
1594	* shapes/Cisco/dot_dot.png:
1595	* shapes/Cisco/man_woman.png:
1596	* shapes/Cisco/workstation.png:
1597	* shapes/Cisco/communications_server.png: Standard icon size 22x22
1598
15992008-06-07  Hans Breuer  <hans@breuer.org>
1600
1601	* app/makefile.msc : need to link cairo for getting it's version
1602	* lib/libdia.def : color_init still used outside of libdia
1603
1604	* plug-ins/svg/svg-import.c : if the drawing size was giving in points
1605	the scaling was going in the wrong direction leading to huge diagrams
1606
16072008-06-01  Hans Breuer  <hans@breuer.org>
1608
1609	* app/display.c : get rid of HAVE_LIBART, there is antialiased
1610	rendering with cairo, too. Update menu by plug-ins types
1611	being available.
1612	* lib/font.c : now that I can look at the cairo renderer interactively
1613	the renderers font-size mismatch raised it's ugly head again. Some
1614	code in	comment which does not solve the issue
1615
1616	* app/app_procs.c : updated version dump for cairo and pango
1617	* configure.in : updated pango version required (to the same
1618	already dragged in by gkt+ (still 2.6 as minimum)
1619
1620
16212008-05-31  Hans Breuer  <hans@breuer.org>
1622
1623	* lib/libdia.[ch] : new files containing the initialization code ...
1624	* app/app_procs.c : ... removed here ...
1625	* plug-ins/python/diamodule.c : ... to be useable from here
1626	* lib/Makefile.am lib/makefile.msc lib/libdia.def : adapted
1627
1628	* app/diagram.c : there is no diagram_tree to update when not
1629	running interactively, also no display to update
1630
1631	[warningectomy]
1632	* lib/diaarrowchooser.c lib/persistence.[ch] : constness
1633	* lib/diagramdata.c : signedness
1634	* lib/font.c : initialization
1635
1636	* objects/UML/association.c : moved calculation of the direction
1637	triangle into it's own function and use it for bounding box
1638	calculation and drawing. Fixes bug #158265
1639
1640	* lib/diagtkfontsel.[ch] : not used for quite some time -> removed
1641	* lib/widgets.c lib/Makefile.am po/POTFILES.in : adapted/updated
1642
16432008-05-30  Hans Breuer  <hans@breuer.org>
1644
1645	[
1646	  Moved libart rendering and it's PNG export to a plug-in.
1647	  So it can be switched off before being deprecated in favour of cairo.
1648	]
1649	* plug-ins/libart/dialibartrenderer.[hc] : from lib/*
1650	* plug-ins/libart/export_png.c : moved from app/*
1651	* plug-ins/libart/render_libart.[hc] : moved from app/*
1652	* lib/dialogs.[hc] : moved from app/*
1653	* app/app_procs.[hc] : parse_size moved to plug-in
1654	* app/display.c : dynamically create the aa renderer like it is done
1655	for the cairo renderer
1656
1657	* app/Makefile.am app/makefile.msc plug-ins/makefile.msc
1658	  lib/libdia.def lib/Makefile.am lib/makefile.msc
1659	  plug-ins/Makefile.am configure.in po/POTFILES: adapted
1660	* plug-ins/libart/Makefile.am : build it on Linux (untested)
1661
1662	app/menus.c : View/Antialiased currently always enabled
1663
1664	* lib/filter.h plug-ins/cairo/diacairo.c plug-ins/libart/dialibart.c :
1665	put the renderer tpye in the export filter struct, at least it avoids
1666	optimizing away it's side effect
1667
1668	* plug-ins/libart/dialibartrenderer.c plug-ins/libart/render_libart.c :
1669	now the libart renderer has always the interactive interface which
1670	make it work as display renderer again
1671
16722008-05-26  Hans Breuer  <hans@breuer.org>
1673
1674	* lib/diagdkrenderer.c : don't rely on shortcut evaluation working
1675	with the preprocessor, fixes bug #534801
1676
1677	* sheets/checktrans.py : gracefully fail on missing dependencies.
1678	The translation report is not crucial for building. Fixes bug #391965
1679
1680	data/popup-ui.xml : get rid of Diagram menu here as well
1681
16822008-05-25  Hans Breuer  <hans@breuer.org>
1683
1684	* app/commands.c(file_print_callback) : implement by querying for
1685	print plug-ins in order of preference for different platforms
1686
1687	* app/display.c(ddisplay_set_cursor) : don't try to set a cursor on a
1688	window not yet created
1689	* app/interface.c(use_integrated_ui_for_display_shell) : pass the
1690	renderer preference when ddisplay_set_renderer() - too early
1691	* app/render_gdk.c(set_size): handle being called without a window
1692	gracefully. Together this allows to start the Integrated UI without
1693	g_warning().
1694
1695	* app/menu.[ch] : make add_plugin_actions() work for all GUI variants,
1696	get rid of add_toolbox_plugin_actions(). Fixes bug #526146
1697
1698	* plug-ins/cairo/diacairo.c plug-ins/postscript/postscript.c
1699	  plug-ins/wmf/wmf.cpp : don't crash on data being NULL (integrated UI
1700	does not yet properly disable menu items)
1701
1702	* data/display-ui.xml : get rid of the "<Display>/Diagram" by moving
1703	the *two* entries to the Edit menu (like with Integrated UI)
1704	* data/integrated-ui.xml : add Find & Replace
1705
1706	* app/interface.c : use fallback window icon code for Integrated UI,
1707	too. Fixes bug #526147
1708
1709	[
1710	  Patch from Thomas Harding:
1711	  Bug 534656 - French manual update + addressing bug #510537
1712	]
1713	* doc/en/dia-1.xml doc/fr/dia-1.xml doc/en/dia.dbk
1714	  doc/en/dia.xml doc/en/Makefile.am doc/fr/custom-shapes.xml
1715	  doc/fr/dia.dbk doc/fr/dia.xml doc/fr/Makefile.am
1716	  doc/fr/ps/graphics/preferences-fig.eps
1717	  doc/fr/ps/graphics/preferences_fig.eps
1718	  doc/fr/usage-customization.xml
1719	  doc/fr/usage-objects-basic.xml :
1720	- rename /doc/fr/ps/graphics/preferences-fig.ps ->
1721	..../preferences_fig.ps
1722	- fix typo in usage-customization.xml about above (png).
1723	- Makefile.am:
1724	  - re-enable above png file
1725	  - disable sed-script (Bug #510537), superceded by inclusion of
1726	  dia-1.xml as SYSTEM ENTITY in dia-cmdline.xml and dia.dbk (for en/fr)
1727	- usage-objects-basic.xml: add the tricks about text entries cut and paste
1728	- dia.xml: delete attribute lang from <?xml ... first line
1729	- custom-shapes.xml: add para about default-(width|height)
1730	* doc/fr/Makefile.am : remove '#dia-dbk-to-chapter.sed \' instead of
1731	doc/fr/Makefile.am:41: `#' comment at start of rule is unportable
1732
1733	* doc/en/dia.1 : regenerated
1734
1735	* lib/beziershape.c(beziershape_remove_segment): did not store
1736	all information for undo. s/PointChange/BezPointChange/ to help
1737	my debugger.
1738
1739	* lib/object_defaults.c(dia_object_default_create) : the standard
1740	(toolbox visible) properties were overwritten although not set
1741
1742	* plug-ins/cairo/diacairo-interactive.c : draw_pixel_line and
1743	draw_pixel_rect implmented with cairo rather than GDK makes the
1744	line style of the grid visible again
1745
1746	* app/menus.c(plugin_callback) : was using ddisp unconditionally
1747	causing a crash without active display, fixed remaining warnings
1748	while there
1749
1750	* plug-ins/cairo/diacairo.c : register printing with cairo near
1751	to the original print menu item
1752	* plug-ins/postscript/postscript.c : don't register the postscript renderer
1753	for printing on win32
1754
1755	Attempts to fix bug #534275
1756	* lib/diagdkrenderer.c(draw_fill_rounded_rect) : attempt to make
1757	arc drawing for radius<line_width less backend specific.
1758	* objects/standard/box.c objects/standard/polyline.c
1759	  objects/standard/zigzagline.c :
1760	set LINEJOIN_ROUND when rendering "rounded" (with radius>0)
1761
17622008-05-24  Steffen Macke <sdteffen@sdteffen.de>
1763
1764	* sheets/SISSI/analyse.png:
1765	* sheets/SISSI/personne.png:
1766	* sheets/SISSI/pda_icon.png:
1767	* sheets/SISSI/sauvegarde.png:
1768	* sheets/SISSI/logiciel.png:
1769	* sheets/SISSI/barriere_icon.png:
1770	* sheets/SISSI/meuble.png:
1771	* sheets/SISSI/camera_interphone_icon.png:
1772	* sheets/SISSI/safe_icon.png:
1773	* sheets/SISSI/si.png:
1774	* sheets/SISSI/info.png:
1775	* sheets/SISSI.sheet.in: Standard icon size 22x22
1776
17772008-05-23  Steffen Macke <sdteffen@sdteffen.de>
1778
1779	* sheets/SISSI/capteur_brise_glace_icon.png:
1780	* sheets/SISSI/detecteur_fumee_icon.png:
1781	* sheets/SISSI/capteur_faisceau_icon.png:
1782	* sheets/SISSI/detecteur_enthalpie_icon.png:
1783	* sheets/SISSI/condensateur_icon.png:
1784	* sheets/SISSI/detecteur_mouvement_icon.png:
1785	* sheets/SISSI.sheet.in: Standard icon size 22x22
1786
17872008-05-22  Steffen Macke <sdteffen@sdteffen.de>
1788
1789	* sheets/SISSI/46.xml: Fixed XML problem that prevented the object
1790	from being used
1791	* sheets/SISSI/detecteur_vibration_icon.png:
1792	* sheets/SISSI/detecteur_mouvement_video_icon.png:
1793	* sheets/SISSI/detecteur_vehicule_icon.png:
1794	* sheets/SISSI.sheet.in: Standard icon size 22x22
1795
17962008-05-21  Steffen Macke <sdteffen@sdteffen.de>
1797
1798	* sheets/SISSI/digi_code_icon.png:
1799	* sheets/SISSI/filtre_air_icon.png:
1800	* sheets/SISSI/lecteur_badge_icon.png:
1801	* sheets/SISSI.sheet.in: Standard icon size 22x22
1802
18032008-05-19  Steffen Macke <sdteffen@sdteffen.de>
1804
1805	* sheets/SISSI/pompe_icon.png:
1806	* sheets/SISSI/pompe_rotative_icon.png:
1807	* sheets/SISSI/lecteur_biometrique_icon.png:
1808	* sheets/SISSI/ventilateur_axial_icon.png:
1809	* sheets/SISSI/porte_tambour_icon.png:
1810	* sheets/SISSI.sheet.in: Standard icon size 22x22
1811
18122008-05-18  Steffen Macke <sdteffen@sdteffen.de>
1813
1814	* sheets/SISSI/extincteur_icon.png:
1815	* sheets/SISSI/onduleur_icon.png:
1816	* sheets/SISSI/extracteur_humidite_icon.png:
1817	* sheets/SISSI/aircooler_icon.png:
1818	* sheets/SISSI.sheet.in: Standard icon size 22x22
1819
18202008-05-18  Hans Breuer  <hans@breuer.org>
1821
1822	* app/properties.c : work around the disability of Gtk on win32 to
1823	shrink the property dialog when it is hidden (by destroying instead)
1824	Fixes bug #333751.
1825
1826	* lib/diagdkrenderer.c lib/diarenderer.c
1827	  plug-ins/cairo/diacairo-renderer.c (*_rounded_rect) : fall back to
1828	(draw|fill}_rect if the radius is so small (smaller than one device
1829	unit) it will only produce artifacts. Fixes bug #446854
1830
1831	[finally use dia_object_get_enclosing_box() to ... ]
1832	* app/commands.c : ... have bezier control points in field of view
1833	when "show all" with selected bezier objects
1834	* app/object_ops.c ... get rid of bezier control line traces, because
1835	they are not included with the bounding box. Fixes bug #300055
1836	* objects/standard/bezier.c objects/standard/beziergon.c : calculate
1837	the enclosing box as control points plus bounding box
1838
1839	* objects/Database/table.c : don't use dia_object_get_enclosing_box()
1840	where dia_object_get_bounding_box() was meant
1841
1842	* lib/libdia.def lib/bounding_box.[hc] : export some bezier helper
1843	functions instead of copy and pasting them to ...
1844	* objects/Istar/link.c : ... other users
1845
1846	* lib/bounding_box.c : added some API documentation for the helpers
1847	(bicubicbezier_extrema) : special casing for quadratic curves to avoid
1848	division by (almost) zero and improve/fix bounding box calculation for
1849	symmetric bezier curves
1850
18512008-05-18  Steffen Macke <sdteffen@sdteffen.de>
1852
1853	* SISSI/lecteur_badge_clavier_icon.png:
1854	* SISSI/detecteur_alimentation_icon.png:
1855	* SISSI/ventilateur_centrifuge_icon.png:
1856	* SISSI/detecteur_courant_icon.png:
1857	* SISSI/detecteur_tension_icon.png:
1858	* SISSI/detecteur_humidite_icon.png:
1859	* SISSI/detecteur_qualite_air_icon.png:
1860	* SISSI/detecteur_pression_icon.png:
1861	* SISSI/detecteur_lumiere_icon.png:
1862	* SISSI.sheet.in: Standard icon size 22x22
1863	* app/disp_callbacks.c: Return NULL from ddisplay_drop_object() if
1864	no object could be created instead of segfaulting; fixes bug #533679
1865
18662008-05-17  Hans Breuer  <hans@breuer.org>
1867
1868	* app/Makefile.am : no paginate_*.* here, removed from EXTRA_DIST
1869	* plug-ins/wmf/Makefile.am : updated EXTRA_DIST
1870	* plug-ins/postscript/Makefile.am : updated EXTRA_DIST
1871
1872
18732008-05-17  Steffen Macke <sdteffen@sdteffen.de>
1874
1875	* shapes/Lights/*.png: Standard icon size 22x22
1876
18772008-05-16  Steffen Macke <sdteffen@sdteffen.de>
1878
1879	* lib/propobject.c: prevent crash when shapes could not be parsed
1880	correctly. Fixes bug #533459
1881
18822008-05-12  Hans Breuer  <hans@breuer.org>
1883
1884	* shapes/BPMN/*.png : cropped/scaled to 22x22
1885
1886	* app/sheets.c : attempt to add some robustness
1887	* app/sheets_dialog_callbacks.c : g_new0() to catch mis-initialization
1888	(on_sheet_new_dialog_button_ok_clicked) : a newly created sheet was
1889	not selected after creation
1890	(on_sheets_dialog_button_move_clicked) : a move was not considered a
1891	modification of the source sheet
1892	(on_sheets_dialog_button_apply_clicked) : when finally registering the
1893	a new sheet the struct was not properly passed, same for new object
1894	Together this should fix bug #393526
1895
1896	* app/find-and-replace.c : replace (all) part is working, too.
1897
18982008-05-11  Hans Breuer  <hans@breuer.org>
1899
1900	* lib/filer.h app/menus.c : changed signature of DiaCallbackFunc to
1901	additionally take an optional file name
1902	* plug-ins/cairo/diacairo-print.[ch] plug-ins/python/diamodule.c :
1903	adapted to the new signature
1904
1905	* app/paginate_gdiprint.(h|cpp) : move to ...
1906	  plug-ins/wmf/paginate_gdiprint.(h|cpp) plug-ins/wmf/wmf.cpp : ...
1907	and make it work as a plug-in, temporary registered as "Print (GDI)"
1908
1909	* plug-ins/postscript/* copied mainly from app/* :
1910	* plug-ins/postscript/postscript.c : register Dia's formerly built-in
1911	PS filters as plug-in, so they can be switched off when obsoleted by
1912	cairo or the user does not want them, printing temporary registered as
1913	"Print (PS)"
1914
1915	* postscript/paginate_psprint.c(diagram_print_ps) : filename handling
1916	* configure.in plug-ins/Makefile.am plug-ins/postscript/Makefile.am
1917	  plug-ins/postscript/postscript.c : build the plug-in and ...
1918	* app/diapsft2renderer.[ch] app/diapsrenderer.[ch] app/render_eps.[ch]
1919	  app/paginate_psprint.[ch] app/win32print.[ch] : ... remove ...
1920	  app/app_procs.c app/commands.c app/Makefile.am app/makefile.msc :
1921	... postscript handling from core
1922	* app/diagram.c app/app_procs.c : removed dangling includes
1923	* po/POTFILES.in : reflect movement of files
1924
1925	* lib/ps-utf8.[ch] : moved to plug-ins/postscript/ps-utf8.[ch]
1926	* lib/Makefile.am lib/makefile.msc plug-ins/makefile.msc
1927	  plug-ins/postscript/Makefile.am lib/libdia.def : updated accordingly
1928
1929	* objects/standard/outline.c : don't try to render a bezier with 0 points
1930
19312008-05-10  Hans Breuer  <hans@breuer.org>
1932
1933	* objects/standard/outline.c(move_handle) : initial implementation
1934	* objects/Misc/measure.c : object position should be start point
1935
1936	* lib/widget.c(DiaSizeSelector): initialize static variable, avoid
1937	division by zero, don't compare floating points for identiy; together
1938	fixing bug #479591
1939
1940	* lib/font.c(dia_font_get_sizes) : use the maximum width of logical-
1941	and ink-rect to make the always glyphs fit the bounding box. Probably
1942	fixes bug #455651 but needs checking with DiaRenderer using Freetype.
1943
1944	* lib/diagramdata.c(layer_update_extents) : don't consider empty
1945	objects for the overall extents. Fixes bug #531687 and lowers
1946	priority of bug #99375.
1947
1948	* plug-ins/wmf/wmf.cpp : don't assume pango_context_load_font() can not
1949	fail. It does for font descriptions pointing to fonts not available
1950	on the particular system.
1951
1952	* lib/text.c(text_calc_boundingbox) : the bounding box did include one
1953	descent too much, which caused wrong placement for "Standard - Text"
1954	which calculates the vertical text positioning from the bounding box.
1955	Fixes bug #528642 but not bug #438020.
1956
1957	* lib/grid.c(grid_draw_*_lines) : the major lines were sometimes off
1958	by one due to rounding problems. Fixes bug #382212.
1959
1960	* objects/standard/outline.c : forgot to call update_data after copy
1961
1962	* objects/Misc/measure.c objects/Misc/pixmaps/measure.xpm
1963	  objects/Misc/libmisc.c objects/Misc/Makefile.am objects/makefile.msc
1964	  sheets/Misc.sheet.in : a new object to measure and show the distance
1965	between two connection points.
1966
1967	* plug-ins/python/select_empty.py : allows to find objects with empty
1968	bounding boxes like empty text. See bug #99375.
1969	* plug-ins/python/Makefile.am : install it
1970	* app/display.c(selection_changed) : update menu sensitivity in the
1971	signal handler for selection changed. Could replace a lot of explicit
1972	updates, but is needed when the selection is changed from a plug-in
1973	* app/diagram.c(diagram_update_menu_sensitivity) : maybe called with
1974	ddisplay_active() returning NULL, don't crash on that.
1975
19762008-05-06  Steffen Macke <sdteffen@sdteffen.de>
1977
1978	* installer/win32/dia.nsi:
1979	* installer/win32/locale/slovenian.nsh: Slovenian translations for the
1980	installer. Patch from Martin Srebotnjak <filmsi@users.sourceforge.net>
1981
19822008-05-04  Hans Breuer  <hans@breuer.org>
1983
1984	* plug-ins/xfig/xfig-import.c(fig_read_arc): acccept pie-wedge
1985	although not completely supported. Better than refusing the whole file
1986	(fig_read_text) : fixed probable typo 3.54/72.0
1987
1988	* lib/geometry.[hc] lib/libdia.def: three_point_circle() calculate
1989	center point and radius given 3 points on a circle, fixed prototype and
1990	implementation to ...
1991	* plug-ins/xfig/xfig-export.c : corrected arc export for both draw_arc
1992	and fill_arc methods
1993
1994	* plug-ins/xfig/xfig-import.c lib/create.h(create_standard_arc) : the
1995	fifth parameter was named and treated as radius alsthough it set the
1996	"curve_distance"
1997	* lib/create.c(create_standard_arc) : also the second point passed in
1998	was simply ignored. Now it moves the second handle. Part of bug #436148
1999
2000	* plug-ins/cairo/diacairo.c : more exporters marked as FILTER_DONT_GUESS
2001	Fixes writing of (old) WMF, but text is missing for both EMF and WMF.
2002
2003	* samples/render-test.dia : fixed some alignments and colors
2004
20052008-05-03  Hans Breuer  <hans@breuer.org>
2006
2007	* app/filedlg.c : adapt the "Supported Formats" filter so that the
2008	files shown are matching the extensions of the slected import filter.
2009	Fixes bug #503117
2010
2011	* objects/UML/association.c : the transition to full StdProps broke
2012	the restoration of autorouting swicthed off in version 1 shapes
2013	* samples/Self/PyDiaObjects.dia : documentation of PyDia which
2014	showed the problem
2015
2016	* plug-ins/xslt/xslt.c(xslt_ok) : the directory name passed into xslt
2017	needs to be an uri (*NIX being more tolerant). Fixes bug #472143.
2018
2019	* samples/Self/dia-renderer.dia : updated one more
2020
2021	* app/load_save.c : only update handle positions if the bounding box
2022	is empty after creation of the object
2023
2024	* plug-ins/wmf/wmf.cpp : use Pango for loading the font but not for
2025	rendering (taking the better part of my patch to fix bug #350726)
2026	* plug-ins/makefile.msc : link wmf with pangowin32.lib, clean-up
2027
2028	* app/find-and-replace.c : reset last found if we start a new search
2029
2030	* app/render_gdk.c(draw_pixel_rect, draw_pixel_line) : clip early to
2031	avoid passing out-of-range parameters to Gdk
2032
20332008-05-02  Hans Breuer  <hans@breuer.org>
2034
2035	* objects/FS/flow-ortho.c objects/FS/flow-poly.c objects/FS/flow.c :
2036	objects/FS/flow.c : Object::copy() was not calling Object::update()
2037	resulting in uninitialized memory, crashing or corrupted diagrams.
2038	Not anymore, fixing bug #456270
2039
2040	* plug-ins/dxf/dxf-import.c : either add the objects directly to
2041	a layer or use them in a group. Otherwise memory corruption will
2042	occur at the latest at diagram destruction time
2043
2044	* app/diagram_tree.c : there was a pixmap and mask created for every
2045	object in the diagram; not only waste of cpu cycles but also a
2046	resource problem making Gdk fail for a diagram with >7000 objects.
2047	Now the type specific pixmap and mask are hold in a hashtable and
2048	only ref'd for use in the GtkCTree. Also a pixbuf leak was plugged.
2049
2050	* app/preferences.[hc] app/display.c : antialized view default
2051	selectable from prefernces, bug #338832
2052
2053	* plug-ins/dxf/dxf-export.c : the TABLES section was missing the
2054	TABLE start, should fix bug #528741
2055
2056	* lib/filter.[hc] : introduce the ability to influence guessing of
2057	import/export -filters. If one is marked as FILTER_DONT_GUESS it is
2058	only selected by the guessing if it is the only one registering a
2059	certain extension
2060	* lib/plug-in.h : increase DIA_PLUGIN_API_VERSION
2061	* plug-ins/python/diamodule.c : set FILTER_DONT_GUESS for all filters
2062	implemented in Python
2063	* plug-ins/pixbuf/pixbuf.c : set FILTER_DONT_GUESS for vector formats
2064	supported by GdkPixbuf. This way a Dia importer capable to process
2065	vectors gets preferred
2066
20672008-05-01  Hans Breuer  <hans@breuer.org>
2068
2069	* app/find-and-replace.[hc] : inital version of find&replace - find
2070	already working, replace does nothing yet (to be continued)
2071	* app/Makefile.am app/makefile.msc : build find-and-replace.c
2072	* lib/diagramdata.[hc] : new function data_foreach_object() to simplify
2073	the iteration over objects
2074	* lib/libdia.def : export it
2075	* data/display-ui.xml data/popup-ui.xml app/menus.c : Find&Replace
2076	in the menus
2077
2078	* samples/Self/dia-renderer.dia : updated
2079
20802008-04-28  Hans Breuer  <hans@breuer.org>
2081
2082	* lib/diagdkrenderer.c : another cheap optimization, clip the
2083	requested sub-pixbuf to the visible area
2084
20852008-04-28  Steffen Macke <sdteffen@sdteffen.de>
2086
2087	* shapes/Cisco/router.png: Standard icon size 22x22; Thanks to
2088	Ian Redfern
2089
20902008-04-27  Hans Breuer  <hans@breuer.org>
2091
2092	* shapes/Cisco/*.png shapes/RDP/*.png  shapes/Cisco/Makefile.am
2093	  shapes/RDP/Makefile.am : removed unrefernced icons
2094
2095	* lib/dia_image.h : include gdkpixbuf.h rather than forward declaring
2096	typedef struct _GdkPixbuf GdkPixbuf; gcc does not like the latter
2097
2098	* objects/custom/custom_object.c : 'default_properties' were not
2099	initialized as intended, e.g. show_backgound was random data
2100
2101	* shapes/Lights/ACL.png shapes/MSE/large_extension_node.png
2102	  shapes/Logic/and.png shapes/MSE/small_extension_node.png
2103	  shapes/ChemEng/*.png : desired icon size is 22x22
2104
2105	* sheets/UML/aggregation.png : rotated/flipped to show the
2106	usual direction
2107
2108	[
2109	  finally restores the feature to have different defaults for the same
2110	  object by 'intdata' in sheet file, e.g. Class and Template in UML.
2111	  Strange that I can't find any bug report related to this ;)
2112	]
2113	* app/defaults.[hc] lib/object.h lib/object_defaults.c : pass user_data
2114	to dia_object_default_get(), although not using it yet. Remove unused
2115	function dia_object_default_make().
2116	(dia_object_default_create) : direct hashtable access to avoid
2117	creating a default object for every object used. Only the default
2118	dialog created from double-clicking the tools toolbox icon creates
2119	a new default object now.
2120	Also only copy ~PROP_FLAG_NO_DEFAULTS to preserve intdata initialized
2121	properties over stored ones
2122	* objects/GRAFCET/vergent.c objects/Istar/actor.c objects/Istar/goal.c
2123	  objects/Istar/link.c objects/Istar/other.c objects/Jackson/domain.c
2124	  objects/Jackson/phenomenon.c objects/KAOS/goal.c
2125	  objects/KAOS/metaandorrel.c objects/KAOS/metabinrel.c
2126	  objects/UML/association.c objects/UML/component_feature.c : mark
2127	properties modified by intdata/GPOINTER_TO_INT(user_data) as
2128	PROP_FLAG_NO_DEFAULTS, thus they are no longer over-written by the
2129	object defauts system.
2130	* objects/UML/class.c : no default name anymore
2131
2132	* doc/custom-shapes : mention <default-width/> and <default-height/>
2133	* shapes/circuit/(h|v)*.shape : use them to have more recognizable
2134	shapes. Fixes bug #493237.
2135
2136	* lib/prop_widgets.c : set the unfoldbutton to insensitive when
2137	invisible to stop propagating key events to it. Fixes bug #491028
2138	* objects/standard/(bezier|line|polyline).c : added
2139	PROP_OFFSET_FRAME_BEGIN("gaps"), PROP_OFFSET_FRAME_END("gaps")
2140	to get symmetry between PropDescriptions and PropOffsets
2141
2142	* lib/widgets.c : no more singned/unsigned mismatch and get rid of
2143	incompatible types - from 'struct _GtkWidget *' to
2144	'struct _GtkFileSelection *', the DiaFileSelector::dialog is a
2145	GtkFileChooser for quite a long time
2146
21472008-04-26  Hans Breuer  <hans@breuer.org>
2148
2149	* objects/UML/association.c : one more selfmade dialog gone,
2150	'UML - Association' now use StdProps, too.
2151
2152	* objects/UML/transition.c : move text positions by same delta than
2153	the center handle, fixes bug #528738
2154
2155	[ there is an unwritten rule for std-props: same name, same type ]
2156	* objects/AADL/aadlbox.c objects/Jackson/phenomenon.c
2157	  objects/UML/message.c objects/UML/node.c : what is called text
2158	should be of type text
2159	* objects/KAOS/metaandorrel.c objects/UML/implements.c : 'name' is
2160	of type string
2161	* objects/GRAFCET/step.c : font_size as fontsize not real
2162	* objects/standard/box.c : corner_radius as real
2163	* objects/UML/classicon.c : stereotype is a string
2164
2165	* plug-ins/python/allprops.py : creates a diagram extracting common
2166	properties from all registered objects, warns about name/type clashes
2167	* plug-ins/python/Makefile.am : add allprops.py, remove
2168	diasvg_import.py from installed plug-ins
2169	* plug-ins/python/pydia-properties.c : exclude PROP_FLAG_LOAD_ONLY
2170	(compatibility) properties from the property dictionary
2171	* bindings/test.py : added allprops test
2172
2173	* lib/propdialogs.c : use &= ~PXP_NOTSET to reset the property
2174	experience flag
2175
21762008-04-25  Hans Breuer  <hans@breuer.org>
2177
2178	* lib/diagdkrenderer.c dia_image.[ch] : don't use dia_image_draw()
2179	for up-scaling of images to reduce memory consumption (bug #439885)
2180
2181	* objects/custom/shape_info.c : don't mess with info->icon after
2182	preload (valgrind complained about invalid reads of free'd strings
2183	and sometimes there was a missing icon in the toolbox. Also fixed
2184	some type cast warnings
2185
2186	* lib/diagdkrenderer.c lib/diasvgrenderer.c lib/dialibartrenderer.c
2187	  app/diapsrenderer.c app/diapsft2renderer.c : all
2188	DiaRenderer::draw_string() methods	were leaking their text_line
2189	* lib/textline.c(text_line_destroy) : use clear_layout_offset()
2190	instead of leaking cached values
2191	* lib/autoroute.c : othconn_set_points does not eat points
2192	* app/diagram.c : return of diagram_get_name() must be free'd
2193	* objects/standard/line.c : connpointline_create must be paired with
2194	connpointline_destroy()
2195	* objects/standard/outline.c : object_init() needs object_destroy()
2196	* objects/UML/state.c : don't miss to free action strings
2197	* objects/UML/transition.c : also leaking strings
2198
2199	* plug-ins/vdx/vdx-import.c : minimal handling of vdx:PolylineTo
2200	to avoid an endless loop, fixes bug #529882
2201
2202	* lib/propdialogs.c(property_signal_handler) : get rid of
2203	signed/unsigned warning
2204	(prop_dialog_add_properties) : better guess on the required size
2205	of the scrollable area. Never make it bigger than the full content.
2206
2207	* lib/properties.h : remove defintions for PROP_STD_MULTICOL_*, these
2208	format helpers need to be unique in case of being combined in the
2209	group properties dialog across such objects
2210	* objects/chronogram/chronoref.c objects/Database/reference.c
2211	  objects/Database/table.c objects/UML/class.c : updated accordingly
2212
2213	* objects/misc/misc.c : remove registration of newgroup here
2214	* app/app_procs.c : use USE_NEWGROUP to conditionally register
2215	newgroup_type (default disabled, because it is unfinished) ...
2216	* lib/newgroup.h : ... make newgroup_type a DIAVAR to be useable
2217	in principle on win32. Together fixes bug #505513
2218	* lib/newgroup.c : #warning is a gcc extension, conditionalize
2219	* lib/makefile.msc : build newgroup.obj
2220
22212008-04-20  Hans Breuer  <hans@breuer.org>
2222
2223	* objects/UML/object.c : also write 'name' in text_color
2224	* objects/UML/association.c : line_color and text_color
2225	* objects/UML/component_feature.c : added line_color
2226	* objects/UML/fork.c : added fill_color
2227	* objects/UML/state_term.c : fill_color and line_color
2228	* objects/UML/transition.c : fill_color and text_color
2229	=> all UML shapes can be tinted now, closing bug #169107
2230
2231	* app/load_save.c : use 'obl->ops-move(obj,obj->position)'
2232
22332008-04-19  Hans Breuer  <hans@breuer.org>
2234
2235	* app/diagram.c : put the modification mark ('*') in the window title
2236	like other programs do, ...
2237	* app/display : ... remove "Diagram modified" from the statusbar ...
2238	* app/create_object.c app/modify_tool.c : ... and clean out temporary
2239	positions in button_release
2240	* app/interface.[ch] : removed specialized handling of modification for
2241	integrated ui, it is not needed anymore
2242
2243	* app/tool.h : remove unused struct _ToolInfo
2244
2245	* lib/textline.c : an empyt text created bogus ascent/descent, it used
2246	to mean the fonts ascent/descent. Fixes e.g. the positioning of
2247	'UML - LargePackage' label, fixes bug #439862
2248
2249	* objects/standard/textobj.c(textobj_load) : intialize TextObj::attrs
2250	from TextObj::text (bug #528903, Leon Stringer)
2251	* objects/Istar/goal.c objects/Istar/other.c objects/Jackson/domain.c
2252	  objects/SADT/box.c : had a similar problem leaving attrs
2253	 uninitialized in their create method
2254
22552008-04-15  Steffen Macke  <sdteffen@sdteffen.de>
2256
2257	* shapes/Cisco/content_service_router.png:
2258	* shapes/Cisco/voice_switch2.png:
2259	* shapes/Cisco/router_in_building.png: Resized icons to standard size
2260	22x22; partial fix for #528251
2261
22622008-04-14  Steffen Macke  <sdteffen@sdteffen.de>
2263
2264	* shapes/BPMN/compensation.shape: Further improvment of the shape,
2265	foreground color can now be choosen in Dia
2266	* shapes/BPMN/*.shape: Fill color can now be specified in Dia instead
2267	of hardcoded white fill; Patch from David Nguyen <pppswing@yahoo.fr>
2268	* bindings/dia-properties.cpp:
2269	* lib/diatypes.h: Patch from Stefan Husmann <stefan-husmann@t-online.de>
2270	to fix compiler errors
2271
22722008-04-14 Gabor Kelemen  <kelemeng@gnome.org>
2273
2274	* app/menus.c: Corrected typo spotted while updating translation.
2275
22762008-04-14  Gabor Kelemen  <kelemeng@gnome.org>
2277
2278	* installer/win32/locale/hungarian.nsh: Updated translation.
2279
22802008-04-13  Hans Breuer  <hans@breuer.org>
2281
2282	* lib/propdialogs.c : if there are more than a dozen properties
2283	make the dialog scrollable
2284	* lib/propdesc.c(prop_desc_lists_union) : even the union of properties
2285	must not contain properties maked by PROP_FLAG_DONT_MERGE
2286	* lib/prop_widgets.c : fixed long-standing bug of MULTICOL properties
2287	not being in the expected order
2288
2289	[more robustness for incomplete (i.e. usually generated) diagrams]
2290	* app/load_save.c : adjust the connections positions automatically,
2291	it is impossible to do so while generating
2292	* lib/element.h lib/object.h lib/orth_conn.h lib/properties.h
2293	  objects/UML/generalization.c : marked more properties optional - if
2294	they are properly initialized - to get rid of a lot of g_warnings()
2295	and one step further to fix #56233
2296	* samples/gobj-parse.c : a simple parser to generate a class diagram
2297	out of GObject using headers to test the above
2298
2299	[currently unused: first step for property editor with GtkTreeView]
2300	* lib/diamarshal.list : add marshaler
2301	* lib/diacellrendererproperty.[hc] : boilerplate for CellRenderers
2302	* lib/makefile.msc lib/Makefile.am : build new files
2303	* lib/prop_sdarray.c : prepare to make the list editable
2304
2305	* lib/diatypes.h lib/widgets.h : moved #include "units.h" to widgets.h
2306	diatypes.h is supposed to contain _only_ type forward declares
2307
2308	* plug-ins/python/diagx.py : importer for XML generated by gccxml
2309
23102008-04-12  Hans Breuer  <hans@breuer.org>
2311
2312	* lib/plug-ins.c : not being able to load a plug-in is not a critical
2313	issue, get rid of message_error() for these. Fixes bug #402320
2314	On windows also use SetErrorMode() to to suppress the systems error
2315	dialog. Finally we are rewriting the error reason if the plug-in file
2316	exists but can not be loaded.
2317
23182008-04-10  Steffen Macke <sdteffen@sdteffen.de>
2319
2320	* installer/win32/locale/german.nsh: Fixed typo
2321	* installer/win32/locale/hungarian.nsh: Added Python texts
2322	* installer/win32/locale/slovak.nsh: Updated Slovak installer
2323	translations. Patch from Ivan Masar <helix84@users.sourceforge.net>
2324	* installer/win32/dia.nsi: Added splash image, updates for the
2325	location of some translation files
2326
23272008-04-09  Steffen Macke <sdteffen@sdteffen.de>
2328
2329	* installer/win32/dia.nsi: Updates for the location of some
2330	translation files
2331
23322008-04-08  Hans Breuer  <hans@breuer.org>
2333
2334	* NEWS app/authors.h : updated
2335
2336	* lib/object.c(object_copy_list) : if we can't find the object to
2337	to connect to ensure there is no dangling reference. Fixes bug #497070
2338	* lib/group.c(group_copy) : some comment
2339
2340	* lib/font.c(dia_font_string_width) : no need to create multiple
2341	TextLines to calculate the length of an empty string.
2342	* lib/text.c(text_key_event) : no text change for modifiers
2343
23442008-04-08  Steffen Macke <sdteffen@sdteffen.de>
2345
2346	* makefile.msc: Don't use the --use-fuzzy option with msgfmt,
2347	updated ALL_LINGUAS
2348	* installer/win32/dia.nsi: Updates for Dia, GTK+ and Installer
2349	locale files; Hungarian and Slovak translations are again available
2350	in the installer
2351
23522008-04-07  Steffen Macke <sdteffen@sdteffen.de>
2353
2354	* installer/win32/dia.nsi: Various small updates; the sample files
2355	are now included in the installer build (fixes bug #518094)
2356
23572008-04-06  Hans Breuer  <hans@breuer.org>
2358
2359	* plug-ins/python/codegen.py : use a list for attributes rather than
2360	a dictionary to preserve the order of attributes. Fixes bug #519162
2361
2362	* objects/UML/class.c : switching comment visibility via object menu
2363	produced an invalid change object: bug #512848
2364	* lib/objchange.c(new_object_state_change): g_return_val_if_fail()
2365	on invalid arguments
2366
2367	* objects/UML/class_dialog.c : a lot of stuff from the 'UML - Class'
2368	was not considered for undo
2369
2370	* lib/newgroup.c : only avoid linking app/ for G_OS_WIN32 does _not_
2371	fix the crash from bug #505513
2372
23732008-04-05  Hans Breuer  <hans@breuer.org>
2374
2375	* lib/widgets.c : setup pixbuf file formats filter for "Load Image"
2376	fixing bug #439847
2377
2378	* objects/standard/image.c : not only check for a different filename
2379	but also for different modification time when setting changing
2380	"Standard - Image". Fixes bug #439849
2381
2382	* plug-ins/pixbuf/pixbuf.c : plug a memory leak
2383
2384	* app/menus.c(ensure_menu_path) : allow plug-ins to create a menu
2385	path again. Does not yet work fopr the integrated ui, see bug #526146
2386	(_ui_manager_connect_proxy) : resurrection of menuitem tooltips,
2387	especially for recent file menu. They were lost in trnaslation to
2388	the GtkAction framework: bug #340352
2389
2390	* app/load_save.c : disable remaining g_access() for win32, otherwise we
2391	can not save to a preexisting file
2392
2393	* app/app_procs.c(app_exit) : don't g_free() const strings,
2394	dia_open_diagrams() returns a GList, not a GSList
2395	Also evaluate the return value of diagram_save() and don't simply
2396	assume saving can't fail. Related to bug #501703
2397	(process_opts) : by accident I had removed the gtk options which broke
2398	also --help
2399
2400	* app/display.c : removed "Key input ..." debug spew
2401
2402	* app/interface.c app/sheets : enforce Dia's toolbox icon size by cropping
2403	icons which are too huge
2404
2405	* lib/makefile.msc : cosmetic change
2406
2407	* plug-ins/cairo/diacairo-print.c : with_alpha does not make sense in
2408	conjunction with printing
2409
24102008-04-04  Steffen Macke  <sdteffen@sdteffen.de>
2411
2412	* app/interface.c: Patch from Patrick Hallinan
2413	<patrick.j.hallinan@gmail.com>: Make the notebook scrollable.
2414
24152008-03-16  Hans Breuer  <hans@breuer.org>
2416
2417	* plug-ins/cairo/diacairo-renderer.c(_rounded_rect) : use cairo_arc()
2418	instead of approximating arcs with beziers
2419
2420	* plug-ins/cairo/diacairo.c plug-ins/makefile.msc : resurrection of
2421	EMF via cairo (cairo-1.6 will support EMF creation via win32-printing
2422	surface so my own cairo patch is finally obsolete)
2423
2424	* sheets/*/*.xpm shapes/**/*.xpm : removed all those obsolete XPM
2425
24262008-03-10  Hans Breuer  <hans@breuer.org>
2427
2428	* app/display.c(are_you_sure_close_dialog_respond) : don't close the
2429	display when saving failed. Fixes bug #501703
2430
24312008-03-09  Hans Breuer  <hans@breuer.org>
2432
2433	* app/load_save.c(diagram_data_save) : not using g_access() because
2434	'My Documents' is write protected by default on XP but still can
2435	contain writable files. With extended security attributes becoming
2436	more common this change may even become necessary for *nix?
2437	Fixes bug #504469.
2438
2439	* objects/standard/outline.c : don't make Dia crash by returning NULL
2440	from get_object_menu. Fixes bug #503899.
2441
2442	* plug-ins/cairo/Makefile.am : forgot diacairo-print.h here as well
2443
2444	* lib/persistence.c : listen again to the configure-event and remove
2445	debug spew (the fix for bug #501475 broke the size storing completely)
2446
2447	* plug-ins/cairo/diacairo-print.c : fix reference counting for cairo_t
2448
2449	* bindings/test.py : make it work on windoze again
2450
2451	* plug-ins/cairo/diacairo-renderer.c : hairline support
2452
24532008-03-08  Hans Breuer  <hans@breuer.org>
2454
2455	* plug-ins/cairo/diacairo-print.c : use the cairo renderer for
2456	integration with the Gtk+ print framework
2457	* plug-ins/cairo/diacairo.c : gtk-print implementation for paginated
2458	output of PDF (bug #513226) and register for printing, also ...
2459	  plug-ins/cairo/diacairo-renderer.c : ... split off the renderer
2460	implmentation in it's own file. Some tweaking for use in the
2461	print context.
2462	* plug-ins/cairo/diacairo.h : calback function to be registered
2463	in the menu (later to replace native printing?)
2464	* plug-ins/cairo/Makefile.am plug-ins/makefile.msc : adapted
2465
2466	* data/display-ui.xml data/popup-ui.xml : more *ExtensionStart to
2467	allow placement of plug-in function in all sub-menus. Above it is
2468	used for "File/Print with Gtk+/cairo ..."
2469
2470	* plug-ins/cairo/diacairo-interactive.c : also compile with Gtk+ < 2.8
2471
24722008-03-05  Hans Breuer  <hans@breuer.org>
2473
2474	* lib/font.c lib/focus.c lib/diagdkrenderer.c
2475	  objects/standard/arc.c object/standard/outline.c : less warnings
2476	by (re)moving (dead|some) code
2477
2478	* objects/standard/Makefile.am : remove whitespace after '\'
2479	* po/POTFILES.in : now really removed app/diaconv.c
2480
2481	* objects/standard/(bezier|polyline|zigzagline).c : reverted changes
2482	from revision 3878. Object plug-in internals must not be made public.
2483	Also the way it was done was not portable.
2484	* objects/standard/(bezier|polyline|zigzagline).h : deleted
2485	* objects/custom_lines/custom_linetypes.c : almost complete rewrite
2486	using only public APIs
2487	* objects/custom_lines/custom_lines.c
2488	  objects/custom_lines/custom_linetypes.h : custom_linetypes_init();
2489	not any longer necessary.
2490	* objects/standard/Makefile.am objects/custom_lines/Makefile.am
2491	  objects/makefile.msc : adapted (reverting the tricks to make
2492	'make distcheck' pass
2493
24942008-03-04  Hans Breuer  <hans@breuer.org>
2495
2496	* objects/EML/* sheets/EML.sheet.in : removed
2497	* objects/Makefile.am : almost 7 years being disabled is enough
2498	* po/POTFILES.in sheets/Makefile.am : adapted
2499
2500	* app/app_procs.c configure.in : removed obsolete POPT cruft
2501
2502	* app/diaconv.c : removed - cruft must die
2503	* app/Makefile.am : adapted
2504	* configure.in : removed obsoltete check for dirent.h
2505
2506	* objects/standard/Makefile.am : ooops, was not built anymore;)gedit
2507
2508	[autobreak trial and error - finally makes 'make distcheck' pass]
2509	* bindings/Makefile.am : dont try to install anything
2510	* data/Makefile.am : add dia-splash.png to EXTRA_DIST
2511	* doc/en/Makefile.am : add dia-dbk-to-chapter.sed to EXTRA_DIST
2512	* xmldocs.make : s/docdir/helpdocdir/
2513	* po/POTFILES.(in|skip) : updated
2514
25152008-03-03  Hans Breuer  <hans@breuer.org>
2516
2517	* lib/makefile.msc : compile units.c and ensure definition of
2518	GLIB_GEN_MARSHAL
2519
25202008-03-01  Hans Breuer  <hans@breuer.org>
2521
2522	* objects/Misc/analog_clock.c : move hour hand by the minute
2523	Patch from Paul McGuire fixing bug #516469
2524
2525	* lib/font.c : dia_font_get_sizes() was wrongly assuming single
2526	line passed in. Patch inspired by Saurabh Nanda, fixes bug #482585
2527
25282008-03-01  Hans Breuer  <hans@breuer.org>
2529
2530	* objects/custom_lines/custom_linetypes.c
2531	  objects/custom_lines/Makefile.am : make the hack to include stuff
2532	from objects/standard pass 'make distcheck'. Looks very suspicous from
2533	the design point of view. ObjectTypeOps are not meant to be reused.
2534
2535	* objects/SISSI/Makefile.am objects/standard/Makefile.am
2536	  objects/Database/Makefile.am doc/fr/Makefile.am lib/newgroup.c :
2537	changes to make 'make distcheck' work ...
2538	* bindings/Makefile.am : ... almost ;)
2539
25402008-03-01  Hans Breuer  <hans@breuer.org>
2541
2542	* bindings/* : make it compile again after DiaObject method renaming
2543	* lib/units.[ch] : gobal variables need to be explicit exported - or
2544	better avoided
2545	* objects/custom/custom_object.c objects/custom/shape_info.c : fix
2546	missing includes and gccisms (c99isms)
2547
25482008-02-20  Lars Clausen  <lars@raeder.dk>
2549
2550	* objects/standard/line.c (line_adjust_for_absolute_gap): Fix
2551	compilation problem for MacOS by not redefining the same function.
2552
25532008-02-12  Lars Clausen  <lars@raeder.dk>
2554
2555	* objects/custom/custom_object.c:
2556	* objects/custom/shape_info.h:
2557	* objects/custom/shape_info.c:
2558	* lib/widgets.c:
2559	* lib/widgets.h:
2560	* lib/diatypes.h:
2561	* lib/Makefile.am:
2562	* lib/geometry.c:
2563	* lib/units.c:
2564	* lib/units.h: Patch from Marcel Toele <dpy.dia@gmail.com>: Shapes
2565	can now have sub-shapes that can be scaled or not when the main
2566	shape is scaled.  Also, it is now possible to specify that shapes
2567	are created with their stated sizes.
2568
25692008-01-17  Lars Clausen  <lars@raeder.dk>
2570
2571	* configure.in:
2572	* objects/custom_lines/*:
2573	* objects/standard/zigzagline.[ch]:
2574	* objects/standard/polyline.[ch]:
2575	* objects/standard/bezier.[ch]: Patch from Marcel Toele
2576	<dpy.dia@gmail.com>: Custom line objects -- sorta like shapes, but
2577	for lines.  Limited to a way to preset attributes on the standard
2578	lines.
2579
2580	* lib/widgets.[ch]:
2581	* lib/geometry.c (units):
2582	* lib/geometry.h:
2583	* lib/diatypes.h: Moved units array to be generally accessible.
2584
25852008-01-10  Hans Breuer  <hans@breuer.org>
2586
2587	* app/create_object.c(create_object_button_release) : don't crash on
2588	tool->obj being NULL, just do nothing than.
2589
2590	* app/undo.c(310) : error C4033: 'undo_remove_to' must return a value
2591	  app/undo.c(312) : error C4047: '!=' : '
2592	void (__cdecl *)(struct _Change *,struct _Diagram *)'
2593	differs in levels of indirection from
2594	'void (__cdecl ** )(struct _Change *,struct _Diagram *)'
2595
2596	* lib/libdia.def : reflect recent libdia API changes
2597
25982007-12-11  Lars Clausen  <lars@raeder.dk>
2599
2600	* plug-ins/shape/shape-export.c (export_shape): Fix crash of
2601	non-.shape export by disallowing it.
2602
26032007-12-09  Lars Clausen  <lars@raeder.dk>
2604
2605	* lib/persistence.c: Fixed window update events such that show/hide
2606	and map/unmap are symmetrical and gets the right info stored.
2607	Fixes bug #501475.
2608
26092007-12-03  Lars Clausen  <lars@raeder.dk>
2610
2611	* app/undo.[ch]: New function undo_remove_to removes items from the
2612	undo stack until hitting a specific kind of undo item.  Needed for
2613	text edit undo collapsing, but not used yet.
2614
2615	* app/modify_tool.c:
2616	* app/diagram.c:
2617	* app/disp_callbacks.c:
2618	* app/textedit_tool.c:
2619	* app/layer_dialog.c:
2620	* app/display.[ch]:
2621	* app/commands.c:
2622	* lib/diagramdata.[ch]:
2623	* lib/text.c:
2624	* lib/focus.[ch]: Focus list and active focus now per-diagram.
2625	Selection kept when switching between diagrams.
2626
26272007-12-01  Lars Clausen  <lars@raeder.dk>
2628
2629	* po/LINGUAS: Added Punjabi (pa), as pointed out by
2630	http://l10n.gnome.org/module/dia. Closes bug #500745.
2631
2632	* po/POTFILES.in: Added diacairo-interactive.c, tree.c and
2633	outline.c, as suggested on http://l10n.gnome.org/module/dia.
2634	Closes bug #500739.
2635
26362007-11-20  Lars Clausen  <lars@raeder.dk>
2637
2638	* shapes/Cisco/Makefile.am: Fixed wrong numbering of shape list.
2639
26402007-11-11  Hans Breuer  <hans@breuer.org>
2641
2642	* objects/standard/outline.c : avoid drawing invalid number of bezier
2643	points (and thus crashing)
2644
2645	[
2646	  Much decreased start-up time and memory usage by delay loading
2647	  custom shapes. Closing bug #491142
2648	]
2649	* objects/custom/shape_typeinfo.c : (new file) extracting the type
2650	information of the custom shape by reading the first 512 bytes
2651	using libxml SAX. Instead of DOM it does not load the whole file
2652	into memory.
2653	* objects/custom/custom.c : implement and use custom_object_preload()
2654	based on the above. Use it in load_shape_from_tree() - the routine
2655	scanning all shapes at start-up
2656	* objects/custom/shape_info.[ch] : adapt infrastructure to to the
2657	complete loading of the shape file on demand
2658	[
2659	  there were 5 - out of ~700 shapes - which failed the size assumption
2660	  (reading only the first 512 bytes of the shape). They are modified
2661	  instead of making the (pre-)loading of all shapes slower.
2662 	]
2663	* shapes/Map/Isometric/Car1.shape shapes/Map/Isometric/Car2.shape
2664	  shapes/Misc/expended-node.shape shapes/Misc/expensible-node.shape
2665	  shapes/Map/Isometric/RedCar.shape : moved <name/> and <icon/> tag
2666	early in the file to silence preload
2667
26682007-11-10  Hans Breuer  <hans@breuer.org>
2669
2670	* objects/standard/outline.c(outline_draw) : first the whole text
2671	path from cairo is converted to Dia BezPoint(s). Afterwards it is
2672	interpreted regarding 'land' and 'holes'. Thanks to Behdad Esfahbod
2673	and Carl Worth for the ideas. The holes are currently drawn by
2674	blanking with color_white. This could probably be improved by
2675	implementing some beziergon math.
2676	* samples/render-test.dia : more Outline variations
2677
2678	* lib/object.c lib/prop_inttypes.c objects/UML/constraint.c
2679	  objects/UML/lifeline.c : more tolerance for very old files written
2680	by Dia (< 0.90) by checked cast from int to enum and marking some
2681	more properties optional
2682
26832007-11-08  Lars Clausen  <lars@raeder.dk>
2684
2685	* plug-ins/pgf/render_pgf.c (pgf_arc): Patch from Jeppe Fock
2686	<fock@nano.ku.dk>: Render PGF arcs correctly. Fixes bug #494942.
2687
2688
26892007-11-04  Hans Breuer  <hans@breuer.org>
2690
2691	* app/pixmaps/dia-app.png app/pixmaps/dia-diagram.png : restored
2692	from dia_gnome_icon.png, dia-diagram.png revision 3838
2693	* app/interface.c : if there is no window_icon set by the theme
2694	use the inline icons again. Fixes bug #491100 without reverting to
2695	the behaviour before bug #463115
2696	* app/commands.c : use the splash screen again in the about box
2697	* app/Makefile.am app/makefile.msc : build integration
2698
2699	* objects/standard/outline.c : oops, the cairo context was leaked
2700
2701	* app/menus.c data/display-ui.xml data/integrated-ui.xml
2702	  data/popup-ui.xml : put Outline to the menus
2703	* objects/standard/outline.c : need PROP_STD_TEXT_*_OPTIONS,
2704	otherwise the font specific stuff would not be saved/restored
2705	(outline_copy) : copy also the font information and colors
2706	* objects/makefile.msc : build Outline on win32
2707	* samples/render-test.dia : updated to also use Outline
2708
2709	* plug-ins/dxf/dxf-import.c : the logic to detect a 4 point 'SOLID'
2710	was flawed, it is enough if x or y is different
2711
27122007-11-03  Hans Breuer  <hans@breuer.org>
2713
2714	* objects/standard/outline.c : an object drawing text outlines,
2715	even rotateable. Backdoor making Dia finally support some
2716	rotated text, compatible with all existing renderers ;)
2717	* objects/standard/pixmaps/outline.png : an ugly icon
2718	* objects/standard/standard.c : register and ...
2719	* objects/standard/Makefile.am : ... build it
2720
2721	* app/interface.c : less magic number to reorder the sheet_option_menu
2722
27232007-10-31  Lars Clausen  <lars@raeder.dk>
2724
2725	* objects/UML/umloperation.c:
2726	* objects/UML/umlattribute.c:
2727	* objects/UML/uml.h:
2728	* objects/UML/uml.c:
2729	* objects/UML/class.c:
2730	* objects/UML/class_dialog.c: Reverting UML patch: Patch not
2731	complete and changes non-standard.
2732
27332007-10-30  Lars Clausen  <lars@raeder.dk>
2734
2735	* objects/UML/transition.c (transition_draw): Make sure transition
2736	uses solid linestyle.  Fixes bug #372149.
2737
27382007-10-28  Lars Clausen  <lars@raeder.dk>
2739
2740	* objects/UML/umloperation.c:
2741	* objects/UML/umlattribute.c:
2742	* objects/UML/uml.h:
2743	* objects/UML/uml.c:
2744	* objects/UML/class.c:
2745	* objects/UML/class_dialog.c: Patch from jan jan
2746	<jve7gm@gmail.com>: Add attributes and "sealed" to UML.
2747
2748
27492007-10-28  Hans Breuer  <hans@breuer.org>
2750
2751	* lib/libdiadef.c : added lader_find_objects_containing_rectangle
2752
2753	[ overhaul of the DXF plug-in, en passant fixing bug #481193 ]
2754	* plug-ins/makefile.msc plug-ins/dxf/Makefile.am
2755	  plug-ins/dxf/autocad_pal.[ch] : moved the acad_pal into it's own
2756	file to share it between import and export. Provide accessors.
2757	* plug-ins/dxf/dxf-import.c :
2758	- get rid of the setlocale stuff by using g_ascii_strtod
2759	- read more object('entity) colors
2760	- better line style and width preserving
2761	- actually use text height from file
2762	- less complains, should not give any g_warning anymore, at least not
2763	  for a valid DXF file
2764	- initialze the layer to dia->active_layer to avoid crashing on
2765	  DXF which does not not set the layer information
2766	* plug-ins/dxf/dxf-export.c :
2767	- implement fill_rect, draw_polyline export more object colors
2768	- always write minimal header information although it is supposed to
2769	be completely optional
2770
27712007-10-28  Lars Clausen  <lars@raeder.dk>
2772
2773	* app/dia_image.c: Rollback of use of stock image that breaks
2774	non-interactive use.  Bummer.
2775
2776	* app/display.c (ddisplay_do_update_menu_sensitivity): Check for
2777	existence of display before updating menus.
2778
2779	* app/diagram.c (diagram_update_menu_sensitivity):
2780	* app/menus.c:
2781	* app/menus.h (struct _UpdatableMenuItems):
2782	* app/undo.[ch]: Add support for desensitizing the Undo/Redo menu
2783	items.
2784
2785	* installer/rpm/dia.spec.fedora-core-6:
2786	* data/dia-splash.png
2787	* data/Makefile.am
2788	* data/icons/*:
2789	* makefile.msc:
2790	* app/splash.c (get_logo_pixmap):
2791	* app/interface.c (create_toolbox):
2792	* app/Makefile.am:
2793	* app/makefile.msc:
2794	* dia.desktop.in.in:
2795	* app/commands.c: Patch from Michael Monreal
2796	<michael.monreal@gmx.net>: Move image data into data directory and
2797	use SVG where possible.	Fixes bug #463115.
2798
2799	* Makefile.am (CLEANFILES):
2800	* configure.in:
2801	* dia.keys.in: Use Automake to generate dia.keys rather than a
2802	hack.  Part of fix of bug #463115.
2803
2804	* lib/dia_image.c (dia_image_get_broken): Use stock image for
2805	broken image.  Fixes bug #172304.
2806
28072007-10-27  Lars Clausen  <lars@raeder.dk>
2808
2809	* app/interface.c (create_sheet_dropdown_menu): Follow-up on bug
2810	#442309: Since flowchart is the default start-up sheet now, put it
2811	in the always-there list.
2812
2813	* shapes/Assorted/arrow-chevron.shape:
2814	* shapes/Assorted/arrow-down.shape:
2815	* shapes/Assorted/arrow-left-notched.shape:
2816	* shapes/Assorted/arrow-left-right.shape:
2817	* shapes/Assorted/arrow-left-right-up.shape:
2818	* shapes/Assorted/arrow-left.shape:
2819	* shapes/Assorted/arrow-pentagon.shape:
2820	* shapes/Assorted/arrow-quad.shape:
2821	* shapes/Assorted/arrow-right-notched.shape:
2822	* shapes/Assorted/arrow-right.shape:
2823	* shapes/Assorted/arrow-up-down-left.shape:
2824	* shapes/Assorted/arrow-up-down.shape:
2825	* shapes/Assorted/arrow-up.shape:
2826	* shapes/Assorted/circle-quarter.shape:
2827	* shapes/Assorted/circle.shape:
2828	* shapes/Assorted/cross-maltese.shape:
2829	* shapes/Assorted/cross-swiss.shape:
2830	* shapes/Assorted/diamond.shape:
2831	* shapes/Assorted/heart.shape:
2832	* shapes/Assorted/hexagon.shape:
2833	* shapes/Assorted/moon-quarter.shape:
2834	* shapes/Assorted/octagon.shape:
2835	* shapes/Assorted/parallelogram-horizontal.shape:
2836	* shapes/Assorted/parallelogram-vertical.shape:
2837	* shapes/Assorted/pentagon.shape:
2838	* shapes/Assorted/square.shape:
2839	* shapes/Assorted/star4curved.shape:
2840	* shapes/Assorted/star4.shape:
2841	* shapes/Assorted/star6.shape:
2842	* shapes/Assorted/star7.shape:
2843	* shapes/Assorted/star8curved.shape:
2844	* shapes/Assorted/star8.shape:
2845	* shapes/Assorted/star8sharp.shape:
2846	* shapes/Assorted/sun.shape:
2847	* shapes/Assorted/trapezoid.shape:
2848	* shapes/Assorted/triangle-isoceles.shape: Use foreground instead
2849	of #000000 for shapes.  Fixes bug #336967.
2850
2851	* data/toolbar-ui.xml: Added some more toolbar icons.  No more
2852	should be added until we can turn them on and off in groups.
2853
2854	* lib/diagramdata.[ch]: New function that finds objects that
2855	contain a given rectangle.
2856
2857	* app/create_object.c (create_object_button_release): Don't parent
2858	an object until it's released, allowing arrows to be created out of
2859	parenting objects.  Now only objects that end up being entirely
2860	contained in a parent get parented.
2861
2862	* app/diagram.[ch]: New function that checks for parentability of an
2863	object-parent pair.
2864
28652007-10-27  Hans Breuer  <hans@breuer.org>
2866
2867	* app/diagram.c(diagram_load) : don't kill the default diagram on
2868	import failure. Fixes bug #490546
2869
2870	less memory leaks, thanks valgrind
2871	* lib/font.c : match pango_context_load_font() with g_object_unref()
2872	* objects/SISSI/sissi.c : ObjectSISSI::text was leaked
2873	* lib/diagdkrenderer.c(draw_text_line) : the PangoLayout was leaked
2874	when drawn 'highlighted'; use pango_layout_get_line_readonly() - still
2875	warnings 'possibly lost'
2876
2877	* configure.in : missing pygtk is no longer fatal,
2878	SWIG detection more verbose
2879
2880	* object/UML/class_dialog.c : removed unused variables
2881
28822007-10-27  Lars Clausen  <lars@raeder.dk>
2883
2884	* shapes/Cisco/Makefile.am: Split long shape list.  Fixes bug #125924.
2885
28862007-10-26  Lars Clausen  <lars@raeder.dk>
2887
2888	* lib/font.c: Don't translate to bogus AvantGarde-Gothic font,
2889	and point to the *correct* PostScript definition.  Fixes bug
2890	#477079.
2891
2892	* objects/UML/class_dialog.c: Patch for bug #490356: Use stock
2893	items for UML class dialog.  Patch from Felipe Reyes
2894	<felipereyes@gmail.com>
2895
28962007-10-23  Hans Breuer  <hans@breuer.org>
2897
2898	* app/select.c : 'textedit_mode' undefined;
2899	* app/textedit_tool.c : 'object_add_updates_list' undefined;
2900	* lib/libdia.def : unresolved external symbol _text_delete_key_handler
2901
2902	* objects/Database/table_dialog.c : like UML/class_dialog.c move
2903	Styles (color, fonts) to their own page
2904
29052007-10-22  Lars Clausen  <lars@raeder.dk>
2906
2907	* app/textedit_tool.c: Proper deselecting and tool resetting when
2908	clicking on other objects or outside of objects.
2909
29102007-10-21  Lars Clausen  <lars@raeder.dk>
2911
2912	* app/textedit.h: Proper #ifndefs and includes.
2913
2914	* app/select.c:
2915	* app/commands.c: Skip out or handle alternately a number of menu
2916	items when in text edit mode.  Undo of delete does not quite work yet.
2917	* lib/text.[ch]: Expose delete key handling to allow it to be used
2918	from delete menu handler.
2919
2920	* app/commands.c:
2921	* app/menus.h (struct _UpdatableMenuItems):
2922	* app/menus.c (menus_initialize_updatable_items):
2923	* app/diagram.c (diagram_update_menu_sensitivity): Set menu
2924	sensitivities for text edit mode.  Keyboard shortcuts are still
2925	caught by the menu items when insensitive, unfortunately.
2926
29272007-10-20  Steffen Macke <sdteffen@sdteffen.de>
2928
2929	* installer/win32/dia.nsi: Added sample files, new shapes
2930
29312007-10-20  Hans Breuer  <hans@breuer.org>
2932
2933	* configure.in lib/libdia.def objects/Database
2934	  objects/Database/compound.c objects/Database/database.c
2935	  objects/Database/database.h objects/Database/Makefile.am
2936	  objects/Database/pixmaps/compound.xpm
2937	  objects/Database/pixmaps/reference.xpm
2938	  objects/Database/pixmaps/table.xpm
2939	  objects/Database/reference.c objects/Database/table.c
2940	  objects/Database/table_dialog.c objects/Makefile.am
2941	  objects/makefile.msc po/POTFILES.in sheets/Database.sheet.in
2942	  sheets/Makefile.am : new database table relation shapes by
2943	Petr Novotnik - bug #397688 - slightly modified to work with current
2944	SVN and build on windoze. Although derived from the UML class object
2945	the 'Table' object looks like a much better playground for a generic
2946	property list widget.
2947
2948	* app/textedit.c(textedit_activate_first) : had an endless loop when
2949	none of the selected objects are text editable
2950
2951	* app/properties.c : resets current_obj when the dialog is closed
2952	(Sameer D. Sahasrabuddhe, fixes bug #30430)
2953
2954	* objects/Misc/tree.c : added object_apply_props stuff
2955
2956	* app/properties.c lib/group.c lib/newgroup.c lib/objchange.h
2957	  lib/object.h lib/propobject.c objects/AADL/aadlbox.c
2958	  objects/AADL/aadlbus.c objects/AADL/aadldata.c
2959	  objects/AADL/aadldevice.c objects/AADL/aadlmemory.c
2960	  objects/AADL/aadlpackage.c objects/AADL/aadlprocess.c
2961	  objects/AADL/aadlprocessor.c objects/AADL/aadlsubprogram.c
2962	  objects/AADL/aadlsystem.c objects/AADL/aadlthread.c
2963	  objects/AADL/aadlthreadgroup.c objects/chronogram/chronoline.c
2964	  objects/chronogram/chronoref.c objects/custom/custom_object.c
2965	  objects/EML/instantiation.c objects/EML/interaction-ortho.c
2966	  objects/EML/interaction.c objects/EML/process.c
2967	  objects/ER/attribute.c objects/ER/entity.c
2968	  objects/ER/participation.c objects/ER/relationship.c
2969	  objects/flowchart/box.c objects/flowchart/diamond.c
2970	  objects/flowchart/ellipse.c objects/flowchart/parallelogram.c
2971	  objects/FS/flow-ortho.c objects/FS/flow-poly.c objects/FS/flow.c
2972	  objects/FS/function.c objects/GRAFCET/action.c
2973	  objects/GRAFCET/condition.c objects/GRAFCET/step.c
2974	  objects/GRAFCET/transition.c objects/GRAFCET/vector.c
2975	  objects/GRAFCET/vergent.c objects/Istar/actor.c objects/Istar/goal.c
2976	  objects/Istar/link.c objects/Istar/other.c objects/Jackson/domain.c
2977	  objects/Jackson/phenomenon.c objects/Jackson/requirement.c
2978	  objects/KAOS/goal.c objects/KAOS/metaandorrel.c
2979	  objects/KAOS/metabinrel.c objects/KAOS/other.c
2980	  objects/Misc/analog_clock.c objects/network/basestation.c
2981	  objects/network/bus.c objects/network/radiocell.c
2982	  objects/network/wanlink.c objects/SADT/annotation.c
2983	  objects/SADT/arrow.c objects/SADT/box.c objects/SISSI/area.c
2984	  objects/SISSI/faraday.c objects/SISSI/room.c
2985	  objects/SISSI/sissi_object.c objects/SISSI/site.c
2986	  objects/standard/arc.c objects/standard/bezier.c
2987	  objects/standard/beziergon.c objects/standard/box.c
2988	  objects/standard/ellipse.c objects/standard/image.c
2989	  objects/standard/line.c objects/standard/polygon.c
2990	  objects/standard/polyline.c objects/standard/textobj.c
2991	  objects/standard/zigzagline.c objects/UML/activity.c
2992	  objects/UML/actor.c objects/UML/association.c objects/UML/branch.c
2993	  objects/UML/class.c objects/UML/classicon.c objects/UML/component.c
2994	  objects/UML/component_feature.c objects/UML/constraint.c
2995	  objects/UML/dependency.c objects/UML/fork.c
2996	  objects/UML/generalization.c objects/UML/implements.c
2997	  objects/UML/large_package.c objects/UML/lifeline.c
2998	  objects/UML/message.c objects/UML/node.c objects/UML/note.c
2999	  objects/UML/object.c objects/UML/realizes.c
3000	  objects/UML/small_package.c objects/UML/state.c
3001	  objects/UML/state_term.c objects/UML/transition.c
3002	  objects/UML/usecase.c : finally there is proper group properties
3003	handling thanks to patches from Sameer D. Sahasrabuddhe. Almost fixes
3004	long-standing bug #60331.
3005
3006	* objects/Misc/libmisc.c objects/Misc/tree.c objects/Misc/Makefile.am
3007	  objects/Misc/pixmaps/tree.xpm shapes/Misc/expended-node.shape
3008	  shapes/Misc/expensible-node.shape shapes/Misc/Makefile.am
3009	  sheets/Misc.sheet.in : patch from Thomas Harding adding the
3010	shapes to simplify construction of explorer like trees, bug #428696
3011	* shapes/Misc/expended-node.png shapes/Misc/expensible-node.png
3012	  objects/Misc/pixmaps/tree.xpm  : ... adapted to follow the default
3013	icons size and format, i.e. not adding SVG
3014	* objects/makefile.msc : build on win32
3015
3016	* app/interface.c(337) : warning C4700: local variable 'magnify'
3017	used without having been initialized
3018
30192007-10-19  Lars Clausen  <lars@raeder.dk>
3020
3021	* shapes/Lights/Makefile.am:
3022	* shapes/Makefile.am:
3023	* configure.in: Patch from Elie Roux <elie.roux@enst-bretagne.fr>
3024	fixes makefiles for new shapes.  So it's not just me who forgets
3025	those:)
3026
30272007-10-14  Hans Breuer  <hans@breuer.org>
3028
3029	* plug-ins/pgf/render_pgf.c : *reverted*
3030	put \\setlength{\\du}{15\\unitlength}\n into the if branch
3031	(again Gaëtan Leurent, bug #482173)
3032
30332007-10-15  Lars Clausen  <lars@raeder.dk>
3034
3035	* app/interface.c (zoom_activate_callback): Set limits to zoom
3036	amount to avoid crashes.  See bug #483384.
3037
30382007-10-14  Hans Breuer  <hans@breuer.org>
3039
3040	Next stab on dedicated text edit mode:
3041	* app/textedit_tool.[ch] app/tool.[ch] app/cursors.[ch]
3042	app/interface.c app/Makefile.am app/makefile.msc data/display-ui.xml
3043	data/integrated-ui.xml data/popup-ui.xml : text edit mode
3044	reflected in toolbox, it is too different from normal modification
3045	* app/diagram.c app/menu.c : make Cut, Copy, Paste, Delete
3046	and Duplicate menu entries insensitive when text is edited
3047	* app/pixmaps/textedit.png : an ugly icon
3048	* app/create_object.c app/disp_callbacks.c : deal with transitions
3049	from one tool to to the other
3050	* app/textedit.[ch](textedit_activate_object): tell if editing started
3051
30522007-10-13  Hans Breuer  <hans@breuer.org>
3053
3054	* lib/diarenderer.[ch] lib/textline.[ch] lib/libdia.def : instead
3055	of throwing away the alignment information in DiaRenderer::draw_text
3056	pass it through DiaRenderer::draw_text_line so it is still available
3057	for renderers just implementing DiaRenderer::draw_string
3058	* app/diapsft2renderer.c app/diapsrenderer.c lib/diagdkrenderer.c
3059	  lib/dialibartrenderer.c plug-ins/metapost/render_metapost.c :
3060	adapted accordingly, should give same results as before
3061	* lib/diasvgrenderer.c : adapted and write text-anchor again
3062	* plug-ins/cairo/diacairo.c : make DiaCairoRenderer::draw_string
3063	work for alignment CENTER and RIGHT as well
3064	* plug-ins/pgf/render_pgf.c : put \\setlength{\\du}{15\\unitlength}\n
3065	into the if branch (Gaëtan Leurent, bug #482173)
3066
3067	* plug-ins/svg/render_svg.c : group objects consisting of multiple
3068	SVG elements into <g></g>
3069
3070	* configure.in : check for PANGOCAIRO on Linux
3071
3072	* samples/render-test.dia : more text alignments and no
3073	'uncommon' fonts
3074
30752007-10-12  Hans Breuer  <hans@breuer.org>
3076
3077	* plug-ins/cairo/diacairo.c plug-ins/cairo/diacairo-interactive.c :
3078	use PangoCairo when available (HAVE_PANGOCAIRO_H)
3079	* plug-ins/makefile.msc : define HAVE_PANGOCAIRO_H for the cairo/win32
3080
30812007-10-07  Hans Breuer  <hans@breuer.org>
3082
3083	* configure.in plug-ins/wmf/Makefile.am plug-ins/wmf/wmf.cpp :
3084	with the help of libEMF dia now can write EMF on Linux(x86), too.
3085	* plug-ins/wmf/libemf-todo.txt : stuff not working from libEMF
3086
3087	* plug-ins/python/paper-info.[ch] plug-ins/python/diamodule.c
3088	  plug-ins/python/Makefile.am plug-ins/python/makefile.msc : wrap
3089	PaperInfo and ...
3090	* plug-ins/python/imgmap.py : (new) .. use it to scale the
3091	html image map like most bitmap exporters do
3092
30932007-10-06  Hans Breuer  <hans@breuer.org>
3094
3095	* plug-ins/cairo/Makefile.am : now tested on Linux ;)
3096
3097	* plug-ins/cairo/diacairo.h plug-ins/cairo/Makefile.am : oops, forgot
3098	to add this
3099
31002007-10-06  Hans Breuer  <hans@breuer.org>
3101
3102	* plug-ins/cairo/diacairo-interactive.c : based on a patch from
3103	Nguyen Thai Ngoc Duy (bug #329860) there is an interactive renderer
3104	based on cairo now. After some work in the cairo renderer base class
3105	(pango_cairo, hairlines, ...) this should finally allow us to get rid
3106	of the libart depedency
3107	* plug-ins/cairo/diacairo.c app/display.c : HACK to select the
3108	DiaCairoInteractiveRenderer for antialiased rendering. If the points
3109	mentioned above are not fixed for the next release it should be
3110	disabled again in app/display.c(new_aa_renderer)
3111	* plug-ins/cairo/diacairo-print.c : almost empty, should become the
3112	place for GtkPrint/Cairo based printing.
3113	* plug-ins/cairo/Makefile.am plug-ins/makefile.msc : adapted
3114
3115	* plug-ins/python/gtkcons.py : replace deprecated symbols, patch from
3116	Roland Stigge, fixes bug #483049
3117
3118	* lib/arrows.c : major restructuring - getting calculate and draw by
3119	function pointer. A lot of arrows are converted to the new style thus
3120	arrow_bbox() can give the correct bounding box.
3121	* objects/standard/arc.c : bug #340705 and bug #477569
3122	  objects/standard/bezier.c : bug #300055
3123	  objects/standard/line.c objects/standard/polyline.c
3124	  objects/standard/zigzagline.c : not using *BBExtra to adjust the
3125	bounding box for arrows but instead a combination of arrow_bbox()
3126	and calculate_arrow_point()
3127	* lib/bounding_box.c : just a comment for now
3128	* samples/arrows.dia : more coverage
3129
3130	* makefile.msc bindings/makefile.msc : integrated bindings in the build
3131
3132	* configure.in acinclude.m4 Makefile.am bindings/Makefile.am :
3133	build bindings given --with-swig (and SWIG is found)
3134	* bindings/dia-diagramdata.h bindings/dia-extra.cpp
3135	  bindings/dia-properties.cpp bindings/dia-diagramdata.cpp
3136	  bindings/dia-properties.h bindings/dia-python-extra.h
3137	  bindings/dia.swig : first time built with g++
3138	* bindings/test.py : some adaptions to run on Linux, not
3139	complete yet but something works;)
3140
3141	* lib/utils.[ch] : removed superfluous definition of snprintf()
3142	which did not work from C++ and isn't needed anymore. Use g_snprintf().
3143
3144	* lib/newgroup.c : remove the circular dependency to app, it does
3145	not work on win32 and even Linuix has problems when app is not used,
3146	e.g. by providing bindings only for libdia
3147
31482007-09-30  Lars Clausen  <lars@raeder.dk>
3149
3150	* app/undo.[ch]: Slight work on moving objects between layers.
3151
3152	* app/modify_tool.c:
3153	* app/disp_callbacks.c:
3154	* app/textedit.[ch]: First stab at separate edit mode: Introduce
3155	"textedit_mode" check and entering/exiting text edit mode.  Make
3156	keyboard input understand textedit and switch in and out.  Don't
3157	automatically enter text edit mode on selection, only on creation.
3158
31592007-09-25  Lars Clausen  <lars@raeder.dk>
3160
3161	* dia.desktop.in.in (Exec): Patch from Chidambar 'ilLogict'
3162	Zinnoury <illogict@online.fr>: Add file as arg to exec for those
3163	file managers who don't hack their way around it.  Bug #480079.
3164
31652007-09-23  Lars Clausen  <lars@raeder.dk>
3166
3167	* objects/UML/class_dialog.c: Make UML properties dialogs use
3168	non-radio option menus.  Fixes bug #468203.
3169
3170	* objects/UML/class.c (umlclass_update_data): Patch from
3171	<djpohly+gnome@gmail.com>: Don't add attributes	size to connection
3172	point placement if attributes aren't visible.  Fixes bug #470594.
3173
3174	* lib/font.c:
3175	(dia_font_get_sizes): Fixed lack of const.
3176	(dia_font_get_psfontname): Fixed postscript font name getter to
3177	comply with postscript standard.
3178
3179	* app/diapsrenderer.c (dump_fonts): Use NewCenturySchlbk for
3180	NewCenturySchoolbook, following Adobe standards.  Also for some
3181	reason AvantGarde-Gothic is the "plain" name of the AvantGarde-Book
3182	series. Stupid Adobe. Fixes bug #477079.
3183
3184	* app/preferences.c:
3185	* app/diaunitspinner.[ch]:
3186	* lib/prop_geomtypes.c: Font & length unit spinners now get the right
3187	settings from prefs on startup.  Fixes bug #479244.  Also a bit of
3188	cleanup.
3189
31902007-09-22  Hans Breuer  <hans@breuer.org>
3191
3192	* lib/arrow.[hc] : refactoring to more information hiding:
3193	type menudesc renamed to ArrowDesc and moved arrow_types to arrow.c.
3194	It will probably contain some additional information to calculate
3195	arrow bounding boxes.
3196	* lib/attributes.c lib/diaarrowchooser.c lib/widgets.c
3197	  plug-ins/xfig/xfig-export.c : now only using accessors
3198
3199	* lib/autoroute.h lib/diagramdata.h lib/diavar.h lib/font.h :
3200	minor cleanup for DIAVAR: removed unneeded includes, move
3201	render_boundig_boxes to diavar.h to make it useable for arrow.c
3202
3203	* lib/libdia.def : adapted to the above
3204
3205	* lib/arrow.[hc] : declare and implement arrow_bbox() taking the
3206	calculated start-point of arrows. The real size of arrows is only
3207	known in lib/arrow.c so finally all the *BBoxExtras stuff concerned
3208	with arrows needs to vanish. The issue is further complicated by
3209	gap and other arrow posistion adjustmens; see bug #475168.
3210
3211	* objects/standard/arc.c : use arrow_bbox() and calculate_arrow_point()
3212	for bounding box calculation. Get rid LineBBExtras usage for that.
3213	(arc_update_handles) always intialize the middle_handle.pos, not only
3214	when there is enough distance.
3215
3216	* samples/arrows.dia : updated for broader coverage
3217
3218	* app/interface.c : get rid of const for non-const strings, no more
3219	interface.c(477) : 'function' : different 'const' qualifiers
3220	interface.c(477) : 'g_free' : pointer mismatch for actual parameter 1
3221
32222007-09-22  Lars Clausen  <lars@raeder.dk>
3223
3224	* app/commands.c:
3225	* app/interface.c:
3226	* app/interface.h:
3227	* app/menus.c: Patch from Patrick Hallinan
3228	<patrick.j.hallinan@gmail.com>: Provide a proper zoom-box in the
3229	integrated UI.  This implementation looks better than the old one,
3230	and should be used in the non-integrated version as well.
3231
32322007-09-21  Hans Breuer  <hans@breuer.org>
3233
3234	* plug-ins/python/python-startup.py : allow to override system
3235	python plug-ins with users version. Patch from Tom Parker,
3236	fixes bug #478554
3237
32382007-09-16  Hans Breuer  <hans@breuer.org>
3239
3240	* samples/arrows.dia : show some arrows (and their bounding
3241	box issues)
3242
3243	* objects/custom/custom/custom_object.c : loading
3244	samples/all_objects.dia produced a g_warning()
3245	"No attribute '%s' (%p) or no data(%p) in this attribute".
3246	Silenced it by marking all those "ext_attribute" optional.
3247
3248	* app/preferences.c : move "Compressed saved files" to
3249	"Diagram defaults", the setting already beahved like the other
3250	defaults. Fixes bug #439894.
3251	* app/diagram.c : finally respect diagram defaults again, probably
3252	broken with 0.95. Fixes bug #477451
3253
32542007-09-15  Hans Breuer  <hans@breuer.org>
3255
3256	* plug-ins/cairo/diacairo.c : don't position the image twice,
3257	cairo_set_source_surface() does get 0,0 offset. Fixes bug #470926
3258
32592007-09-13  Lars Clausen  <lars@raeder.dk>
3260
3261	* objects/UML/class.c: Patch from <djpohly+gnome@gmail.com>:
3262	Further adjustment of UML class connection points, this time
3263	adjusted for wrapping.  Fixes bug #470598.
3264
32652007-08-27  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
3266
3267	* configure.in:
3268	* po/LINGUAS: Use po/LINGUAS. Fixes bug #470797
3269
32702007-09-12  Lars Clausen  <lars@raeder.dk>
3271
3272	* objects/UML/lifeline.c: Patch from Filippo Bergamasco
3273	<fbergama@gmail.com>: Improved behaviour of lifeline object,
3274	including being able to connect multiple.
3275
3276	* lib/diasvgrenderer.c (draw_text_line): Use "textLength"
3277	attribute instead of unknown "length" attribute.  Fixes bug
3278	#474882.
3279
3280	* objects/SISSI/sissi_dialog.c (properties_others_create_page):
3281	Libel changed to label.  Fixes bug #471506.
3282
32832007-09-09  Hans Breuer  <hans@breuer.org>
3284
3285	* object/UML/class.c : the template box was not considered in the
3286	bounding box, part of bug #475173
3287	* object/UML/(activity|branch|state|state_term|usecase).c :
3288	ElementBBExtras, should fix bug #475173
3289
3290	* lib/prop_text.c : GtkTextView has no "changed" signal, connect
3291	to "insert-at-cursor" although it probably does not catch every change
3292
3293	* lib/dia_svg.c(dia_svg_parse_path)
3294	  plug-ins/svg-import.c : initialize BezPoint to 0/scale all to
3295	avoid uninitialized values in all BezPoint, even the ones which
3296	don't use all control points
3297
3298	* samples/Self/dia-core.dia : adapted to font size changes from 0.96
3299
3300	* app/diagram.c(diagram_update_for_filename) : don't add every
3301	filename change to the recent file menu, only loaded or saved
3302	files belong there. Fixes bug #474941
3303	* app/filedlg.c : add to recent file menu also when saving but
3304	not on export
3305	* app/recent_file.[ch] : cleanup, updated comments
3306
33072007-09-08  Hans Breuer  <hans@breuer.org>
3308
3309	* plug-ins/python/doxrev.py : moved the import of xml.parsers.expat
3310	to Parse() so it is not called during start-up. Fixes the start-up
3311	crash without understanding what is really causing it, bug #457828
3312
3313	* plug-ins/python/codegen.py : reset the internal state in
3314	begin_render(). Otherwise the renderer would remember previous
3315	exports. Fixes bug #436311
3316
3317	* lib/diasvgrenderer.[ch] plug-ins/shape/shape-export.c
3318	  plug-ins/svg/render_svg.c : based on analysis and patch by
3319	Dov Grobgeld the values written to SVGs are now scaled up, because
3320	many SVG interpreters don't cope very well with small values.
3321	The overall size of the image is kept by writing with and height in cm
3322	but the viewBox scaled like the values in the file.
3323	For the Shape export the scale value is kept at 1.0 to avoid breaking
3324	Dia's Shape/SVG consumption. Fixes bug #316590
3325
3326	* lib/dia_svg.[ch](dia_svg_parse_style) : allow to pass in user_scale
3327	* plug-ins/svg/svg-import.c : implment some unit awareness and use it
3328	to scale the input to Dia's internal cm. Adapt the user_scale with the
3329	viewBox as explained above. This not only gives almost correct
3330	round-trip with Dia's own SVG writing, but also works better for the
3331	general case.
3332	* objects/custom/shape_info.c : adapt to API change
3333
33342007-09-01  Hans Breuer  <hans@breuer.org>
3335
3336	* MAINTAINERS : http://blogs.gnome.org/ovitters/2007/08/31/
3337	enforcing-proper-trunkmaintainers-files-in-svn/
3338
33392007-08-26  Lars Clausen  <lars@raeder.dk>
3340
3341	* objects/UML/class.c: Patch from <djpohly+gnome@gmail.com> fixes
3342	semi-random vertical alignment in UML attributes and operations,
3343	making them consistent at least.  Fixes bug #465623.
3344
33452007-08-19  Hans Breuer  <hans@breuer.org>
3346
3347	* objects/UML/class_dialog.c : second step in shrinking the dialog,
3348	reorganization of the operations page make the dialog wider than tall
3349	(now 634x559 with my window manager/font settings). Closes bug #445698
3350
33512007-08-16  Lars Clausen  <lars@raeder.dk>
3352
3353	* doc/en/authors.xml:
3354	* doc/fr/authors.xml:
3355	* doc/pl/authors.sgml:
3356	* doc/eu/authors.xml:
3357	* doc/pl/authors.xml: Updated links to Dia page and GDP.
3358
33592007-08-15  Lars Clausen  <lars@raeder.dk>
3360
3361	* dia.desktop.in.in (Categories): Patch from Roland Stigge
3362	<stigge@antcom.de> removes deprecated category, fixes bug #466997.
3363
33642007-08-11  Steffen Macke <sdteffen@gmail.com>
3365
3366	* shapes/ChemEng/prv.shape:
3367	* shapes/ChemEng/prv.png:
3368	* sheets/ChemEng.sheet.in: Added Pressure Relief shape; fixes bug
3369	#439842
3370
33712007-08-10  Lars Clausen  <lars@raeder.dk>
3372
3373	* app/diagram.c (diagram_load_into): Translate filename of non-Dia
3374	files opened to be a Dia file.  Also notify users (once) of this
3375	translation.  Fixes bug #440093.
3376
3377	* po/POTFILES.in: Patch from Elie Roux
3378	(elie.roux@enst-bretagne.fr) adds two missing POTFILES.
3379
3380	* app/app_procs.c (app_exit): Remove kludge printf from exit.
3381	Fixes bug #442044.
3382
3383	* installer/rpm/dia.spec.fedora-core-6: Spec file for fedora core
3384	6, from John Pye (john@curioussymbols.com).  The main Dia
3385	maintainers will probably not maintain this, but patches to update
3386	to more current versions are welcome.
3387
3388	* app/object_ops.c (object_list_align_v): Symmetry between vert
3389	and horiz alignment functions.  Probably fixes bug #442054.
3390
3391	* app/interface.c (create_sheets): Use a slightly more useful
3392	sheet as default selection.  Fixes bug #442309.
3393
3394	* sheets/Lights.sheet.in: Patch from Elie Roux
3395	(elie.roux@enst-bretagne.fr) fixes some wrong shape names.
3396
3397	* app/menus.c (menus_clear_recent): Don't assert non-critical
3398	things, just put appropriate ifs around them.
3399
3400	* app/create_object.c (create_object_button_release): Update menus
3401	after creating an object.
3402
34032007-08-09  Steffen Macke <sdteffen@gmail.com>
3404
3405	* installer/win32/dia.nsi: Added Lights shapes and sheet
3406
34072007-08-09  Lars Clausen  <lars@raeder.dk>
3408
3409	* doc/fr/graphics/*: Updated with french versions where needed.
3410	Last fix from Thomas Harding <thomas.harding@laposte.net>, closing
3411	bug #427552.
3412
3413	* lib/element.h (ELEMENT_COMMON_PROPERTIES): Use
3414	PROP_FLAG_NO_DEFAULTS on element widths -- gives strange caching
3415	behaviour for shapes.
3416
3417	* objects/ER/entity.c: Add PROP_FLAG_NO_DEFAULTS to make possible
3418	to set "weak" attribute from intdata.
3419
3420	* shapes/Lights/*: Changed hardcoded B&W to foreground/background.
3421
3422	* doc/en/usage-customization.xml: Fixed wrong image filename.
3423
3424	* doc/fr/hardcopies.makefile: Clean-up of some spaces.
3425
3426	* doc/en/usage-objects-basic.xml: Added some more detail on how to
3427	use the text object.  Fixes bug #455400.
3428
3429	* objects/FS/flow.c: Added undo support, fixing bug #456419.
3430
3431	* objects/SISSI/sissi_object.c (sissi_object_create): Fixed
3432	formatting and took things that should always be run outside of
3433	the if.  Fixes bug #463700.
3434
3435	* objects/SISSI/sissi.h: Removed double newlines and fixed some
3436	formatting.
3437
3438	* shapes/Lights/*:
3439	* sheets/Lights.sheet.in:
3440	* sheets/Makefile.am (sheet_in_files): New shape set for lighting
3441	arrangements from Elie Roux (elie.roux@enst-bretagne.fr).  Needs a
3442	little fixing of colors, but otherwise fine.
3443
3444	* doc/fr/Makefile.am (EXTRA_DIST): Include the PNG files in
3445	distribution.
3446
3447	* doc/fr/*:
3448	* configure.in:
3449	* doc/Makefile.am (SUBDIRS): Added french manual.  Patch by Thomas
3450	Harding <thomas.harding@laposte.net>.  Doesn't quite close bug
3451	#427552, as french graphics should be generated.
3452
3453	* xmldocs.make (docdir): Changed non-Gnome help path to follow a)
3454	the dir we actually use, and b) standard usage.
3455
3456	* dia_gnome_icon_small.png: Less fuzzy 32x32 icon.  Fixes bug
3457	#463115.
3458
3459	* objects/FS/flow-ortho.c: text_alignment is an enum, not a real.
3460	Fixes bug #462563.
3461
34622007-08-07  Steffen Macke <sdteffen@gmail.com>
3463
3464	* lib/font.c: get_string_offsets() Don't crash when line length is 0
3465	fixes bug #450040
3466
34672007-08-06  Lars Clausen  <lars@raeder.dk>
3468
3469	* app/exit_dialog.c:
3470	* app/app_procs.c:
3471	* app/interface.c: More patch from Patrick, cleaning up memory
3472	usage and using more standard functionality.
3473
3474	* app/interface.c: Patch from Patrick Hallinan
3475	<patrick.j.hallinan@gmail.com> fixes double-close issue with
3476	integrated UI.
3477
34782007-08-05  Hans Breuer  <hans@breuer.org>
3479
3480	* objects/UML/class_dialog.c : first step in shrinking the dialog,
3481	moved color and font settings to it's own page 'Style', bug #445698
3482	It only shrinks from 577x744 to 577x692, depends on font size.
3483	Next step would be reorganize Operations page.
3484
3485	* objects/Misc/analog_clock.c : remove stray PROP_STD_NOTEBOOK_END,
3486	fixing bug #444749
3487
34882007-07-29  Lars Clausen  <lars@raeder.dk>
3489
3490	* lib/Makefile.am: Added newgroup.h
3491
3492	* lib/newgroup.c:
3493	* lib/newgroup.h: Definitions for the new group system.
3494
3495	* app/diagram.c (diagram_group_selected): Work on
3496	creating/removing new style groups (ifdeffed, not finished).
3497
3498	* objects/AADL/aadlbox.c: Fix for bug #458373: Correctly strdup.
3499
35002007-07-28  Lars Clausen  <lars@raeder.dk>
3501
3502	* app/load_save.c (read_objects): Experimental use of new group
3503	system in load (ifdeffed).
3504
35052007-07-26  Steffen Macke <sdteffen@gmail.com>
3506
3507	* objects/makefile.msc: Correct case to build SISSI dll
3508
35092007-07-25  Steffen Macke <sdteffen@gmail.com>
3510
3511	* lib/plug-ins.c: Patch from Rémi Cardona <remi@gentoo.org> that
3512	removes the run-time dependency on libtool files (*.la) for
3513	plug-ins
3514
35152007-07-24  Lars Clausen  <lars@raeder.dk>
3516
3517	* lib/widgets.c
3518	* lib/prop_attr.c
3519	* lib/widgets.h
3520	* lib/prop_inttypes.c
3521	* lib/prop_text.c
3522	* lib/prop_geomtypes.c: Patch from Sameer Sahasrabuddhe
3523	<sameerds@gmail.com>: simplified some widgets in the property
3524	dialog and all of them now have an event handler to track
3525	PXP_NOTSET.  Yet another patch from bug #60331.
3526
3527	* lib/object.h (DIA_OBJECT_EXPAND_WITH_CHILDREN): New
3528	parent-related flag, not in use yet.
3529
3530	* app/disp_callbacks.c: Document need for setting active diagram.
3531
35322007-07-23  Hans Breuer  <hans@breuer.org>
3533
3534	* lib/paper.c : instead of special casing for the thrid compiler
3535	just removed the superfluous inline on the get_paper_* functions
3536	Fixes bug #447737.
3537
35382007-07-22  Steffen Macke <sdteffen@gmail.com>
3539
3540	* app/preferences.c:
3541	* objects/SISSI/sissi.h:
3542	* objects/SISSI/sissi_dialog.c:
3543	* sheets/SISSI.sheet.in: Fixed typos mentioned in bug report #45238;
3544	Thanks to Clytie Siddall
3545	* app/display.c:
3546	* app/makefile.msc:
3547	* app/app_procs.c:
3548	* app/exit_dialog.c:
3549	* app/exit_dialog.h:
3550	* app/Makefile.am:
3551	* app/interface.c:
3552	* app/interface.h:
3553	* app/makefile.mingw:
3554	* app/disp_callbacks.c: Patch from Patrick Hallinan
3555	<patrick.j.hallinan@gmail.com>, fixes the problem with the active diagram
3556	during resize; adds an asterisk to the tab when diagram has changed;
3557	adds a new dialog to save unsaved files when exiting
3558	* app/authors.h: Added Patrick Hallinan
3559	* app/commands.c: Bumped copyright year to 2007
3560
35612007-07-21  Hans Breuer  <hans@breuer.org>
3562
3563	[maket it compile with msvc/win32]
3564	* lib/bounding_box.c : fix c99ism to
3565	* objects/SISSI/*.c : dont include unistd.h unconditionally
3566
3567	[warningectomy]
3568	* app/interface.c : cast GtkWindow to GtkWidget
3569	* lib/object.[hc] : const correctness
3570	* objects/FS/flow.c objects/standard/line.c :
3571	connection_adjust_for_autogap take a Connection*, not the
3572	specialization
3573
3574	* lib/diagdkrenderer.c : implement draw_fill_rounded_rect to
3575	avoid seams
3576
35772007-07-19  Steffen Macke <sdteffen@gmail.com>
3578
3579	* app/command.c: Updated website link to point to live.gnome.org/Dia;
3580	fixes bug #456637
3581
35822007-07-17  Steffen Macke <sdteffen@gmail.com>
3583
3584	* app/commands.c:
3585	* app/sheets_dialog_callbacks.c:
3586	* app/layer_dialog.c:
3587	* app/load_save.c:
3588	* app/interface.c:
3589	* app/interface.h
3590	* app/diagram_tree_menu.c:
3591	* app/menus.c:
3592	* objects/SISSI/sissi.h
3593	* objects/SISSI/site.c:
3594	* objects/SISSI/faraday.c:
3595	* objects/SISSI/area.c:
3596	* objects/SISSI/sissi_dialog.c:
3597	* objects/SISSI/room.c:
3598	* objects/SISSI/sissi_object.c:
3599	* objects/SISSI/sissi.c:
3600	* objects/custom/custom_object.c:
3601	* objects/custom/shape_info.c:
3602	* lib/sheet.c:
3603	* lib/dia_xml.c:
3604	* lib/debug.c:
3605	* lib/beziershape.c:
3606	* lib/intl.c:
3607	* lib/dialibartrenderer.c:
3608	* lib/element.c:
3609	* lib/diarenderer.c:
3610	* lib/object_defaults.c:
3611	* lib/diasvgrenderer.c:
3612	* lib/newgroup.c:
3613	* lib/font.c:
3614	* lib/diagramdata.c:
3615	* lib/ps-utf8.c:
3616	* lib/diagdkrenderer.c:
3617	* lib/dia_svg.c:
3618	* lib/textline.c:
3619	* lib/plug-ins.c:
3620	* lib/persistence.c:
3621	* lib/persistence.h
3622	* lib/boundingbox.c:
3623	* plug-ins/dxf/dxf-import.c:
3624	* plug-ins/metapost/render_metapost.c:
3625	* plug-ins/xfig/xfig-export.c:
3626	* plug-ins/svg/render_svg.c:
3627	* plug-ins/svg/svg-import.c:
3628	* plug-ins/shape/shape-export.c:
3629	* plug-ins/pgf/render_pgf.c: patch from Elie Roux
3630	<elie.roux@enst-bretagne.fr> that fixes many compiler warnings
3631
36322007-07-10  Steffen Macke <sdteffen@gmail.com>
3633
3634	* configure.in: ALL_LINGUAS are in one line again; Thanks to Elie
3635	Roux for noticing the problem
3636
36372007-07-09  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>
3638
3639	* configure.in: Add "zh_HK" to ALL_LINGUAS.
3640
36412007-07-06  Steffen Macke <sdteffen@gmail.com>
3642
3643	* app/sheets_dialog_callbacks.c: Additional warning if the user tries
3644	to load a diagram as a shape. Fixes bug #97903
3645	* doc/eu/dia.1: Remove epsi reference. Fixes bug #336972
3646
36472007-06-29  Lars Clausen  <lars@raeder.dk>
3648
3649	* app/interface.c: Patch from Patrick Hallinan
3650	<patrick.j.hallinan@gmail.com>: Fix lack of initial update of new
3651	diagram.
3652
3653	* app/load_save.c: Patch from Hans de Goede
3654	<j.w.r.degoede@hhs.nl>: Avoid having to remove -c89 option by
3655	including proper header. Bug #436343.
3656
36572007-06-25  Steffen Macke <sdteffen@gmail.com>
3658
3659	* installer/win32/dia.nsi: Fix freetype installation problem
3660
36612007-06-24  Steffen Macke <sdteffen@gmail.com>
3662
3663	* installer/win32/dia.nsi: Check for python22.dll before enabling
3664	the Python plug-in component; Use GTK *.mo files from share instead
3665	of lib (gladewin32 compatibility; use freetype6.dll instead of
3666	libfreetype-6.dll (agreed common dll name for win32)
3667	* lib/libdia.def: exporting text_get_ascent, required by custom object,
3668	exporting dia_font_set_slant, dia_font_set_weight, required by vdx
3669	plug-in
3670
36712007-06-20  Lars Clausen  <lars@raeder.dk>
3672
3673	* app/disp_callbacks.c: Patch from Patrick Hallinan
3674	<patrick.j.hallinan@gmail.com>: Fix right/middle button
3675	functionality.
3676
36772007-06-13  Steffen Macke <sdteffen@gmail.com>
3678
3679	* installer/win32/dia.nsi: Workaround previous theme bug; properly use
3680	Windows installer theme
3681	* doc/en/dia.dbk: Applied patch from Peter Breitenlohner < peb@mppmu.mpg.de>
3682	typo in manpage; fixes bug #340992
3683
36842007-06-10  Steffen Macke <sdteffen@gmail.com>
3685
3686	* sheets/SISSI.sheet.in: Translating texts from French to English
3687	* objects/sissi/site.c:
3688	* objects/sissi/area.c:
3689	* objects/sissi/room.c:
3690	* objects/sissi/sissi_object.c: Translated confidentiality from French to
3691	English; partial fix for bug #355995
3692	* installer/win32/dia.nsi: Added SISSI files, ui files
3693	* app/app_procs.c: #include commands.h
3694	* app/commands.c: #include interface.h
3695	* app/interface.c: Declare variables first to make MSVC happy
3696
36972007-06-07  Lars Clausen  <lars@raeder.dk>
3698
3699	* app/commands.c
3700	* app/display.c
3701	* app/commands.h
3702	* app/app_procs.c
3703	* app/interface.c
3704	* app/interface.h
3705	* app/disp_callbacks.c
3706	* app/menus.c
3707	* app/menus.h
3708	* lib/diainteractiverenderer.c
3709	* data/integrated-ui.xml: Patch from Patrick Hallinan
3710	<patrick.j.hallinan@gmail.com>: More work on integrated UI:
3711	Toolbar visibility, right-mouse menu.
3712
37132007-06-05  Jakub Friedl  <jfriedl@suse.cz>
3714
3715	* app/load_save.c: Corrected error messages (proper English)
3716
37172007-06-02  Lars Clausen  <lars@raeder.dk>
3718
3719	* lib/Makefile.am (libdia_la_SOURCES):
3720	* app/Makefile.am (dia_core_files):
3721	* lib/newgroup.c: Moved here from app.
3722
3723	* app/newgroup.c (newgroup_update_data): Correctly update
3724	selection of children when closing group, fixes crash.
3725
3726	* objects/flowchart/parallelogram.c
3727	* objects/flowchart/box.c
3728	* objects/flowchart/diamond.c
3729	* objects/flowchart/ellipse.c
3730	* objects/network/radiocell.c
3731	* objects/SISSI/sissi.c
3732	* objects/Misc/analog_clock.c
3733	* objects/standard/zigzagline.c
3734	* objects/standard/arc.c
3735	* objects/standard/bezier.c
3736	* objects/standard/image.c
3737	* objects/standard/beziergon.c
3738	* objects/standard/polygon.c
3739	* objects/standard/line.c
3740	* objects/standard/box.c
3741	* objects/standard/polyline.c
3742	* objects/standard/ellipse.c
3743	* objects/ER/relationship.c
3744	* objects/ER/attribute.c
3745	* objects/ER/entity.c
3746	* objects/custom/custom_object.c
3747	* plug-ins/dxf/dxf-import.c
3748	* plug-ins/xfig/xfig-import.c
3749	* plug-ins/svg/svg-import.c
3750	* plug-ins/vdx/vdx-import.c
3751	* lib/properties.h: Patch from Sameer Sahasrabuddhe
3752	<sameerds@gmail.com>: Fix names and types of std line width.
3753
3754	* app/interface.c
3755	* lib/persistence.c: Firmly define what happens with dupping and
3756	freeing persistence strings.  Fixes crash with integrated UI.
3757
3758	* app/commands.c
3759	* app/display.c
3760	* app/display.h
3761	* app/app_procs.c
3762	* app/dia_embedd.c
3763	* app/interface.c
3764	* app/menus.c
3765	* app/menus.h
3766	* data/toolbar-ui.xml
3767	* lib/diainteractiverenderer.c: Patch from Patrick Hallinan
3768	<patrick.j.hallinan@gmail.com>: More work on integrated UI.
3769	Post-patch hid rulers_are_showing field.
3770
3771	* data/toolbar-ui.xml: Renamed from data/toolbar.xml
3772
3773	* data/Makefile.am: Added items for integrated UI.
3774
37752007-05-20  Lars Clausen  <lars@raeder.dk>
3776
3777	* app/diapsrenderer.c (draw_text_line): Use non-i18n output for
3778	float in postscript.  Fixes eps latin-1 output, bug #439369.
3779
3780	* app/interface.c: Update tooltips to follow new shortcuts.
3781
3782	* data/display-ui.xml
3783	* data/integrated-ui.xml
3784	* app/menus.c:
3785	Move "Best Fit" up under zoom options where it belongs.  Response
3786	to bug #439838.
3787
3788	* app/export_png.c: Make clearer distinction between pixbuf and
3789	libart PNG.
3790
3791	* app/preferences.c
3792	* app/display.c
3793	* app/display.h
3794	* app/app_procs.c
3795	* app/filedlg.c
3796	* app/interface.c
3797	* app/interface.h
3798	* app/diagram.c
3799	* app/menus.c
3800	* app/menus.h
3801	* data/integrated-ui.xml
3802	* data/toolbar.xml: Patch from Patrick Hallinan
3803	<patrick.j.hallinan@gmail.com>: More work on integrated UI:
3804
3805	 +Add popup message "Settings change will take effect after Dia is
3806	  restarted" to the integrated UI option.
3807	 +Add snap tool items to the toolbar.
3808	 +Default the file filter for the Open File Dialog to "Supported
3809	  Formats"
3810	 +Force the new diagram to be shown!!!
3811	 +Make the toolbar actually do something
3812	 +Make the diagram tree show a diagram's tab (when it should).
3813	 +Created Missing application menus.
3814	 +Make the name of second diagram created be numbered 2 instead of 1.
3815	 +Make diagram close button actually close the diagram.
3816	 +Add shortcut cntl-w for closing the current tab (free when
3817	  menu's were added).
3818
38192007-05-15  Steffen Macke <sdteffen@gmail.com>
3820
3821	* config.h.win32: Version number is now 0.96+svn
3822	* lib/makefile.msc:
3823	* lib/makefile.mingw: Include prefs.c
3824	* lib/prefs.c: #include <string.h>
3825	* lib/libdia.def: Added several preferences-related functions
3826	* app/interface.h: Added prototype for create_integrated_ui()
3827
38282007-05-05  Lars Clausen  <lars@raeder.dk>
3829
3830	* app/preferences.c:
3831	* app/preferences.h:
3832	* app/display.h:
3833	* app/app_procs.c:
3834	* app/main.c:
3835	* app/interface.c: Patch from Patrick Hallinan
3836	<patrick.j.hallinan@gmail.com>: Start of integrated UI.
3837
38382007-05-04  Lars Clausen  <lars@raeder.dk>
3839
3840	* lib/properties.h:
3841	* objects/Jackson/requirement.c:
3842	* objects/Jackson/domain.c:
3843	* objects/flowchart/parallelogram.c:
3844	* objects/flowchart/box.c:
3845	* objects/flowchart/diamond.c:
3846	* objects/flowchart/ellipse.c:
3847	* objects/network/radiocell.c:
3848	* objects/network/basestation.c:
3849	* objects/SADT/box.c:
3850	* objects/SADT/annotation.c:
3851	* objects/UML/component.c:
3852	* objects/UML/note.c:
3853	* objects/UML/component_feature.c:
3854	* objects/UML/usecase.c:
3855	* objects/UML/activity.c:
3856	* objects/UML/actor.c:
3857	* objects/UML/classicon.c:
3858	* objects/UML/state.c:
3859	* objects/UML/small_package.c:
3860	* objects/UML/node.c:
3861	* objects/standard/textobj.c:
3862	* objects/AADL/aadlbox.c:
3863	* objects/ER/relationship.c:
3864	* objects/ER/attribute.c:
3865	* objects/ER/entity.c:
3866	* objects/FS/flow-ortho.c:
3867	* objects/FS/function.c:
3868	* objects/FS/flow.c:
3869	* objects/FS/flow-poly.c:
3870	* objects/custom/custom_object.c:
3871	* objects/GRAFCET/action.c:
3872	* lib/properties.h: Patch from Sameer Sahasrabuddhe
3873	<sameerds@gmail.com>: Fix names and types of std text props.
3874
38752007-04-25  Christophe Merlet  <redfox@redfoxcenter.org>
3876
3877	* configure.in: Added "oc" (Occitan) to ALL_LINGUAS.
3878
38792007-04-25  Steffen Macke <sdteffen@gmail.com>
3880
3881	* installer/win32/dia.nsi: gtkrc is a file, not a folder; fixes
3882	bug #433252
3883
38842007-04-19  Lars Clausen  <lars@raeder.dk>
3885
3886	* lib/prop_attr.c: Use new signals in props. Patch from Sameer
3887	Sahasrabuddhe <sameerds@gmail.com> for bug #60331.
3888
3889	* lib/widgets.c (dia_font_selector_class_init): Remove undefined
3890	default handlers, fix leak of font name, define and use new
3891	signal. Patch from Sameer Sahasrabuddhe <sameerds@gmail.com>
3892	for bug #60331.
3893
3894	* app/interface.c (sheet_option_menu_changed): Use new signal, fix
3895	leak of sheet name.  Patch from Sameer Sahasrabuddhe
3896	<sameerds@gmail.com> for bug #60331.
3897
38982007-04-16  Lars Clausen  <lars@raeder.dk>
3899
3900	* doc/en/usage-layers.xml: Use normal quotation marks.  Fixes bug
3901	#404535.
3902
3903	* plug-ins/svg/render_svg.c (new_svg_renderer): Add a namespace
3904	for SVG output, patch by Thomas Harding
3905	<thomas.harding@laposte.net>.  Fixes bug #424530.
3906
3907	* lib/diasvgrenderer.c (draw_text_line): Don't supply units for
3908	text size when nobody else does.  Doesn't fix FireFox size
3909	strangeness, but at least makes the SVG a little more consistent.
3910
3911	* plug-ins/pstricks/render_pstricks.c: Patch of extra line endings
3912	and inverted y-coords from Dan Gildea <gildea@pobox.com>.
3913
3914	* plug-ins/dxf/dxf-import.c (read_entity_polyline_dxf): Make
3915	closed lines be polygons instead of polylines.  Fixes bug #421250.
3916
3917	* lib/persistence.[ch] (persistence_boolean_is_registered): Function
3918	to check if a boolean value is registered at all.  Support
3919	functions for this check in general.
3920
3921	* lib/prop_geomtypes.c (realprop_get_widget): Fix wrong parameter
3922	to gtk_spin_button_set_numeric.  From a bug whose number I forget.
3923
3924	(lengthprop_get_widget, fontsizeprop_get_widget): Use prefs-set units.
3925
3926	* lib/propdialogs.c:
3927	* lib/group.c (group_describe_props): Set properties properly for
3928	groups.  By Sameer Sahasrabuddhe <sameerds@gmail.com>, work on
3929	bug #60331.
3930
3931	* lib/widgets.[ch]:
3932	* app/interface.c (sheet_option_menu_changed): Use signals for
3933	dynamic menu changes.  By Sameer Sahasrabuddhe
3934	<sameerds@gmail.com>, work on bug #60331.
3935
3936	* app/undo.c:
3937	* app/commands.c: New commands for moving objects between layers.
3938	Not entirely working yet.
3939
3940	* app/diapagelayout.c (dia_page_layout_init):
3941	* app/preferences.c: Added new prefs length_unit and fontsize_unit
3942	and used these in margins, properties.
3943
3944	* app/preferences.c:
3945	* lib/prefs.[ch]: Core preferences data structure moved into lib.
3946
3947	* app/app_procs.c:
3948	* lib/message.[ch]: Added three intermediate-level message functions
3949	to distinguish between notices, warnings and errors.  Errors are
3950	always shown, warnings are shown unless the user takes action,
3951	notices are shown once unless the user takes action.
3952
3953	* objects/ER/relationship.c:
3954	* objects/ER/entity.c:
3955	* objects/custom/custom_object.c:
3956	* objects/ER/attribute.c:
3957	* objects/chronogram/chronoref.c:
3958	* objects/AADL/aadlbox.c:
3959	* objects/chronogram/chronoline.c:
3960	* lib/properties.h (PROP_STD_TEXT_HEIGHT_OPTIONS): Set a number of
3961	properties to be length/fontsize when applicable.
3962
3963	* widgets.c (get_units_name_list):
3964	* widgets.h: New function to give names of units for prefs.  Sort
3965	units list alphabetically.
3966
39672007-04-15  Steffen Macke <sdteffen@gmail.com>
3968
3969	* installer/win32/locale/english.nsh:
3970	* installer/win32/locale/german.nsh:
3971	* installer/win32/locale/french.nsh:
3972	* installer/win32/dia.nsi: Optional build of installer
3973	including GTK+, updated website link
3974	* configure.in: Create Makefiles for SISSI folders
3975
39762007-04-14  Steffen Macke <sdteffen@gmail.com>
3977
3978	* installer/win32/dia.nsi: Fixed freetype dll
3979	problem
3980	* objects/Makefile.am:
3981	* objects/SISSI/Makefile.am:
3982	* objects/SISSI/area.[ch]:
3983	* objects/SISSI/classification.h:
3984	* objects/SISSI/faraday.[ch]:
3985	* objects/SISSI/Makefile.am:
3986	* objects/SISSI/menace.[ch]:
3987	* objects/SISSI/methode_attack.h:
3988	* objects/SISSI/room.[ch]:
3989	* objects/SISSI/sissi.[ch]:
3990	* objects/SISSI/sissi_dialog.[ch]:
3991	* objects/SISSI/sissi_object.[ch]:
3992	* objects/SISSI/site.[ch]:
3993	* objects/SISSI/pixmaps/broken.xpm:
3994	* objects/SISSI/pixmaps/faraday.png:
3995	* objects/SISSI/pixmaps/sissi_object.xpm:
3996	* sheets/Makefile.am:
3997	* sheets/SISSI.sheet.in:
3998	* sheets/SISSI/(1-76).xml:
3999	* sheets/SISSI/aircooler.png:
4000	* sheets/SISSI/alarm_center.png:
4001	* sheets/SISSI/analyse.xpm:
4002	* sheets/SISSI/barriere.png:
4003	* sheets/SISSI/broken.xpm:
4004	* sheets/SISSI/broken-chain.xpm:
4005	* sheets/SISSI/camera_interphone.png:
4006	* sheets/SISSI/capteur_brise_glace.png:
4007	* sheets/SISSI/capteur_faisceau.png:
4008	* sheets/SISSI/cellular_phone.png:
4009	* sheets/SISSI/cloud.png:
4010	* sheets/SISSI/condensateur.png:
4011	* sheets/SISSI/detecteur_alimentation.png:
4012	* sheets/SISSI/detecteur_courant.png:
4013	* sheets/SISSI/detecteur_enthalpie.png:
4014	* sheets/SISSI/detecteur_fumee.png:
4015	* sheets/SISSI/detecteur_lumiere.png:
4016	* sheets/SISSI/detecteur_mouvement.png:
4017	* sheets/SISSI/detecteur_mouvement_video.png:
4018	* sheets/SISSI/detecteur_mouvement_video.png:
4019	* sheets/SISSI/detecteur_niveau.png:
4020	* sheets/SISSI/detecteur_pression.png:
4021	* sheets/SISSI/detecteur_qualite_air.png:
4022	* sheets/SISSI/detecteur_tension.png:
4023	* sheets/SISSI/detecteur_vehicule.png:
4024	* sheets/SISSI/detecteur_vibration.png:
4025	* sheets/SISSI/digi_code.png:
4026	* sheets/SISSI/diskette.png:
4027	* sheets/SISSI/extincteur.png:
4028	* sheets/SISSI/extracteur_humidite.png:
4029	* sheets/SISSI/faraday.png:
4030	* sheets/SISSI/file.png:
4031	* sheets/SISSI/file_cabinet.png:
4032	* sheets/SISSI/filtre_air.png:
4033	* sheets/SISSI/hub.png:
4034	* sheets/SISSI/ibm_mini.png:
4035	* sheets/SISSI/info.xpm:
4036	* sheets/SISSI/information.png:
4037	* sheets/SISSI/key.png:
4038	* sheets/SISSI/laptop.png:
4039	* sheets/SISSI/lecteur_badge.png:
4040	* sheets/SISSI/lecteur_badge_clavier.png:
4041	* sheets/SISSI/lecteur_biometrique.png:
4042	* sheets/SISSI/logiciel.xpm:
4043	* sheets/SISSI/Makefile.am:
4044	* sheets/SISSI/menace.xpm:
4045	* sheets/SISSI/meuble.xpm:
4046	* sheets/SISSI/modem.png:
4047	* sheets/SISSI/onduleur.png:
4048	* sheets/SISSI/ordinateur_portable.gif:
4049	* sheets/SISSI/pc.png:
4050	* sheets/SISSI/pda.png:
4051	* sheets/SISSI/personne.xpm:
4052	* sheets/SISSI/phone.png:
4053	* sheets/SISSI/pompe.png:
4054	* sheets/SISSI/pompe_rotative.png:
4055	* sheets/SISSI/porte_tambour.png:
4056	* sheets/SISSI/relational_database.png:
4057	* sheets/SISSI/router.png:
4058	* sheets/SISSI/safe.png:
4059	* sheets/SISSI/sauvegarde.xpm:
4060	* sheets/SISSI/si.xpm:
4061	* sheets/SISSI/sissi_object.xpm:
4062	* sheets/SISSI/storage_array.png:
4063	* sheets/SISSI/support.xpm:
4064	* sheets/SISSI/tourniquet.png:
4065	* sheets/SISSI/unbroken-chain.xpm:
4066	* sheets/SISSI/ventilateur.png:
4067	* sheets/SISSI/ventilateur_axial.png:
4068	* sheets/SISSI/ventilateur_centrifuge.png: New objects to draw
4069	systems security diagrams. Closes bug #355995.
4070	Provided by Luc Cessieux <cessieux@hotmail.com>
4071
40722007-04-13  Steffen Macke <sdteffen@gmail.com>
4073
4074	* installer/win32/dia.nsi: Updates for 0.96.1-1 installer. Fixes
4075	problems with gladewin32 build and gimp-win GTK+ runtime
4076
40772007-04-12  Steffen Macke <sdteffen@gmail.com>
4078
4079	* lib/makefile.msc: Use $(GLIB_GEN_MARSHAL), to be defined in
4080	$(TOP)/glib/build/win32/make.msc, allows flexible use of different
4081	GTK+ development environments
4082
40832007-04-04  Pema Geyleg  <pema.geyleg@gmail.com>
4084
4085	* configure.in: Added 'dz' to ALL_LINGUAS
4086
40872007-03-26  Hans Breuer  <hans@breuer.org>
4088
4089	* bindings/* : dia/lib bindings with the help of SWIG, for details
4090	see: http://mail.gnome.org/archives/dia-list/2007-March/msg00092.html
4091
40922007-03-25  Lars Clausen  <lars@raeder.dk>
4093
4094	* NEWS:
4095	* RELEASE-PROCESS:
4096	* config.h.win32:
4097	* doc/en/dia.xml:
4098	* doc/pl/dia.xml:
4099	* doc/eu/dia.xml:
4100	* configure.in: Release 0.96 hits the streets.
4101
41022007-03-18  Hans Breuer  <hans@breuer.org>
4103
4104	* app/load_save.c : glib/gstdio.h was protected by
4105	#if GLIB_CHECK_VERSION(2,8,0) but it is supposed to be available
4106	since glib-2-6. We rely on that anyway.
4107
41082007-03-18  Hans Breuer  <hans@breuer.org>
4109
4110	* app/app_procs.c : avoid stumbling over libxml2 preprocessor
4111	tricks for LIBXML_THREAD_ENABLED (not at all platform specific)
4112
41132007-03-18  Lars Clausen  <lars@raeder.dk>
4114
4115	* NEWS:
4116	* RELEASE-PROCESS:
4117	* config.h.win32:
4118	* doc/en/dia.xml:
4119	* doc/pl/dia.xml:
4120	* doc/eu/dia.xml:
4121	* configure.in: Pre9 hot on the heels of pre8.
4122
4123	* app/app_procs.c plug-ins/wmf/wmf.cpp : portability fixes
4124
41252007-03-17  Hans Breuer  <hans@breuer.org>
4126
4127	* app/app_procs.c app/autosave.c app/commands.c app/diaconv.c
4128	  app/export_png.c app/filedlg.c app/load_save.c
4129	  app/paginate_psprint.c app/preferences.c app/render_eps.c
4130	  app/sheets_dialog.c app/sheets_dialog_callbacks.c
4131	  lib/dia_dirs.c lib/dia_xml.c lib/diagdkrenderer.c
4132	  plug-ins/cgm/cgm.c plug-ins/dxf/dxf-export.c
4133	  plug-ins/dxf/dxf-import.c plug-ins/hpgl/hpgl.c
4134	  plug-ins/metapost/render_metapost.c plug-ins/pgf/render_pgf.c
4135	  plug-ins/pstricks/render_pstricks.c plug-ins/python/pydia-render.c
4136	  plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c
4137	  plug-ins/vdx/vdx-export.c plug-ins/vdx/vdx-import.c
4138	  plug-ins/wmf/wmf.cpp plug-ins/wpg/wpg.c
4139	  plug-ins/xfig/xfig-export.c plug-ins/xfig/xfig-import.c
4140	  plug-ins/xslt/xslt.c : use <glib/gstdio.h> to match GLib's filename
4141	encoding to the io functions used, that is: g_open, g_fopen, g_stat,
4142	g_unlink, g_mkdir, g_rename (, g_access, g_lstat, g_remove, g_freopen,
4143	g_chdir, g_rmdir). Also replace gzopen() with gzdopen(g_open(), ...)
4144	to properly handle unicode filenames; finally use g_mkstemp().
4145	Fixes bug #131210 and bug #397159. To make this fully work on win32
4146	a recent enough version of libxml2 is required - tested with 2.6.27 -
4147	but anything from 2.6.24 should do.
4148
4149	* plug-ins/cairo/diacairo.c : special handling for cairo which
4150	currently only supports filenames in the C runtime locale.
4151
41522007-03-17  Hans Breuer  <hans@breuer.org>
4153
4154	* plug-ins/python/aobjects.py : if created a diagram, display it ...
4155	* app/display.c : ... and don't crash with display update before we
4156	had the chance to reate a renderer.
4157
4158	* app/filedlg.c : plugged some leaks and made the filter sensitive
4159	extension update work, by relying less on what we get back from gtk+
4160	Fixes bug #403195.
4161
4162	  [some playing with valgrind : memory leaks]
4163	* lib/text.c(text_set_line_text) : removed superfluous g_strdup()
4164	* app/interface.c : gtk_accelerator_get_label() and g_strconcat()
4165	return newly allocated strings and gtk_tooltips_set_tip() does not
4166	free them
4167	  [jump or move depends on uninitialised value(s)]
4168	* objects/network/radiocell.c : dont call polyshape_update_data()
4169	without initialized points
4170
4171	* plug-ins/python/aobjects.py : somehow an extra 'd' got commited :)
4172
4173	* plug-ins/python/aobjects.py plug-ins/python/Makefile.am :
4174	Self Documenation Part III and stress test, creates all Dia Objects
4175	* objects/FS/flow-ortho.c objects/FS/flow.c : removed partial
4176	left over of 'static DiaFont*' which caused a crash on creation
4177
4178	* objects/UML/umlattribute.c objects/UML/umlformalparameter.c
4179	  objects/UML/umloperation.c : don't crash on name being NULL
4180
4181	* objects/custom/custom_object.c : call *_update_data in *_copy
4182	Fixes the disappearance of object drawing after cut&paste
4183	(bug #416414, Stein Somers)
4184
4185	* plug-ins/python/pydia-font.c : cmpfunc is supposed to return out
4186	of (-1, 0, 1)
4187
4188	* lib/utils.h lib/message.h : added C++ guards
4189
41902007-03-17  Steffen Macke <sdteffen@gmail.com>
4191
4192	* installer/win32/locale/slovak.nsh: Use Codepage 1250, fixed errors
4193
41942007-03-16  Lars Clausen  <lars@raeder.dk>
4195
4196	* NEWS:
4197	* RELEASE-PROCESS:
4198	* config.h.win32:
4199	* doc/en/dia.xml:
4200	* doc/pl/dia.xml:
4201	* doc/eu/dia.xml:
4202	* configure.in: Pre8?  Really?  Furrfu!
4203
4204	* doc/en/Makefile.am (dia.1): Allow net access for getting the
4205	XSLT.  Let's see if it causes more problems than it solves.  Fixes
4206	bug #391545.
4207
4208	* app/textedit.c (textedit_remove_focus): Do not free that which
4209	has not been allocated (focus!).  Fixes bug #418188.
4210
4211	* plug-ins/pgf/render_pgf.c (draw_*_with_arrows): Don't
4212	assume that the arrow pointers are non-null.  Fixes bug #413309
4213
4214	* plug-ins/vdx/vdx-import.c: Patch to fix crash bug #417956.
4215
42162007-03-14  Steffen Macke <sdteffen@gmail.com>
4217
4218	* installer/win32/locale/slovak.nsh: (added)
4219	* installer/win32/locale/Makefile.am:
4220	* installer/win32/dia.nsi: Added Slovak translations for installer.
4221	Thanks to helix84 <helix84@users.sourceforge.net>
4222
42232007-03-11  Lars Clausen  <lars@raeder.dk>
4224
4225	* NEWS:
4226	* RELEASE-PROCESS:
4227	* config.h.win32:
4228	* doc/en/dia.xml:
4229	* doc/pl/dia.xml:
4230	* doc/eu/dia.xml:
4231	* configure.in: Pre7
4232
4233	* lib/prop_geomtypes.c (lengthprop_get_widget): Default to cm in
4234	display to be similar to other reals.
4235
4236	* lib/widgets.c (dia_unit_spinner_value_changed): Leave space
4237	before unit.
4238
4239	* Makefile.am (desktopdir): Put .desktop file in right dir.  Fixes
4240	bug #415767.
4241
4242	* app/diagram.c (diagram_group_selected): Don't try to group no
4243	objects.  Fixes bug #410483, though the overall problem of
4244	activateable insensitive menu items remains.
4245
4246	* lib/dia_image.c (dia_image_draw):
4247	* lib/dia_image.h:
4248	* lib/diagdkrenderer.c (draw_image): Give a GC to the image
4249	rendering function -- also change to using gdk_draw_pixbuf.  Fixes
4250	bug #401774.
4251
4252	* lib/focus.c (remove_focus_object): Make sure a removed object no
4253	longer has the active focus.  Fixes bug #414708.
4254
4255	* app/textedit.c (textedit_end_edit): Don't assert active_focus
4256	when it might not be true (during destruction).
4257	(textedit_remove_focus): Free the old focus when done.
4258
42592007-03-07  Steffen Macke <sdteffen@gmail.com>
4260
4261	* lib/diaarrowchooser.c: Include config.h to compile with MSVC
4262
42632007-03-06  Steffen Macke <sdteffen@gmail.com>
4264
4265	* installer/win32/dia.nsi: Added plug-ins/python/doxrev.py
4266
42672007-03-05  Lars Clausen  <lars@raeder.dk>
4268
4269	* NEWS:
4270	* RELEASE-PROCESS:
4271	* config.h.win32:
4272	* doc/en/dia.xml:
4273	* doc/pl/dia.xml:
4274	* doc/eu/dia.xml:
4275	* configure.in: Pre6
4276
4277	* lib/diaarrowchooser.c: Use _dia_translate instead of gettext for
4278	tooltips and "Details...".  Fixes bug #406066.
4279
4280	* app/diagram_tree_menu.c (create_factory): Add translate_func to
4281	item factory.
4282
4283	* plug-ins/metapost/render_metapost.c: Patch from Robert Young
4284	<robert.young%40dsto.defence.gov.au>: Scale text correctly with
4285	page scaling.
4286
42872007-03-04  Lars Clausen  <lars@raeder.dk>
4288
4289	* app/export_png.c (export_png_ok):
4290	* plug-ins/pixbuf/pixbuf.c (export_data): Fix rounding error of
4291	bitmap export.  Fixes bug #413275.
4292
4293	* app/diagram.c (diagram_load): Correctly update title on
4294	defaulted diagrams.
4295
4296	* objects/UML/class.c:
4297	* objects/UML/class_dialog.c:
4298	* objects/standard/line.c (line_save): #ifdef DEBUG'ed out sanity
4299	check calls.
4300
43012007-02-26  Lars Clausen  <lars@raeder.dk>
4302
4303	* NEWS:
4304	* RELEASE-PROCESS:
4305	* config.h.win32:
4306	* doc/en/dia.xml:
4307	* doc/pl/dia.xml:
4308	* doc/eu/dia.xml:
4309	* configure.in: Pre5
4310
43112007-02-25  Gabor Kelemen  <kelemeng@gnome.hu>
4312
4313	* installer/win32/locale/hungarian.nsh:
4314	* installer/win32/dia.nsi: Hungarian installer translation added.
4315
43162007-02-18  Hans Breuer  <hans@breuer.org>
4317
4318	* app/diagram.c : moved diagram only stuff from diagram_load_into() to
4319	diagram_load() so ...
4320	* app/interface.c : ... we can use diagram_load_into() to drop files
4321	on the canvas, i.e. really load them _into_ an exisiting diagram
4322
4323	* plug-ins/python/pydia-property.c : better debug support for wrong
4324	types in lists (of lists) when doing array assignments
4325	(e.g. uml_class::operations)
4326	* plug-ins/python/doxrev.py : an import filter for XML generated by
4327	doxygen. One step further to do reverse engineering with Dia.
4328	* plug-ins/python/Makefile.am : at the moment only added to EXTRA_DIST
4329
43302007-02-17  Lars Clausen  <lars@raeder.dk>
4331
4332        * objects/UML/class.c
4333        * objects/UML/object.c
4334        * objects/UML/state.c
4335        * objects/UML/small_package.c
4336        * objects/GRAFCET/boolequation.c: Make sure to call set_font
4337	before calling draw_string, fixes bug #408519
4338
4339	* objects/UML/class.c (umlclass_set_props): #ifdef out debugging
4340	statement.
4341
43422007-02-12  Hans Breuer  <hans@breuer.org>
4343
4344	* lib/libdia.def : added text_get_line_strlen
4345	* makefile.msc : delete config.h on clean
4346
4347	* plug-ins/python/pydia-property.c : allow to set string properties
4348	with unicode
4349
43502007-02-10  Hans Breuer  <hans@breuer.org>
4351
4352	[ two more steps slowly fixing issues from bug #340352 ]
4353	* plug-ins/python/diamodule.c : instead of breaking compatibility with
4354	former PyDia plug-ins reimplmented dia.register_calback() by mapping
4355	to the GtkAction framework (it is not yet possible again to create
4356	new menus, only adding menuitems to existing menus)
4357	* plug-ins/python/select_by.py : restored menuitems to shorter form
4358
43592007-02-08  Steffen Macke <sdteffen@gmail.com>
4360
4361	* installer/win32/dia.nsi:
4362	* installer/win32/langmacros.nsh:
4363	* installer/win32/locale/*.nsh: Added Python plug-in
4364
43652007-02-05  Lars Clausen  <lars@raeder.dk>
4366
4367	* NEWS:
4368	* RELEASE-PROCESS:
4369	* config.h.win32:
4370	* doc/en/dia.xml:
4371	* doc/pl/dia.xml:
4372	* doc/eu/dia.xml:
4373	* configure.in: Pre4
4374
4375	* plug-ins/vdx/vdx-export.c: Patch for crash.
4376
43772007-02-03  Lars Clausen  <lars@raeder.dk>
4378
4379	* lib/dialibartrenderer.c (get_text_width):
4380	* lib/diagdkrenderer.c (get_text_width):
4381	* lib/text.c: Use g_utf8_strlen where character, not bytes are the
4382	goal.  Also remove utterly the unnecessary optimization of keeping
4383	strlen around for each and every line.
4384
4385	* lib/text.[ch]: Remove clearly unneeded array of strlen.  Easier
4386	to just call strlen when needed.
4387
4388	* objects/GRAFCET/action_text_draw.c (action_text_draw): Change
4389	offending direct use of text->strlen.
4390
4391	* plug-ins/vdx/vdx.c
4392	* plug-ins/vdx/vdx-common.c
4393	* plug-ins/vdx/vdx-export.c
4394	* plug-ins/vdx/vdx.h
4395	* plug-ins/vdx/vdx-import.c
4396	* plug-ins/vdx/vdx-xml.c
4397	* plug-ins/vdx/visio-types.h: Upgrade to version 0.9 of VDX
4398	plug-in.
4399
4400
44012007-01-28  Hans Breuer  <hans@breuer.org>
4402
4403	* app/recent_files.c : don't treat underscores in filenames as
4404	accelerators, see bug #340352
4405	* app/menus.c : again register a translation function for
4406	menus/actions. This fixes the code part of bug #400616
4407	Every translation needs to be updated to translate 'verbs'
4408	instead of complete menu pathes
4409
44102007-01-25  Lars Clausen  <lars@raeder.dk>
4411
4412	* plug-ins/metapost/render_metapost.c (draw_text_line): First stab
4413	at text_line for metapost.  Needs width adjustment.
4414
4415	* app/diagram.c (diagram_get_name): Don't emulate
4416	g_path_get_basename buggily, just use it.  Fixes bug #399535.
4417
4418	* lib/dia_svg.c (dia_svg_parse_path): Patch from
4419	robert.young@dsto.defence.gov.au solves infinite loop in loading
4420	shapes.
4421
44222007-01-25  Steffen Macke <sdteffen@gmail.com>
4423
4424	* installer/win32/dia.nsi: Added some more *.po files to the installer;
4425	include dia-win-remote.exe
4426
44272007-01-23  Steffen Macke <sdteffen@gmail.com>
4428
4429	* installer/win32/dia.nsi: Added BPMN sheet and shapes to installer
4430
44312007-01-22  Lars Clausen  <lars@raeder.dk>
4432
4433	* plug-ins/vdx/vdx-import.c:
4434	* plug-ins/vdx/vdx-export.c:
4435	* plug-ins/vdx/vdx-common.c:
4436	* plug-ins/vdx/vdx-xml.c:
4437	* plug-ins/vdx/vdx.[ch]:
4438	* plug-ins/vdx/visio-types.h: Updated to version 0.8.
4439
4440	* NEWS:
4441	* RELEASE-PROCESS:
4442	* config.h.win32:
4443	* doc/en/dia.xml:
4444	* doc/pl/dia.xml:
4445	* doc/eu/dia.xml:
4446	* configure.in: Pre3
4447
44482007-01-21  Lars Clausen  <lars@raeder.dk>
4449
4450	* installer/rpm/dia.spec:
4451	* config.h.win32:
4452	* doc/en/dia.xml:
4453	* doc/pl/dia.xml:
4454	* doc/eu/dia.xml:
4455	* configure.in:
4456	* NEWS: Prerelease 2 of 0.96.
4457
4458	* Makefile.am (applicationsdir):
4459	* po/POTFILES.in: Create versioned dia.desktop file by first
4460	intltool'ing it and then replacing the version number.
4461
4462	* app/interface.c (create_tools): End g_strconcat with NULL.
4463	Fixes bug #398286.
4464
44652007-01-18  Lars Clausen  <lars@raeder.dk>
4466
4467	* lib/Makefile.am (AM_CPPFLAGS):
4468	* lib/dia_dirs.c: DIA_DATADIR and DIA_LIBDIR reverted to being
4469	DATADIR and LIBDIR, see
4470	http://mail.gnome.org/archives/dia-list/2007-January/msg00008.html
4471	and bug #385701.
4472
44732007-01-16  Lars Clausen  <larsrc@raeder.dk>
4474
4475	* doc/en/usage-layers.xml: Corrections from Mick Curtis & Tim
4476	Bogie (see bug #347210).
4477
44782007-01-14  Lars Clausen  <larsrc@static>
4479
4480	* Makefile.am (%.desktop.in): Attempt at better desktop.in
4481	building rule.  No luck.
4482
4483	* app/menus.c (tool_entries): Using shift-alt instead of alt for
4484	menus to avoid conflicts with menu shortcuts.  Closing bug #350731.
4485
4486	* objects/UML/class.c (uml_underline_text): Underline that skips
4487	leading whitespace, and is called on each part of a wrapped
4488	operation. Fixes bug #390145.
4489
4490	* lib/diasvgrenderer.c (draw_text_line): Don't crash rendering
4491	text line, use text_line for rendering.  Dimensions now correct in
4492	SVG file for render-test, too bad nobody seems to obey them:(
4493	Fixes bug #332826.
4494
4495	* samples/Makefile.am (EXTRA_DIST): Added new samples to dist.
4496
4497	* plug-ins/vdx/vdx-import.c:
4498	* plug-ins/vdx/vdx-xml.c:
4499	* plug-ins/vdx/vdx.h:
4500	* plug-ins/vdx/visio-types.h: Updated to version 0.7.  Thanks to
4501	Ian again for more work on this.
4502
4503	* objects/KAOS/metaandorrel.c: Full autogap enabled for line-like
4504	connector. Fixes bug #365437.
4505
4506	* objects/KAOS/metabinrel.c (mbr_update_data): Added comment on
4507	why autogap is hard -- this line is a one-segment bezier.  The
4508	standard bezier object has a generic bezier autogap function that
4509	could be reused given some work.
4510
45112007-01-13  Hans Breuer  <hans@breuer.org>
4512
4513	* app/menu.c : register action "ViewAntialised" even if we
4514	don't HAVE_LIBART ...
4515	* app/display.c : ... and disable the respective menu entry
4516	to avoid package dependent ui-file and crashing due to
4517	gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=396161
4518
45192007-01-13  Tommi Vainikainen  <thv@iki.fi>
4520
4521	* app/diagram_tree_window.c (diagram_tree_window_new): "Diagram
4522	Tree" window title is now shown as translated.
4523
45242007-01-09  Hans Breuer  <hans@breuer.org>
4525
4526	* objects/UML/class.c : comments were not considered for connection
4527	point placement. Patch from Vadim Zelenin, fixes bug #342086
4528
45292007-01-06  Hans Breuer  <hans@breuer.org>
4530
4531	* plug-ins/python/Makefile.am : EXTRA_DIST += bbox.py
4532
4533	* dia.desktop.in : 'svn mv dia.desktop.in dia.desktop.in.in'
4534	  configure.in : add dia.desktop.in to AC_OUTPUT
4535	  Makefile.am : changed rule for .desktop handling. Together this
4536	should resolve @VERSION@ in the dia.desktop file and thus gives us
4537	version info via bug-buddy automatically.
4538	This is more important with bug-buddy 2.16 cause there the user can
4539	not manually adapt the version anymore. Hopefully fixes bug #393618
4540	(see also bug #348827)
4541
4542	* plug-ins/python/bbox.py : draws bounding boxes of the objects in the
4543	active layer into a new layer. Helps analyzing the font size problems.
4544
4545	* acinclude.m4 : deduce py_config_dir from py_prefix, helps GARNOME
4546	and seems not to break anything (tested on Fedora and Gentoo)
4547	Joseph Sacco, bug #338368
4548
4549	* plug-ins/python/pydia-property.c : finally implemented
4550	getters/setters for LengthProperty and FontsizeProperty. (We really
4551	should take g_warning more serious, this one was
4552	WARNING **: No handler for type 'length')
4553
4554	* plug-ins/xslt/xslt.c : don't use g_warning but message_error for
4555	"No valid configuration files found for the XSLT plugin, not loading."
4556
45572007-01-05  Hans Breuer  <hans@breuer.org>
4558
4559	* objects/standard/line.c : fix typo in save_arrow(), patch from
4560	Michael Duelli closing bug #393201
4561
4562	* app/dia-win-remote.c app/paginate_gdiprint.cpp app/win32print.c
4563	  lib/dia_dirs.c lib/font.c plug-ins/wmf/wmf.cpp :
4564	#define WIN32_MEAN_AND_LEAN before windows.h inclusion where ever
4565	possible to reduce namespace clashes
4566
45672007-01-03  Hans Breuer  <hans@breuer.org>
4568
4569	* lib/persistence.c : before restoring window positions check if
4570	they are still in valid range. Fixes bug #354266
4571
4572	* app/interface.c : refined the zooms-list drop-down to include
4573	800%, stay symmetric and not have more than seven entries.
4574	Fixes bug #328596
4575
4576	* lib/makefile.msc : enable strict checking again
4577	(-FImsvc_recommended_pragmas.h) to enforce e.g. matching pointers
4578	at compile time
4579	* lib/textline.h : RenderCacheFreeFunc is only taking a pointer,
4580	not a pointer to a pointer and we dont need a pointer to the
4581	function pointer in the struct
4582
4583	* objects/UML/constraint.c objects/UML/implements.c
4584	  objects/UML/message.c objects/Jackson/phenomenon.c
4585	  objects/KAOS/metaandorrel.c : move_handle() method needs to call
4586	connection_adjust_for_autogap() after connection_move_handle() because
4587	the endpoints used for relative text movement need adjustment after
4588	possible autogap correction. Fixes bug #362254.
4589
45902007-01-02  Hans Breuer  <hans@breuer.org>
4591
4592	* *.msc, *.win32, HACKING, *.nsh, *.am,
4593	  *.xbm, *.xpm; *.shape, *.sheet : setting svn:eol-style=native
4594
4595	* lib/diagdkrenderer.c : avoid leaks in rounded rectangles,
4596	bug #358171, Michael Duelli
4597
45982006-12-13  Lars Clausen  <lars@raeder.dk>
4599
4600	* Makefile.am (core-translation-report): Clean up after
4601	po-checktrans copying.
4602
4603	* lib/plug-ins.h (DIA_PLUGIN_API_VERSION): Updated due to changes.
4604
4605	* NEWS:
4606	* configure.in:
4607	* config.h.win32:
4608	* doc/en/dia.xml:
4609	* doc/pl/dia.xml:
4610	* doc/eu/dia.xml: Updated to version 0.96-pre1
4611
4612	* plug-ins/vdx/Makefile.am (libvdx_filter_la_SOURCES): Added
4613	visio-types.h
4614
4615	* po/POTFILES.in: Removed EML.sheet.in.
4616
46172006-12-09  Lars Clausen  <lars@raeder.dk>
4618
4619	* app/diapsft2renderer.c (ANNOYING_SCALE_FACTOR): Recalculated the
4620	existing random scale factor to work with text_line, removed some
4621	old cruft, and switched to using the new adjustment.  This fixes,
4622	though in a not-well-understood way, bug #384007.
4623
4624	* app/Makefile.am: Make it possible to compile without freetype by
4625	excluding freetype files.
4626
4627	* app/diapsrenderer.c: Don't font_unref until you have
4628	font_ref'd the font, in case it's the same font.  Fixes crash.
4629	Also adjust for baseline in text drawing.
4630
46312006-12-03  Lars Clausen  <lars@raeder.dk>
4632
4633	* doc/en/usage-objects-special.xml: A few updates.
4634
4635	* app/menus.c (display_entries): Add Alt-Return as shortcut for
4636	object properties, and Shift-Alt-Return for diagram properties.
4637	Closes bug #
4638
4639	* objects/SADT/box.c: Make connection points not tear off the side
4640	at resize.  Thanks to Vadim Zelenin <green@visoft.spb.ru> for this
4641	patch.
4642
46432006-12-02  Lars Clausen  <lars@raeder.dk>
4644
4645	* po/POTFILES.in: Add VDX and BPMN files.
4646
4647	* lib/dialibartrenderer.c (fill_polygon): Make sure to use
4648	odd-even winding rule.  Fixes bug #378878.
4649
4650	* app/interface.c (tool_data): Add note about Space toggling tools.
4651
4652	* samples/render-test.dia: Updated font geometry part since font
4653	size has changed.  Also added polygon and beziergon with holes.
4654
4655	* lib/diasvgrenderer.c: Specify that font-size is in
4656	cm, which according to
4657	http://www.w3.org/TR/SVG/text.html#FontSizeProperty specifies the
4658	baseline-to-baseline size of the font.  InkScape does not respect
4659	this, nor does gqview.  See bug #332826 for details.
4660
4661	* lib/textline.c (text_line_cache_values):
4662	* lib/font.c (get_layout_offsets): Fix (seemingly) remaining
4663	problems in the textline adjustment process.
4664
4665	* lib/text.c: Fix a couple bugs, admit to using textline for text
4666	rendering, make sure height&font are set from attributes.
4667
4668	* lib/text.h:
4669	* lib/diarenderer.c: Admit to using textline for text rendering
4670	always.
4671
4672	* lib/diagdkrenderer.c (draw_text_line): Removed code for caching
4673	text rendering, it's not really needed with new textline based
4674	rendering being so fast after all.  Also remove debugging include
4675	of sys/time.h.
4676
46772006-12-01  Lars Clausen  <lars@raeder.dk>
4678
4679	* plug-ins/pstricks/render_pstricks.c (set_linewidth): Specify
4680	unit of measure.  See bug #380302.
4681
4682	* lib/font.c (get_layout_offsets): Remember the newly constructed
4683	runs SList.
4684
4685	* lib/textline.c (text_line_cache_values): Don't take run->glyphs
4686	to be an array and crash.  Still some problems with text rendering.
4687
46882006-12-01  Steffen Macke <sdteffen@gmail.com>
4689
4690	* lib/text.h: Added text_get_line() declaration
4691	* lib/text.c:
4692	* lib/libdia.def: Added text_get_line_width, text_get_line,
4693	text_get_descent,text_get_max_width
4694	* objects/UML/object.c: Fixed typo in objet_draw()
4695	* plug-ins/vdx/vdx-export.c: Use g_ascii_strncasecmp() instead of
4696	strcasecmp()
4697
46982006-11-30  Lars Clausen  <lars@raeder.dk>
4699
4700	* app/diapsft2renderer.c (draw_text_line):
4701	* lib/textline.[ch] (text_line_adjust_glyphs):
4702	* lib/diagdkrenderer.c (draw_text_line): Adjusting widths no
4703	longer mallocs and frees, merely changes the existing object.
4704
4705	* lib/text.c (text_draw): Remember to set_font, even though
4706	draw_text doesn't require it anymore.
4707
47082006-11-29  Lars Clausen  <lars@raeder.dk>
4709
4710	* lib/diarenderer.c: Make default draw_text use its internal
4711	TextLine structures.
4712
4713	* objects/UML/object.c:
4714	* objects/UML/classicon.c:
4715	* objects/UML/node.c:
4716	* objects/GRAFCET/action.c:
4717	* objects/GRAFCET/action_text_draw.c:
4718	* app/modify_tool.c: Use functions to access text internals.
4719	There are more places that access the structure directly, which
4720	should be changed, but are not critical now.
4721
4722	* lib/text.[ch]: Add variant (to become standard) that uses a
4723	TextLine for each line.  Also expose some information in a more
4724	encapsulated way.
4725
4726	* lib/diagdkrenderer.c: Use default draw_text implementation.
4727
47282006-11-28  Lars Clausen  <lars@raeder.dk>
4729
4730	* app/modify_tool.c (modify_make_text_edit): Call
4731	text_line_destroy rather than undefined text_line_free.
4732
4733	* lib/libdia.def: Removed disappeared _scaled_ functions.
4734
4735	* lib/arrows.[ch]: Moving inclusions towards .c, as too many
4736	includes in .h confuses MSVC.
4737
4738	* lib/text.h: Start of using TextLine for Text lines.
4739
47402006-11-26  Lars Clausen  <lars@raeder.dk>
4741
4742	* lib/text.[ch]: Encapsulated the arrays in Text to prepare for
4743	switching to one array of TextLine.  Simplified operations a lot
4744	by using standard functions.
4745
47462006-11-25  Lars Clausen  <lars@raeder.dk>
4747
4748	* lib/font.[ch]: Use text_line for the few remaining functions
4749	that used _scaled_ (non of them actually *were* scaled:), and get
4750	rid of all the _scaled_ stuff!  One less horror of a kludge!
4751
4752	* app/diapsft2renderer.c (draw_string): Happy with using text_line
4753	for string output.
4754
4755	* lib/diagdkrenderer.c: Make highlighted area match text area, and
4756	use text_line in get_text_width.  These should later be
4757	superfluous due to increased use of text_line at higher levels.
4758
4759	* lib/dialibartrenderer.c: Implement text_line based rendering of
4760	text.  Works.  Also get_text_width uses a text_line.  Text
4761	bounding box is still a little off, but that will help once
4762	text_line is used in the text system.
4763
4764	* lib/arrows.c (arrow_get_name_from_type): Function to get arrow
4765	names, and proper error messages when a loaded diagram has bad
4766	arrows.  Finally fixes bug #144394, thanks to both Pontus Pihlgren
4767	<pontus.pihlgren@farmbio.uu.se> and Vadim Zelenin
4768	<green@visoft.spb.ru>
4769
47702006-11-24  Lars Clausen  <lars@raeder.dk>
4771
4772	* samples/Metapost-Testcase.dia: A nice test case for MetaPost,
4773	including most basic rendering things.
4774
4775	* lib/textline.[ch]: Little cache fix, and adding a function to
4776	get alignment widths for a TextLine.
4777
4778	* lib/diagdkrenderer.c (draw_text_line): Make caching of renderer
4779	data for textline work, get rid of last use of _scaled_ stuff.
4780
47812006-11-23  Lars Clausen  <lars@raeder.dk>
4782
4783	* lib/diagdkrenderer.c (draw_text_line):
4784	* lib/textline.[ch]: Underlying implementation and first
4785	(currently commented out) attempt at use of textline renderer data
4786	cache.  Not debugged, but thennobody holds textline objects long
4787	enough to make a difference yet.
4788
47892006-11-22  Lars Clausen  <lars@raeder.dk>
4790
4791	* app/menus.c: Patch adding shortcuts for align functions, thanks
4792	be to jan@uos.de.
4793
47942006-11-18  Djihed Afifi  <djihed@gmail.com>
4795
4796	* configure.in: Added Arabic Language (ar).
4797
47982006-11-16  Lars Clausen  <lars@raeder.dk>
4799
4800	* lib/font.[ch] (get_layout_offsets): Start of function to adjust
4801	all offsets in a layout line.  Not used yet, and not debugged.
4802	Kept around for when we have more runs in a line.
4803
4804	* lib/textline.c (text_line_adjust_layout_line): Adjusts the glyph
4805	sizes within a PangoLayoutLine to overcome the rounding problems
4806	and ensure linear scaling of fonts.  Currently only fixes the
4807	first run, since AFAIK that's all we can do with current text
4808	input anyway.
4809
4810	* lib/diagdkrenderer.c (draw_text_line): Now uses
4811	text_line_adjust_layout_line to avoid repeating Pango digging for
4812	Freetype and GDK code both. Ready to merge freetype and GDK
4813	duplicate code.
4814
48152006-11-15  Lars Clausen  <lars@raeder.dk>
4816
4817	* plug-ins/vdx/*: Update to version 0.6.1 yields improvements in
4818	both export and import.
4819
48202006-11-13  Lars Clausen  <lars@raeder.dk>
4821
4822	* lib/font.c: Internally calculate glyph offsets at *20 font size
4823	to avoid rounding problems.
4824
4825	* app/layer_dialog.c: Revamped the visibility toggling system to
4826	make visibility change a properly undoable operation, making the
4827	page borders resize in the process.
4828
4829	* objects/standard/line.c (line_load, line_save):
4830	* objects/standard/arc.c (arc_load, arc_save):
4831	* objects/standard/polyline.c (polyline_load, polyline_save):
4832	* objects/standard/bezier.c (bezierline_load, bezierline_save):
4833	* objects/standard/zigzagline.c (zigzagline_load, zigzagline_save):
4834	Use generic load/save functions.
4835
4836	* lib/libdia.def:
4837	* lib/arrows.[ch]: Generic functions for loading and saving
4838	arrows, including sanitizing on load, part of fixing bug #144394.
4839
4840	* objects/FS/flow-ortho.c (orthflow_draw):
4841	* objects/FS/flow-poly.c (orthflow_draw): Update to use modern
4842	arrow rendering.
4843
4844	* app/modify_tool.c (modify_start_text_edit)
4845	(modify_make_text_edit): Don't use dia_font_scaled_* when
4846	avoidable.
4847
48482006-10-29  Steffen Macke <sdteffen@gmail.com>
4849
4850	* app/paginate_psprint.c: Made compile with MSVC again
4851
48522006-10-26  Lars Clausen  <lars@raeder.dk>
4853
4854	* app/interface.[ch]: Patch from jan@uos.de: Write the accelerator
4855	keys in tooltips for standard tools.
4856
4857	* app/paginate_psprint.c: Patch for better printing: Reasonable
4858	file name, check before overwriting, re-popup if file write
4859	failed.  Thanks to Leon Stringer <leon.stringer@ntlworld.com> for
4860	this patch.
4861
48622006-10-26  Hans Breuer  <hans@breuer.org>
4863
4864	* plug-ins/shape/shape-export.c : the icon export facility dependens
4865	on the libart-size-hack; use filter_get_by_name("png-libart") instead
4866	of filter_guess_export_filter(). Fixes bug #364491.
4867
48682006-10-19  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
4869
4870	* configure.in: Added 'gl' to ALL_LINGUAS
4871
48722006-10-16  Hans Breuer  <hans@breuer.org>
4873
4874	* objects/UML/class.c : the comment wrapping was only working for
4875	plain ASCII, now it deals with UTF-8 (Vadim Zelenin, bug #349765)
4876
48772006-10-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>
4878
4879	* configure.in : Add 'th' (Thai) to ALL_LINGUAS.
4880
48812006-10-14  Hans Breuer  <hans@breuer.org>
4882
4883	* plug-ins/vdx/vdx-import.c : don't try to print("%s", NULL). It is
4884	not generally supported and crashes on win32. Fixes bug #349883
4885
4886	* lib/arrows.[hc] : draw hollow arrow heads with linewidth 0.0
4887	correctly. Patch from Michael Duelli fixing bug #358176
4888
4889	* objects/standard/arc.c : don't rely on the result of atan2(inf,inf),
4890	it is C-runtime dependent. Fixes infinitesimal burning of CPU cycles,
4891	bug #360013 and duplicates.
4892
4893	* app/load_save.c : protect gstdio.h by GLIB_CHECK_VERSION
4894	and use the <glib/ form for installed version
4895
48962006-10-13  Hans Breuer  <hans@breuer.org>
4897
4898	* objects/UML/(actor|large_package|node|note).c : use
4899	element_update_connections_rectangle() instead of about 25 lines
4900	of copy and pasted code
4901
4902	* app/load_save.c : make it compile by defining W_OK if it is
4903	not there and also use '#if GLIB_CHECK_VERSION(2,8,0)' instead
4904	of '#ifdef GLIB_CHECK_VERSION(2,8,0)'. Strange that gcc
4905	apparently compiled this
4906
4907	* lib/parent.[ch] : parent_handle_move_in_check() was moving
4908	the checked point about twice as much as needed, bug #342773.
4909
49102006-10-12  Lars Clausen  <lars@raeder.dk>
4911
4912	* app/load_save.c (diagram_data_save): If we have GTK 2.8, check
4913	that we are allowed to write to the file in question (if it
4914	exists) and to the directory (for backup/temp/newly created file).
4915
4916	* lib/dia_dirs.c (dia_get_lib_directory, dia_get_data_directory):
4917	* lib/Makefile.am (AM_CPPFLAGS):
4918	* app/Makefile.am (INCLUDES): Rename DATADIR and LIBDIR to
4919	DIA_DATADIR and DIA_LIBDIR to avoid conflicts with libtool and the
4920	like.  Thanks to lode leroy <lode_leroy@hotmail.com> for pointing
4921	out the solution.
4922
4923	* plug-ins/pstricks/render_pstricks.c (export_pstricks)
4924	(draw_string): Use \psscalebox instead of \scalebox, courtesy of
4925	Dan Bolser <dmb@mrc-dunn.cam.ac.uk> and the pstricks mailing list.
4926
4927	* shapes/Makefile.am (SUBDIRS):
4928	* configure.in:
4929	* shapes/BPMN/*
4930	* sheets/BPMN.sheet.in:
4931	* sheets/Makefile.am (sheet_in_files): New shape set BPMN for
4932	Business Process Modelling from anthonym@overture.com.
4933
4934	* doc/en/dia.dbk: Correctly describing connections.
4935
4936	* objects/standard/box.c: Patch from Michael Duelli
4937	<m.duelli@web.de>: Set line attributes before drawing anything.
4938
49392006-10-08  Lars Clausen  <lars@raeder.dk>
4940
4941	* configure.in: Allow compiling without freetype on Unix systems.
4942	The effect of changes to non-freetype parts of the code can now be
4943	tested, and I have no excuse to not fix them anymore:(
4944
49452006-10-01  Lars Clausen  <lars@raeder.dk>
4946
4947	* app/modify_tool.c (modify_motion): Don't use null-ness of
4948	connectionpoint to skip snap-to-grid for non-connectable handles.
4949	Fixes bug #350246.
4950
4951	* shapes/flowchart/predefdproc.shape: Fixed midpoint.
4952
49532006-09-27  Steffen Macke <sdteffen@gmail.com>
4954
4955	* shapes/flowchart/datasource.png:
4956	* shapes/flowchart/datasource.shape:
4957	* shapes/flowchart/Makefile.am:
4958	* sheets/Flowchart.sheet.in:
4959	* installer/win32/dia.nsi: Added new "Data source" shape
4960
49612006-09-24  Hans Breuer  <hans@breuer.org>
4962
4963	* lib/diagdkrenderer.c : I'm going to rip out all the Freetype
4964	code the next time the GDK only compile breaks
4965
49662006-09-23  Hans Breuer  <hans@breuer.org>
4967
4968	* app/commands.c app/create_object.c app/disp_callbacks.c : add
4969	missing #include "lib/parent.h"
4970
4971	* lib/makefile.msc : build textline.obj
4972
4973	* objects/makefile.msc : don't build newgroup.obj
4974	* objects/misc/libmisc.c : with newgroup gone to app/ newgroup_type can
4975	not be registered from the module any longer - at least not on win32
4976
4977	* plug-ins/python/makefile.msc : removed obsolete references to
4978	Python 1.5, also removed misleading link to Python 2.2 debug build
4979
4980	* app/diagram.[ch] app/app_procs.c : don't use C++ keyword 'virtual'
4981	as variable name: s/virtual/is_default/
4982
4983	* plug-ins/python/*.c : don't mix PyObject_NEW() with PyMem_DEL()
4984	Newer versions of Python (2.5) are not tolerant about this anymore.
4985
49862006-09-11  Lars Clausen  <lars@raeder.dk>
4987
4988	* lib/diasvgrenderer.c (draw_text_line): First stab at making svg
4989	text line renderer, doesn't work yet.
4990
4991	* lib/textline.c (text_line_draw): Removed #define.
4992
4993	* lib/diagdkrenderer.c (draw_text_line): Slight cleanups.
4994
49952006-09-11  Steffen Macke <sdteffen@gmail.com>
4996
4997	* plug-ins/vdx/vdx-export.c:
4998	* plug-ins/vdx/vdx-import.c:
4999	* plug-ins/vdx/vdx-xml.c:
5000	* plug-ins/vdx/vdx.h:
5001	* plug-ins/vdx/visio-types.h: Update to version 0.5 (from 0.4) of
5002	Visio import, thanks to Ian Redfern, who states:
5003
5004	This is the first version to support export to VDX - for now, just
5005	straight lines and text, but I'm working on the more complex bits.
5006	It currently writes Visio 2002 VDX as a lowest common denominator,
5007	but that won't handle Beziers, so when I get round to converting them
5008	to NURBS, only Visio 2003 users will be able to import them.
5009
5010	There are also several improvements to import, both to fix the layout
5011	and clean up the code, and it can now import embedded bitmaps - as Dia
5012	needs them to be separate files, it puts them in /tmp (or wherever
5013	tempnam() goes to on your system). Alternative suggestions are welcome.
5014	NURBS import still doesn't work, but everything else seems pretty
5015	reliable.
5016
5017	In addition, two small adjustments to compile on Windows
5018
50192006-09-08  Steffen Macke <sdteffen@gmail.com>
5020
5021	* app/makefile.msc:
5022	* app/Makefile.am:
5023	* app/dia-win-remote.c:
5024	* installer/win32/dia.nsi: From Windows Explorer, open .dia files in the
5025	running Dia instance (if possible). Fixes bug #70718
5026
50272006-09-05  Lars Clausen  <lars@raeder.dk>
5028
5029	* lib/diatypes.h:
5030	* lib/Makefile.am (libdia_la_SOURCES):
5031	* lib/diarenderer.[ch]:
5032	* lib/font.[ch]:
5033	* lib/diagdkrenderer.c:
5034	* lib/textline.[ch]: TextLine now ready for commit.  Rendering
5035	with it is much faster and significantly more precise than
5036	without.  All renderers should implement a good definitions for
5037	this (though there is a default one that uses draw_string), as it
5038	can tell the expected width of a string.
5039
5040	* lib/libdia.def: Newly defined functions.
5041
50422006-08-29  Lars Clausen  <lars@raeder.dk>
5043
5044	* lib/textline.[ch]: New text rendering level: A self-contained
5045	single-line text object that allows safer caching and hopefully
5046	more accurate rendering at various zooms.  Using a PangoMatrix
5047	didn't seem to help.
5048
5049	* lib/font.c: Removing out-deffed layout cache code, it'll never
5050	work.  Also a couple support functions for my quest of good zoom.
5051
50522006-08-20  Hans Breuer  <hans@breuer.org>
5053
5054	* plug-ins/cairo/diacairo.c : get rid of c++ coment
5055	* app/diagram.h app/diagram.c app/modify_tool.c app/select.c
5056	  app/undo.c : reverted 'Shortened diagram_unselect'. It broke
5057	plug-ins/python, but more important made one function from
5058	app/diagram.h asymmetric with all the others. We should not leave
5059	the common C OO-pattern of passing an explicit "this pointer" just
5060	because that can also be deduced from the other object.
5061
50622006-08-18  Lars Clausen  <lars@raeder.dk>
5063
5064	* lib/render.[ch]: Finally removed unused render files now known
5065	as diarenderer.[ch].
5066
50672006-08-17  Steffen Macke <sdteffen@gmail.com>
5068
5069	* installer/win32/dia-diagram.ico:
5070	* installer/win32/dia.nsi: Assign icon to *.dia files
5071
50722006-08-16  Lars Clausen  <lars@raeder.dk>
5073
5074	* app/diagram.c (diagram_load):
5075	* lib/object.c (dia_object_is_selectable): Two silly null-pointer
5076	errors detected by Michael Duelli <m.duelli@web.de>
5077
50782006-08-16  Steffen Macke <sdteffen@gmail.com>
5079
5080	* app/modify_tool.c:
5081	* app/undo.c: Include parent.h
5082	* lib/libdia.def: Include dia_object_is_selectable()
5083
50842006-08-13  Lars Clausen  <lars@raeder.dk>
5085
5086	* objects/Misc/libmisc.c:
5087	* {app,objects/Misc}/Makefile.am:
5088	* objects/Misc/newgroup.c:
5089	* app/newgroup.c: Moved newgroup.
5090
5091	* app/diagram.[ch]:
5092	* app/undo.c:
5093	* app/modify_tool.c:
5094	* app/select.c: Trim diagram_unselect_object() to the one required
5095	argument.
5096
5097	* app/app_procs.c:
5098	* app/interface.c (dia_dnd_file_drag_data_received):
5099	* app/recent_files.c (open_recent_file_callback):
5100	* app/filedlg.c (file_open_response_callback):
5101	* app/diagram.c (diagram_load):
5102	Make the diagram created at start-up be a virtual diagram that
5103	if unchanged is filled in by the first opened diagram, like Gnumeric.
5104
51052006-08-11  Lars Clausen  <lars@raeder.dk>
5106
5107	* app/properties.c (properties_give_focus): Give focus to first
5108	thing in a properties dialog.  Still need our own compound widgets
5109	to get focus right.
5110
51112006-08-06  Lars Clausen  <lars@raeder.dk>
5112
5113	* objects/Misc/newgroup.c:
5114	* lib/diagramdata.c:
5115	* app/diagram.[ch]:
5116	* app/select.c:
5117	* app/modify_tool.c:
5118	* lib/object.[ch]: Work towards a more reasonable definition of
5119	Groups.
5120
51212006-08-06  Steffen Macke <sdteffen@gmail.com>
5122
5123	* installer/win32/dia.nsi: Save diagrams by default in "My Pictures";
5124	fixes bug #344247
5125
51262006-08-04  Steffen Macke <sdteffen@gmail.com>
5127
5128	* installer/win32/dia.nsi: Added vdx.dll, analog_clock.xpm
5129	newgroup.xpm , *ui.xml files
5130
51312006-08-03  Lars Clausen  <lars@raeder.dk>
5132
5133	* sheets/Makefile.am: EML sheet taken out since it's been empty
5134	for five years anyway.  Fixes bug #347894.
5135
5136	* doc/eu/dia.dbk:
5137	* doc/en/dia.dbk:
5138	* doc/en/usage-layers.xml: Fixed obsolete references to
5139	export-to-format.  Fixes bug #346510.
5140
51412006-08-02  Lars Clausen  <lars@raeder.dk>
5142
5143	* plug-ins/vdx/visio-types.h:
5144	* plug-ins/vdx/vdx.h:
5145	* plug-ins/vdx/vdx-xml.c:
5146	* plug-ins/vdx/vdx-import.c:
5147	* plug-ins/vdx/vdx-common.c: Update to version 0.4 (from 0.2) of
5148	Visio import, thanks to Ian Redfern, who states:
5149
5150	Version 0.4 does a passable job with curves, and has the first
5151	implementation of Masters. It also handles XForm1D, and fixes a
5152	potential crash. It gets some layers in the wrong order and still
5153	has some major positioning and sizing issues.
5154
5155        Version 0.3 gets object layout correct, and does a better job of
5156	text, lines, arrows, layers etc. Some diagrams (that don't contain
5157	curves) now render pretty much correctly.
5158
51592006-07-16  Hans Breuer  <hans@breuer.org>
5160
5161	* app/cut_n_paste.[hc] : maintain a generation counter to count
5162	how many times the stored object list is used
5163	* app/commands.c : use the generation for paste placement. The
5164	first one after cut is not moved at all: a nice way to move objects
5165	between layers without changing their lateral position.
5166	Also sprinkled some diagram_update_extents()
5167
5168	* shapes/Civil/civil_rotor.shape : had inverted fg/bg colors, bug #347080
5169
5170	* app/recent_files.c : don't g_return_if_fail() on common use case,
5171	here an empty recent file list
5172
5173	* lib/dia_image.c(dia_image_draw) : don't try to draw anything if
5174	width or height is smaller than 1 pixel
5175
5176	* plug-ins/cairo/diacairo.c : allow to export to svg if available
5177	with cairo. Some tweaking of surface sizes.
5178
51792006-07-12  Lars Clausen  <lars@raeder.dk>
5180
5181	* {tests,test/exports,data,plug-ins/vdx}/.cvsignore: Added.
5182
51832006-06-28  Lars Clausen  <lars@raeder.dk>
5184
5185	* plug-ins/vdx/vdx-import.c: Removed create_standard_group which
5186	is in create.c.
5187
51882006-06-25  Hans Breuer  <hans@breuer.org>
5189
5190	* app/display.c : avoid to call gettext on parameters for ngettext()
5191	Should finally really fix bug #344896
5192
5193	* data/ui/display-ui.xml data/ui/popup-ui.xml data/ui/toolbox-ui.xml :
5194	removed expand="yes" because otherwise the files can't be read with
5195	gtk+-2.6.x which follows Dia can't start. Fixes bug #344895
5196	* app/menus.c app/Makefile.am : also find the ui files when run from
5197	app/run_dia.sh
5198
51992006-06-17  Gintautas Miliauskas  <gintas@akl.lt>
5200
5201	* configure.in: Added lt to ALL_LINGUAS.
5202
52032006-06-15  Hans Breuer  <hans@breuer.org>
5204
5205	* app/display.c : use ngettext() for possible plural variations.
5206	(Bug #344896, tokul@users.sourceforge.net)
5207
5208	* objects/UML/class.c : use g_list_append() rather than prepend
5209	when copying attributes, operations, formalparams. Fixes bug #342902
5210	Also removed some superfluous outcommented code and fixed a warning.
5211
5212	* objects/UML/class.c : dont break reading comment_line_length
5213	by misguide compatibility code. Fixes bug #341887
5214
5215	* plug-ins/vdx/vdx-xml.c : added file missing from 0.3
5216	version commit. Fixes bug #344804
5217
5218	* lib/create.h : add create_standard_group() prototype
5219	* lib/libdia.def lib/makefile.msc objects/makefile.msc
5220	  plug-ins/makefile.msc : added missing (files|exports)
5221
52222006-06-13  Lars Clausen  <lars@raeder.dk>
5223
5224	* plug-ins/vdx/*: Version 0.3 of Visio import filters, thanks
5225	again to Ian Redfern.
5226
52272006-06-12  Elijah Newren  <newren gmail com>
5228
5229	* autogen.sh: Run configure by default, allow it to be skipped if
5230	NOCONFIGURE is set in the environment.  #344574.
5231
52322006-06-12  Elijah Newren  <newren gmail com>
5233
5234	Pair of build fixes.  #344357
5235
5236	* Makefile.am: avoid cp errors when $(srcdir) == .
5237
5238	* objects/Misc/newgroup.c: include pixmaps/newgroup.xpm instead of
5239	pixmaps/group.xpm as the latter doesn't exist.
5240
52412006-06-12  Hans Breuer  <hans@breuer.org>
5242
5243	* plug-ins/python/codegen.py : applied patch from Thomas D Ahle
5244	which adds support for Java and inheritance. Closes bug #344187
5245
52462006-05-28  Lars Clausen  <lars@raeder.dk>
5247
5248	* sheets/Misc.sheet.in:
5249	* objects/Misc/Makefile.am (EXTRA_DIST):
5250	* objects/Misc/pixmaps/newgroup.xpm:
5251	* objects/Misc/newgroup.c:
5252	* objects/Misc/libmisc.c: Start of new group model, with "visible"
5253	object to test with.  This object will later become the default
5254	group object and thus (mostly) invisible.
5255
5256	* lib/parent.c (parent_handle_move_in_check):
5257	* app/create_object.c (create_object_button_press):
5258	* app/diagram.c (diagram_unparent_children_selected):
5259	* app/disp_callbacks.c (ddisplay_drop_object):
5260	* app/load_save.c (write_objects):
5261	* objects/network/radiocell.c (radiocell_create):
5262	* objects/AADL/aadlbox.c (aadlbox_create):
5263	* objects/UML/large_package.c (largepackage_create):
5264	* objects/UML/component.c (component_create):
5265	* lib/object.[ch]: DiaObject API change: DiaObject now has gint
5266	flags rather than gboolean can_parent, and utility function
5267	object_flags_set.  Uses of can_parent changed to call to function.
5268
5269	* doc/en/dia.dbk: Removal of obsolete epsi references.
5270
52712006-05-27  Hans Breuer  <hans@breuer.org>
5272
5273	* app/menus.c : listen to Gtk-WARNING **: Unable to parse accelerator
5274	'<control>+': it wants '<control>plus', same for minus.
5275
5276	* tests/exports/cgm/* : cvs admin -kb *.cgm
5277	  tests/exports/png/* tests/exports/png-libart/*
5278	  tests/exports/shape/* : cvs admin -kb *.png
5279	  tests/exports/wpg/* : cvs admin -kb *.wpg
5280	mark binary files as such to not get them broken on platforms which
5281	insist on replacing line-ends.
5282
5283	* app/app_procs.c app/display.c app/filedlg.c app/interface.c
5284	  app/load_save.c app/sheets.c lib/dia_image.c lib/message.c
5285	  plug-ins/python/diamodule.c plug-ins/python/pydia-error.c
5286	  plug-ins/wmf/wmf.cpp : fixed format string vulnerability on HEAD
5287	as well. Patch from Hans de Goede, bug #342111
5288
52892006-05-27  Rob Staudinger <robert.staudinger@gmail.com>
5290
5291	* Makefile.am:
5292	* app/Makefile.am:
5293	* app/diagram.c:
5294	* lib/Makefile.am:
5295	* objects/standard/Makefile.am:
5296	* plug-ins/python/Makefile.am:
5297	Fix out of tree build (#340115).
5298
52992006-05-25  Hans Breuer  <hans@breuer.org>
5300
5301	* app/interface.[hc] app/menus.c : rename ToolButton::menu_item
5302	to action_name. Don't mark action names for translation. It is not
5303	needed and some languages don't support CamelCase. Fixes bug #342895
5304
5305	* app/menus.c : re-added a bunch of accelerators lost in translation
5306	to the GtkAction framework. Use GTK_STOCK_FULLSCREEN conditionally
5307	it was not available with gtk+-2-6-x.
5308	Use dia_get_data_directory() instead of hardcoded UIDATADIR.
5309	* app/dia_embedd.c : explain instead of out-comment
5310
5311	* app/menu.c lib/autoroute.c lib/color.c lib/diagramdata.c
5312	  lib/properties.h dia_xml.c : warningectomy
5313
5314	* lib/create.h : create_standard_group()
5315	* lib/libdia.def lib/makefile.msc : reflect moved stuff
5316
53172006-05-25  Lars Clausen  <lars@raeder.dk>
5318
5319	* tests/exports/*.dia: A set of test diagrams for export
5320	plug-ins.  The intention is to use these for regression tests by
5321	ensuring that they don't change when code is altered, or if they
5322	change that a manual inspection proves them ok.  The fact that an
5323	export plug-in passes these tests doesn't mean it's perfect, just
5324	that is hasn't degraded.
5325
5326	* plug-ins/xfig/xfig-import.c:
5327	* plug-ins/vdx/vdx-import.c:
5328	* lib/create.[ch]: Functions taken from xfig to create some
5329	standard objects easily.  Uses of them updated, no longer need to
5330	take DiagramData.
5331
5332	* plug-ins/vdx/*: First draft of VDX (Visio XML) plug-in from Ian
5333	Redfern <Ian Redfern <Ian.Redfern@LogicaCMG.com>.  Also a bunch of
5334	samples for the purpose from the vdxtosvg project.
5335
53362006-05-21  Hans Breuer  <hans@breuer.org>
5337
5338	* app/interface.[hc] app/disp_callbacks.c : removed unused
5339	global variable popup_shell
5340
5341	* app/pagesetup.c app/diapagelayout.c : restrict every page margin
5342	to a little less than half of the page. This guarantees margins
5343	leaving some useable page area and thus avoids crashing on negative
5344	page sizes. Fixes bug #339562 (also applied to dia-0-95 branch)
5345
53462006-05-20  Hans Breuer  <hans@breuer.org>
5347
5348	Patch from Robert Staudinger to base dia menus on GtkAction framework
5349	instead on deprecated GtkItemFactory. Tracked in bug #340352.
5350	En passant fixes bug #171397
5351	* configure.in : placementof ui files added data/Makefile to AC_OUTPUT
5352	* Makefile.am : added data dir
5353	* app/Makefile.am : added $(uidatadir)
5354	* app/commands.c app/commands.h app/dia_embedd.c app/diagram.c
5355	  app/diagram_tree_window.c app/diagram_tree_window.h
5356	  app/disp_callbacks.c app/display.c app/display.h
5357	  app/interface.c app/menus.c app/menus.h app/recent_files.c :
5358	changed a bunch of callback signatures to take GtkAction
5359	* app/pixmaps/Makefile.am
5360	* data/Makefile.am data/display-ui.xml data/toolbox-ui.xml
5361	  data/popup-ui.xml : new files containing the menu structure
5362	* lib/filter.c lib/filter.h lib/plug-ins.h : callback filter
5363	  registration change to be more appropriate for actions
5364	* lib/libdia.def : updated externals
5365	* plug-ins/python/debug_objects.py plug-ins/python/diamodule.c
5366	  plug-ins/python/group_props.py plug-ins/python/gtkcons.py
5367	  plug-ins/python/otypes.py plug-ins/python/pydiadoc.py
5368	  plug-ins/python/scascale.py plug-ins/python/select_by.py :
5369	adapted to API change dia.register_callback to dia.register.action
5370
5371	* app/authors.h : added Robert to the authors
5372	* app/commands.c : got rid of compiler warnings
5373
53742006-05-14  Hans Breuer  <hans@breuer.org>
5375
5376	* plug-ins/python/python.c : protect the plug-in against
5377	initializing if Python already is initialized. This PyDia extensions
5378	is designed for embedding Python.
5379
5380	* plug-ins/python/pydia-property.c : LineStyle.dash may be either
5381	Float or Integer.
5382
5383	* plug-ins/python/diasvg_import.py : remove FontSize debug spew
5384
5385	* lib/font.c : GDK_WINDOWING_WIN32: if called with a display already
5386	setup use the pango context matching the display. Otherwise fallback
5387	to a context from PangoWin32 (matches only for gtk+-2-6, not the one
5388	used since gtk+-2-8 using cairo.
5389
53902006-05-13  Hans Breuer  <hans@breuer.org>
5391
5392	[ also applied to branch dia-0-95 ]
5393	* objects/UML/umloperationc: add "query" to umloperation_offsets.
5394	Patch from Peter Allin, fixes bug #338336
5395
5396	[ also applied to branch dia-0-95 ]
5397	* app/diagram.c(diagram_ungroup_selected) : operate on a copy
5398	of data-Selected cause the original is modified during use.
5399	Patch from Victor Stinner, fixes bug #334771
5400
5401	* configure.in config.h.win32 : development started again so 095+cvs.
5402	Critical bugfixes may go on the dia-0-95 branch (may lead to 0.95.1
5403	if necessary)
5404
5405	* app/diagram.c : removed long-time outcommented code
5406
5407	* lib/diagramdata.h lib/filter.h lib/geometry.h lib/plug-ins.h
5408	  lib/properties.h : C++ aware by G_BEGIN_DECLS, G_END_DECLS
5409
5410	* objects/UML/class.c : don't dia_assert_true(attr->comment != NULL)
5411	it is handled everywhere else just fine.
5412
54132006-04-19  Lars Clausen  <lars@raeder.dk>
5414
5415	* installer/win32/dia.nsi:
5416	* doc/en/dia.xml:
5417	* doc/eu/dia.xml:
5418	* doc/pl/dia.xml:
5419	* config.h.win32:
5420	* configure.in:
5421	* NEWS: Release 0.95
5422
5423	* shapes/Gane_and_Sarson/process.shape: Connectionpoint update
5424	from Nick Moore <shiny.nickel@gmail.com>.
5425
54262006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
5427
5428	* configure.in: Remove obsolete entry for no_NO
5429	* po/no.po: And the translation.
5430
54312006-04-12  Lars Clausen  <lars@raeder.dk>
5432
5433	* installer/win32/dia.nsi:
5434	* doc/en/dia.xml:
5435	* doc/eu/dia.xml:
5436	* doc/pl/dia.xml:
5437	* config.h.win32:
5438	* configure.in:
5439	* NEWS: -pre9
5440
5441	* configure.in: Check for xgettext.  Apparently
5442	AM_GLIB_GNU_GETTEXT notices it's missing but doesn't abort.
5443
54442006-04-04  Steffen Macke <sdteffen@gmail.com>
5445
5446	* installer/win32/dia.nsi:
5447	* installer/win32/langmacros.nsh:
5448	* installer/win32/locale/*.nsh: Added check for outdated libgtk dll;
5449	closes bug #335477
5450
54512006-04-03  Lars Clausen  <lars@raeder.dk>
5452
5453	* installer/win32/dia.nsi:
5454	* doc/en/dia.xml:
5455	* doc/eu/dia.xml:
5456	* doc/pl/dia.xml:
5457	* config.h.win32:
5458	* configure.in:
5459	* NEWS: -pre8
5460
5461	* plug-ins/xfig/xfig-import.c: Initially place text in the right
5462	place.
5463
54642006-04-03  Steffen Macke <sdteffen@gmail.com>
5465
5466	* installer/win32/dia.nsi:
5467	* installer/win32/locale/french.nsh: Added french installer
5468	locale. Patch from Yannick Le Ny <y.le.ny@ifrance.com>
5469
54702006-04-02  Hans Breuer  <hans@breuer.org>
5471
5472	* doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge
5473
54742006-03-29  Daniel Drake  <dsd@gentoo.org>
5475
5476	* configure.in: Use standard pkg-config expressions to check for
5477	GTK+/Glib, the GTK-supplied macro's conflict with our usage of
5478	$GTK_MODULES (#335422)
5479
54802006-03-28  Lars Clausen  <lars@raeder.dk>
5481
5482	* app/Makefile.am (dia_LDADD): Patch from Peter for bug #336377:
5483	Include libs and cflags in proper places.
5484
5485	* installer/win32/dia.nsi:
5486	* doc/en/dia.xml:
5487	* doc/eu/dia.xml:
5488	* doc/pl/dia.xml:
5489	* config.h.win32:
5490	* configure.in:
5491	* NEWS: -pre7
5492
5493	* shapes/network/mobile_phone.{png,xpm,shape}:
5494	* shapes/network/telephone.shape:
5495	* shapes/network/disc.shape:
5496	Updates from W. Borgert <debacle@debian.org> improving looks and
5497	positioning.
5498
54992006-03-26  Lars Clausen  <lars@raeder.dk>
5500
5501	* objects/network/radiocell.c: Patch from W. Borgert
5502	<debacle@debian.org> for extra midpoint, flicker, extraneous
5503	properties.
5504
5505	* objects/network/basestation.c: Patch for BB from W. Borgert
5506	<debacle@debian.org>.
5507
55082006-03-23  Hans Breuer  <hans@breuer.org>
5509
5510	* lib/widgets.c : use original fontname and fallback 'sans' to
5511	render the font menu. Thus crashing (in Pango) is delayed until
5512	the point where one chooses a font, which can't be rendered by
5513	Pango. Fixes bug #335096 as far as Dia can.
5514
55152006-03-21  Lars Clausen  <lars@raeder.dk>
5516
5517	* installer/win32/dia.nsi:
5518	* doc/en/dia.xml:
5519	* doc/eu/dia.xml:
5520	* doc/pl/dia.xml:
5521	* config.h.win32:
5522	* configure.in:
5523	* NEWS: -pre6
5524
5525	* plug-ins/xfig/xfig-import.c: Last missing stack underflow check.
5526
55272006-03-19  Hans Breuer  <hans@breuer.org>
5528
5529	* app/display.c app/preferences.c : unset transient, still issues
5530	with transient handling, see bug #332828
5531
5532	* app/makefile.msc lib/makefile.msc objects/makefile.msc
5533	  plug-ins/makefile.msc : removed stuff supposed to be used from
5534	$(TOP)/glib/build/win32/make.msc
5535
5536	* plug-ins/xfig/xfig-import.c : make it compile with strict type
5537	checking [these were real errors, freeing stack passed values instead
5538	of the intended local variable] :
5539	xfig-import.c(580) : error C4047: 'function' : 'struct _GArray *'
5540	 differs in levels of indirection from 'struct _Point ** '
5541	xfig-import.c(580) : warning C4024: 'g_array_free' : different types
5542	 for formal and actual parameter 1
5543
5544	* lib/libdia.def : export connection_adjust_for_autogap
5545
5546	* plug-ins/hpgl/hpgl.c : there is one floating point value in the
5547	whole HPGL output - and it was locale dependent.
5548
55492006-03-12  Lars Clausen  <lars@raeder.dk>
5550
5551	* installer/win32/dia.nsi:
5552	* doc/en/dia.xml:
5553	* doc/eu/dia.xml:
5554	* doc/pl/dia.xml:
5555	* config.h.win32:
5556	* configure.in:
5557	* NEWS: -pre5
5558
5559	* objects/UML/constraint.c (constraint_update_data):
5560	* objects/UML/message.c (message_update_data):
5561	* objects/UML/implements.c (implements_update_data):
5562	* objects/SADT/annotation.c (annotation_update_data):
5563	* objects/Jackson/phenomenon.c (message_update_data):
5564	* objects/network/wanlink.c (wanlink_update_data):
5565	* objects/FS/flow.c (flow_update_data): Added autogap adjustment.
5566
5567	* objects/standard/line.c:
5568	* lib/connection.[ch] (connection_adjust_for_autogap): Moved autogap
5569	functionality for connections.
5570
55712006-03-11  Lars Clausen  <lars@raeder.dk>
5572
5573	* lib/diagdkrenderer.c (draw_object):
5574	* lib/dialibartrenderer.c (draw_object): Don't draw highlighting
5575	in the non-interactive rendering.
5576
5577	* dia.spec:
5578	* installer/rpm/dia.spec:
5579	* installer/rpm/README:
5580	Moving dia.spec to installer directory, where distribution
5581	maintainers can keep their own copies.
5582
5583	* objects/UML/uml.h:
5584	* objects/UML/class.h:
5585	* objects/UML/umloperation.c:
5586	* objects/UML/class.c:
5587	Preparations to fix bug #334037: Clean away the Lisp-like
5588	constructs confusing the issue.
5589
55902006-03-10  Lars Clausen  <lars@raeder.dk>
5591
5592	* lib/object.c: Don't compare floats with ==, even in sanity checks.
5593
55942006-03-09  Lars Clausen  <lars@raeder.dk>
5595
5596	* plug-ins/xfig/xfig-import.c: Fix three buffer overflows in color
5597	reading, depth reading, and points reading.  Thanks to
5598
5599	* COPYING: Added copyright info again.
5600
56012006-03-09  Steffen Macke <sdteffen@gmail.com>
5602
5603	* installer/win32/dia.nsi: don't uninstall old version; overwrite
5604	existing files
5605
56062006-03-08  Steffen Macke <sdteffen@gmail.com>
5607
5608	* installer/Makefile.am:
5609	* installer/win32/Makefile.am:
5610	* installer/win32/locale/Makefile.am: Making sure that the installer
5611	sources are included in the dia source distribution
5612	* installer/win32/dia.nsi: Don't include makefiles in installer;
5613	Add uninstaller link to start menu (bug #332650); added commandline
5614	option GTKBIN to specify GTK installation directory (fixes bug #332595)
5615	* installer/win32/dia-diagram.ico:
5616	* installer/win32/dia-header.bmp:
5617	* installer/win32/dia-install.ico:
5618	* installer/win32/dia-intro.bmp:
5619	* installer/win32/dia-uninstall.ico:
5620	* installer/win32/dia.nsi:
5621	* installer/win32/langmacros.nsh:
5622	* installer/win32/locale/english.nsh:
5623	* installer/win32/locale/german.nsh: Added files to build the win32
5624	installer using NSIS (http://nsis.sourceforge.net)
5625
56262006-03-06  Lars Clausen  <larsrc@raeder.dk>
5627
5628	* doc/en/dia.xml:
5629	* doc/pl/dia.xml:
5630	* config.h.win32:
5631	* configure.in:
5632	* NEWS: -pre4
5633
5634	* samples/TexChars.dia: Added sample of the escaped chars for TeX.
5635
5636	* plug-ins/pstricks/render_pstricks.c (tex_escape_string):
5637	Changing escape of \, [, and ] to something that works.  $ is
5638	fine.  Fixes parts of 333193.
5639
56402006-03-05  Lars Clausen  <larsrc@raeder.dk>
5641
5642	* plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
5643
5644	* lib/orth_conn.c (orthconn_update_data):
5645	* app/diagram.c: Removing debug info.
5646
5647	* app/object_ops.c (object_find_connectpoint_display): Don't
5648	magnet to parents.
5649
56502006-02-26  Hans Breuer  <hans@breuer.org>
5651
5652	* app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
5653	* plug-ins/python/python.c : if set use it to find python-startup.py
5654	(bug #332599, Torben H. Nielsen)
5655
5656	* app/app_procs.c : removed // from gtk_init() [shouldn't have commited
5657	my test code]. Really closes #332177, thanks Mateus César Gröess.
5658
56592006-02-26  Lars Clausen  <lars@raeder.dk>
5660
5661	* doc/en/dia.xml:
5662	* doc/pl/dia.xml:
5663	* config.h.win32:
5664	* configure.in:
5665	* NEWS: -pre3
5666
5667	* lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
5668	of element_width and element_height until constraints can be
5669	properly checked.  Bug #328200
5670
5671	* dia.spec (Requires): Updated GTK requirements.
5672
56732006-02-25  Lars Clausen  <lars@raeder.dk>
5674
5675	* lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
5676	other dynamic menus have proper translation.
5677
5678	* lib/widgets.c (dia_dynamic_menu_create_string_item):
5679	* app/interface.c (cmp_names):
5680	* app/sheets.c (sheets_optionmenu_create):
5681	* lib/sheet.c (load_register_sheet): Using C locale for sheet
5682	names internally, translating on display instead.  Also sorting
5683	by gettext order explicitly.  Bug #328570.
5684
56852006-02-25  Hans Breuer  <hans@breuer.org>
5686
5687	* app/interface.c(get_sheet_by_name) : be more tolerant about
5688	localization of the sheet name. ( Steffen Macke, #332070 )
5689
5690	* app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
5691	in any case. In contrast to X11/*nix displays are not optional on
5692	windoze. And we need some help of gtk to render text to bitmaps.
5693	( Rob McDonald, bug #332177 )
5694
56952006-02-21  Lars Clausen  <lars@raeder.dk>
5696
5697	* NEWS:
5698	* doc/pl/dia.xml:
5699	* doc/en/dia.xml:
5700	* configure.in:
5701	* config.h.win32: Update to -pre2.
5702
5703	* lib/beziershape.c (add_handles): Fixing CP pos calculation for
5704	adding new CP's.  Fixes bug #331557.
5705
57062006-02-20  Lars Clausen  <lars@raeder.dk>
5707
5708	* lib/diarenderer.c (find_center_point): Better handling of some
5709	degenerate cases.
5710	(draw_arc_with_arrows): Draw line in all cases.  Doesn't handle
5711	the truly degenerate cases well enough yet, but at least doesn't
5712	break on common cases.  Probably need to do something special for
5713	arcs with start and end point the same.  Improves but does not
5714	entirely fix bug #331372.
5715
57162006-02-20  Hans Breuer  <hans@breuer.org>
5717
5718	* plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
5719
57202006-02-18  Hans Breuer  <hans@breuer.org>
5721
5722	* plug-ins/metapost/render_metapost.c : text position gives the
5723	baseline neither top nor bottom. ( Rob McDonald, #331491 )
5724
5725	* plug-ins/wmf/wmf.cpp : finally respecting the print margins
5726	( Rob McDonald, #331371 )
5727	* plug-ins/wmf/wmf_gdi.h : some more constants not useful
5728	without a GDI printer (driver)
5729
57302006-02-17  Hans Breuer  <hans@breuer.org>
5731
5732	* plug-ins/metapost/render_metapost.c(draw_string) : dont query
5733	the font for it's height but use the 'height' parameter passed
5734	in. Close enough to the desired size - and independent of zoom -
5735	to close bug #331489 (Rob McDonald)
5736
57372006-02-12  Lars Clausen  <lars@raeder.dk>
5738
5739	* NEWS:
5740	* dia.spec:
5741	* doc/pl/dia.xml:
5742	* doc/en/dia.xml:
5743	* configure.in:
5744	* config.h.win32: Updates for version 0.95-pre1.
5745
57462006-02-12  Hans Breuer  <hans@breuer.org>
5747
5748	* app/makefile.msc : build three components dia.exe (console
5749	application), diaw.exe (windows application) and dia-app.dll
5750	containing almost all of Dia's application shared between
5751	the two executables
5752	* app/main.c app/winmain.c app/app_procs.c app/dia.def : some
5753	refactoring to accomplish the new dependency layout
5754	* objects/makefile.msc plug-ins/python/makefile.msc : need to
5755	link dia-app.lib now - if at all depending on app/*
5756
57572006-02-11  Hans Breuer  <hans@breuer.org>
5758
5759	* makefile.msc : nmake -f makefile.msc just compiles now
5760	* app/makefile.msc lib/makefile.msc : make not using FT2
5761	on win32 the default (works around bug #150813 by diabaling it)
5762	* objects/makefile.msc plug-ins/makefile.msc : remove -GD from
5763	$(CC) command line. It isn't understood by newer versions of cl.
5764
5765	* app/authors.h : reflect the recent maintainers change
5766
5767	* app/display.c app/load_save.c : removed debug spew
5768
5769	* app/winmain.c : improved redirection
5770
57712006-02-05  Hans Breuer  <hans@breuer.org>
5772
5773	* app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead
5774	since 0.94. Fix somne left-overs, also properly disable the duplicate
5775	menu entry
5776
5777	* po/POTFILES.in : added objects/network/wanlink.c
5778
57792006-02-05  Hans Breuer  <hans@breuer.org>
5780
5781	* lib/dialibartrenderer.c(renderer_finalize) : dont unref
5782	parent_instance.font here. It will be done in DiaRenderer::finalize()
5783	Just another reason for crashing at diagram close with libart
5784	renderer involved ...
5785
57862006-02-04  Hans Breuer  <hans@breuer.org>
5787
5788	* objects/standard/image.c : added mainpoint, patch from
5789	Torben H. Nielsen fixing bug #329603
5790
5791	* app/layer_widget.c : avoid writing to Layer::connectable for a
5792	diagram possibly already gone. Fixes bug #329096.
5793
5794	* lib/persitence.c(persistence_load) : dont leak filename
5795	in case of not existing file
5796
5797	Code review via regex "[^_l>p](malloc|free|realloc)\("
5798	* objects/fs/function.c : what's g_strdup() must be g_free()'d
5799	* plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
5800	* plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
5801
5802	* app/filedlg.c(file_save_as_response_callback) : before destroying
5803	the save as dialog we need to drop the dialogs diagram reference.
5804	Fixes behaviour described in bug #123225#c7
5805
5806	* app/interface.c(get_sheet_names) : need to sort sheets by their
5807	display name to really fix bug #160101.
5808
5809	* objects/UML/association.c : dont leak the role_name calculated
5810	with visibility attribute, use g_strdup_printf() instead of strcat().
5811
5812	* configure.in : fix typo in error message
5813
5814	* lib/object.c : remove duplicated prototype
5815	* lib/element.c : element_update_connections_rectangle() assumes nine
5816	connection points, i.e. requires 'mainpoint'. g_assert() for this.
5817
58182006-02-03  Hans Breuer  <hans@breuer.org>
5819
5820	* objects/network/bus.c : allow to tint it. Patch from
5821	Torben H. Nielsen, closes bug #328580.
5822	* objects/network/wanlink.c : allow to tint this as well.
5823
58242006-01-29  Hans Breuer  <hans@breuer.org>
5825
5826	* app/render_libart.c(draw_line) : make setting the pixel side-effect
5827	free; account for it in now (less) magic increments. Fixes bug #312147
5828
58292006-01-28  Hans Breuer  <hans@breuer.org>
5830
5831	* po/checktrans.py : make it work with recent pyxml (unknown url type)
5832	* po/AADL.sheet.in : remove duplicated _description
5833	=> translation report works again
5834
5835	* app/display.c : revert back to "_Discard Changes" to avoid
5836	accelerator clash. Also gtk_button_new_with_mnemonic() to
5837	'expand' the accelerator.
5838
5839	* lib/dia_svg.c(dia_svg_style_init) : need to initialize
5840	linecap, linejoin, linestyle to avoid invalid settings.
5841	(Nguyen Thai Ngoc Duy, bug #328945)
5842	* lib/diagdkrenderer.c : add a place fro breakpoint to
5843	detect invalid mode
5844
5845	* lib/diarenderer.c(setfont) : if we get passed in the
5846	same font it must be ref'd before unref.
5847
5848	* lib/text.c(set_string) : don't eat the trailing new-line
5849	Fixes bug #165092
5850
5851	* app/app_procs.c app/display.c app/filedlg.c
5852	attempt to provide more HIG compliant dialogs. Patch from
5853	Nguyen Thai Ngoc Duy, part of bug #138183
5854
5855	* app/recent_files.c(recent_file_history_clear_menu) : instead of
5856	messing with GtkMenuShell::children and gtk_widget_destroy() just
5857	use gtk_container_remove. Avoids memory corruption causing the
5858	most 'random' crashes recently.
5859
5860	* objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL
5861	cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the
5862	TextAttributes - not some subset. Fixes bug #327701
5863	* objects/UML/implements.c objects/UML/generalization.c
5864	  objects/UML/constraint.c objects/UML/object.c
5865	  objects/UML/large_package.c objects/UML/realizes.c : same here.
5866	* objects/UML/dependency.c : same here. Also draw the "Name" with the
5867	given color, not only the Stereotype.
5868	* objects/UML/class.c : same here. But we also need to restore
5869	explicit restore "text_color" for the load case.
5870
58712006-01-27  Hans Breuer  <hans@breuer.org>
5872
5873	* configure.in : error out if GLib/GTK+ version is lower than required
5874
5875	* app/filedlg.c lib/widgets.c : more default responses. Patch
5876	from Nguyen Thai Ngoc Duy, part of bug #138183
5877
5878	* NEWS : Main point feature correction. The line is supposed to
5879	start at the border of the object not the bounding box.
5880
5881	* app/commands.c : respect difference between documenters and
5882	translators and show both in about dialog. Closes bug #328711.
5883
5884	* app/interface.c : instead of g_warning for missing shape icon
5885	but use message_warning and show the 'missing' icon
5886
5887	* lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
5888	not match pango_win32_get_context(). Use gdk_pango_get_context ().
5889	Also removed my special win32-modified-pango code for draw_string()
5890	without the help of gdk.
5891
5892	* Makefile.am : include MAINTAINERS file in tarball
5893
5894	* lib/conectionpoint.h : removed double include of "geometry.h"
5895
58962006-01-22  Hans Breuer  <hans@breuer.org>
5897
5898	* app/splash.c app/commands.c : dont share the logo and finally leak
5899	it. Instead both place load and unref the logo themself.
5900	Also unbreak GNOME case.
5901
5902	* app/commands.c : use GtkAboutDialog instead of homegrown GTK+
5903	or GNOME specific one. 120 lines less code and more standard.
5904	* configure.in : require GTK+ >= 2.6
5905
5906	* app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
5907	make GtkTypeInfo static const as usual elsewhere
5908
5909	* app/recent_files.c : it almost certainly is an error to ignore
5910	the return value of g_list_remove_link()
5911
5912	* lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
5913	  lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
5914	  lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
5915	  lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
5916	  objects/UML/uml.h : documentation fixes
5917
5918	* lib/object.h lib/diagramdata.h : avoid circular inclusion
5919	* lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
5920	  lib/properties.h lib/sheet.h lib/diamenu.h
5921	: dont include "object.h", "diatypes.h" is enough.
5922	Rule of thumb: only headers declaring an inheritant of DiaObject
5923	should include "object.h"
5924	* lib/diarenderer.h : include "font.h" not strictly needed by
5925	this header, but needed in almost any plug-in/
5926	* app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
5927	  app/export_png.c app/interface.c app/load_save.c app/sheets.c
5928	  app/sheets_dialog.c app/sheets_dialog_callbacks.c
5929	  lib/diagdkrenderer.c lib/object.c lib/propobject.c
5930	  lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
5931	  plug-ins/svg/render_svg.c
5932	  : some .c files now need to include "object.h" or <gtk/gtk.h>
5933	or e.g. "intl.h" direct, formerly dargged in indirectly
5934	* plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
5935
59362006-01-21  Hans Breuer  <hans@breuer.org>
5937
5938        * lib/connection.c lib/connection.h lib/connectionpoint.h
5939          lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
5940          lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
5941          lib/object.c lib/object.h : documentation tweaking
5942
5943	* objects/UML/class_dialog.c(attributes_create_page,
5944	operations_create_page) : dont connect
5945	to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
5946	g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
5947	(This was a leftover of introducing the GtkTextView instead of GtkEntry)
5948
5949	* objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
5950	Introduce 'comment_tagging' switch which allows to hide the rendering
5951	{documentation = } Maybe a choice between ugliness and non-standard.
5952	Fixes bug #326214. (Unrelated: started to adapt casing of variables
5953	to Dia's common coding style)
5954
5955	* lib/object_defaults.c : pass is_default=TRUE to object_copy_props
5956	  lib/proplist.c : fixed pdtpp_default()
5957	  lib/propobject.c : correctly reflect is_default
5958	* object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
5959	PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
5960
5961	* lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
5962	widget in defaults dialog
5963
5964	* app/display.c(initialize_display_widgets) : also append the Input
5965	Methods menu to the diagram menubar. Now fixes bug #327862.
5966
5967	* config.h.win32 : #undef LOCALEDIR
5968	* app/app_procs.c : runtime calculation of localedir. It now is
5969	$(executable_dir)/../locale. Should help fix bug #309763
5970
5971	* sheets/AADL.sheet.in : remove left over xml:lang tag.
5972	( Nguyen Thai Ngoc Duy, bug #327519)
5973
5974	* lib/dialibartrenderer.c : make text rendering work without
5975	PangoFT2 and PangoWin32
5976
5977
59782006-01-18  Lars Clausen  <lars@raeder.dk>
5979
5980	* objects/UML/class.h: Enabling UML class mainpoint after failure
5981	to break it.
5982
5983	* app/grid.c: Fix bug with grid being incorrectly drawn when gap <
5984	1.
5985
59862006-01-14  Hans Breuer  <hans@breuer.org>
5987
5988	* app/paginate_psprint.c : ensure we are not producing pages for
5989	epsilon. Floating imprecision is fun. Fixes bug #133856.
5990	* app/paginate_gdiprint.cpp : same here.
5991
5992	* plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
5993	found the nice samples from bug #156171 it was quite simple to
5994	confirm that the y value need indeed to be inverted. Fixes bug #304974.
5995	Also special case strings starting with \tex - i.e. dont escape them -
5996	to keep the use-case of direct tex input.
5997
5998	* lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
5999
6000
60012006-01-14  Hans Breuer  <hans@breuer.org>
6002
6003	* samples/Self/umlclass.dia : (new file) documenting part of the
6004	object relations of UMLClass. Also good for testing connections.
6005
6006	* lib/debug.c : replace wrong call to vprintf() - missing file
6007	descriptor - with the more appropriate g_vprintf(). Thus
6008	dia_assert_true() does not smash the stack anymore on win32.
6009
6010	* objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
6011	  objects/UML/umlattribute.c objects/UML/umloperation.c :
6012	reverted the memory managment of UMLAttribute/UMLOperation's
6013	ConnectionPoint(s) back to how it was up until 0.94. This finally
6014	makes the UMLClass work again including undo/redo support. Fixes
6015	bug #314153 and en passant bug #326453.
6016
60172005-01-12  Lars Clausen  <lars@raeder.dk>
6018
6019	* objects/UML/umlattribute.c:
6020	* objects/UML/class_dialog.c: Better way of handling
6021	connectionpoints: Don't copy them, just reference them.  Finally
6022	fixes bug #314153 (not quite the pi bug:)
6023
6024	* app/menus.c (display_menu_items):
6025	* app/filedlg.c (file_open_response_callback):
6026	* app/display.[ch] (copy_display):
6027	* app/commands.[ch] (view_clone_view_callback):
6028	Added functionality to clone display.  Preparation for storing
6029	display info in diagram files (not happening this version, though).
6030
6031	* INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
6032	users pointing at dia-installer.
6033
60342006-01-08  Hans Breuer  <hans@breuer.org>
6035
6036	* shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
6037	(Narcelio Filho, #326075)
6038
6039	* objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
6040	plug-ins should not depend on app/* and it even breaks 'make distcheck'.
6041	* objects/AADL/Makefile.am : added edit_port_declaration.h
6042	* app/Makefile.am : added diaconv.c to EXTRA_DIST
6043	=> 'make distcheck' passes again.
6044
6045	* configure.in : use some more of gcc's useful warnings
6046
6047	* lib/geometry.h : removed unused functions just producing warnings
6048	[sometimes it's good to read compiler warnings]
6049	* plug-ins/cairo/diacairo.c : somehow a function call got lost
6050	(left-hand operand of comma expression has no effect)
6051	* plug-ins/metapost/render_metapost.c : dia_message_filename()
6052	wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
6053	from incompatible pointer type)
6054
6055
60562006-01-07  Hans Breuer  <hans@breuer.org>
6057
6058	* objects/custom/shape_info.c(parse_path) : handle the case of
6059	invalid path data more gracefully, i.e. show a warning instead
6060	of crashing later on.
6061	* plug-ins/svg/svg-import.c(read_path_svg) : ditto.
6062
6063	* configure.in sheets/Makefile.am shapes/Gane_and_Sarson
6064	  shapes/Makefile.am : added Gane & Sarson shapes
6065	(Nick Moore, #319544)
6066
6067	* objects/makefile.msc : building AADL on win32
6068
60692006-01-06  Hans Breuer  <hans@breuer.org>
6070
6071	* objects/AADL/aadl.h : avoid redefinition warnings by #undef
6072	min, #undef max before local definitions
6073	* objects/AADL/aadl.h : more prototypes
6074	* objects/AADL/aadltext.c : for C89 declarations must be at the
6075	beginning of a block. And Dia *must* be compileable with C89.
6076
6077	* objects/AADL/** objects/Makefile.am sheets/Makefile.am
6078	configure.in : AADL plug-in from Pierre Duquesne. See
6079	http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
6080	for more information
6081	* sheets/AADL.sheet.in : from the above patch but modified
6082	to become translatable like the other sheet files. That is: the
6083	french translation got temporary removed cause it does not belong here.
6084
6085	* plug-ins/pgf/render_pgf.c : no C99/C++ comments please
6086
6087	* app/app_procs.c app/diaconv.c : get rid of run-on sentences
6088	(Adam Weinberger, bug #325567)
6089
6090	* app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
6091	and change some other to use <control><alt>. They collide with GTK's
6092	Unicode input feature. Fixes bug #320495. For rationale see:
6093	http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
6094
6095	* app/display.c : pay attention to g_warnings() [should always run
6096	with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
6097	actually is a menu bar.
6098
6099	* lib/diarenderer.c : the righthand calculation accidentially broke
6100	some arcs direction. Should be fixed again.
6101
61022006-01-02  Hans Breuer  <hans@breuer.org>
6103
6104	* app/display.c(new_display) : also append the Input Methods menu to
6105	the diagram menubar. Fixes bug #308576.
6106
6107	* lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
6108	freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
6109
6110	* lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to
6111	their localized name (with g_utf8_collate). Thus not relying on the
6112	capabilities of the C libraries strcmp(). Fixes bug #160101.
6113
6114	* lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
6115	point and width from the (arrow-)corrected new points. Otherwise a
6116	whole new wrong arc may emerge. Fixes bug #312641.
6117
61182006-01-01  Hans Breuer  <hans@breuer.org>
6119
6120	* objects/custom/custom_object.c(cutom_update_data) : depending
6121	on the handle moving let one scale (x or y) take precedence.
6122	(bug #308515, Eric Deplagne)
6123
6124	* objects/UML/class.c : only perform the attributes check with
6125	attributes visible to ged rid of false warnings
6126	* objects/UML/class_dialog.c : need to setup Connection::object
6127	after uml_attribute_new() and uml_operation_new(), again less
6128	warnings but bug #314153 still not fixed.
6129
6130	* NEWS : updated
6131
6132	* plug-ins/python/diasvg.py : more correct svg by also writing
6133	xmlns="http://www.w3.org/200/svg"
6134
6135	* plug-ins/python/dot.py : skip unconnected connection lines
6136	* plug-ins/python/Makefile.am : added dot.py
6137
6138	* plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
6139	typos in comments
6140
61412005-12-31  Hans Breuer  <hans@breuer.org>
6142
6143	* objects/UML/class.[hc] objects/UML/class_dialog.c : removed the
6144	caching of UMLClass::attributes_strings, operations_strings,
6145	templates_strings.
6146	It was broken by the recent code restructuring in bug #303744 and
6147	- if necessary at all - nowadays it should be done on the
6148	UMLAttribute, UMLOperation, UMLFormalParameter level anyway.
6149	A small, much needed simplification of the code.
6150
61512005-12-30  Hans Breuer  <hans@breuer.org>
6152
6153	* objects/UML/class.c : Patch from Dave Klotzbach
6154	fixes crash bug #325151
6155
6156	* app/app_procs.c : add command line parameter --nonew to allow
6157	avoiding the empty start-up diagram
6158	Also give a hint on where the object-libs were missing.
6159	Finally work around a misbehaviour upstreamm :
6160	g_option_context_parse() returning FALSE but not setting error.
6161
6162	* app/commands.c app/app_diagram_tree.c app/interface.c :
6163	Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
6164	http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
6165
6166	* lib/widgets.c : image file selection finally ported to the new
6167	gtk file chooser. Fixes bug #309383
6168
61692005-12-28  Hans Breuer  <hans@breuer.org>
6170
6171	* app/commands.c(file_new_callback) : convert to filename encoding before
6172	passing to new_diagram(), fixes bug #322400
6173
6174	* app/interface.c(create_display_shell) : don't clip width on screen
6175	height - now commited. Also lazy creation of tooltips.
6176
6177	* objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
6178
61792005-12-27  Hans Breuer  <hans@breuer.org>
6180
6181	* app/diapsft2renderer.c(draw_bezier_outline) : only call
6182	FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
6183	Prefers no text output over crashing for bug #144212
6184
6185	* app/interface.c : removed superfluous call to dia_canvas_set_size().
6186	Suggested by Roland Stigge, fixes bug #148149.
6187
6188	* plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
6189	DXF. It is not supported at all. Fixes bug #322101
6190
6191	* lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
6192	define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
6193
6194
61952005-12-27  Hans Breuer  <hans@breuer.org>
6196
6197	* app/navigation.c : protect on_da_button_release_event() against being
6198	called twice. Also only popdown the navigation window after the first
6199	draw (reusing nav->is_first_expose). Fixes bug #151696
6200
6201	* app/interface.c(create_display_shell): don't clip width on screen height,
6202	but height
6203
6204	* lib/plug-ins.c : fixed typo in comment
6205
6206	* lib/libdia.def : updated externals
6207	* lib/makefile.msc : build debug.obj
6208
6209	* plug-ins/makefile.msc : building pgf in the right alphabetical order
6210	* plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
6211
62122005-12-08  Lars Clausen  <lars@raeder.dk>
6213
6214	* app/authors.h:
6215	* plug-ins/pgf/pgf.c:
6216	* plug-ins/pgf/render_pgf.[ch]:
6217	* plug-ins/pgf/Makefile.am:
6218	* plug-ins/Makefile.msc:
6219	* plug-ins/Makefile.am (SUBDIRS):
6220	* configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
6221	support for PGF output for including in (La)TeX documents that
6222	allows PDF generation.
6223
6224	* samples/render-test.dia: Added samples of text in different
6225	sizes, standard fonts and styles with size markers.
6226
62272005-12-04  Lars Clausen  <lars@raeder.dk>
6228
6229	* lib/Makefile.am (gen_sources): Mark marshal files as generated.
6230	(BUILT_SOURCES): Added marshal files.
6231
62322005-12-03  Lars Clausen  <lars@raeder.dk>
6233
6234	* lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
6235	about $(srcdir) and confusing everybody.
6236
6237	* app/undo.c:
6238	* lib/diagramdata.c:
6239	* lib/diagramdata.h:
6240	* lib/diamarshal.list:
6241	* plug-ins/python/pydia-diagram.c:
6242	* plug-ins/python/pydia-diagramdata.c:
6243	* plug-ins/python/python-startup.py: Patch from David Johansson
6244	<david.lgj@gmail.com>: Add signals emitted when objects are
6245	inserted or removed.
6246
62472005-11-13  Lars Clausen  <lars@raeder.dk>
6248
6249	* app/display.c (update_zoom_status): Fix of bug #321387: Avoid
6250	(small) buffer overflow by using g_strdup_printf instead of sprintf.
6251
62522005-11-09  Lars Clausen  <lars@raeder.dk>
6253
6254	* app/app_procs.c:
6255	* plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
6256	when reaching the statement is a bug.  Using g_critical and exit() for
6257	fatally wrong inputs.
6258
6259	* objects/UML/uml.c:
6260	* objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
6261	Klotzbach): Fixes template rendering and converts home-brew inline
6262	doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
6263	into a dup.
6264
62652005-11-07  Lars Clausen  <lars@raeder.dk>
6266
6267	* lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
6268	box' since several objects have problems of using bounding box in
6269	different ways (see bug #300055).  For now, enclosing box ==
6270	bounding box, but over time objects will learn to expand the
6271	bounding box to include things only rendered interactively.
6272
6273	* app/modify_tool.c (modify_motion): Make sure highlight is reset
6274	when moving between overlapping objects.
6275
6276	* app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
6277	diagram after toggling to make red X's come and go.
6278
6279	* lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
6280	it if you need faster rendering and aren't afraid of crashbugs:)
6281
6282	* lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
6283	(dave Klotzbach):  Fixes null pointer problems in free function.
6284
6285	* objects/UML/class.c
6286	* objects/UML/class.h
6287	* objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
6288	(dave Klotzbach): Make UML comments conform to UML 1.0 standard
6289	and allow multi-line comments. Ugly as hell, but standard.  Time
6290	for a 'Strict UML' option?  Fixes bug #303744.
6291
6292	* objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
6293	entry, exit and do descriptions to a state object.  Fixes bug #65434.
6294
62952005-11-03  Lars Clausen  <lars@raeder.dk>
6296
6297	* lib/arrows.c:
6298	* lib/attributes.c:
6299	* lib/autoroute.c:
6300	* lib/bezier_conn.c:
6301	* lib/boundingbox.c:
6302	* lib/color.c:
6303	* lib/connection.c:
6304	* lib/connectionpoint.c:
6305	* lib/dia_dirs.c:
6306	* lib/dia_image.c:
6307	* lib/dia_svg.c:
6308	* lib/dia_xml.c:
6309	* lib/diaarrowchooser.c:
6310	* lib/diaerror.c:
6311	* lib/diagdkrenderer.c:
6312	* lib/diagramdata.c:
6313	* lib/element.c:
6314	* lib/object.c:
6315	* lib/object.h:
6316	* lib/parent.c:
6317	Added documentation java-doc style.  Also a few trivial cleanups.
6318
63192005-10-13  Lars Clausen  <lars@raeder.dk>
6320
6321	* lib/connectionpoint.h (DIR_ALL): Parentheses around operations
6322	in macros.
6323
6324	* plug-ins/hpgl/hpgl.c (export_data): Correct error message.
6325
6326	* lib/Makefile.am:
6327	* lib/debug.[ch]:
6328	* lib/object.[ch]:
6329	* objects/UML/class.[ch]:
6330	* objects/UML/uml.h:
6331	* objects/UML/umlattribute.c:
6332	* objects/UML/umloperation.c:
6333	* objects/UML/class_dialog.c:
6334	Rework of the UML class attribute/operation handling.  Now doesn't
6335	copy connection points into the dialog data, but only the "flat"
6336	data.  As part of debugging made sanity check functionality.
6337	Currently still dies when deleting an attribute/operation that has
6338	a connection to it.
6339
63402005-10-09  Hans Breuer  <hans@breuer.org>
6341
6342	* lib/properties.h : prefer american spelling of colo(u)r for
6343	user visible strings - i.e. to be translated ones.
6344	* objects/UML/uml.c : it is Implementation. Together fixes bug #313929
6345                                        ^
6346	* po/*.po : updated (by 'make distcheck')
6347
63482005-10-09  Hans Breuer  <hans@breuer.org>
6349
6350	* app/display.c : allow !"toolbox on top" without restart.
6351	(Chris Hellberg, bug #310702)
6352
63532005-10-09  Hans Breuer  <hans@breuer.org>
6354
6355	* lib/arrows.c : patch from Radek Krahl fixing the blanking
6356	of two arrowheads, bug #310157
6357
63582005-10-08  Hans Breuer  <hans@breuer.org>
6359
6360	* plug-ins/python/group_props.py : show a descriptive text instead of an
6361	empty table if there are no common properties to change. Fixes bug #314432
6362
63632005-10-08  Hans Breuer  <hans@breuer.org>
6364
6365	* objects/UML/transition.c : inverted default direction of
6366	the direction. Patch from Peter Allin, fixes bug #318049
6367	[You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
6368
63692005-10-08  Hans Breuer  <hans@breuer.org>
6370
6371	* app/Makefile.am objects/standard/Makefile.am : match the
6372	referenced icons to the needed. Make 'make distcheck' pass
6373	and thus fixes bug #312152
6374
6375	* objects/standard/textobj.c : no C++ comments please!
6376
63772005-10-08  Hans Breuer  <hans@breuer.org>
6378
6379	* objects/standard/textobj.c : preserve the position set on create
6380	[makes e.g. text positioning of diasvg_import.py work]
6381
6382	* plug-ins/python/diasvg_import.py : restrict what eval() can do
6383	with strings from svg files. Fixes the arbitrary code execution from
6384	bug #317637
6385
6386	* app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
6387	magnetism. At least they are distinguishable from grid snapping.
6388	* app/makefile.msc app/Makefile.am : use them
6389
6390	* lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
6391	I also can't reproduce bug #309044 anymore (on win32).
6392
63932005-10-01  Lars Clausen  <lars@raeder.dk>
6394
6395	* lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
6396
6397	* plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
6398	pass FILE * as gchar *.
6399
6400	* lib/debug.[ch] (dia_assert_true): Debugging aids.
6401
64022005-09-29  Lars Clausen  <lars@raeder.dk>
6403
6404	* objects/UML/class.h: Enabling mainpoints for UML.
6405
6406	* objects/UML/class.c (umlclass_set_props): Make sure to always
6407	realloc connection point list.
6408
64092005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
6410
6411	* configure.in: Added "id" in ALL_LINGUAS line.
6412
64132005-09-14  Lars Clausen  <lars@raeder.dk>
6414
6415	* objects/UML/class.c (umlclass_load): Set mainpoint obj upon
6416	loading.  Fixes bug #315427.
6417
64182005-09-11  Hans Breuer  <hans@breuer.org>
6419
6420	* objects/standard/arc.c objects/standard/textobj.c : fix
6421	C99isms, Dia is supposed to compile with C89 like msvc
6422
6423	* app/makefile.msc : use the wrong center-point-magnetism
6424	icons for the win32 build, too.
6425
6426	* plug-ins/python/pydia-error.c : dont crash on C escape
6427	sequences in the error string
6428	* plug-ins/python/pydia-render.c : dont free filename twice
6429
6430	* plug-ins/python/dot.py : start of an exporter to DOT language
6431	which can be processed by www.graphviz.org tools
6432
64332005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
6434
6435	* configure.in: Added "doc/eu/Makefile" for Basque documentation.
6436
64372005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
6438
6439	* configure.in: Added "eu" to ALL_LINGUAS.
6440
64412005-09-04  Lars Clausen  <lars@raeder.dk>
6442
6443	* lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
6444	dimensions frame to make ext_attributes work again.
6445
6446	* app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
6447	<zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
6448	global prefs.
6449
6450	* objects/standard/textobj.c: Applied patch from Grégoire Dooms
6451	<dooms info ucl ac be>: Add vertical alignment for standard text
6452	object.  This should really be moved into lib/text.c and apply to
6453	all text objects.
6454
64552005-09-03  Lars Clausen  <lars@raeder.dk>
6456
6457	* app/connectionpoint_ops.c (connectionpoint_draw): Only draw
6458	mainpoint when snap-to-objects is not on.
6459
6460	* app/Makefile.am (ICON_PNG_PAIRS):
6461	Fake icons for snap-to-objects.
6462
6463	* app/commands.[ch]:
6464	* app/menus.c (menus_get_image_menubar):
6465	* app/display.[ch]:
6466	* app/interface.c (create_display_shell):
6467	* app/create_object.c (create_object_button_release):
6468	* app/disp_callbacks.c (ddisplay_drop_object):
6469	* app/object_ops.[ch]:
6470	* app/connectionpoint_ops.c (ddisplay_connect_selected):
6471	* app/modify_tool.c (modify_button_release):
6472	* app/display.[ch]:
6473	Togglable snap-to-objects, also doesn't snap when moving entire
6474	object.  This should be more reasonable in practical use, and can
6475	be turned off when you want to place your arrows more precisely.
6476
64772005-08-06  Hans Breuer  <hans@breuer.org>
6478
6479	* plug-ins/cairo/diacairo.c : increased #ifdef MESS:
6480	With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
6481	becomes even more ugly when the user has choosen *not* to build
6482	the diacairo plug-in. If noone can come up with a very convincing
6483	reason why it has to be done this way I'll probably go back to
6484	my original dont-build-at-all approach when this breaks the
6485	next time.
6486
64872005-08-02  Lars Clausen  <lars@raeder.dk>
6488
6489	* objects/standard/arc.c: Patch from Grégoire Dooms
6490	<dooms@info.ucl.ac.be>: An almost perfect arc autogap
6491	implementation.  "There is still a small bug when the non
6492	connected end of the arc is very close to the border of the
6493	connected object. I think this is due to rounding errors in the
6494	code for SHIFT-move handle which is reused to trim the arc in
6495	autogap. Also it is not yet possible to have a startgap and an
6496	endgap from/to the same central CP."
6497
64982005-07-31  Hans Breuer  <hans@breuer.org>
6499
6500	* plug-ins/cairo/diacairo.c congigure.in : dont wait any
6501	longer for distributions official packages - depend
6502	on cairo 0.6.0 - fixes bug #307144
6503
65042005-07-20  Hans Breuer  <hans@breuer.org>
6505
6506	* lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
6507	which must match PropDescription, that is make it at least compile.
6508
65092005-07-19  Hans Breuer  <hans@breuer.org>
6510
6511	* app/diagram.c(new_diagram) : what comes from g_object_new()
6512	MUST NOT be g_free()'d
6513
6514	* lib/message.h : added dia_message_filename() here as well.
6515	Mainly to not touch all files using. They *all* where using
6516	lib/message.h already! Maybe the implemantation should be moved
6517	to message.c as well cause the function has *nothing* to do
6518	with dynamic filename resolving. It is a wrapper around
6519	g_display_filename() mostly (only?) used for messages ...
6520	* lib/dia_dirs.c(dia_message_filename) : fix C99ism
6521
65222005-07-18  Lars Clausen  <larsrc@raeder.dk>
6523
6524	* objects/EML/instantiation.c (instantiation_load):
6525	* objects/EML/interaction-ortho.c (interaction_ortho_type)
6526	* objects/ER/participation.c (participation_type):
6527	* objects/FS/flow-ortho.c (orthflow_type):
6528	* objects/GRAFCET/vector.c (arc_load):
6529	* objects/standard/zigzagline.c (zigzagline_type):
6530	* objects/UML/transition.c (transition_load):
6531	* objects/UML/realizes.c (realizes_load):
6532	* objects/UML/dependency.c (dependency_load):
6533	* objects/UML/generalization.c (generalization_type):
6534	* objects/UML/association.c (association_type):
6535	* objects/UML/component_feature.c (compfeat_load):
6536	Make autorouting deafult on except for old diagrams.
6537
6538	* plug-ins/cairo/diacairo.c (export_data):
6539	* plug-ins/cgm/cgm.c (export_cgm):
6540	* plug-ins/dxf/dxf-export.c (export_dxf):
6541	* plug-ins/dxf/dxf-import.c:
6542	* plug-ins/hpgl/hpgl.c (export_data):
6543	* plug-ins/metapost/render_metapost.c:
6544	* plug-ins/pixbuf/pixbuf.c:
6545	* plug-ins/pstricks/render_pstricks.c:
6546	* plug-ins/python/pydia-render.c:
6547	* plug-ins/shape/shape-export.c:
6548	* plug-ins/svg/render_svg.c:
6549	* plug-ins/svg/svg-import.c:
6550	* plug-ins/wpg/wpg.c
6551	* plug-ins/xfig/xfig-export.c:
6552	* plug-ins/xfig/xfig-import.c:
6553	* plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
6554	UTF-8 in message boxes.
6555
65562005-07-18  Lars Clausen  <lars@raeder.dk>
6557
6558	* lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
6559	to have their dimensions specified in properties.  Still needs to
6560	have proper update when setting properties cause constraint changes.
6561
6562	* app/preferences.c (update_floating_toolbox): Allow
6563	toolbox_on_top setting to happen at once.
6564
6565	* app/diagram.c
6566	* app/filedlg.c
6567	* app/load_save.c
6568	* app/render_eps.c
6569	* app/sheets_dialog_callbacks.c
6570	* lib/dia_dirs.c
6571	* lib/dia_dirs.h
6572	* lib/dia_xml.c
6573	* lib/diarenderer.c
6574	* lib/element.h
6575	* lib/object_defaults.c:
6576	Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
6577	for displaying in messages - better than crashing!  Mostly fixes
6578	#310087.
6579
6580	* objects/UML/class.c:  Save normal_font_height under the same
6581	name it gets loaded as.  Fixes bug #310515.
6582
6583	* doc/en/authors.xml
6584	* doc/en/usage-customization.xml
6585	* doc/en/usage-objects-special.xml
6586	* doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
6587	#308315.
6588
65892005-07-17  Lars Clausen  <lars@raeder.dk>
6590
6591	* doc/en/usage-customization.xml:
6592	* doc/en/usage-objects.xml:
6593	* doc/en/authors.xml:
6594	* doc/en/usage-objects-special.xml: Applied patch from
6595	stigge@antcom.de (Roland Stigge):  Diverse typos and
6596	misencodings.  Fixes bug #308315.
6597
6598	* objects/UML/class.c (umlclass_save): Patch from
6599	i.pilcher@comcast.net: Save normal font height under correct name
6600	to reload it.  Fixes bug #310515.
6601
66022005-07-10  Hans Breuer  <hans@breuer.org>
6603
6604	* app/connectionpoint_ops.c app/object_ops.c : make the
6605	'whole object' connection point only center point again.
6606	That is: it is visible and far less magnetic. Only the
6607	line gap handling make it special. For me this probably
6608	fixes bug #303301
6609
6610	* lib/neworth_conn.c : apply the same as for bug #173031.
6611	This OrthConn fork got broken as well. Fixes bug #309381
6612
6613	* app/makefile.msc objects/makefile.msc : adapt to icon changes
6614
6615	* app/interface.c app/diagram_tree.c : a char** is still not
6616	a char* and the win32 build is configured to error on
6617	sloppiness like this
6618
6619	* plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
6620
66212005-07-10  Hans Breuer  <hans@breuer.org>
6622
6623	[
6624	  Take part in the toolbox icon redesign context! If you want to
6625	  make them really prettier, please keep the following in mind :
6626	  - the size *must* be 22x22 otherwise button reflow will get broken.
6627	    Or you need to change about 800 icons at once.
6628	  - one important part of Dia are control points, so maybe the icons
6629	    should reflect that. (IMO gathering random icons form other
6630	    apps wont work)
6631	  - the icons should at least look consistent in their group
6632	]
6633
6634	* app/Makefile.am : use 22x22 variants mostly lent from The GIMP
6635	* app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
6636
6637	* objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
6638	* objects/standard/pixmap/* : added arc.png beziergon.png
6639	bezierline.png box.png ellipse.png image.png line.png polygon.png
6640	polyline.png text.png zigzagline.png
6641	* objects/standard/Makefile.am : use the new icon set including
6642	text and arc ...
6643
6644	* app/interface.c : remove the "will probably crash" debug spew
6645
66462005-07-09  Lars Clausen  <lars@raeder.dk>
6647
6648	* objects/standard/pixmaps/*.png:
6649	* objects/standard/Makefile.am:
6650	* objects/standard/*.c:
6651	* app/interface.c:
6652	* app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
6653	new icons. [Slightly belated entry]
6654
66552005-07-03  Hans Breuer  <hans@breuer.org>
6656
6657	* app/diagram_tree.c : dont leak display name
6658	* app/app_procs.c : dont leak GOptionContext
6659	* app/prop_widgets.c(frame_beginprop_get_widget) :
6660	Gtk api still not eating strings ...
6661
6662	* objects/UML/class.c() : don't load properties	once more
6663	which are already loaded by StdProps. In case of strings
6664	(data_string) it has even produced leaks.
6665
6666	* app/paginate_psprint.c app/diagram.[hc] : the last
6667	of the related dialogs is gone and with it the
6668	misconception of destroying widgets from
6669	diagram::finalize()
6670	* app/display.c : ensure the diagram is still threre
6671	when we remove the display from it's list
6672
66732005-07-01  Hans Breuer  <hans@breuer.org>
6674
6675	* lib/widgets.c(dia_color_selector_more_callback): dont
6676	free old_color twice
6677
6678	* plug-ins/wmf/wmf.cpp : finally added enahnced meta file
6679	option. Thus linestyles can be preserved on export - at
6680	least on NT based systems.
6681
6682	* NEWS : clarify the wmf outside of windows issue
6683
6684	* app/modify_too.c : fix C99ism
6685
6686	* objects/standard/arc.c : debug spew optional at compile time
6687
66882005-06-26  Hans Breuer  <hans@breuer.org>
6689
6690	[ Cyrille would call it: warningectomy :-]
6691
6692	* lib/font.c app/create_object.c : `...' might be used uninitialized
6693	in this function. Yes they were.
6694	* app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used
6695	uninitialized in this function. Yes it was with textedit_activate_object()
6696	Also some static correctness.
6697	* lib/diarenderer.c:678: warning: no previous prototype for
6698	`calculate_min_radius'. Made static.
6699	* lib/dia_svg.c : ptr is a gchar *
6700	* dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
6701	* lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
6702	* app/app_procs.c : confirm warning and make dump_dependencies() static
6703	* app/autosave.c : #if 0'd old stuff
6704	* app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
6705	*
6706	* lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
6707	  objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
6708	  plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
6709	  plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
6710	  plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
6711	  plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
6712	  app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
6713	  app/diapsrenderer.c app/diagram.c app/disp_callback.c :
6714	removed unused variables and functions
6715	* objects/UML/umlattribute.c objects/UML/umloperation.c
6716	  objects/UML/umlparameter.c objects/UML/umlformalparameter.c :
6717	neither 'missing braces around initializer' nor 'initialization from
6718	incompatible pointer type'
6719	* objects/UML/class_dialog.c : more static
6720	* app/interface.c : static and almost const correctness and some
6721	less unitialized variables.
6722	* app/diapsft2renderer.c : use (int) casts like the original
6723	(http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
6724	* app/render_gdk.c: stop assignment from incompatible pointer type,
6725	make member functions match the prototype.
6726	* app/render_libart.c : Dito. Also stop caching the copy_gc in
6727	a static variable. Otherwise it finally leaks and also may cause
6728	BadMatch with changing windows
6729	=> warning count down from about 250 to about 60, one or two hand full
6730	   crash bugs less.
6731
67322005-06-26  Hans Breuer  <hans@breuer.org>
6733
6734	* lib/libdia.def : added dia_font_get_description, missing
6735	from my last commit
6736
6737	* app/app_procs.c : use png_get_header_ver(NULL), that is:
6738	prefer function call over exported variable to get the
6739	runtime version of libpng
6740
67412005-06-19  Hans Breuer  <hans@breuer.org>
6742
6743	* plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
6744	as suggested by Roland Stigge, bug #308310
6745
67462005-06-19  Hans Breuer  <hans@breuer.org>
6747
6748	* app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't
6749	called anymore
6750
67512005-06-18  Hans Breuer  <hans@breuer.org>
6752
6753	* NEWS : mention new file dialog
6754
6755	[plugged remaining leaks from bug #142669]
6756	* lib/prop_attr.c(fontprop_free) : not only unref the font
6757	but free the property itself, too.
6758	* app/diagram_tree.c(create_diagram_children): remember the
6759	original list start to not only free the last element
6760
6761	* lib/prop_sdarray.c:64: warning: `arrayprop_free' defined
6762	but not used. Here it meant a potentially huge leak.
6763
67642005-06-18  Hans Breuer  <hans@breuer.org>
6765
6766	* po/POTFILES.in : removed app/diaconv.c which isn't referenced
6767	by app/Makefile.am anymore either. Should finally fix 'make distcheck'
6768	for others, too. ( Roland Stigge, bug #144527 )
6769
67702005-06-18  Hans Breuer  <hans@breuer.org>
6771
6772	* plug-ins/wmf/Makefile.am : prevent installation. It
6773	doesn't do anything useful on *NIX and even seems to be
6774	linked wrong by gcc (or me;). Fixes bug #172830
6775
67762005-06-18  Hans Breuer  <hans@breuer.org>
6777
6778	* app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
6779	  plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
6780	in function declarations. 'f();' for a function without parameters is
6781	a C++ism. Though I can't get any of my compilers to warn about it.
6782	Finally fixes bug #142663.
6783
67842005-06-18  Hans Breuer  <hans@breuer.org>
6785
6786	* app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
6787	  plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
6788	in function declarations. 'f();' for a function without parameters is
6789	a C++ism. Though I can't get any of my compilers to warn about it.
6790	Finally fixes the rest of bug #142663.
6791
67922005-06-18  Hans Breuer  <hans@breuer.org>
6793
6794	* lib/font.h lib/font.c : _DiaFont is now private to prepare bigger
6795	changes but doesn't hurt anyway. See bug #162034
6796	* app/diapsft2renderer.c app/modify_tool.c
6797	  plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description()
6798	instead of messing with internals
6799	* app/display.c : give interactive renderers more begin/end render.
6800	It is guaranteed that the scale wont change between these.
6801
68022005-06-18  Hans Breuer  <hans@breuer.org>
6803
6804	* app/app_procs.c : const correctness for stderr_message_internal
6805	* app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON
6806	not GTK_CHECK_BUTTON, also some G_CALLBACK casts
6807	* app/disp_callbacks.c : don't dereference the to the function call
6808	when the function pointer in meant to be checked against 0
6809	* app/interface.c : warning fixes by using correct types
6810	* app/modify_tool.c : describe_props() members returns const pointer
6811	* app/render_libart.c : removed most of the render function again.
6812	They happily live in lib/dialibartrenderer.c since almost 3 years
6813	http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
6814	* lib/dia_dirs.c : dia_get_canonical_path() const correctness
6815	* lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
6816	* lib/dialibartrenderer.c(set_line_join): actually set the join_style
6817	instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
6818	Both mentioned in bug #159814 and not warned by most other compilers.
6819	* lib/diagtkfontsel.c : at least the watcom compiler did not like the
6820	trailing colon in the GtkTypeInfo initialization
6821	* lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
6822	* lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference
6823	between char and gint8
6824	* plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
6825	* plug-ins/wpg/wpg.c : consitently use guint8
6826	* config.h.win32 : change HAVE_* defines to 1 not empty, avoids
6827	redefinition warnings for python and xslt plug-ins
6828
68292005-06-18  Hans Breuer  <hans@breuer.org>
6830
6831	* lib/diagramdata.c : really get rid of diagram_data_destroy
6832	and new_diagram_data [ no previous prototype for `...' is either
6833	a sign of missing static or of a function to vanish :-]
6834
6835	* lib/geometry.c : apparently the G_INLINE stuff was working only
6836	with particular GLib version(s), glib-2.6.4 does not. Conditionally
6837	reverting to the old mecanics.
6838
68392005-06-17  Hans Breuer  <hans@breuer.org>
6840
6841	* plug-ins/python/pydia-*.c : include order tweaking to
6842	get rid of redefinition warnings. Ensure to include <Python.h>
6843	before any 'system' header, some dragged in by glib.h
6844	* plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
6845	  pydia-properties.c(PyDiaProperties_Str)
6846	  plug-ins/python/pydia-property.c(PyDiaProperty_Str) :
6847	use %p to format pointers
6848	* plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) :
6849	dont cast to float for %d
6850	* plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) :
6851	use correct pointer type
6852	* plug-ins/python/pydia-image.c(PyDiaImage_Str) :
6853	dont discard qualifier aka dont free const strings
6854	* plug-ins/python/pydia-properties.c : casts to PyCFunction
6855	* plug-ins/python/pydia-property.c : removed unused function,
6856	make ensure_quarks() static
6857	* plug-ins/python/pydia-render.c : removed unused vars, use
6858	the correct signature for begin_render
6859	(dia_py_renderer_finalize): pluged a leak
6860	=> except -fno-strict-aliasing there is no warning left in
6861	   all of PyDia
6862
68632005-06-12  Hans Breuer  <hans@breuer.org>
6864
6865	* app/filedlg.c : really fix the file extension mismatch on export dialog
6866	by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
6867
68682005-06-11  Hans Breuer  <hans@breuer.org>
6869
6870	* configure.in config.h.win32.h : mark as +cvs (should have been
6871	done directly after the 0.94 release)
6872	* NEWS : attempt to summarize 2/3 year of development
6873
6874	[
6875	  WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
6876	  finally passes again
6877	]
6878	* app/app_procs.c : force use of POPT for the GNOME case, otherwise
6879	app/run_dia.sh --credits > THANKS => Segmentation fault
6880	* app/pixmaps/Makefile.am : added group.png and ungroup.png
6881	* Makefile.am : work around scrollkeeper bug
6882	* doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
6883
6884	* po/*.po : 'noise' produced by make dist
6885
68862005-06-10  Hans Breuer  <hans@breuer.org>
6887
6888	* lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
6889	* objects/custom/custom_object.c : ... and use it to avoid
6890	complains about missing attribute "show_background". It is
6891	safe to leave this uninitialized. Same for flip_* and "text",
6892	the latter with comment cause it usually is *not* safe to do
6893	it for the general case. Fixes remaining issues with bug #169006
6894	which where caused by an incompatible change in the shape file.
6895
6896	* app/commands.c : use "gnome-open" instead of "netscape" as
6897	fallback for $BROWSER not set. Still not optimal but better
6898	to try some common desktop tool than an obsolete browser;)
6899	Fixes bug #307142. Also some whitespace changes.
6900
6901	* app/interface.c(toolbox_delete): avoid random return value.
6902	Patch from Stanislav Brabec, fixes bug #307143
6903
6904	* shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
6905	Patch from Torben H. Nielsen (bugzilla is still the preferred way)
6906	http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
6907
69082005-06-06  Lars Clausen  <lars@raeder.dk>
6909
6910	* app/diagram.c:
6911	* app/modify_tool.c:
6912	* app/textedit.[ch]:
6913	Better support for text edit highlight.
6914
6915	* app/connectionpoint_ops.c (connectionpoint_draw): Stop making
6916	the mainpoint extra visible.
6917
69182005-06-02  Lars Clausen  <lars@raeder.dk>
6919
6920	* objects/UML/class_dialog.c:
6921	* objects/UML/class.[ch]:
6922	The final fixes for mainpoint on UML Class.
6923
6924	* sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
6925	Ian Redfern, now in color and with mainpoints!  Very pretty!
6926
69272005-06-02  Hans Breuer  <hans@breuer.org>
6928
6929	* objects/UML/class_dialog.c : the memory managment with respect to
6930	attribute/operation connections was/is a mess. But it should work again ;)
6931
6932	* samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
6933	directly from the UML Specification - to show the power of Dia and
6934	some weakness. Watch the bug reports following ;)
6935
69362005-06-01  Hans Breuer  <hans@breuer.org>
6937
6938	* app/dia.def : export diagram_update_connections_object
6939	* plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
6940	Patch from Paolo Bernardi, together with the property setting closes bug #300572
6941
69422005-06-01  Hans Breuer  <hans@breuer.org>
6943
6944	* plug-ins/python/pydia-property.c : complete refactoring of property
6945	setting, now also supports setting of property arrays
6946	* plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to
6947	Python namespacing conventions
6948	* plug-ins/python/pydiadoc.py : use the stuff above to produce more
6949	complete UML Classes with attributes and operations
6950	* plug-ins/python/otypes.py : now also show the properties of the objects
6951
6952	* objects/UML/class.c(umlclass_set_props) : need to update object::connections
6953	(pointers), they might be changed with attributes and opertions changing
6954
6955	* plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
6956	were broken. Apparently noone used them before.
6957
6958	* plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
6959	which only operate on the DiagramData to the latter file. To get on the DiagramData
6960	object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData,
6961	but I don't know how to reflect that in the bindings. And for backward compatibility
6962	there also is the 'data' member.]
6963
6964	* objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c
6965	  objects/UML/umlparameter.c : describe enums with PropEnumData
6966
6967	* app/commands.c(view_show_all_callback) : if there is something selected show
6968	that instead of all exisiting objects. If there is noting or all selcted it
6969	"Show all" shows the old behaviour.
6970
6971	* lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory
6972	leaks and use less allocations caused by misguided API. Also some adaption to common
6973	coding style
6974
6975	* objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
6976
6977	* app/makefile.msc : added new icons and build as console app while
6978	not releaseing to the general public
6979
6980	* objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
6981	and keep a refernce when storing the a font from style="" in s.font. This should
6982	finally allow to have shapes with fully predefined text (and no 'random' crashes)
6983
6984	* plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
6985	capable to interpret it's output
6986
69872005-05-31  Lars Clausen  <lars@raeder.dk>
6988
6989	* sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
6990
69912005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
6992
6993	* configure.in: Added ne in ALL_LINGUAS
6994
69952005-05-24  Lars Clausen  <lars@raeder.dk>
6996
6997	* lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
6998	fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
6999	anyway.
7000
70012005-05-23  Lars Clausen  <lars@raeder.dk>
7002
7003	* lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
7004
70052005-05-21  Lars Clausen  <lars@raeder.dk>
7006
7007	* lib/diaarrowchooser.c:
7008	* lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
7009	'infinite' line (three dots) arrowhead.  Fix line length in arrow
7010	preview.  And fix typo.  Fixes bug #303904.
7011
70122005-05-20  Hans Breuer  <hans@breuer.org>
7013
7014	* lib/text.c : advice from valgrind and data_string() review:
7015	neither g_free() memory on the stack
7016	* objects/GRAFCET/boolequation.c : ... nor const strings
7017	* objects/UML/association.c:934 : definitely lost. Even g_strdup("")
7018	wants to be freed
7019
7020	* app/diagram.c : a g_object_ref() following g_object_new() is almost
7021	always wrong. Why would we need two refernces?
7022	* app/app_procs.c : same here.If it crashes later on someone is dropping
7023	refernces he does not own, and *that* needs to be fixed. This is reverting
7024	"Remember to ref g_object_new'd object" (bug #170972) below, which
7025	causes more harm (leaking, hiding bugs elsewhere) than good.
7026
7027	* app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
7028	diagramdata_destroy() which was only a wrapper to g_object_unref()
7029
7030	* app/display.c(selection_changed) : don't g_strdup_printf() without
7031	g_free() later /or/ a C++ comment of me mostly denotes an error
7032
7033	* app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
7034
7035	* lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
7036	const gchar* entry it must not eat memory, added a lot of g_free() and
7037	some const. Fixed a bunch - i.e. *all* - warnings.
7038	* lib/widget.h : removed unused/deleted functions
7039
7040	* app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
7041	avoid 'Invalid write of size 4', no luck yet
7042
70432005-05-19  Lars Clausen  <lars@raeder.dk>
7044
7045	* objects/UML/class.c:
7046	* objects/UML/class.h:
7047	* objects/UML/class_dialog.c: Work on getting a proper mainpoint
7048	for uml class object.  #ifdef'd out right now.
7049
70502005-05-18  Lars Clausen  <lars@raeder.dk>
7051
7052	* objects/standard/line.c: Make line adjust its actual endpoints
7053	for autogap -- looks and feels better.
7054
7055	* objects/standard/arc.c:
7056	* lib/geometry.h:
7057	* app/modify_tool.c: Patch from Grégoire Dooms
7058	<dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
7059	shifted arc angle movement.
7060
70612005-05-16  Hans Breuer  <hans@breuer.org>
7062
7063	* lib/widget.c : variable declarations need to be at the start of a block,
7064	at least as we are not using C++ or C99
7065
7066	* plug-ins/python/pydia-property.c : implment the read part for Property
7067	arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
7068	They are working quite well as can be seen with export-object.py
7069
7070	* plug-ins/python/codegen.py : prove it once more with the generation of C++
7071	or Python code from an UML Diagram. Simply save as .py or .cxx ...
7072	* plug-ins/python/Makefile.am : install it
7073
70742005-05-16  Lars Clausen  <lars@raeder.dk>
7075
7076	* app/pixmaps/{un}group.png:
7077	* app/Makefile.am (ICON_PNG_PAIRS):
7078	* app/menus.c (display_menu_items):
7079	New icons for grou/ungroup finally added, closing bug #105519.
7080
7081	* app/Makefile.am: Dependencies for pixmaps.
7082
7083	* app/pixmaps/connectable.png: An icon that actually makes sense
7084	for switching connectability.
7085
70862005-05-15  Hans Breuer  <hans@breuer.org>
7087
7088	* lib/group.c object/UML/classicon.c : fixed leftovers of
7089	'Adding connectionpoint to _move_handle
7090
7091	* lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
7092	is *ALWAYS* a memory leak. Plug some more.
7093
7094	[
7095	 In preparation to make UML operations/attributes/parameters setable by Python
7096	 UML class became more StdProp conformant. A nice experience to be the first
7097	 to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)
7098	]
7099	* objects/UML/umlattribute.c objects/UML/umloperation.c
7100	  objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files)
7101	split from objects/UML/uml.c and made StdProp aware
7102	* objects/UML/class.c : finally make "attributes", "operations", "templates"
7103	<template parameters> first class StdProps citizens.
7104	(umlclass_load) : removed hand-written parsing for the above, it is all done
7105	by object_load_props() now. The old write code is still in place, so be very
7106	careful when changing something - at the moment load/save it is 100% compatible
7107	as it needs to be.
7108	* objects/UML/uml.c : now just type registration here, as it is supposed to be
7109	* objects/UML/Makefile.am objects/makefile.msc : build the new files
7110
7111	* lib/properties.h(PropDescCommonAreaExtra) : need a place to store the
7112	in-record offsets
7113	* lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
7114	(darray_prop_adjust_object_records) : don't loop forever
7115	(whole file) : use the new (working) way to get on the second level offsets.
7116	Also resolved some abbreviations, it is complicated enough without them ;)
7117	* lib/proplist.c : even complete list contents may be optional
7118
71192005-05-15  Hans Breuer  <hans@breuer.org>
7120
7121	* lib/bezier_conn.c(remove_handles) : don't try to remove
7122	non-exisitng handles (patch from Radek Krahl, bug #302273)
7123
71242005-05-15  Hans Breuer  <hans@breuer.org>
7125
7126	* plug-ins/metapost/render_metapost.c : locale independent output
7127	(Radek Krahl, bug #301866)
7128
71292005-05-12  Lars Clausen  <lars@raeder.dk>
7130
7131	* shapes/Cisco/*.{shape,png}:
7132	* sheets/cisco*.sheet.in:
7133	Updated with color icons from Ian Redfern, closing bug #303889.
7134	Added automatic midpoints, not attempt at adjusting them.
7135
71362005-05-11  Lars Clausen  <lars@raeder.dk>
7137
7138	* many shapes:  Use mid of bounding box for midpoint, better than
7139	mid of connection points generally.
7140
71412005-05-10  Lars Clausen  <lars@raeder.dk>
7142
7143	* lib/widgets.c: Decided on one way for the ratio thing in arrow
7144	size selector:  Fixed ratio is on by default and keeps the sizes
7145	at the given ratio, but doesn't clamp them to be the same.  Fixes
7146	bug #302861.
7147
7148	* lib/font.c: Fix for bug #303695: Allow more than one entry of
7149	each legacy name, thereby correctly encoding bold and italic of
7150	the three main fonts.  Also use | rather than || to combine slant
7151	and weight, so matching works.  Had to remove binary search for
7152	new font name, but the list is short enough it's not a problem.
7153
71542005-05-09  Lars Clausen  <lars@raeder.dk>
7155
7156	* lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
7157
71582005-05-08  Hans Breuer  <hans@breuer.org>
7159
7160	* objects/UML/class.c : Reverted to have no center point.
7161	At first it looked as if there was only the bug to not increase
7162	class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has
7163	potentially much more dynamic connection points (to the left
7164	and right of every attribute/operation). Now simply adding one
7165	between see static and dynamic will screw up any existing diagram
7166	which makes use of the dynamic connection points. The would all
7167	be connected with an off-by-one error. I have no idea how to
7168	code around that. But breaking backward compatibility is no
7169	option here. Does not completely fix bug #303301 ...
7170
7171	* lib/widget.c(dia_font_selector_set_font): actually set the options
7172	menu state. So we are not any longer resetting the font style on Apply.
7173	Use "UML - Class" dialog as stress text example.
7174
7175	* app/command.c : some people insist to close diagrams already
7176	closed using tear-off menus. Maybe we should add a dialog
7177	"Do you want to call Dr. Watson now?". If there is no diagram
7178	to close anymore just do nothing, fixes bug #303221
7179	* app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
7180	Calling this with no display to close is a pathological case.
7181
7182	* app/diagram.[hc] : moved object.h and other DiaObject stuff
7183	to the implementation in preparation of Big Things(tm)
7184
7185	* app/interface.c : less warnings and make it compile. strncmp()
7186	does not take a char**, neither does gdk_pixbuf_new_from_inline().
7187
7188	* objects/makefile.msc plug-ins/makefile.msc : less output
7189
71902005-05-08  Lars Clausen  <lars@raeder.dk>
7191
7192	* lib/orth_conn.c (orthconn_init): The right place to set the
7193	default autorouting value.  Fixes bug #303291.
7194
7195	* app/display.c (ddisplay_close): Patch from Radek Krahl
7196	(ptasz3k@o2.pl):  Fix crash when using from detached menu
7197	(#303221)
7198
71992005-05-07  Lars Clausen  <lars@raeder.dk>
7200
7201	* lib/orth_conn.c (orthconn_load): Autorouting should default to
7202	off in diagrams that don't have it explicitly.  All diagrams
7203	should be explicit about it.
7204
72052005-05-06  Hans Breuer  <hans@breuer.org>
7206
7207	* app/samples/Self/*.dia : some UML diagrams describing Dia's
7208	inner working (or it's future;)
7209
72102005-04-26  Lars Clausen  <lars@raeder.dk>
7211
7212	* app/connectionpoint_ops.c (connectionpoint_draw): Temporary
7213	change to display of mainpoint to be easier to debug autogenerated
7214	ones.
7215
72162005-04-23  Hans Breuer  <hans@breuer.org>
7217
7218	* plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
7219	  plug-ins/python/pydia-properties.h : use lib/ prefix for
7220	Dia internal headers with too common names (fixes bug #173061)
7221
7222	* app/display.c : stop special casing the first display of
7223	a diagram. Every display now has it's own refernce. The initial
7224	reference gets dropped when there is no display anymore. See
7225	diagram_remove_ddisplay(). Fixes bug #300744.
7226
7227	* app/diapsft2renderer.c : locale independent output
7228	(Radek Krahl, bug #300847)
7229	* app/paginate_psprint.c :  fixing use of setlocale() calls
7230	(Radek Krahl, bug #300886)
7231	* plug-ins/shape/shape-export.c : fixing use of setlocale() calls
7232	(Radek Krahl, bug #300889)
7233
7234	* objects/UML/class.c : fix another crash with the line
7235	wrapping code (Gabor Simon, bug #160865)
7236
7237	* plug-ins/cairo/diacairo.c : image rendering had an endianess
7238	issue (or is this working around a libpixman bug?;)
7239
72402005-04-21  Lars Clausen  <lars@raeder.dk>
7241
7242	* lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
7243
7244	* shapes/**/*.shape: All shapes now have midpoints.
7245
72462005-04-20  Lars Clausen  <lars@raeder.dk>
7247
7248	* lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
7249	(Radek Krahl): Make sure there's enough handles for the line.
7250	Fixes bug #173031.
7251
7252	* objects/UML/node.c (node_draw): Better drawing method avoids
7253	garbage after moving.  Fixes bug #301032.
7254
72552005-04-17  Hans Breuer  <hans@breuer.org>
7256
7257	* plug-ins/cairo/diacairo.c : again adapt to Cairo API
7258	changes (whould compile with current cvs and 0.(3|4).0
7259
72602005-04-11  Lars Clausen  <lars@raeder.dk>
7261
7262	* xmldocs.make (all): Fix to put installed docs in right place
7263	under disable-gnome.
7264
7265	* doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
7266	only for dia.dbk.
7267
7268	* app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
7269	(Leonardo Boshell): Use standard gnome help if called with Gnome.
7270
7271	* app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
7272	locale issues for eps output.  Fixes bug #173135.
7273
72742005-04-10  Hans Breuer  <hans@breuer.org>
7275
7276	* plug-ins/cairo/diacairo.c : adapt to Cairo PNG API
7277	changes (somewhat broken)
7278
7279	* plug-ins/pstricks/render_pstricks.c : still C89 ...
7280	* objects/custom/shape_info.c : ... but with prototypes
7281
72822005-04-07  Lars Clausen  <lars@raeder.dk>
7283
7284	* lib/dia_xml.c:
7285	* plug-ins/svg/render_svg.c:
7286	* lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
7287	Make decimal separators be correct in save file formats
7288	(non-localized).  Fixes bugs #172529 and 172531.
7289
72902005-04-06  Lars Clausen  <lars@raeder.dk>
7291
7292	* app/create_object.c (create_object_button_release):
7293	* app/modify_tool.c (modify_button_release): Correct activations
7294	of text edits.
7295
72962005-04-05  Simon Kågström  <ska@bth.se>
7297
7298	* app/app_procs.c: the --show-layers option can now handle numeric
7299	ranges of layers.
7300
73012005-04-05  Lars Clausen  <lars@raeder.dk>
7302
7303	* lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
7304	(Tom Kast): Avoid blockiness caused by bad updates.
7305
73062005-04-03  Lars Clausen  <lars@raeder.dk>
7307
7308	* lib/polyshape.c:
7309	* lib/beziershape.c: Main points.  A crude solution, having the
7310	center in the middle of the bb.  Shows a bug in the distance_from
7311	code for polyshape when a side is horizontal.
7312
73132005-04-02  Lars Clausen  <lars@raeder.dk>
7314
7315	* plug-ins/pstricks/render_pstricks.c:
7316	* plug-ins/xfig/xfig-export.c: Patch from Radek
7317	Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs
7318
73192005-04-02  Hans Breuer  <hans@breuer.org>
7320
7321	* lib/dia_image.c(dia_image_filename) : return the path
7322	again. (bug #172416, Radek Krahl)
7323
73242005-04-01  Steve Murphy  <murf@e-tools.com>
7325
7326	* configure.in: Added "rw" to ALL_LINGUAS.
7327
73282005-03-31  Lars Clausen  <lars@raeder.dk>
7329
7330	* lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
7331
7332	* lib/orth_conn.c (orthconn_update_data): Handle autogap while not
7333	autorouting.
7334
7335	* objects/network/basestation.c: Main points.
7336
73372005-03-27  Hans Breuer  <hans@breuer.org>
7338
7339	* app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
7340	* app/pixmaps.h : removed arrow.xpm
7341	* lib/Makefile.am : added diamarshal
7342	* plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
7343	=> makes 'make dist' pass and produce a useable package
7344
7345	* po/*.po : 'noise' profuced by make dist
7346
73472005-03-24  Lars Clausen  <lars@raeder.dk>
7348
7349	* objects/flowchart/parallelogram.c (pgram_update_data):
7350	* objects/flowchart/ellipse.c (ellipse_update_data):
7351	* objects/flowchart/diamond.c (diamond_update_data):
7352	* objects/flowchart/box.c (box_update_data): Main points.
7353
7354	* objects/custom/custom_object.c (custom_create):
7355	* objects/custom/shape_info.h:
7356	* shapes/Assorted/square.shape:
7357	* objects/custom/shape_info.c (load_shape_info):
7358	* doc/shape.dtd: Added main point support to shapes, and an
7359	example of how to use it.
7360
73612005-03-21  Lars Clausen  <lars@raeder.dk>
7362
7363	* lib/autoroute.c (autoroute_layout_orthconn): Remember to
7364	unnormalize from same point as you normalize, or else!
7365
73662005-03-20  Lars Clausen  <lars@raeder.dk>
7367
7368	* app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
7369	Remember to ref g_object_new'd object.
7370
73712005-03-19  Hans Breuer  <hans@breuer.org>
7372
7373	* plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
7374	have configurations, fixes bug #170962
7375
7376	* objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
7377	or better not used any longer. Fixes bug #169142.
7378
7379	* lib/element.c(element_update_connections_rectangle): don't initialize
7380	the eighth point twice but instead the nineth once
7381
7382	* objects/standard/bezier.c : no C++ comments *please*
7383
7384	* lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
7385
7386	* lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
7387	* plug-ins/python/pydia-image.c : ... so, don't do it!
7388
7389	* lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
7390	also named colors via pango_color_parse()
7391
7392	* lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
7393
7394	* lib/libdia.def : updated externals
7395
7396	* app/object_ops.c : still not C99 everywhere
7397
73982005-03-19  Hans Breuer  <hans@breuer.org>
7399
7400	* lib/autoroute.c : at least it should compile ;)
7401
74022005-03-19  Lars Clausen  <lars@raeder.dk>
7403
7404	* lib/autoroute.c: Orthconns now do autogap.
7405
74062005-03-17  Lars Clausen  <lars@raeder.dk>
7407
7408	* app/authors.h: Added Gregoire Dooms for gap stuff.
7409
7410	* objects/standard/polyline.c: Patch from Grégoire Dooms
7411	<dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
7412
7413	* objects/standard/bezier.c: Patch from Grégoire Dooms
7414	<dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
7415	property.
7416
7417
7418	* objects/UML/state_term.c:
7419	* objects/UML/large_package.c:
7420	* objects/UML/node.c:
7421	* objects/UML/object.c:
7422	* objects/UML/small_package.c:
7423	* objects/UML/state.c:
7424	* objects/UML/usecase.c:
7425	* objects/UML/note.c:
7426	* objects/UML/actor.c:
7427	* objects/UML/classicon.c:
7428	* objects/UML/component.c:
7429	* objects/Misc/analog_clock.c:
7430	* objects/Jackson/requirement.c:
7431	* objects/Istar/goal.c:
7432	* objects/Istar/actor.c:
7433	* objects/FS/function.c:
7434	* object/standard/box.c:
7435	* objects/ER/entity.c:
7436	* objects/ER/relationship.c:
7437	* objects/ER/attribute.c: Main points added.   Distance_from fixed
7438	in attribute, broken in relationship, I* goal, Jackson
7439	requirement, analog_clock, all non-rectangular UML elements,
7440
7441	* lib/libdia.def:
7442	* lib/element.[ch]: New method to help update connection points.
7443
7444	* app/menus.c: Change Help/Manual to Help/Contents to follow
7445	standard.
7446
7447	* objects/standard/line.c:
7448	* lib/geometry.[ch]:
7449	* objects/standard/bezier.c: Patch from Grégoire Dooms
7450	<dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
7451	bezier objects.   Autogap nowchanged to be a function of the
7452	connpoints.
7453
7454	* lib/libdia.def:
7455	* lib/connectionpoint.[ch]: New function to ask if a connpoint has the
7456	autogap flag.
7457
7458	* app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
7459	CP_FLAG_ANYPLACE connpoints.
7460
74612005-03-16  Lars Clausen  <lars@raeder.dk>
7462
7463	* app/interface.c (create_tools): Removed debug printf.
7464
74652005-03-15  Lars Clausen  <lars@raeder.dk>
7466
7467	* lib/widgets.[ch]: Constification.
7468
7469	* app/interface.c: Work on using gdk-pixbuf-csource'd data, not
7470	working yet.
7471
7472	* objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
7473
7474	* lib/connectionpoint.h: Flags for connection points.
7475
7476	* app/create_object.c (create_object_motion):
7477	* app/modify_tool.c (modify_motion): Minor refactoring.
7478
7479	* app/object_ops.c (object_find_connectpoint_display): Extend with
7480	finding connpoints that cover entire objects.
7481
7482	* app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
7483
7484	* objects/custom/custom_object.c (custom_setup_properties): Avoid
7485	uninitialized use.
7486
74872005-03-13  Hans Breuer  <hans@breuer.org>
7488
7489	* plug-ins/svg/svg-import.c : handle the <circle/> tag as well
7490
74912005-03-13  Hans Breuer  <hans@breuer.org>
7492
7493	* lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
7494	s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions
7495	dia_svg_style_copy(), dia_svg_style_init()
7496
7497	* objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
7498	moved out of this)
7499
7500	* lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
7501	not wrapped in the style attribute
7502
7503	* plug-ins/svg/svg-import.c : implement nested group handling and style
7504	'style inheritance'. Still no transformations, no <image/>, no <style/>
7505	<defs/>...
7506
7507	* plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
7508	the latter is for programmers.
7509	Also be more tolerant if the document root namespace is not 'svg'. If the svg
7510	namespace is defined in the file search for the top node including svg. This
7511	allows us to re-read the svg part of our own shape format.
7512
7513	* lib/libdia.def : there is no give_focus_to_object
7514	* app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this
7515	type as an expression
7516
7517	* lib/geometry. c : use G_IMPLEMENT_INLINES
7518	* lib/libdia.def : export point_get_perp (used by xfig plug-in)
7519
7520	* app/textedit.c(textedit_end_edit) : don't crash if the display is already
7521	gone when trying to remove the focus
7522
7523	* plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
7524	it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
7525	case of this plug-in, i.e. producing output files]
7526
75272005-03-13  Lars Clausen  <lars@raeder.dk>
7528
7529	* lib/Makefile.am (BUILT_SOURCES):
7530	* app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
7531	the building of the icons header files.
7532	* app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
7533
75342005-03-13  Hans Breuer  <hans@breuer.org>
7535
7536	* configure.in : require Cairo 0.3.0
7537	  plug-ins/cairo/diacairo.c : changed to match ;-)
7538
7539	* app/app_procs.c() : new function dump_dependencies()
7540	which gets called by: dia --version --verbose
7541	and may help to track version dependent problems in
7542	our dependencies
7543
7544	* lib/font.c : reverted to previous version cause using
7545	not implemented Pango API did not improve the issue.
7546	See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
7547	for more information.
7548
7549	* lib/dialinechooser.c : a little shrinking of the
7550	initial size (to work around line wrappjing the right
7551	arrow control)
7552
75532005-03-11  Lars Clausen  <lars@raeder.dk>
7554
7555	* app/textedit.c: Concentrate start/end editing in single functions.
7556
75572005-03-10  Lars Clausen  <lars@raeder.dk>
7558
7559	* lib/text.h:
7560	* lib/object.h: Added new object function to allow the object to
7561	be notified when its text is being edited.
7562
7563	* lib/libdia.def:
7564	* app/modify_tool.c:
7565	* app/commands.c:
7566	* app/textedit.c:
7567	* lib/focus.c: Remove sideeffects from focus objects, add getter
7568	for focus->obj.
7569
75702005-03-09  Lars Clausen  <lars@raeder.dk>
7571
7572	* lib/Makefile.am (dia-lib-icons.h):
7573	* app/Makefile.am: Minor cleanup.
7574
75752005-03-06  Hans Breuer  <hans@breuer.org>
7576
7577	* app/app_procs.c : avoid "assignment within conditional expression"
7578	and handle -L for the GOption case as well.
7579
7580	* lib/widget.c : strchr() does not return -1 on not found but NULL;
7581	avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of
7582	indirection from 'const int '
7583
7584	* lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and
7585	large_arc, thus produce correct arc output (like diasvg.py does;),
7586	fixes bug #144401
7587
7588	* lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted
7589	from objects/custom/shape_info.c to be shared with object/custom and
7590	plug-in/svg -> finally the C based svg-import reads pathes again.
7591	Added arc parsing while I was there, which fixes bug #169191
7592	* objects/custom/shape_info.c(parse_path) :
7593	* plug-ins/svg/svg-import : reuse above function
7594	Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
7595	But in general this does only support a small subset of what is
7596	possible in SVG.
7597
75982005-03-06  Lars Clausen  <lars@raeder.dk>
7599
7600	* objects/UML/association.c: Patch from Dave Klotzbach applied:
7601	Add visibility to association arrow.  Fixes bug #157012.
7602
7603	* app/grid.c: Patch from Lawrence Withers fixes grid messiness,
7604	closing bug #161040.
7605
7606	* app/layer_dialog.c (create_button_box): Use stock icons instead
7607	of homemade onces.  Gets us rid of four more XPMs.
7608
76092005-03-05  Sampo Kellomaki <sampo@iki.fi>
7610
7611	* app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
7612	This option permits command line control of which layers are visible.
7613	Useful when automatically exporting multiple versions of the same
7614	diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
7615      * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
7616	and made it static since its only used in that file.
7617	* app/authors.h: added myself
7618	* doc/en/dia.1: documented the switch
7619	* doc/en/usage-layers.xml: ditto
7620
76212005-03-05  Alan Horkan <horkana@tcd.ie>
7622
7623 	* app/interface.c Change Horizontal scroll policy to NEVER for sheets
7624 	this restores how Dia behaved before the GTK2 port and seems to help
7625 	allow the toolbox to be more easily resized.  Bug #108891.
7626
76272005-03-05  Lars Clausen  <lars@raeder.dk>
7628
7629	* Civil/civil_motor.shape:
7630	* Civil/civil_rotor.shape:
7631	* Logic/and.shape:
7632	* Logic/buffer.shape:
7633	* Logic/connector.shape:
7634	* Logic/inverter.shape:
7635	* Logic/nand.shape:
7636	* Logic/nor.shape:
7637	* Logic/not.shape:
7638	* Logic/or.shape:
7639	* Logic/xor.shape:
7640	* shapes/Assorted/arrow-left-up.shape:
7641	* shapes/Assorted/heptagon.shape:
7642	* shapes/Assorted/star5.shape:
7643	* shapes/Assorted/trapezoid.shape:
7644	* shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
7645	defaults, see bug #169143.
7646
7647	* sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
7648
7649	* configure.in:
7650	* doc/en/Makefile.am: Finally figured out the right way to ask for
7651	the manpage xslt.  Closes bug #144539.
7652
76532005-03-01  Lars Clausen  <lars@raeder.dk>
7654
7655	* lib/Makefile.am (nodist_include_HEADERS):
7656	* app/Makefile.am: Correctly generate these files from PNGs with
7657	automake.
7658
7659	* lib/widgets.h:
7660	* lib/libdia.def:
7661	* lib/widgets.c: Refactor toggle button factory to allow inline
7662	data.
7663
7664	* lib/pixmaps/Makefile.am: Unify lib pixmaps.
7665
7666	* app/makefile.msc (ICON_PNG_PAIRS):
7667	* app/dia-app-icons.h: Updated with more icons.
7668
7669	* lib/Makefile.am:
7670	* app/Makefile.am: Use gdk_pixbuf_csource to create inline data
7671	from pngs.
7672
7673	* app/interface.c (create_display_shell):
7674	* app/layer_dialog.c (dia_layer_widget_init):
7675	* lib/dia_image.c (dia_image_get_broken): Use inlined data
7676	generated from png.
7677
7678	* app/display.c (ddisplay_close): Removed unused includes.
7679
76802005-03-01  Lars Clausen  <lars@raeder.dk>
7681
7682	* app/sheets.c (create_object_pixmap): Create a placeholder image
7683	for when the real image is missing.  Better than crashing:)
7684	Closes bug #166786.
7685
76862005-02-25  Hans Breuer  <hans@breuer.org>
7687
7688	* app/app_procs.c : don't requets to open a default display with
7689	g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
7690
76912005-02-22  Lars Clausen  <lars@raeder.dk>
7692
7693	* plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
7694	Fixes bug #168125.
7695
76962005-02-19  Lars Clausen  <lars@raeder.dk>
7697
7698	* app/menus.c (display_menu_items): Applied patch from bug #94019:
7699	Menu cleanup and addition of icons.  Also a few additional stock
7700	icons.
7701
7702	* app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
7703	the layers dialog.
7704
77052005-02-14  Lars Clausen  <lars@raeder.dk>
7706
7707	* INSTALL (ftp): Fixed Pango release typo (bug #153007)
7708
77092005-02-13  Lars Clausen  <lars@raeder.dk>
7710
7711	* lib/font.c: First stab at using Gtk 2.4 functions for fixing
7712	width.  Seems to work.  Once tested some more, needs old code
7713	removed.
7714
7715	* lib/widgets.c (dia_font_selector_create_string_item): Avoid
7716	warning by escaping & properly.
7717
77182005-02-06  Lars Clausen  <lars@raeder.dk>
7719
7720	* app/filedlg.c (file_export_callback): Set correct extension as
7721	soon every time the dialog is shown.  Fixes bug #162535.
7722
7723	* app/display.c (ddisplay_set_origo): Use more standard
7724	transformations.
7725
7726	* app/modify_tool.c (modify_motion):
7727	* app/create_object.c (create_object_motion): Put coordinates of
7728	handle/object in status bar while moving. Fixes bug #163164.
7729
77302005-02-03  Lars Clausen  <lars@raeder.dk>
7731
7732	* lib/.cvsignore: Added generated files diamarshal.[ch]
7733
77342005-02-02  Lars Clausen  <lars@raeder.dk>
7735
7736	* configure.in: Add GLIB_GENMARSHAL def as suggested in
7737	http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
7738	Now compiles on Linux.
7739
77402005-02-01  Lars Clausen  <lars@raeder.dk>
7741
7742	* app/sheets.c (sheet_object_mod_get_type_string): We don't really
7743	need to translate the empty string.  Especially not after
7744	g_assert_not_reached().  Fixes bug #165966.
7745
77462005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
7747
7748	* objects/UML/activity.c : add fill- and line-colour properties
7749	[applied by Hans Breuer, fixes bug #163260]
7750
77512004-01-28  Hans Breuer  <hans@breuer.org>
7752
7753	* doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
7754	update provided by Alan Horkan (fixes bug #159592)
7755
77562004-01-28  Hans Breuer  <hans@breuer.org>
7757
7758	[Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
7759	* plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
7760	generalization, dependancies, parameterized classes ...
7761	* plug-ins/xslt/styleshetts.xml : refernce it
7762	* plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
7763
77642004-01-28  Hans Breuer  <hans@breuer.org>
7765
7766	* objects/UML/transition.c : fill out the extra_spacing struct
7767	in the OrtConn member, in order to avoid artifacts when draggin
7768	the transition. (patch by Peter Allin, bug #144956)
7769
77702004-01-15  Hans Breuer  <hans@breuer.org>
7771
7772	* plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
7773	to something differnt than 0. Apparently there are case where Dia misses
7774	to appropriately set it before requesting a dashed line (simple line with
7775	arrow as described in bug #151716)
7776
7777	* lib/dia_dirs.c : special casing for drive letters which I broke with
7778	the previous change
7779
77802005-01-13  Hans Breuer  <hans@breuer.org>
7781
7782	* app/interface.c(create_sheet_page) : remved dead long time code
7783
7784	* lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
7785	it is availbale via header - which is the better style anyway
7786
77872004-12-31  Hans Breuer  <hans@breuer.org>
7788
7789	* lib/dia_dirs.c(dia_get_canonical_path) : complete
7790	rewrite to handle something like /mnt/some/where/../else
7791	too. Workaround for bug #162637.
7792	* app/filedlg.c : call gtk_file_chooser_set_current_name()
7793	to workaround gtk_file_chooser_set_filename() not setting
7794	it if the file does not exist
7795
7796	* sheets/Jackson.sheet.in app/menus.c : fixed typos
7797	(Frank Arnold, bug #161676)
7798
77992004-12-31  Steffen Macke <sdteffen@gmail.com>
7800
7801	* doc/pl/*.xml: Added XML prolog
7802	* makefile.msc: Added libxslt, fixed libxml, libart
7803
78042004-10-29  Alexander Shopov  <ash@contact.bg>
7805
7806	* configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
7807
78082004-12-29  Lars Clausen  <lars@raeder.dk>
7809
7810	* configure.in: Make gnomeprint be truly off by default (typo) and
7811	show optional compilation correctly.
7812	* plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
7813
78142004-12-22  Hans Breuer  <hans@breuer.org>
7815
7816	* lib/widgets.c : destroy handlers can be called more than once,
7817	see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
7818
7819	* app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
7820
7821	* app/display.c : temporary debug code showing the
7822	timing the rendering
7823
7824	* app/dialibartrenderer.c(draw_string) : removed dead
7825	code loading and leaking font and face
7826
78272004-12-15  Hans Breuer  <hans@breuer.org>
7828
7829	* app/display.c : actually use the selction-changed signal for something
7830	useful. Show selections representation on statusbar.
7831	* lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname()
7832	* app/diagram_tree.c : use new function (as in app/display.c) and only
7833	poke into property internals at one place
7834	* app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
7835	complains
7836
78372004-12-12  Hans Breuer  <hans@breuer.org>
7838
7839	* lib/libdia.def app/dia.def : updated externals
7840
7841	* objects/custom/custom_object.c : custom_destroy is called per object.
7842	It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a
7843	reference to it. Fixes e.g. bug #158288, #160550, ...
7844
7845	* objects/UML/association.c(association_draw) : completed porting to
7846	draw_polyline_with_arrows()
7847	(association_update_data_end) : fixed typo in point compare
7848	(association_update_data) : for name placement take degenerated
7849	segements into account. Together this fixes bug #143891
7850
78512004-12-11  Hans Breuer  <hans@breuer.org>
7852
7853	* lib/widgets.c(set_size_sensitivity) : revert inverted
7854	logic for arrorw size selections, fixes bug #160527
7855
78562004-12-11  Hans Breuer  <hans@breuer.org>
7857
7858	* lib/widgets.c(dia_font_selector_set_font) : initialize
7859	the font style widget, too. Gets rid of empty font
7860	style and thus default broken font style, e.g. UML::class_name
7861
7862	* lib/widgets.c(dia_color_selector_more_callback) : fill
7863	the color palette from dynamic menu entries and also
7864	preselect the current color to the last select entry
7865
7866	* plug-ins/python/pydia-diagramdata.c : hold a reference
7867	to the underlying GObject
7868
7869	* app/Makefile.am app/diagrid.h : new file containing the
7870	grid 'class' moved from DiagramData to Diagram.
7871	Also moved pagebreak_color and guides cause they are only
7872	used for visual appearance not 'data'.
7873	* lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
7874	  app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect
7875	the above change
7876
7877	* lib/diagramdata.[ch] app/app_procs.c app/diagram.c
7878	  lib/libdia.def : get rid of new_diagram_data()
7879	Diagram _is_ DiagramData (and does not have one any longer,
7880	just a compatibility pointer)
7881
7882	* lib/diarenderer.h : a small doc improvement
7883
78842004-12-11  Hans Breuer  <hans@breuer.org>
7885
7886	* objects/UML/class.c : line wrapping code buffer
7887	overrun fixed by Gabor Simon, bug #160865
7888
78892004-12-11  Hans Breuer  <hans@breuer.org>
7890
7891	* plug-ins/python/pydia-diagram.c : hold a reference
7892	to the diagram in PyDiaDiagram, avoids bug #159080
7893	[another way to avoid is to detroy the dialog by
7894	clsoing it. But now there is still a diagram to
7895	apply the changes to, even if it's thrwon away just
7896	afterwards]
7897
78982004-12-10  Hans Breuer  <hans@breuer.org>
7899
7900	* **/*.c : fixed a bunch of warnings, not only for -ansi
7901	(still too many of them, but -ansi works)
7902	lib/
7903	prop_geomtypes.h prop_geomtypes.c:306: warning: static
7904	declaration for `fontsizeprop_reset_widget' follows non-static
7905	dia_dirs.c:196: warning: return discards qualifiers from
7906	pointer target type
7907
7908	objects/custom/
7909	shape_info.c:121: warning: static declaration for `parse_path'
7910	follows non-static
7911
7912	objects/SADT/
7913	arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
7914	arrow.c:244: warning: unused variable `i'
7915	arrow.c:245: warning: unused variable `p'
7916	arrow.c:246: warning: unused variable `zzr'
7917
7918	object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c :
7919	finally removed c++ comments
7920
7921	objects/Istar/goal.c : initialize connections::directions
7922	while I was there - helps autorouting
7923
7924	* objects/KAOS/metaandorrel.c objects/Istar/link.c
7925	  objects/KAOS/metabinrel.c : removed struct _DiaImage hack
7926	(it would be quite simple to add image-from-memory support
7927	to lib/ if needed)
7928
7929	* pydia-*.h : warning: no newline at end of file
7930
7931	* plug-ins/gprint/diagnomeprint.c : allow to unregister
7932	and follow new unique name naming convention
7933	* plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
7934	here either
7935
79362004-12-07  Hans Breuer  <hans@breuer.org>
7937
7938	* objects/UML/message.c : better default for initial text placement
7939	a suggested in bug #154306, Henning Mersch
7940	* objects/UML/constraint.c : doing the same
7941
7942	* app/filedlg.c : include persistence.h for persistence_get_integer
7943	* lib/libdia.def export it
7944
79452004-12-05  Hans Breuer  <hans@breuer.org>
7946
7947	* app/grid.c : respect dynamic grid during snap-to, fixes
7948	bug #135124, Dmitriy Morozov. Added some additional magic
7949	to make the grid size more useable.
7950
79512004-12-05  Hans Breuer  <hans@breuer.org>
7952
7953	* app/app_procs.c : make it compile for the HAVE_POPT and
7954	G_LIB_CHECK_VERSION(2,5,5) case, minor formating
7955
7956	* lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
7957	* app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
7958	when interactive. Fixes bug #119329
7959
7960	* plug-ins/cairo/diacairo.c : adapt to new type naming
7961	scheme (introduced by accident;-) for pixbuf-*
7962	* app/app_procs.c : reflect both type name changes
7963
79642004-12-04  Hans Breuer  <hans@breuer.org>
7965
7966	* objects/standard/image.c : fix the correct warning
7967	`image_file_name' might be used uninitialized
7968
7969	* app/filedlg.c : near complete rewrite
7970	- removed 'related dialog', GtkOptionMenu, most global vars,
7971	also don't hide the dialog but let it go.
7972	- added: filter view by extension, hopefully working diagram
7973	referencing, GtkComboBox usage
7974
7975	* plug-in/pixbuf/pixbuf.c : switched to dynamic generation
7976	of im/export filter entries. So the user interface reflects
7977	the dynamic nature of pixbuf loaders
7978
7979	* lib/filter.[ch] : implement filter_unregister_*port
7980	  lib/libdia.def : added new functions
7981	  plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
7982	  plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
7983	  plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
7984	  plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
7985	  plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
7986	use them in _plugin_unload () thus all these plug-ins
7987	can be loaded used and unloaded during Dia's runtime
7988
79892004-12-04  Lars Clausen  <lars@raeder.dk>
7990
7991	* lib/diagramdata.h: Access methods for units defined per diagram.
7992
7993	* lib/font.c (dia_font_new_from_style): More proper object creation.
7994
7995	* lib/properties.h: Refactored the PROP_STD_* macros to allow
7996	different options.
7997
7998	* app/diagram.c (diagram_init): Force filename to be absolute
7999	path, easing the job for load/save.
8000
80012004-12-03  Hans Breuer  <hans@breuer.org>
8002
8003	* lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
8004	added dia_font_set_height, dia_font_copy (note to self: don't try to
8005	maintain these from the *NIX side ;)
8006
8007	* lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
8008	the new color selection anymore
8009	* objects/UML/class_dialog.c : with the above change it would have been more
8010	easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
8011	problem' but only was an unfinished usage of dia_color_slector(get|set)_color
8012
8013	*  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
8014	(used in object vtable) and make its prototype match
8015
8016	* lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
8017	correlate any of these strange crashing bug with it, but assume bad things to
8018	happen when one passes stack allocated stuff to gtk_type_unique()
8019
8020	* lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
8021	not there. Fixes most of the warnings from bug #156996
8022
8023	* lib/makefile.msc : rules to generate diamarshal.[ch]
8024
80252004-11-29  Hans Breuer  <hans@breuer.org>
8026
8027	* app/disp_callbacks.c : reenable so-called preedit
8028	as described in bug #158859, Etsushi Kato
8029	Also fixed some compiler warnings while there.
8030
8031	* objects/standard/image.c(get_directory) : make
8032	the documentation match the implementation.
8033	(image_save) : don't write a leading slash on
8034	relative filenames
8035
8036	* plug-ins/gprint/diagnomeprintrenderer.c :
8037	switched to gnome-print-pango usage
8038
8039	* app/app_procs.c configure.in : although Dia
8040	is not threaded it appears as if we have to
8041	g_thread_init() to avoid crashing in some
8042	libraries which are thread enabled
8043
8044	* lib/diamarshal.list lib/Makefile.am : start of
8045	using GSignal to clean up some object relations
8046	* lib/libdia.def : export marshallers
8047	* app/diagram.[ch] : emit signals when REMOVED,
8048	SELECTION_CHANGED
8049	* app/display.c : added a connection to
8050	SELECTION_CHANGED to test the new signal stuff
8051
8052	* app/diagram.c : fixed diagram_finalize while I
8053	was there.
8054
80552004-11-28  Hans Breuer  <hans@breuer.org>
8056
8057	* plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of
8058	the text if conversion to current locale fails. [This is actually
8059	using code written four years ago;]
8060	* plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
8061
8062	* objects/standard/image.c(image_load) : be more robust against
8063	filenames which seem to be absolute
8064
80652004-11-27  Hans Breuer  <hans@breuer.org>
8066
8067	* app/filedlg.c(file_save_callback) : convert to
8068	filename encoding before passing to diagram_save()
8069	Fixes bug #158381, thanks to Robert Ögren
8070
80712004-11-27  Hans Breuer  <hans@breuer.org>
8072
8073	* lib/dialibartrenderer.c : sometimes its good to read
8074	compiler warnings. Not only define renderer_finalize
8075	but actually *use* it. Should plug a potential huge
8076	memory leak.
8077
8078	* configure.in plug-ins/Makefile.am
8079	  plug-ins/gprint/Makefile.am : build the experimental
8080	gnomeprint plug-in on *NIX, too.
8081	* plug-ins/gprint/diagnomeprint.c : don't include
8082	specific (private) backend headers but instead select
8083	the desired backend via config key setting
8084
8085	* lib/diagdkrenderer.c : add 1 to size of filled arc
8086	to be rendered by gdk. Fixes bug #150896.
8087
8088	* plug-ins/gprint/diagnomeprint.c
8089	  plug-ins/gprint/diagnomeprintrenderer.c : added magic
8090	to better match page and dash sizes
8091
80922004-11-27  Hans Breuer  <hans@breuer.org>
8093
8094	* plug-ins/shape/shape-export.c : it's g_strdup_printf
8095
80962004-11-27  Hans Breuer  <hans@breuer.org>
8097
8098	* app/app_procs.c : mention eps-builtin aka. "using
8099	latin1", does not fix the eps-pango issues but #150571
8100
81012004-11-27  Hans Breuer  <hans@breuer.org>
8102
8103	* sheets/Cybernetics.sheet.in : changed encoding to
8104	utf-8, patch from Takeshi AIHANA, fixes #149580
8105
81062004-11-27  Hans Breuer  <hans@breuer.org>
8107
8108	* objects/custom/custom_object.c : many existing shapes
8109	rely on a square default size, revert to it although
8110	it originally was by a typo. Fixes bug #148527.
8111
81122004-11-27  Hans Breuer  <hans@breuer.org>
8113
8114	* app/load_save.c(dia_cleanup_autosave)
8115	  app/diagram.c : don't use dia->filename if already
8116	freed and dont use printf at all.
8117
8118	* app/paginate_psprint.c : not only set the renderer::paper
8119	but also renderer::is_portrait. Should fix bug #142524
8120
81212004-11-26  Hans Breuer  <hans@breuer.org>
8122
8123	* dia.desktop.in : added Bug Buddy headers (as seen
8124	in planner). Hopefully the automatically filling of
8125	bugs is more meaningful by this.
8126
8127	* objects/custom/custom_util.c objects/standard/image.c
8128	  lib/plug-ins.c : getting rid of deprecated g_dirname,
8129	fixes some more memory bugs : AddrAddress 0x3586C010 is 24
8130	bytes inside a block of size 44 free'd
8131
8132	* lib/persistence.c(persistence_load_list) : don't
8133	leak string
8134
8135	* lib/diaerror.[ch] : (new file) start of better error handling
8136	* lib/Makefile.am lib/makefile.msc lib/libdia.def:
8137	added new files/funcs
8138	* lib/proplist.c lib/propinternals.h (prop_list_load) :
8139	allow to propagate error to caller. Also set PXP_NOTSET
8140	to avoid applying unset properties, fixes bug #155255
8141	* lib/propobject.c lib/prop_sdarray.c : still spewing
8142	g_warnings but now with context information
8143
8144	* app/filedlg.c : more absolute filenames where required
8145	and strip them where we need the filename only
8146	Also explicit DONT choose gnome-vfs backend cause its
8147	threading appears to crash Dia - at least in GNOME build,
8148	see bug #159558
8149
81502004-11-26  Hans Breuer  <hans@breuer.org>
8151
8152	* app/filedlg.c : don't use relative filenames for
8153	gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
8154	pedantic about it.
8155	(export_set_extension) : if we don't have a filename don't
8156	use it in strrchr() to avoid crashing
8157
81582004-11-23  Hans Breuer  <hans@breuer.org>
8159
8160	* app/app_procs.c : fixed build for the GNOME case
8161	(let's rip out POPT and depend on glib-2.6, please ;-)
8162
81632004-11-23  Hans Breuer  <hans@breuer.org>
8164
8165	* app/app_procs.c : fixed typo which broke the
8166	build for HAVE_POPT case
8167
81682004-11-21  Hans Breuer  <hans@breuer.org>
8169
8170	* app/app_procs.c : some more #if-mess, but one day
8171	we should rely on GLib's 2.6 Option Parser alone
8172
8173	* plug-ins/wmf/wmf.cpp : use SC() when scaling width
8174	and height for RoundRect() - otherwise size depends on offset,
8175	shorten the unique name
8176
8177	* plug-ins/python/diamodule.c : provide a unique name
8178	for python filters as well
8179
8180	* lib/dialibartrenderer.c : fix the drawing of Gdk based text
8181	by using the right colors (need black background cause we
8182	are tinitng it with the real color later)
8183
8184	* lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
8185	instead of hardcoded slahes, improved portability
8186
8187	* app/paginate_gdiprint.cpp : use the right filter name to find wmf
8188	plug-in. Also added some more error reporting (e.g. no printer driver)
8189
8190	* plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
8191	  plug-ins/makefile.msc : resurrection of the gnome print renderer.
8192	Kinda works (alpha quality) for export but does not print yet.
8193	With bug #158972 resolved this does even work on win32 :-)
8194
81952004-11-07  Hans Breuer  <hans@breuer.org>
8196
8197        * doc/diagram.dtd : <composite> can have <composite/>,
8198	<font/> has two 'optional' atributes 'style' and 'family',
8199	these are used to store new (since 0.91) font info.
8200	With this changes non of the issues in bug #147431 remains.
8201
8202	* plug-ins/python/otypes.py : starting to implement an
8203	'create all known object' file as ne stress test source
8204	for the dtd and Dia in general.
8205
82062004-11-06  Hans Breuer  <hans@breuer.org>
8207
8208        * app/diapsrenderer.c : don't convert to locale but to
8209        "LATIN1", fixes bug #146641
8210
82112004-11-06  Hans Breuer  <hans@breuer.org>
8212
8213	* app/diagram_tree.c : still no C99 everwhere ...
8214	* lib/libdia.def : update externals
8215	* plug-ins/pstricks/render_pstricks.c : #include <locale.h>
8216
8217	* app/app_procs.[hc] : declare, use ...
8218	   app/winmain.c : ... and implement dia_redirect_console().
8219	Even though newer Gtk version don't popup a console window
8220	anymore redirecting the error messages to a file in $TEMP appears
8221	to be much more reasonable than just ignoring it. Fixes bug #150777
8222	based on a patch from Steffen Macke
8223
82242004-11-06  Hans Breuer  <hans@breuer.org>
8225
8226        * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
8227        RoundRect() for high level renderer api implementation thus
8228        fixing bug #138744 reported by Lars Clausen
8229
82302004-11-06  Hans Breuer  <hans@breuer.org>
8231
8232        * app/prefernces.c : applied patch to make showing the diagram
8233        menubar the default (advanced users know how to switch it off)
8234        Fixes bug #150706, Steffen Macke
8235
82362004-11-06  Hans Breuer  <hans@breuer.org>
8237
8238        * app/commands.c app/commands.h : added view_fullscreen_callback()
8239          view_unfullscreen()
8240          app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
8241        * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
8242        ALso modified to allow handling of unmodified keys again (aren't
8243        there plenty of bug reports for this?
8244
82452004-11-06  Hans Breuer  <hans@breuer.org>
8246
8247        * objects/UML/class_dialog.c : fixed casts for usage
8248        of dia_color_selector_set_color()
8249
8250        * app/filedlg.c : pass a valid filenames to
8251        gtk_file_chooser_set_filename(), if we don't have a name
8252        don't call it at all. Gets rid of "libgnomevfs-CRITICAL **:
8253        file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path):
8254        assertion `local_full_path[0] == '/'' failed"
8255
82562004-11-06  Lars Clausen  <lars@raeder.dk>
8257
8258	* app/properties.c (create_dialog):
8259	* app/diagram_tree_window.h:
8260	* app/diagram_tree.h (HIDDEN_TYPES_NAME):
8261	* app/diagram_tree_menu_callbacks.c:
8262	* app/diagram_tree_window.c:
8263	* app/diagram_tree_menu.c:
8264	* app/diagram_tree.c: Changed to use persistence instead of
8265	strange hacks in preferences.
8266
8267	* lib/persistence.h:
8268	* lib/persistence.c (persistent_list_get_glist): Don't deref null
8269	pointer.  New function persistent_list_remove_all, and
8270	fixed persistent_list_remove to ... work!
8271
82722004-11-05  Lars Clausen  <lars@raeder.dk>
8273
8274	* app/paginate_psprint.c (diagram_print_ps): Call
8275	diagram_print_destroy on destroy rather than delete_event.  That
8276	way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
8277	#154898.
8278
82792004-11-02  Lars Clausen  <lars@raeder.dk>
8280
8281	* objects/UML/class.c (umlclass_load): Actually load the saved
8282	fonts and font sizes. Fixes bug #157016
8283
8284	* configure.in: Require at least GTK+ 2.4.
8285
8286	* app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
8287	finally, finally.  Not quite bulletproof yet, and I need to figure
8288	out a minimum version of Gtk that doesn't spew warnings all over.
8289
8290	* app/diagram.[ch]: diagram_set_filename with const filename.
8291
8292	* app/sheets_dialog_callbacks.c
8293	(on_sheets_dialog_button_apply_clicked): Sheet menu now almost
8294	correctly recreated.  Still something fishy with the sheet menu in
8295	the dialog after adding a new sheet.  Probably the sheet name
8296	being stomped.
8297
82982004-11-01  Lars Clausen  <lars@raeder.dk>
8299
8300	* lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
8301	stmping.  Now requires g_free here and there.
8302
8303	* app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
8304	for remembering last sheet, better off as persistent string.  Must
8305	hunt down other things like that.
8306
8307	* app/interface.c (create_sheets): Now remembers last sheet
8308	selected again. Fixes bug #157036.
8309
83102004-11-01  Hans Breuer  <hans@breuer.org>
8311
8312        * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
8313        will never become NULL but only point to the next char
8314        which might indeed be \0]
8315        Use tex_escape_string() to avoid writing invalid tex,
8316        fixes bug #112377
8317
8318        * **/* : a bunch of changes caused by trying 'make distcheck'
8319        which still fails, see Bug #144527
8320
83212004-10-31  Lars Clausen  <lars@raeder.dk>
8322
8323	* plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
8324	floating point numbers being printed with commas.  Fixes bug
8325	#156148.
8326
8327	* app/interface.c (create_sheet_dropdown_menu): New function to
8328	create the sheet menu, and also allow recreation.  Still buggy and
8329	slightly prone to magic.
8330
8331	* objects/UML/class_dialog.c
8332	(attributes_list_selection_changed_callback): Don't try to update
8333	the widgets after they're destroyed.  Fixes bug #156706 (I think).
8334
8335	* lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
8336	adjustement.  Fixes bug #154637
8337
8338	* sheets/ER/Makefile.am (PIX):
8339	* sheets/GRAFCET/Makefile.am (PIX):
8340	* sheets/Jackson/Makefile.am (PIX):
8341	* sheets/Istar/Makefile.am (PIX):
8342	* sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
8343	XPM.  Why these have their pictures in sheets rather than shapes I
8344	don't know.  Fixes bug #152142.
8345
83462004-10-31  Hans Breuer  <hans@breuer.org>
8347
8348        * plug-ins/pixbuf/pixbuf.c : when running non interactive
8349        Dia won't call color_init() as it assumes no display. If
8350        we have one as tested ourselve we can as well color_init()
8351        to avoid g_warnings() and produce the right collors.
8352        Fixes bug #155495.
8353
8354        * app/app-procs.c : try to be a little more helpful
8355        and correct with regard to the command line options.
8356        Renamed --export-to-format to --export-filter and some
8357        other string changes
8358
83592004-10-31  Hans Breuer  <hans@breuer.org>
8360
8361        * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
8362        added GetDeviceCaps() dummy implementation to make
8363       'wmf' compile on Linux, too.
8364
83652004-10-31  Hans Breuer  <hans@breuer.org>
8366
8367	* plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
8368	to finally fix the long lasting clipping issue, bug #85831
8369	Also fixed the line style issue for printing on XP and don't
8370	miss to ReleaseDC()
8371
8372	* plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
8373
8374	* plug-ins/python/diasvg.py : filter illegal characters from <text/> section
8375	(e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
8376
8377	* plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer
8378	some info from the console (soon gone on windoze) to message_error()
8379	* plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
8380	Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
8381
8382	plug-ins/python/diasvg_import.py : re.compile() only once per expression
8383	and some more playing with scaling
8384
8385	* plug-ins/python/makefile.msc : updated
8386
83872004-10-30  Hans Breuer  <hans@breuer.org>
8388
8389        * shapes/Civil/civil_arrow_right.shape : removed
8390        <aspectratio type="fixed" /> thus allowing to change
8391        width and height independently, fixes #154897
8392        (Serge Robinson) by making it consistent with the
8393        up arrow
8394
83952004-10-30  Hans Breuer  <hans@breuer.org>
8396
8397        * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
8398        on arrow being NULL, fixes bug #143063
8399
84002004-10-30  Hans Breuer  <hans@breuer.org>
8401
8402        * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
8403          plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
8404        removed use of chached variable DiagramData::selected_count
8405        * lib/diagramdata.h : renamed to selected_count_private
8406        (kept for binary compatibility and sanity checks)
8407        * lib/diagramdata.c : more checks on a screwed up selection list
8408
8409        * app/diagram.c(diagram_group_selected) : don't screw up the
8410        DiagramData::selected list, was assignment of parent_list_affected(),
8411        * lib/diagramdata.c (data_select, data_unselect) : protect against
8412        multiple selections of the same object and removement of a not selected
8413        object (apparently caused by the recently added group undo stuff)
8414        together with the above this finally fixes bug #153525
8415
8416        * app/Makefile.am : fix ./autogen.sh ->
8417        app/Makefile.am:171: blank line following trailing backslash
8418
8419        * app/commands.c(objects_group_callback,objects_ungroup_callback) :
8420        ddisplay_do_update_menu_sensitivity() here as well
8421
8422        * configure.in : make the experimental state of the cairo plug-in
8423        more visible
8424
8425        * app/dia-props.c(diagram_properties_update_sensitivity) : don't
8426        try to update anything if we can't find an active diagram
8427        Additionally set static dialog pointer to NULL by gtk_widget_destroyed
8428
8429        * configure.in : another attempt to fix bug #156116. If there is
8430        anyone with autotools knowledge reading this - help appreciated ;-)
8431
84322004-10-30  Hans Breuer  <hans@breuer.org>
8433
8434	* objects/makefile.msc objects/UML/Makefile.am
8435	  objects/UML/uml.c objects/UML/transition.c
8436	  objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in :
8437	Patch from Peter Allin adds statechart transitions to the UML sheet -
8438	bug #144956 - modified to not print("%s", NULL) which crashes on
8439	newer glib versions. Also added pixmap/transition.xpm to Makefile.am
8440
84412004-10-30  Hans Breuer  <hans@breuer.org>
8442
8443	* doc/sheet.dtd doc/diagram.dtd : the namespace does *not*
8444	match the website anymore, i.e. sould remain unchanged.
8445	See below and lib/dia_xml.h for the reasoning
8446
8447	* lib/libdia.def : removed dia_color_selector_get_type
8448
8449	* lib/dia_image.c(dia_image_load) : check for pixbuf warnings
8450	(like broken PNG) and g_warning if appropriate
8451
8452	* app/interface.c : #include "message.h"
8453
8454	* app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
8455	used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
8456	better to just move diaunitspinner to lib/ instead of polluting
8457	widgets.[hc] even more ;)
8458	* app/makefile.msc lib/libdia.def : updated
8459
8460	* app/filedlg.c : patch from gtk@roboros.com, fixes #156224
8461	* app/app_procs.c : patch from gtk@roboros.com, fixes #156088
8462
8463	* config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
8464	do something useful when compiled
8465
8466	* plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
8467	Also some more #ifdefed backends usage.
8468
84692004-10-10  Lars Clausen  <lars@raeder.dk>
8470
8471	* lib/widgets.c: Better labels for color selector menu.
8472
8473	* app/dia-props.c (diagram_properties_respond):
8474	* app/preferences.c (prefs_get_value_from_widget): Don't assume
8475	that a dia color selector is of type DiaColorSelector:)
8476
8477	* lib/widgets.[ch]: Color selector changed to dynamic menu.
8478
8479	* lib/prop_attr.c (colorprop_set_from_widget): Don't assume
8480	DiaColorSelector.
8481
84822004-10-09  Lars Clausen  <lars@raeder.dk>
8483
8484	* lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
8485	arrow preview to avoid long arrow heads flipping.
8486
8487	* lib/arrows.[ch]: Support for getting from name to arrow type,
8488	and for listing all arrow names.
8489
8490	* lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
8491
8492	* lib/libdia.def: Added new global functions.
8493
8494	* lib/persistence.[ch]: Two of the persistent_list functions to
8495	return whether the item was found in the list.
8496
8497	* app/interface.c (create_sheets): Use DiaDynamicMenu to handle
8498	the growing number of sheets.
8499
8500	* lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
8501	font menu.
8502
85032004-10-05  Lars Clausen  <lars@raeder.dk>
8504
8505	* objects/UML/association.c: Patch from Harvey Thompson
8506	<harveyandsu@yahoo.com>:  Better placement of association texts.
8507
85082004-10-03  Lars Clausen  <lars@raeder.dk>
8509
8510	* lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
8511	use the fonts in question.  Can't set tooltips with the name since
8512	lib objects don't know the tool_tips thing, which is rather
8513	app-related.
8514
85152004-09-19  Hans Breuer  <hans@breuer.org>
8516
8517        * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
8518        fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
8519
85202004-09-19  Hans Breuer  <hans@breuer.org>
8521
8522        * dia.desktop.in : string changes as proposed in bug #151822
8523
8524        * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
8525        appearts not to be needed on Linux and breaks the build
8526        on OSX. Fixes bug #152970
8527
85282004-09-18  Lars Clausen  <lars@raeder.dk>
8529
8530	* app/commands.c (view_show_all_callback): Add a bit of border
8531	around Ctrl-E'd diagram, for easier select and better view of edges.
8532
85332004-09-19  Hans Breuer  <hans@breuer.org>
8534
8535        * app/Makefile.am : trying to fix the fix from 2004-02-15
8536        Overwriting AM_LDFLAGS still gave a automake warning and it
8537        also appeard to break linking against gtklibs in a differnt
8538        prefix. Use dia_LDFLAGS instead.
8539
8540        * plug-ins/svg/svg-import.c : initialize 'end' before usage
8541        patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
8542
8543        * lib/diarenderer.c : don't try to draw lines which are so much
8544        degenerated that their point count became negative, fixes bug #148139
8545
8546        * lib/font.c(layout_cache_equals) : don't crash on nonexisting
8547        strings (NULL from g_strdup())
8548
85492004-09-10  Steffen Macke <sdteffen@web.de>
8550
8551	* lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
8552	give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
8553	* app/create_object.c:
8554	* app/diaunitspinner.c:
8555	* app/disp_callbacks.c:
8556	* app/makefile.msc:
8557	* app/modify_tool.c:
8558	* lib/prop_geomtypes.c:
8559	* lib/prop_geomtypes.h: made compile with msvc
8560
85612004-09-10  Lars Clausen  <lars@raeder.dk>
8562
8563	* lib/widgets.c: Insulate conversion from outside API by adding
8564	internal function to set value.  Adjustment not appropriate for
8565	units yet.
8566
8567	* lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
8568
85692004-09-07  Lars Clausen  <lars@raeder.dk>
8570
8571	* app/diapagelayout.c: Include from widgets.c rather than
8572	diaunitspinner.
8573
85742004-09-03  Lars Clausen  <lars@raeder.dk>
8575
8576	* objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
8577	as unit-based property testbed.
8578
8579	* lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
8580	and fontsize widgets.
8581
8582	* app/Makefile.am (dia_core_files):
8583	* app/diaunitspinner.h:
8584	* app/diaunitspinner.c:
8585	* lib/widgets.h:
8586	* lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
8587	lib/widgets.[ch], as it's used in the properties code now.
8588
85892004-08-31  Steffen Macke <sdteffen@web.de>
8590
8591	* doc/en/usage-objects-basic.xml: Mentioning supported image formats.
8592
85932004-08-30  Lars Clausen  <lars@raeder.dk>
8594
8595	* app/textedit.c:
8596	* app/diagram.c (diagram_remove_all_selected): Remove debugging
8597	information.
8598
8599	* lib/color.[ch]:
8600	* app/undo.c:
8601	* app/disp_callbacks.c:
8602	* app/Makefile.am:
8603	* app/create_object.c:
8604	* app/textedit.[ch]:
8605	* app/modify_tool.c:
8606	* app/diagram.c:
8607	* lib/text.c:
8608	* lib/focus.[ch]: Change in focus mechanism to allow highlight of
8609	current input object, multiple inputs per object, and tabbing
8610	between objects.
8611
86122004-08-28  Steffen Macke <sdteffen@web.de>
8613
8614	* makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
8615	allow separate installer component "Translations"
8616
86172004-08-27  Akagic Amila  <bono@linux.org.ba>
8618
8619        * configure.in: Added 'bs' to ALL_LINGUAS.
8620
86212004-08-26  Steffen Macke <sdteffen@web.de>
8622
8623	* app/makefile.msc: using /subsystem:windows again
8624	* makefile.msc: updated ALL_LINGUAS
8625
86262004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
8627
8628	* configure.in: Add «nb» to ALL_LINGUAS.
8629
86302004-08-21  Steffen Macke <sdteffen@web.de>
8631
8632	* plug-ins/dxf/dxf-export.c: Patch from
8633	Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
8634
86352004-08-17  Lars Clausen  <lars@raeder.dk>
8636
8637	* config.h.win32:
8638	* dia.spec (Release):
8639	* doc/pl/dia.xml:
8640	* doc/en/dia.xml:
8641	* NEWS:
8642	* configure.in:
8643
86442004-08-13  Ankit Patel <ankit@redhat.com>
8645
8646	* configure.in: Added "gu" in ALL_LINGUAS.
8647
86482004-08-07  Lars Clausen  <lars@raeder.dk>
8649
8650	* configure.in:
8651	* config.h.win32:
8652	* doc/pl/dia.xml:
8653	* doc/en/dia.xml:
8654	* dia.spec (Release):
8655	* NEWS: New release 0.94-pre6
8656
86572004-08-07  Lars Clausen  <lars@raeder.dk>
8658
8659	* app/highlight.c (highlight_reset_objects): Unhighlight inside
8660	groups as well.
8661
8662	* app/load_save.c:
8663	* plug-ins/shape/shape-export.c: String capitalization fix from
8664	Alan Horkan <horkana@tcd.ie>
8665
8666	* objects/UML/class.c (umlclass_show_comments_callback): Make UML
8667	Class object menu kinda work, rather than blow up.  Doesn't do a
8668	proper undoable change yet.
8669
86702004-08-06  Lars Clausen  <lars@raeder.dk>
8671
8672	* app/filedlg.c (file_save_as_callback): Don't remove related
8673	dialogs from the NULL diagram.
8674
86752004-08-02  Lars Clausen  <lars@raeder.dk>
8676
8677	* config.h.win32:
8678	* doc/pl/dia.xml:
8679	* doc/en/dia.xml:
8680	* dia.spec (Release):
8681	* NEWS: Pre5 with leak fix.
8682
8683	* lib/font.c (dia_font_build_layout): Don't try to save an
8684	allocation of LayoutCacheItem if it breaks layout cache hash.
8685	Also make hash function correct, remove explicit height entry
8686	(it's in pfd), and make sure things are correctly unreffed.
8687	Finally fixes #148141.
8688
8689	* lib/text.c (text_set_attributes, text_set_font): Safely unref
8690	when changing font, and actually set the new font in
8691	text_set_font(!).
8692	(text_get_attributes): Ref copied font.
8693
86942004-08-01  Lars Clausen  <lars@raeder.dk>
8695
8696	* NEWS:
8697	* configure.in:
8698	* dia.spec (Release):
8699	* config.h.win32:
8700	* doc/pl/dia.xml:
8701	* doc/en/dia.xml: Prerelease 4.
8702
8703	* lib/font.c (dia_font_build_layout): Better comparision and
8704	freeing of font cache.
8705
87062004-07-31  Lars Clausen  <lars@raeder.dk>
8707
8708	* lib/font.c (dia_font_build_layout): Faster update to avoid
8709	memory leaks.
8710
8711	* app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
8712	Correctly initialize export filter variable.
8713
87142004-07-25  Lars Clausen  <lars@raeder.dk>
8715
8716	* dia.spec (Release):
8717	* configure.in:
8718	* NEWS:
8719	* config.h.win32:
8720	* doc/en/dia.xml:
8721	* doc/pl/dia.xml: Pre3 coming out.
8722
8723	* lib/diarenderer.c (draw_polygon):
8724	* plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
8725	Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
8726	rather than O (letter), and assert num_points > 1 rather than the
8727	other way around.
8728
8729	* app/recent_files.c:
8730	* app/filedlg.c:
8731	* app/diagram.c:
8732	* app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
8733	Make filenames conform to filesystem encoding.
8734
8735	* RDP/.cvsignore: Added standard ignore.
8736
8737	* shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
8738	last entry patch-panel, too.
8739
8740	* app/*.png:
8741	* shapes/Circuit/*.png:
8742	* shapes/Civil/*.png:
8743	* shapes/Contact/*.png:
8744	* shapes/Electric/*.png:
8745	* shapes/MSE/*.png:
8746	* shapes/Pneumatic/*.png:
8747	* shapes/SDL/*.png:
8748	* shapes/flowchart/*.png:
8749	* shapes/jigsaw/*.png:
8750	* shapes/network/*.png:
8751	* shapes/sybase/*.png:
8752	* samples/dia*.png:
8753	* dia_gnome_icon_large.png:
8754	* doc/pl/graphics/*.png: Set -kb for PNGs.
8755
8756	* sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
8757
87582004-07-22  Lars Clausen  <lars@raeder.dk>
8759
8760	* NEWS:
8761	* config.h.win32:
8762	* doc/en/dia.xml:
8763	* doc/pl/dia.xml:
8764	* dia.spec (Release):
8765	* configure.in: Update to version 0.94-pre2.
8766
8767	* app/load_save.c (diagram_data_write_doc): Use new namespace
8768	here, too.
8769
8770	* lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
8771	hidden objects properties.
8772
8773	* objects/standard/line.c: Remove halffinished line gap box from
8774	properties list.
8775
8776	* app/paginate_psprint.c:
8777	* app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
8778	Immidi): Close export and print dialog with diagram as well.
8779	(#129520)
8780
8781	* lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
8782	borelli):  Remove deprecated stuff (#137693)
8783
8784	* app/dia-props.c (create_diagram_properties_dialog): Patch from
8785	kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
8786	on destroy.
8787
87882004-07-21  Ray Strode  <rstrode@redhat.com>
8789
8790	* dia/dia.desktop.in: Add MimeType line to desktop file
8791	new mime sytem.
8792
87932004-07-18  Hans Breuer  <hans@breuer.org>
8794
8795	* shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
8796	  sheets/UML/*.png : icons in png format
8797	Partial fixup of stuff broken with the following comment:
8798	"7 days : xpm->png, namespace fix, first rotation bits."
8799
8800	* app/load_save.c(read_objects) : don't add objects to the layer.
8801	This function is called recursively and only the topmost objects
8802	belong in the layers object list. Fixes bug #145417 and is the
8803	the real fix for bug #142480
8804
8805	* app/app_procs.c : make the --size hack even uglier, but work again
8806
8807	* lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
8808	but g_free() what is returned by g_build_filename()
8809
8810	* objects/custom/custom_object.c(custom_destroy) : handle all enum
8811	values in switch to get rid of the warning
8812
8813	* objects/custom/shape_info.c : use g_ascii_strtod(), get rid
8814	of setlocale()/strtod()
8815	* lib/dia_svg.c : dito
8816	* lib/dia_xml.c : almost
8817
8818	* plug-ins/python/group_props.py : use the string representation of
8819	value to ensure "unique values". If the strings would not be different
8820	the user cann't see the difference either
8821
88222004-07-17  Lars Clausen  <lars@raeder.dk>
8823
8824	* lib/persistence.h: Have "void" in prototypes (#142663)
8825
8826	* lib/widgets.c (dia_font_selector_init): Better string handling
8827	(#142663)
8828
8829	* lib/persistence.c (persistence_save_type): Small fixes (#142663)
8830
8831	* objects/standard/image.c (image_load): Use path of diagram
8832	rather than running directory as base for image file place.
8833
8834	* doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
8835	syntactic fixes.
8836
8837	* app/disp_callbacks.c (ddisplay_canvas_events): Patch from
8838	Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
8839
8840	* Re-added new sample diagrams binarily.
8841
88422004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
8843
8844	* app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
8845	Disabled keyboard accels when dragging an object.
8846
88472004-07-14  Lars Clausen  <lars@raeder.dk>
8848
8849	* app/grid.c (snap_to_grid): Use diagrams grid setting to
8850	determine hex grid snap.
8851
8852	* doc/pl/Makefile.am: Avoid error based on backslash in comment.
8853
8854	* app/interface.h: Avoid multiply defined symbols (#147396)
8855
88562004-07-10  Lars Clausen  <lars@raeder.dk>
8857
8858	* app/sheets_dialog_callbacks.c (write_user_sheet):
8859	* lib/sheet.c (load_register_sheet): Don't introduce double
8860	slashes in namespace.
8861
8862	* lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
8863	old diagrams, or XSLT will barf all over.
8864
8865	* shapes/RDP/place.shape:
8866	* shapes/RDP/transition.shape:
8867	* shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
8868	shapes to use those.
8869
88702004-07-07  Lars Clausen <lars@raeder.dk>
8871
8872	* config.h.win32:
8873	* doc/{en,pl}/dia.xml:
8874	* dia.spec:
8875	* configure.in:
8876	* NEWS: First prerelease of version 0.94.  Now with release
8877	versions in a branch and main devel in the trunk.
8878
88792004-07-05  Hans Breuer  <hans@breuer.org>
8880
8881	* */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
8882	-std=c89. Mostly //-comments and M_PI -> G_PI
8883	[Istar, Jackson, KAOS were removed from build cause they
8884	simply have *too* much C++ comments ;]
8885	* object/UML/association.c : use g_strdup() not plain strdup()
8886	* app/paginate_psprint.c : avoid storage size of `pipe_action'
8887	isn't known with more portable signal code
8888
8889	* app/app_procs.c : don't call gtk_init() if just --version
8890	is requested (bug #144321, Vladimir Kondratiev)
8891
8892	* lib/prop_attr.c(fontprop_set_from_offset) : only unref
8893	DiaFont* if not NULL
8894	* objects/UML/class.c : moved fill_in_fontdata() to
8895	umlclass_load() to avoid such trouble, though unsure if
8896	this really is an improvement...
8897
8898	* shapes/network/makefile.am : patch-panel added here too
8899
89002004-07-04  Hans Breuer  <hans@breuer.org>
8901
8902	* sheets/network.sheet.in shapes/network/patch-panel.xpm
8903	  shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
8904	fixes bug #136629, James McDonald
8905
89062004-07-04  Hans Breuer  <hans@breuer.org>
8907
8908	* lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
8909	  lib/object_defaults.c : revert changing of Dia's XML namespace
8910	* lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
8911	about its purpose and relation to real world urls.
8912
8913	* lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
8914	added comment about when to do so
8915	[Should have been long time ago and probably multiple times
8916	to avoid crashing on older plug-ins]
8917	* RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
8918	* plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
8919
8920	* lib/object.c objects/UML/class.c : there are still compilers not
8921	supporting C99 and other GCCISMs like allocating dynamic sized arrays
8922	on the stack
8923	* objects/UML/class.h : there is a differnce between a list pointer
8924	and a list pointer pointer. We and GLib want the former.
8925
8926	* plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
8927	if Gtk is initialized. Using gdk_display_get_default () avoids the
8928	app/* dependency and is also closer to the requirements of the
8929	plug-ins working.
8930
8931	* plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
8932	some #ifdefed support for Cairo backends not public available yet.
8933
8934	* plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
8935	windoze platform supports them. This should fix bug #109818, at
8936	least for the majority running NT or above ...
8937	* plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
8938
8939	* objects/makefile.msc : build Istar, Jackson and Kaos
8940
8941	* objects/UML/class.c(umlclass_load) : don't wrap by default to
8942	keep old diagrams as they were - instead of this nice new effect ;-)
8943	Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
8944
8945	* objects/UML/class.c : mark for translation _("Wrap ...
8946
8947	* objects/UML/class.c : more correct types, also some default properties
8948	dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
8949
8950	* objects/UML/activity.c : removed a leftover from the
8951	use-localization-for-font-substitution-hack
8952
8953	* shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
8954	'cvs admin -kb *.png' PNG files should already be *added* as binary,
8955	otherwise they are not readable on line-end-converting-platforms
8956
8957	* plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
8958	filter_get_by_name()
8959
8960	* plug-ins/python/pydia-property.c : some more g_warnings for
8961	not implemented conversions
8962
8963	* plug-ins/python/group_props.py : ensure unique property values
8964	at the right place. Now something like :
8965	- load an old UML class diagram
8966	- change one of the classes to wrap operations
8967	- select all classes (/Select/Same Type)
8968	- /Dialogs/Group Properties : check wrap_operations, select '1'
8969	- Ok, works like a charm :-)
8970
89712004-07-04  Lars Clausen  <lars@raeder.dk>
8972
8973	* lib/diagdkrenderer.c (draw_string): Don't unref NULL
8974	pixbuf. (#145362)
8975
89762004-07-03  Lars Clausen  <lars@raeder.dk>
8977
8978	* app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
8979	<LAV@VL3143.spb.edu>: Fixes console output problems and some
8980	interactiveness problems.
8981
89822004-07-02  Lars Clausen  <lars@reader.dk>
8983
8984	* plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
8985	app isn't interactive.
8986
89872004-07-01  Lars Clausen  <lars@raeder.dk>
8988
8989	* plug-ins/cairo/diacairo.c: Add init of last field of filter
8990	struct to remove crash.
8991
8992	* sheets/Makefile.am (sheet_in_files):
8993	* shapes/Makefile.am:
8994	* sheets/ChemEng.sheet.in:
8995	* shapes/ChemEng/Makefile.am:
8996	* configure.in:
8997	New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
8998	Chemical engineering shapes.
8999
9000	* app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
9001	multiple arguments when using devel script.
9002
9003	* app/display.c (new_display):
9004	* app/dia-props.c:
9005	* lib/diagramdata.c (new_diagram_data):
9006	* lib/diagramdata.h:
9007	* app/preferences.h:
9008	* app/preferences.c:
9009	* app/grid.c:
9010	* app/diagram.c:
9011	* lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
9012	<peter_poulsen@stofanet.dk>: Add hexagonal grid!
9013
9014	* HACKING:
9015	* doc/pl/authors.xml:
9016	* doc/en/authors.xml:
9017	* lib/object_defaults.c (dia_object_defaults_save):
9018	* readme.win32 (BTW):
9019	* lib/persistence.c (persistence_save):
9020	* app/load_save.c (diagram_data_write_doc):
9021	* app/commands.c (help_about_callback):
9022	* README: Fix links to home page.
9023
9024	* lib/font.c:
9025	* app/load_save.c (diagram_data_load):
9026	* lib/prop_text.c (stringprop_load): Avoid NULL strings when
9027	loading, and guard against them when fonting.
9028
9029	* lib/diarenderer.c (draw_rounded_polyline): Patch from
9030	anthonym@overture.com:  Make limited rounding a corner-specific
9031	rendering-only thing.
9032
90332004-06-30  Lars Clausen  <lars@raeder.dk>
9034
9035	* lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
9036	adjustment: If you can't fix it, at least don't change it.
9037
9038	* objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
9039	code instead of individual code in here.
9040
90412004-06-29  Lars Clausen  <lars@raeder.dk>
9042
9043	* objects/UML/association.c: Patch from Kiran
9044	Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
9045	text.
9046
9047	* lib/geometry.c:
9048	* lib/geometry.h:
9049	* lib/diarenderer.c (draw_rounded_polyline):
9050	* objects/standard/polyline.c (polyline_draw):
9051	* objects/standard/zigzagline.c (zigzagline_draw):
9052	Patch from anthonym@overture.com:  Add rounded polylines.
9053
90542004-06-27  Lars Clausen  <lars@raeder.dk>
9055
9056	* lib/font.c (dia_font_new_from_style): Initialize legacy name.
9057
9058	* lib/widgets.c (dia_font_selector_get_family_from_name): Don't
9059	free family list before taking out the pointer we need. Also set
9060	the entry_nr correctly so we get the menu set up right.
9061
90622004-06-23  Lars Clausen  <lars@raeder.dk>
9063
9064	* lib/widgets.c (dia_toggle_button_new_with_images): Sink the
9065	images at the right place.
9066
9067	* objects/Istar/actor.c
9068	* objects/Istar/goal.c
9069	* objects/Istar/istar.c
9070	* objects/Istar/istar.h
9071	* objects/Istar/link.c
9072	* objects/Istar/other.c
9073	* objects/Jackson/domain.c
9074	* objects/Jackson/jackson.c
9075	* objects/Jackson/jackson.h
9076	* objects/Jackson/phenomenon.c
9077	* objects/Jackson/requirement.c
9078	* objects/KAOS/goal.c
9079	* objects/KAOS/kaos.c
9080	* objects/KAOS/kaos.h
9081	* objects/KAOS/metaandorrel.c
9082	* objects/KAOS/metabinrel.c
9083	* objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
9084	<cp@cetic.be>: Fix instability issues caused by not returning NULL
9085	in *_move_handle and *_move.  Also improved the headers with
9086	correct (c) information.
9087
90882004-06-22  Lars Clausen  <lars@raeder.dk>
9089
9090	* objects/KAOS/goal.c:
9091	* objects/KAOS/other.c:
9092	* objects/Istar/actor.c:
9093	* objects/Istar/goal.c:
9094	* objects/Istar/other.c:
9095	* objects/Jackson/domain.c:
9096	* objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
9097	<cp@cetic.be>: Fix resize issues.
9098
9099	* app/filedlg.c (file_dialog_hide): Patch from Kiran
9100	Kumar Immidi <kimmidi@novell.com>: Check for null when removing
9101	related dialog. #129520.
9102
9103	* app/dia-props.c (diagram_properties_show): Patch from Kiran
9104	Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
9105	a child of its diagram. #129520.
9106
9107	* objects/UML/association.c (association_load): Patch from Kiran
9108	Kumar Immidi <kimmidi@novell.com>: Update positions properly for
9109	text placement. #118313.
9110
91112004-06-17  Lars Clausen  <lars@raeder.dk>
9112
9113	* objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
9114
9115	* Makefile.am: Make THANKS only be generated by maintainers.
9116
9117	* doc/pl/Makefile.am: Removed usage+objects+basic.xml from
9118	Makefile, too.
9119
9120	* configure.in: Added three missing Makefiles.
9121
9122	* app/diagram.[ch]:
9123	* app/filedlg.c:
9124	Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
9125	diagram-related (save) dialog when closing diagram.  To be
9126	extended to other dialogs.
9127
9128	* doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
9129
9130	* samples/Istar.dia:
9131	* samples/Jackson.dia:
9132	* samples/KAOS.dia:
9133	* sheets/Istar.sheet.in:
9134	* sheets/Jackson.sheet.in:
9135	* sheets/KAOS.sheet.in:
9136	* sheets/Istar/*:
9137	* sheets/Jackson/*:
9138	* sheets/KAOS/*:
9139	* objects/Istar/*:
9140	* objects/Jackson/*:
9141	* objects/KAOS/*:
9142	* configure.in:
9143	* objects/Makefile.am (SUBDIRS):
9144	* sheets/Makefile.am (SUBDIRS):
9145	* samples/Makefile.am: Additions from Christophe Ponsard
9146	<cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
9147	of hacking still.
9148
91492004-06-12  Lars Clausen  <lars@raeder.dk>
9150
9151	* lib/properties.h:
9152	* lib/prop_geomtypes.[ch]: Preparation for selectable units.
9153
9154	* lib/font.h: Toning down comments a bit:)
9155
9156	* lib/font.c (dia_font_build_layout): Playing around with DPI
9157
9158	* objects/UML/association.c (association_load): Avoid crashes on
9159	strcmp with NULL.
9160
9161	* objects/UML/association.c: Patch from kimmidi@novell.com:
9162	Improve placement of labels when vertical.  Part fix of #118313
9163
9164	* lib/object.c (dia_object_is_selected): Grouped objects are not
9165	selected, only the group itself.  Thus, don't crash when grouping
9166	beziers. #143681
9167
9168	* objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
9169	on how to represent empty strings.  Fixes #143639.
9170
9171	* lib/object.c (dia_object_is_selected): Added comment answer.
9172
91732004-06-12  Hans Breuer  <hans@breuer.org>
9174
9175	* lib/diagramdata.c lib/object.c : deal with grouped objects
9176	not knowing their parent_layer, i.e. avoid crashing in
9177	dia_object_is_selected() via group_draw() [ Triggered by
9178	playing with the Visio generated svg from bug #143455 ]
9179
9180	* plug-ins/python/diasvg_import.py : started to implement
9181	transformation="translate(...)" and <style/> handling. Also
9182	use some other completely bogus values for em/ex scaling
9183
91842004-06-08  Lars Clausen  <lars@raeder.dk>
9185
9186	* plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
9187
91882004-06-07  Lars Clausen  <lars@raeder.dk>
9189
9190	* app/layer_dialog.c (layer_dialog_set_diagram):
9191	* app/display.c: Layer widget crash more properly dealt with in
9192	layer dialog code.
9193
9194	* app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
9195	widget deselect was called during destroy, but called
9196	ddisplay_flush, leading to a new display timeout after renderer
9197	was dead.
9198
9199	* lib/widgets.c (dia_toggle_button_destroy):
9200	* app/recent_files.c (recent_file_menuitem_create):
9201	* lib/persistence.c (persistence_save_list):
9202	* app/commands.c (edit_delete_callback):
9203	* lib/object_defaults.c (dia_object_defaults_save):
9204	* lib/parent.c (parent_list_affected_hierarchy): Killed leaks
9205	(#142669)
9206
9207	* lib/widgets.c (dia_toggle_button_new_with_images): Remove
9208	debugging info.
9209
9210	* lib/diagramdata.c (new_layer): Initialize connectibility.
9211
9212	* app/display.c (ddisplay_obj_render):
9213	* app/diagram.c (diagram_find_closest_connectionpoint): Take
9214	connectibility into account.
9215
9216	* app/layer_dialog.h (struct _DiaLayerWidget):
9217	* app/layer_dialog.c:
9218	Connectible toggle updates, now works fairly well.
9219
9220	* app/select.c (select_transitive_callback): Make sure we're only
9221	selecting in the same layer.
9222
92232004-06-04  Lars Clausen  <lars@raeder.dk>
9224
9225	* app/pixmaps/Makefile.am: Also install connectable images.
9226
9227	* app/layer_dialog.c (dia_layer_update_from_layer): Initially set
9228	layer toggles from layer itself.  Also update diagram correctly
9229	for visibility.  Still need updates for connectivity behaviour.
9230
92312004-06-03  Hans Breuer  <hans@breuer.org>
9232
9233	* plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
9234
9235	* lib/diagdkrenderer.c(set_linejoin) : actually set
9236	join_style not cap_style
9237	(set_dashes): with the correct number of dashes
9238
92392004-06-03  Lars Clausen  <lars@raeder.dk>
9240
9241	* app/modify_tool.c (click_select_object):
9242	* lib/text.c (text_set_cursor):
9243	* app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
9244
92452004-05-31  Hans Breuer  <hans@breuer.org>
9246
9247	* lib/object_defaults.c : don't 'failed to load external
9248	entity "NULL"' when the defaults file does not exist,
9249	bug #108764 [again: somehow this got lost]
9250
9251	* app/paginate_gdiprint.cpp : don guess the WMF export
9252	filter used for printing but find it by unique name.
9253	Also update for export_func renaming
9254	* plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
9255	provide some unique names
9256
9257	* app/commands.c app/disp_callbacks.c app/paginate_psprint.c
9258	  app/select.c : fix bug #140789 by always checking if there
9259	still is an active diagram before accessing it
9260
9261	* app/defaults.c app/properties.c : user visible string should
9262	not read DiaObject but stay as "Object defaults/properties"
9263
9264	* app/app_procs.c : reduce the hack to pass --size to the
9265	export via user_data to the only filter supporting it. Other
9266	filters would crash on it or do worse ;(
9267
9268	* plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
9269
92702004-05-31  Lars Clausen  <lars@raeder.dk>
9271
9272	* lib/widgets.h:
9273	* lib/widgets.c: Use GtkType rather than guint for
9274	dia_size_selector_get_type.
9275
92762004-05-29  Lars Clausen  <lars@raeder.dk>
9277
9278	* app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
9279	that it matches the screen output for selfoverlapping polygons and
9280	beziers.
9281
92822004-05-28  Hans Breuer  <hans@breuer.org>
9283
9284	* app/load_save.c : ignore empty groups on load and don't
9285	write empty groups while saving
9286	* lib/group.h (group_update_data): there is no first object
9287	in empty groups and they probably don't need an update at
9288	all. Maybe the shold just not exist ?
9289
9290	* plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
9291	text positioning as well as drawing of images with alpha
9292
9293	* plug-ins/wmf/wmf.cpp : include windows.h if eiher
9294	HAVE_WINDOWS_H or G_OS_WIN32 is defined
9295
92962004-05-28  Lars Clausen  <lars@raeder.dk>
9297
9298	* app/pixmaps/Makefile.am (imagedir):
9299	* app/pixmaps/visible.png:
9300	* app/pixmaps/visible-empty.png: New images for the visibility
9301	button in the layer dialog.
9302
9303	* lib/widgets.c (dia_toggle_button_new_with_images): Remove even
9304	more border around the button.  Still some left when hovering the
9305	mouse or selecting, and the grey background is annoying.
9306
9307	* app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
9308	visibility connector.
9309
93102004-05-26  Lars Clausen  <lars@raeder.dk>
9311
9312	* configure.in (DB2MAN): Better check for db2man docbook place.
9313	Need something even better.
9314
9315	* doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
9316
9317	* lib/widgets.c (dia_toggle_button_new_with_images): Remove
9318	extraeneous borders.
9319
9320	* dia_logo.png:
9321	* dia_gnome_icon.png:
9322	* samples/render-test.dia: Rendering test from Hans.
9323
93242004-05-24  Hans Breuer  <hans@breuer.org>
9325
9326        * lib/filter.h : renamed DiaExportFilter::export to
9327	_DiaExportFilter::export_func (should not use c++
9328	keywords (g++ specifc ?) in headers. Same for import
9329	out of pure symmetry reasons
9330	* plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
9331	  app/diagram.c app/filedlg.c : reflect functions renaming
9332
9333	* plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
9334	under *NIX, too. [If you want something done, do it yourself ;-]
9335	* plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
9336	with wmf.cpp's GDI usage
9337	* plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
9338	[For the moment it does not much more than compiling, i.e.
9339	the produced WMF files are invalid, if not created on windoze.]
9340
9341	* configure.in : check for C++ to compile plug-in/wmf
9342
9343	* objects/GRAFCET/boolequation.c : looks like fixing
9344	another leak (untested)
9345
93462004-05-23  Hans Breuer  <hans@breuer.org>
9347
9348        * acinclude.m4 : another attempt to fix
9349	bug #142032 (still not sure it's the right one,
9350	but works for me(tm), which the other does not ;)
9351
9352	* plug-ins/cairo/Makefile.am
9353	  plug-ins/Makefile.am
9354	  configure.in : support building the new cairo
9355	plug-in, if given --with-cairo and the cairo
9356	packages are found, see http://cairographics.org
9357	and also http://hans.breuer.org/dia/dia-cairo.htm
9358
9359	* plug-ins/cairo/diacairo.c : make it compile
9360	with DEBUG_CAIRO defined, too.
9361
93622004-05-23  Hans Breuer  <hans@breuer.org>
9363
9364	* plug-ins/cairo/Makefile.am : initial attempt
9365
9366	* plug-ins/cairo/diacairo.c : a new exporter based on
9367	Cairo http://cairographics.org rendering api. Currently
9368	it just can export PNG and PS but one day it might get
9369	PDF and more almost for free. [It is not yet included
9370	in the *NIX build system due to lack of auto* magic.]
9371
9372	* plug-ins/pixbuf/pixbuf.c : always register the export
9373	filter part. If the user does not want it it can be
9374	disabled by File/Plugins or explicit selected the other
9375	one in the Export Formats List
9376
93772004-05-23  Hans Breuer  <hans@breuer.org>
9378
9379	* lib/dia_dirs.c : #include "message.h"
9380	  lib/widgets.c : #include "persistence.h"
9381	  lib/widgets.c(dia_font_selector_init) : still not C99
9382	  lib/persitence.h : removed unimplemented prototype
9383	  lib/persitence.c(persistence_load_list) : still not C99
9384	  app/create_object.c : #include "highlight.h"
9385	  app/layer_dialog.c : #include "widgets.h"
9386	  app/modify_tool.c : prototype functions before usage
9387	  lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
9388	[otherwise one will have a hard time to make C++ compile ;]
9389	  lib/dia_dirs.c : #include "message.h"
9390	  lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
9391	  lib/
9392
9393	* plug-ins/xfig/xfig-import.c : dont initialize an int with
9394	a string pointer
9395
9396	* lib/dia_image.[hc](dia_image_rgba_data) : make it work
9397	as documented, i.e. _not_ copying. Plugs a memory leak in
9398	lib/dialibartrenderer.c
9399
9400	* lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
9401	to radius to more of a clue what it is representing
9402
9403	* */makefile.msc lib/libdia.def : updated
9404
9405	ChangeLog : fixed some date copy&paste bug
9406
94072004-05-21  Lars Clausen <lars@raeder.dk>
9408
9409	* NEWS: Release tag.
9410
9411	* config.h.win32: Now 0.93+cvs
9412
9413	* RELEASE-PROCESS: Update with new info about release branches.
9414
9415	* Many files:  Moved devel branch back into main trunk.  Should
9416	have been done in the opposite way, with release in a branch.
9417
94182004-05-20  Hans Breuer  <hans@breuer.org>
9419
9420        * acinclude.m4 : disable setting of PYTHON_PREFIX
9421	and PYTHON_EXEC_PREFIX from prefix and exec_prefix
9422	as workaround for bug #142032 (the real fix would
9423	involve some auto* knowledge which I don't have
9424	either;)
9425
9426	* plug-ins/python/Makefile.am : more python
9427	plug-ins to be installed (especially svg import,
9428	but also 'simple scale' should be useable
9429	sometimes)
9430
9431	* plug-ins/python/scascale.py : update display
9432	after modifying selected objects
9433
9434	* plug-ins/python/diasvg_import.py : initialize
9435	stroke to none
9436
94372004-05-18  Lars Clausen  <lars@raeder.dk>
9438
9439	* app/diagram_tree.c (select_node): Use
9440	diagram_remove_all_selected to kill selected list.
9441
9442	* lib/font.c: Set language when using a different context.
9443
9444	* plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
9445	and removed ctype include (#142661).
9446
9447	* lib/paper.c (get_default_paper): Changed isalnum to
9448	g_ascii_isalnum and removed ctype include. (#142661)
9449
9450	* objects/custom/shape_info.c:
9451	* lib/dia_svg.c:
9452	* app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
9453
94542004-05-17  Hans Breuer  <hans@breuer.org>
9455
9456	* lib/object_defaults.c : don't 'failed to load external
9457	entity "NULL"' when the defaults file does not exist,
9458	bug #108764
9459
9460	* lib/widgets.c : fixed possible menu leak
9461	* lib/dialinechooser.c lib/diaarrowchooser.c : finally
9462	avoid finalization of floating references, bug #142307
9463
94642004-05-15  Lars Clausen  <lars@raeder.dk>
9465
9466	* plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
9467	fonts better (#138655)
9468
9469	* doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
9470
9471	* doc/en/Makefile.am (EXTRA_DIST): Including all required files in
9472	dist, xml, dbk and man.  Also the sub-xml files. (#142098)
9473
9474	* Makefile.am (CLEANFILES):
9475	* sheets/Makefile.am (EXTRA_DIST): Not distributing the
9476	translation-reports, they are generated automagically.  THANKS
9477	file not considered locally generated, so is not locally
9478	cleaned. (#133735)
9479
9480	* lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
9481
9482	* lib/diaarrowchooser.c:
9483	* lib/prop_attr.c: Fixing naming for arrowselector.
9484
9485	* objects/UML/object.c (objet_type): Oops, little too aggressive
9486	with the DiaObject thing here:)
9487
9488	* objects/custom/shape_info.c (parse_svg_node): Use
9489	g_ascii_isdigit instead of isdigit.
9490
9491	* app/diaunitspinner.c (dia_unit_spinner_update):
9492	* lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
9493	instead of isspace avoids char subscript issues (#142467).
9494
9495	* lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
9496	return value conflict.
9497
9498	* app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
9499	value conflict.  Also improved signature. (#142466)
9500
9501	* app/load_save.c (diagram_data_load): Don't overwrite the list in
9502	the layer, but instead free the returned list (#142480)
9503
9504	* app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
9505	for the grid widget.
9506
9507	* doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
9508
9509	* configure.in (DB2MAN): Currently just check for two known
9510	positions for the docbook xsl.  Don't know a generic way to find
9511	this info.  Ought to add an option for it, but then it's really
9512	only required for maintainers, I think.  Maybe.
9513
9514	* app/display.c (update_snap_grid_status): Remove nasty image
9515	toggling code not require for grid toggle button anymore. (#142475)
9516
9517	* app/interface.c (create_display_shell): Use
9518	dia_toggle_button_new_with_images to create grid toggle button.
9519	Much nicer. (#142475)
9520
9521	* app/menus.c (menus_initialize_updatable_items): Free the string
9522	along with the GString. (#142475)
9523
9524	* lib/intl.c (free_alias_table): Free hash table entries in a
9525	proper way, avoiding duplicate frees. (#142475)
9526
9527	* lib/object_defaults.c (_obj_store): Only free layer_name if it's
9528	not put in the hash (avoid reading freed memory). (#142476)
9529
9530	* lib/widgets.c (dia_font_selector_set_styles): Stop leaking
9531	faces. (#142484)
9532	(dia_font_selector_get_family_from_name): Stop leaking
9533	families. (#142482)
9534
95352004-05-14  Lars Clausen  <lars@raeder.dk>
9536
9537	* Transfer of fixes from release branch.  Not the prettiest way to
9538	do it, this should be done during release, not afterwards.
9539
9540	Tomasz Kłoczko <kloczek@pld.org.pl>:
9541
9542	* acinclude.m4: minor fixes (added missing [] quotation).
9543
9544	Lars Clausen  <lars@raeder.dk>:
9545
9546	* app/interface.c (toolbox_delete):
9547	* app/app_procs.[ch] (app_exit): Stop the delete event if the user
9548	cancels quit due to modified diagrams.
9549
9550	Samúel Jón Gunnarsson  <sammi@techattack.nu>:
9551
9552	* is.po: Added "is" to ALL_LINGUAS.
9553
9554	Lars Clausen  <lars@raeder.dk>:
9555
9556	* dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
9557
9558	Hans Breuer  <hans@breuer.org>:
9559
9560	* lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
9561	burden should be shared and not be win32 only ;) [this time
9562	build was broken by adding GtkType to widget.h]
9563
9564	* objects/standard/box.c objects/standard/ellipse.c :
9565	for code clarification compare (obj->aspect != FREE_ASPECT)
9566	and not (obj->aspect); no binary effect.
9567
9568	* app/paginate_psprint.c : don't leak printcmd
9569
9570	* objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
9571	standard C requires variables to be declared at the beginning of
9572	a block, also there is no fabsf() with msvc
9573
9574	* app/win32print.[ch] : make win32_printer_close() return an
9575	error code, it's used as pclose replacement
9576
9577	Lars Clausen  <lars@raeder.dk>:
9578
9579	* RELEASE-PROCESS: Mention PATCH keyword in release process.
9580
95812004-05-06  Lars Clausen  <lars@raeder.dk>
9582
9583	* lib/widgets.[ch]: Utility function to make a widget with two
9584	images (selected and non-selected).
9585
9586	* lib/diagramdata.h: Renamed selectable to connectable.
9587	Selectable will come later.
9588
9589	* configure.in:
9590	* app/pixmaps/Makefile.am (imagedir):
9591	* app/pixmaps/connectable.png:
9592	* app/pixmaps/connectable-empty.png: New images for the
9593	selectability widget.  Proper installation, too.
9594
9595	* app/layer_dialog.[ch]: Adding new button showing connectability
9596	status.  Much cleaner way of doing the button, but some problems
9597	with the item getting selected
9598
9599	* lib/widgets.h: Reminder of how to install images for use by
9600	dia_get_image_from_file.
9601
96022004-05-05  Lars Clausen  <lars@raeder.dk>
9603
9604	* objects/network/Makefile.am:
9605	* objects/network/pixmaps/radiocell.xpm:
9606	* objects/network/pixmaps/basestation.xpm:
9607	* objects/network/network.c:
9608	* objects/network/basestation.c:
9609	* objects/network/radiocell.c:
9610	Patch from W. Borgert <debacle@debian.org>: Radio cell and base
9611	station objects.
9612
9613	* lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
9614	Backslash arrow head.
9615
9616	* app/pagesetup.c (pagesetup_respond): Do not free ps twice.
9617	Notify takes care.  Should maybe use that more.
9618
9619	* lib/diagramdata.[ch]:
9620	* app/filedlg.c (file_export_ok_callback):
9621	* app/diagram.c (diagram_finalize): DiagramData now a GObject.
9622
9623	* app/dia-props.c (diagram_properties_respond):
9624	* app/diagram.c (diagram_set_modified):
9625	* app/undo.c:
9626	* app/disp_callbacks.c:
9627	* app/commands.c:
9628	* app/load_save.c (diagram_save):
9629	Better handling of undo and modified status -- only diagram
9630	properties and page setup explicitly set modified status, all
9631	other important changes should be done through the undo stack
9632	now.
9633
96342004-05-04  Lars Clausen  <lars@raeder.dk>
9635
9636	* app/app_procs.c (app_init): Consistently open a new diagram if
9637	none specified, with standard name Diagram1.dia.
9638
9639	* app/layer_dialog.c:
9640	* app/diagram.c (diagram_finalize):
9641	* app/commands.c (dialogs_layers_callback):
9642	* app/filedlg.c (file_export_ok_callback):
9643	* app/app_procs.c (app_exit):
9644	* app/display.c (display_set_active):
9645	* app/interface.c (dia_dnd_file_drag_data_received):
9646	* app/recent_files.c:
9647	Undone attempt at unifying the multi-diagram windows (like
9648	layers).  It broke the layers and didn't make much sense for the
9649	diagram properties dialog anyway.
9650
9651	* lib/group.c:
9652	* lib/diatypes.h:
9653	* lib/diagramdata.c:
9654	* lib/object.h:
9655	* lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
9656	many subclasses have to be fixed.  Fixed remaining
9657	Object/ObjectType renaming issues.
9658
96592004-05-02  Lars Clausen  <lars@raeder.dk>
9660
9661	* lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
9662	  having to make all the children objects conform to
9663	  GObject style at once?  Warning!  Does not compile right now.
9664
9665	* many, many files: Rename Object to DiaObject in preparation for
9666	  making it a GObject.
9667
9668	* app/diagram.[ch]: Turn diagram into a real GObject.
9669
9670	* app/pagesetup.c:
9671	* app/filedlg.c: Correctly ref and unref diagram.
9672
9673	* lib/diagramdata.h: Starting to turn it into a GObject as well.
9674
96752004-05-02  Lars Clausen  <lars@raeder.dk>
9676
9677	* lib/object.[ch]: Starting to convert Object to DiaObject, son of
9678	GObject.
9679
9680	* app/dia-props.c: Undo the attempt at making it really
9681	multi-diagram, now going for a one-diagram dialog.
9682
96832004-04-30  Lars Clausen  <lars@raeder.dk>
9684
9685	* app/undo.c: Undoing broken undo stuff for diagram properties and
9686	page setup.  Shouldn't be mixed into undo at all.
9687
9688	* app/render_gdk.c (draw_pixel_line): Use the dash-setting
9689	function to avoid in particular the grid crawling.
9690
9691	* lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
9692	to allow aligning dashes, so they don't crawl.
9693
96942004-04-28  Lars Clausen  <lars@raeder.dk>
9695
9696	* app/Makefile.am: New files diacanvas.[ch]
9697
9698	* app/interface.c (create_display_shell): Use new diacanvas that
9699	allows placing widgets on canvas, for text edit.
9700
9701	* lib/object.h:
9702	Early work towards rotation.  No implementation yet.
9703
9704	* app/layer_dialog.c (undo_layer):
9705	* objects/network/bus.c (bus_create_change):
9706	* objects/standard/box.c (aspect_create_change):
9707	* objects/standard/ellipse.c (aspect_create_change):
9708	Use g_new0 for change struct.
9709
9710	* app/undo.c (diagram_change_apply_or_revert):
9711	Support for undo of diagram properties and page setup.
9712
9713	* app/disp_callbacks.c (ddisplay_canvas_events):
9714	* lib/text.h:
9715	* lib/diagramdata.h:
9716	* app/modify_tool.c (click_select_object):
9717	* lib/text.c (text_register_editable):
9718	Starting work on new text editing model.  Guarded by #ifdef so
9719	far.
9720
97212004-04-07  Lars Clausen  <lars@raeder.dk>
9722
9723	* app/recent_files.c (open_recent_file_callback):
9724	* app/interface.c (origin_button_press):
9725	* app/filedlg.c (file_open_ok_callback):
9726	* app/display.c:
9727	* app/diagram.[ch]:
9728	* app/commands.c (dialogs_layers_callback): Using new
9729	diagram_set_current() function to ensure auxilliary windows are
9730	updated.
9731
9732	* app/layer_dialog.c: Trying to unify with dia-props.  Diagram
9733	menu now borken.  *sniff*
9734
9735	* app/dia-props.c: Diagram properties window attempted
9736	persistentified.  Trying to make more like layer dialog (since it
9737	already changes when the diagram changes), but some things still
9738	borken.
9739
97402004-04-06  Lars Clausen  <lars@raeder.dk>
9741
9742	* lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
9743	* lib/attributes.c (attributes_set_default_line_style):
9744	* app/interface.c (create_lineprops_area):
9745	Make line style persistent as well.  Added function to directly
9746	set the style and dashlength of a dialinechooser.
9747
97482004-04-03  Lars Clausen  <lars@raeder.dk>
9749
9750	* objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
9751	Copy the ellipse extra handle correctly.
9752
9753	* objects/standard/box.c (box_move_handle): Move definitions
9754	according to bug #138925.
9755
97562004-04-02  Lars Clausen  <lars@raeder.dk>
9757
9758	* app/recent_files.c: Use absolute name for recent files list.
9759
9760	* lib/attributes.c: Set start and end arrow types, correctly.
9761
9762	* lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
9763	to get arrow index.
9764
9765	* lib/diaarrowchooser.[ch]: Support for setting arrow info.
9766
9767	* app/interface.c (create_lineprops_area): Set persistently stored
9768	arrow info.
9769
9770	* lib/arrows.[ch]: New function to get arrow index (in arrow_types)
9771	from arrow type.
9772
9773	* lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
9774	path (i.e. without '.' or '..').  Not tuned for Win32 yet.
9775
9776	* plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
9777	with what xfig does.  Text now converted from latin-1 to utf-8
9778	(latin-1, since that's what xfig seems to use.  Would like to see
9779	examples of non-latin-1 figs).  String case problems fixed.
9780
97812004-04-01  Lars Clausen  <lars@raeder.dk>
9782
9783	* lib/attributes.c:
9784	* app/interface.c: Default arrows now stored persistently, too.
9785
9786	* lib/arrows.[ch]: New function to get arrow type from name.
9787
9788	* app/color_area.c (color_area_create):
9789	* lib/attributes.c:
9790	* app/linewidth_area.c: Also persistent colors and line width.
9791	That was easy.  Arrows and line style will take a bit more work,
9792	but not much.
9793
97942004-04-01  Lars Clausen  <lars@raeder.dk>
9795
9796	* app/preferences.c:   All preferences are now
9797	handled by persistence, old prefs load and store code is gone.
9798
9799	* lib/persistence.[ch]: Added string and color persistents.  This is
9800	a different string from the one used in the printer dialog, that
9801	one has a GtkEntry attached -- may want to make that one an
9802	encapsulation of this one or something.
9803
98042004-03-31  Lars Clausen  <lars@raeder.dk>
9805
9806	* app/app_procs.c: Do persistence before prefs.  Prefs are to be
9807	phased out anyway.
9808
9809	* lib/persistence.[ch]:
9810	* app/preferences.c: Adding persistence for integers, reals,
9811	booleans.  Fixed stupid list bug.  Test persistence for prefs.
9812
98132004-03-30  Lars Clausen  <lars@raeder.dk>
9814
9815	* app/recent_files.c:
9816	Debugging of deallocation.
9817
9818	* lib/widgets.c:
9819	Font menu now uses persistence.  Ordering needs fixing, or it must
9820	be sorted.
9821
9822	* lib/libdia.def:
9823	* lib/Makefile.am (libdia_la_SOURCES):
9824	* app/Makefile.am (dia_core_files):
9825	* app/persistence.[ch]:
9826	* lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
9827	number of fixes, including multiple entries now being read
9828	properly.  Still some oddity about the persistent list having the
9829	role as first entry (which makes the font menu crash after a few
9830	iterations).
9831
98322004-03-26  Lars Clausen  <lars@raeder.dk>
9833
9834	* app/persistence.c:
9835	* app/recent_files.[ch]: Redoing the recent-files list using
9836	persistence, reducing code by about 50%.  Still a problem when
9837	selecting an item from the menu -- possibly it doesn't like the
9838	menu being destroyed while in the callback?
9839
98402004-03-25  Lars Clausen  <lars@raeder.dk>
9841
9842	* app/persistence.c (persistence_load_string): Missing semicolon?!?
9843
98442004-03-24  Lars Clausen  <lars@raeder.dk>
9845
9846	* RELEASE-PROCESS:
9847
9848	* app/persistence.[ch]:
9849	* app/paginate_psprint.c (diagram_print_ps): New type of data can
9850	be stored persistently:  Strings.  Only the printer command/file
9851	go in here now, but things like creator, organization, diagram
9852	comments etc could also be handled this way.
9853
9854	* objects/standard/beziergon.c (beziergon_draw): Avoid control
9855	lines when the object is not selected.
9856
98572004-03-23  Lars Clausen  <lars@raeder.dk>
9858
9859	* lib/connectionpoint.h:
9860	* app/load_save.c: Allow connection points to have names, and
9861	handle that in load/store.
9862
9863	* lib/dialibartrenderer.c: Better highlighting for text.
9864
9865	* lib/diagdkrenderer.h (struct _DiaGdkRenderer):
9866	* lib/diagdkrenderer.c: Better highlighting for all, using same
9867	principles as libart highlighter.
9868
98692004-03-22  Lars Clausen  <lars@raeder.dk>
9870
9871	* lib/dialibartrenderer.[ch]:
9872	* lib/diagdkrenderer.c:
9873	* lib/object.h:
9874	* app/object_ops.c:
9875	* app/diagram.[ch]:
9876	* app/display.[ch]:
9877	* app/Makefile.am:
9878	* app/modify_tool.c:
9879	* app/create_object.c:
9880	* app/highlight.[ch]:
9881	Added simple object highlighting.  In GDK rendering, highlights
9882	the bbox, in libart highlights the outline of the object (except
9883	for texts).
9884
98852004-03-22  Lars Clausen  <lars@raeder.dk>
9886
9887	* RELEASE-PROCESS: Added info on how to do a branch for
9888	development during release process.
9889
98902004-03-20  Lars Clausen  <lars@raeder.dk>
9891
9892	* RELEASE-PROCESS: Mention PATCH keyword in release process.
9893
98942004-03-19  Lars Clausen  <lars@raeder.dk>
9895
9896	* xmldocs.make: Fixed apparent uninstall error.
9897
9898	* config.h.win32:
9899	* doc/en/dia-manual.xml:
9900	* doc/pl/dia-manual.xml:
9901	* dia.spec:
9902	* configure.in:
9903	* NEWS: Version 0.93-pre1.
9904
9905	* lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
9906	borelli):  Remove some deprecated stuff.
9907
99082004-03-18  Lars Clausen  <lars@raeder.dk>
9909
9910	* Makefile.am: Try better uninstall thing for scrollkeeper.
9911
9912	* objects/ER/entity.c:
9913	* lib/arrows.[ch]: Patch from Georg Lothar Thimm
9914	<MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
9915	1, 1 exactly, as well as associative ER entities.
9916
99172004-03-17  Lars Clausen  <lars@raeder.dk>
9918
9919	* Makefile.am: Make distcheck not complain about scrollkeeper
9920	problems (as per advice from James Henstridge).
9921
9922	* doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
9923	standard installation.
9924
9925	* objects/standard/ellipse.c: Better strings for object menu.
9926
9927	* app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
9928	of dialogs (shame on you, glade!)
9929
9930	* objects/custom/custom_object.c (custom_setup_properties):
9931	Removed debugging output
9932
9933	* app/paginate_psprint.c (diagram_print_ps): Slightly more
9934	readable printer error messages.
9935
9936	* xmldocs.make:
9937	* omf.make:
9938	* doc/en/Makefile.am:
9939	* doc/pl/Makefile.am:
9940	New more standard way to install the XML-based manuals.
9941
99422004-03-15  Lars Clausen  <lars@raeder.dk>
9943
9944	* objects/standard/box.c (box_move_handle): More intuitive fixed
9945	aspect behaviour.
9946
9947	* objects/standard/ellipse.c:
9948	* objects/standard/box.c:
9949
9950	* lib/widgets.[ch]:
9951	* app/layer_dialog.[ch]:
9952	Patch from Steve Langasek <vorlon@debian.org>:
9953	Fixes startup crash on Alpha (bug #137169)
9954
9955	* objects/standard/box.c: Aspect fixing like ellipses.
9956
9957	* app/Makefile.am (dia_core_files): Include dia-app-icons.h
9958
9959	* lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
9960	pixmaps, now can uninstall properly.
9961
9962	* objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
9963	Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
9964	#93940.
9965	Added object menu access.
9966
99672004-03-07  Hans Breuer  <hans@breuer.org>
9968
9969	* lib/diaarrowchooser.c lib/dialinechooser.c : #undef
9970	GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
9971	would not use deprecated apis, but it's much simpler this way)
9972
9973	* lib/makefile.msc : build the above new widgets and render_pixmap
9974	* lib/libdia.def app/dia.def app/makefile.msc : updated
9975
9976	* app/disp_callbacks.c : fix gccisms (without being able to make much sense of
9977	what I saw, i.e. how big is an empty array supposed to be ? ;-).
9978	Previously it gave :
9979	disp_callbacks.c(188) : error C2059: syntax error : '}'
9980	disp_callbacks.c(191) : warning C4034: sizeof returns 0
9981
9982	* app/interface.c : #include "dialinechooser.h"
9983
9984	* lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
9985	[one more reason not to use it here : it's quite slow compared to
9986	 the native win32 font renderer ;]
9987
9988	* app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
9989	a GtkDialog*, removed unneeded cast
9990
9991	* app/render_eps.c : avoid assignment warning for void* user_data
9992	not being an int
9993
99942004-03-06  Steffen Macke sdteffen@web.de>
9995
9996	* shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
9997	shapes
9998
99992004-03-06  Lars Clausen  <lars@raeder.dk>
10000
10001	* lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
10002	0.5, as per poll.
10003
10004	* lib/font.c: Simple cleanup system for layout cache removes any
10005	layout that hasn't been used for 10 minutes, but only during idle
10006	time.
10007
100082004-03-05  Lars Clausen  <lars@raeder.dk>
10009
10010	* sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
10011	(lluis padro) (#130887): Extended Electric shapes with vertical
10012	versions.
10013
10014	* sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
10015	start with "Create a" or "A", always capitalize first word).
10016
10017	* objects/standard/ellipse.c: Patch from Grégoire Dooms
10018	<dooms@info.ucl.ac.be>: Add extra connection point in center of
10019	ellipse.  Additionally added a handle in the center, and resize is
10020	now around the center.
10021
10022	* configure.in:
10023	* sheets/Makefile.am (SUBDIRS):
10024	* sheets/IsometricMap.sheet.in:
10025	* shapes/Map/Isometric/*
10026	* shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
10027
100282004-03-04  Lars Clausen  <lars@raeder.dk>
10029
10030	* lib/Makefile.am:
10031	* lib/pixmaps/Makefile.am:
10032	* configure.in:
10033	Better installation handling of pixmaps.
10034
10035	* lib/diagdkrenderer.c:
10036	* lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
10037	* lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
10038	Constness fixes.
10039
100402004-03-03  Lars Clausen  <lars@raeder.dk>
10041
10042	* lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
10043	* lib/diagdkrenderer.c:
10044	* lib/diasvgrenderer.c:
10045	* lib/dialibartrenderer.c:
10046	* lib/diainteractiverenderer.c:
10047	* lib/prop_text.c (multistringprop_handle_key):
10048	* lib/dia_dirs.c:
10049	* lib/dia_image.c (dia_image_rgba_data):
10050	* lib/widgets.c:
10051	* lib/diagramdata.c (layer_set_object_list):
10052	* lib/font.h:
10053	* lib/font.c:
10054	Getting rid of compile warnings.
10055
10056	* lib/widgets.c: Handle destroy properly, i.e. unref the two extra
10057	images.  Also remove unused decls.
10058
100592004-03-02  Lars Clausen  <lars@raeder.dk>
10060
10061	* lib/widgets.h:
10062	* lib/widgets.c (dia_size_selector_init): Add images to the size
10063	selector chain widget.  Also new function to load installed images
10064	from files (better than from included XPM, IMHO).
10065
100662004-03-02  Lars Clausen  <lars@raeder.dk>
10067
10068	* lib/libdia.def:
10069	* lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
10070	size selector.
10071
10072	* lib/Makefile.am:
10073	* lib/widgets.c (dia_size_selector_init): Work
10074	on getting proper icon onto the size selector.  Need simple image
10075	load mechanism in utils.
10076
10077	* lib/text.c:
10078	* app/display.[ch]:
10079	* app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
10080	strings, handle utf8 strlen properly.  Bug #135930.
10081
100822004-03-01  Lars Clausen  <lars@raeder.dk>
10083
10084	* shapes/Cybernetics/*:
10085	* sheets/Cybernetics.sheet.in:
10086	* sheets/Makefile.am:
10087	* shapes/Makefile.am:
10088	* configure.in: Patch from charly.meyer@t-online.de (Thorsten
10089	Roggendorf): Cybernetic shapes (#95553).
10090
100912004-03-01  Lars Clausen  <lars@raeder.dk>
10092
10093	* app/Makefile.am: Fixed $(EXEEXT) warning from automake.
10094
10095	* lib/diatypes.h: New type DiaSizeSelector.
10096
10097	* lib/widgets.[ch]: New size selector widgets that selects two
10098	values (width and height, nominally) optionally linked to keep
10099	aspect ratio.
10100
101012004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
10102
10103	* plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
10104	in front of file. Bug #128600.
10105
10106	* app/Makefile.am:
10107	* app/interface.h:
10108	* app/lineprops_area.[ch]:
10109	* lib/Makefile.am:
10110	* lib/dialinechooser.[ch]:
10111	* lib/widgets.c (dia_line_style_selector_init): use line preview
10112	instead of text labels. This involve moving away line_chooser to lib
10113	from app.
10114
10115	* lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
10116	symbol conflicts.
10117
10118	* app/Makefile.am (dia_core_files):
10119	* app/interface.c (create_lineprops_area):
10120	* app/render_pixmap.[ch]:
10121	* lib/Makefile.am:
10122	* lib/diaarrowchooser.[ch]:
10123	* lib/libdia.def:
10124	* lib/prop_attr.c:
10125	* lib/propdialogs.c:
10126	* lib/render_pixmap.[ch]:
10127	* lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
10128	of text labels. This involve moving away arrow_chooser to lib from
10129	app.
10130
101312004-02-29  Lars Clausen  <lars@raeder.dk>
10132
10133	* objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
10134	being updated half-way through destruction.  To be removed when
10135	the lists are replaced by something better.
10136
10137	* objects/UML/class_dialog.c: Patch from luc@handhelds.org:
10138	Accelerators for class dialog.  Bug #130995.
10139	Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
10140
10141	* app/dia-props.c:
10142	* app/preferences.c:
10143	* lib/properties.c:
10144	* objects/GRAFCET/step.c:
10145	* objects/Misc/analog_clock.c:
10146	* objects/chronogram/chronoline.c:
10147	* objects/chronogram/chronoref.c:
10148	Change to american spelling (color, not colour) to ease
10149	translators job.  Note that a number of translations may need an
10150	update now.  Bug #120466.
10151
101522004-02-29  Lars Clausen  <lars@raeder.dk>
10153
10154	* plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
10155	Better arrow handling for missing arrows.
10156
10157	* plug-ins/metapost/render_metapost.[ch]: Patch from
10158	phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
10159	size. See bug #135363.
10160
10161	* app/app_procs.c (app_init): If non-interactive, or if
10162	--log-to-stderr used, send all messages to stderr.  This should
10163	mean that old diaconv == dia --export-to-format=FOO BAR
10164
101652004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
10166
10167	* app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
10168
101692004-02-28  Lars Clausen  <lars@raeder.dk>
10170
10171	* lib/text.c (text_key_event): Patch from Kouhei Sutou
10172	<kou@cozmixng.org>: Fix wrong utf8 strlen handling.
10173
101742004-02-27  Lars Clausen  <lars@raeder.dk>
10175
10176	* KNOWN_BUGS: Added info on most commonly reported bugs, with
10177	BugZilla numbers.
10178
10179	* app/disp_callbacks.c (popup_object_menu): Unified properties
10180	entry, fixes bug #105080.
10181
10182	* app/diagram.c (diagram_update_menu_sensitivity):
10183	* app/menus.h (struct _UpdatableMenuItems):
10184	* app/menus.c (menus_initialize_updatable_items): Menu items
10185	changed around, align menus flattened, properties entry ghosted,
10186	dialogs menu removed, more shortcuts added.  Closing bugs #94018,
10187	#117495, #135125.
10188	Also taking out Gnome menus for now.  They don't allow shortcuts,
10189	so what are they good for?
10190
101912004-02-27  Lars Clausen  <lars@raeder.dk>
10192
10193	* app/menus.c (display_menu_items):
10194	* app/commands.[ch]: Added duplicate menu item from Alan Horkan
10195	(bug #95546).
10196
101972004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
10198
10199	* configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
10200
102012004-02-23  Lars Clausen  <lars@raeder.dk>
10202
10203	* app/app_procs.c (app_init): Comments for translators.
10204
102052004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
10206
10207	* app/preferences.c (prefs_create_dialog): Change packing policy
10208	for widget to expand.
10209
10210	* app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
10211	running with a debugger.
10212
102132004-02-19  Lars Clausen  <lars@raeder.dk>
10214
10215	* app/undo.[ch]: Adding last-saved information to undo to allow a
10216	diagram with all changes since last save undo to be marked as
10217	nonmodified.  Still needs integration with actual undo
10218	apply/revert calls.
10219
10220	* app/diagram.h:
10221	* app/diagram_tree.c (diagram_tree_update):
10222	* app/diagram.c:
10223	* app/display.c (update_modified_status):
10224	* plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
10225	* app/autosave.c (autosave_check_autosave): Encapsulate modifed
10226	test.
10227
10228	* app/render_eps.[c]: Restructure to better handle PS vs. EPS
10229	vs. EPSI, comment out EPSI until preview is in there.
10230
10231	* lib/render.c:
10232	* lib/diarenderer.c: Removing debugging printfs.
10233
10234	* app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
10235	(with preview)
10236
10237	* objects/standard/arc.c (arc_update_handles): Check to avoid
10238	crash when start and end points are the same.
10239
102402004-02-19  Lars Clausen  <lars@raeder.dk>
10241
10242	* objects/standard/bezier.c:
10243	* objects/standard/line.c (line_load):
10244	* objects/standard/polyline.c (polyline_load):
10245	* objects/standard/zigzagline.c (zigzagline_load):
10246	* objects/standard/arc.c (arc_load):
10247	* lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
10248	instead of hardcoding.
10249
102502004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
10251
10252	* app/disp_callbacks.c (popup_object_menu): append a menu item to
10253	display properties.
10254
102552004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
10256
10257	* app/app_procs.c: declare rc properly with the proper #ifdef
10258
102592004-02-17  Lars Clausen  <lars@raeder.dk>
10260
10261	* plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
10262	objects (which seemingly FIG itself breaks, or else there is no
10263	ordering).
10264
102652004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10266
10267	* plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
10268	width renderable in xfig.  Helps on bug #133637, but does not
10269	quite fix it -- something about depth is wrong.
10270
10271	* plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
10272	Extern definitions for Mac compilation.
10273
10274	* app/app_procs.c: Patch #131159 from J. H. M. Dassen
10275	(jdassen@debian.org): Include fix.
10276
10277	* app/interface.c: Patch #130100 from luc@handhelds.org:  Make
10278	sure the initial diagram size is correct.
10279
102802004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
10281
10282	* lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
10283	CPPFLAGS, as per automake warning.
10284	* app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
10285	LDFLAGS, as per automake warning.
10286	(run_dia.sh): More robust creation, and more easily moved.
10287
10288	* app/undo.c (group_objects_revert): Don't double-free the objects
10289	list.  (#129221) Call object_add_updates on grouped objects.
10290	(ungroup_objects_revert): Call object_add_updates on grouped objects.
10291
10292	* lib/diagramdata.c: Internal
10293	documentation.
10294
10295	* lib/polyshape.c (polyshape_update_data): Correctly calculate
10296	directions for polyshape corners (thanks, Valgrind!)
10297
10298	* lib/attributes.c:
10299	* lib/prop_attr.c (arrowprop_load): Use default arrow size.
10300
10301	* lib/arrows.h: Default arrow size defined.  After all are using
10302	this, may lower to 0.4 or so.
10303
10304	* app/lineprops_area.[ch]: New function to set the arrow type for an
10305	arrow chooser.
10306
10307	* app/interface.c (create_lineprops_area): Set default line to
10308	have an arrow (fairly likely to be what's wanted, plus it shows
10309	the user where arrows are set).
10310
10311	* app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
10312
103132004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10314
10315	* plug-ins/metapost/render_metapost.c (draw_with_linestyle):
10316	Dotted lines should use dot_length, not dash_length.
10317
103182004-02-06  Hans Breuer  <hans@breuer.org>
10319
10320	* app/interface.c : don't use gtk_drawing_area_size() to avoid
10321	the defaut size being also the minimum size. Instead use
10322	gtk_window_set_default_size() on the display shell. Fixes #130982.
10323
10324	[fixing #131210, but umlauts in the 'main' filename still not really
10325	 supported on systems where filesystem encoding != utf8
10326	(Problems with recent file menu and window title)]
10327	* lib/dia_xml.[hc] : add data_filename() and data_add_filename()
10328	to deal with possible differnces in filename encodings, see
10329	g_filename_<to|from>_utf8()
10330	* objects/standard/image.c : use them.
10331
10332	* lib/widgets.c : handle possible encoding difference here, too.
10333	Also get rid of most warnings by using const and GTK casts where
10334	appropriate; one wrong cast (probably causing a crash) was found/fixed
10335	by this - the remaining give a hint on finally leaking FontSelectorEntry.
10336
10337	* lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
10338	dia_file_selector_<get|set>_file to behave like the respective Gtk
10339	functions do : encoding- and const-wise ;-)
10340
103412004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
10342
10343        * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
10344
103452004-01-19  Hans Breuer  <hans@breuer.org>
10346
10347	* app/app_procs.c app/diaconv :
10348	only call bind_textdomain_codeset when available, what's good
10349	for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
10350	* config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
10351
103522004-01-19  Steffen Macke <sdteffen@web.de>
10353
10354	* makefile.msc: updated for new GAIM-like installer build; sync'ed
10355	ALL_LINGUAS with configure.in
10356
103572004-01-18  Hans Breuer  <hans@breuer.org>
10358
10359	* app/app_procs.c (myXmlErrorReporting) : avoid possible crash
10360	by not passing NULL to g_print()
10361
10362	* app/interface.c (create_toolbox) : actually use
10363	persitence_register_window() to restore toolbox window size
10364
10365	* app/makefile.msc lib/makefile.msc : allow to deselect
10366	building with Freetype by command line to nmake like :
10367		nmake -f makefile.msc "NOFT2=1"
10368
10369	* plug-ins/python/diasvg_import.py : handle 'stroke-array' as
10370	far as possible with Dia's limited line style
10371	* plug-ins/python/pydia-property.c : allow to get and set
10372	Linestyle, style and dash(length)
10373
10374	* lib/object.h : removed typedef for ObjectId not use anywhere
10375
103762004-01-17  Hans Breuer  <hans@breuer.org>
10377
10378	* objects/custom/shape_info.[hc] objects/custom/custom_object.c
10379	  doc/shape.dtd doc/custom-shapes :
10380	support for images in custom shapes, also removed some long-time
10381	dead code
10382
10383	* doc/en/*.xml : fixed crippled line ends which get created
10384	when windoze line ends are checkin from the unix side
10385
103862004-01-13  Laurent Dhima  <laurenti@alblinux.net>
10387
10388	* configure.in: Added "sq" to ALL_LINGUAS.
10389
103902004-01-11  Hans Breuer  <hans@breuer.org>
10391
10392	[more less leaks ;-]
10393
10394	* objects/SADT/annotation.c : use text_destroy() not g_free()
10395
10396	* objects/chronogram/chronoline.c : neither leak chronoline::events
10397	nor chronoline::name
10398
10399	* objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
10400
104012004-01-11  Hans Breuer  <hans@breuer.org>
10402
10403	* lib/properties.h :
10404	* objects/custom/custom_object.c : more properties optional
10405	to be backward compatible for older diagrams not having them
10406	set. (Try to load samples/all_objects.dia)
10407
10408	[less memory leaks thanks valgrind ;-]
10409
10410	* app/recent_files.c (recent_file_history_write) :
10411	g_free(history_filename);
10412	(recent_file_menu_item) : use g_path_get_basename()
10413	which already strdups, free result of g_strescape()
10414
10415	* app/filedlg.c (create_export_menu) : return of
10416	filter_get_export_filter_label() must be g_free()'d
10417	(create_open_menu) : same for import
10418
10419	* app/export_png.c (export_png_ok) : destroy info ptr
10420	with png_destroy_write_struct()
10421
10422	* app/app_procs.c (app_init) : g_free(export_format_string);
10423
10424	* lib/font.c (dia_font_finalize) : finalize parent_class, too
10425	(dia_font_new_from_style) : stop leaking almost all DiaFont by not
10426	refing it a second time, g_type_create_from_instance() is enough
10427
10428	* lib/object_defaults.c (_obj_store) : don't mess with names
10429	len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
10430
104312004-01-11  Steffen Macke <sdteffen@web.de>
10432
10433	* app/diapsftrenderer.c: including ftoutln.h
10434	* app/makefile.msc: updated for freetype build
10435	* lib/libdia.def: added dia_font_get_context()
10436	* lib/dialibartrenderer.c (draw_string): added cast
10437
104382004-01-10  Hans Breuer  <hans@breuer.org>
10439
10440	* lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
10441	transformed coordinates, fixes bug 130804
10442
104432004-01-10  Hans Breuer  <hans@breuer.org>
10444
10445	* app/filedlg.c app/app_procs.c : don't try to destroy
10446	'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
10447	signal but simply by gtk_widget_destroy() after gtk_dialog_run()
10448	returns. Fixes 'has no handler' bugs like #121019
10449
104502004-01-10  Hans Breuer  <hans@breuer.org>
10451
10452	* objects/UML/class.c objects/UML/class_dialog.c :
10453	handle umlclass->name being empty to avoid, i.e. fix #127968
10454
10455	[plugging memleaks, thanks valgrind :-]
10456
10457	* lib/dia_xml.c (data_string) : don't leak return value
10458	of xmlNodeListGetString()
10459
10460	* lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
10461	before returning, maybe alloca() would be the better
10462	choice but anyway ;)
10463
10464	* objects/custom/custom_object.c:306 : adde xmlFree(str) below
10465
10466	* lib/font.c (dia_font_build_layout) : don't leak result
10467	of g_utf8_strdown()
10468
10469	* lib/diagdkrenderer.c (draw_string) : don't leak rgba
10470	(this is the one which got me started using valgrind, see #130816)
10471
104722004-01-07  Sanlig Badral  <badral@openmn.org>
10473
10474	* configure.in: Added "mn" to ALL_LINGUAS.
10475
104762004-01-04  Hans Breuer  <hans@breuer.org>
10477
10478	* lib/diagdkrenderer.c : replace rendering of really small (height
10479	less than 2 pixels) with a simple dashed line, you wont notice the
10480	differnce beside it being much faster. This allows ...
10481	* lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
10482	* app/navigation.c : ... and lets you see an read rendered text even
10483	in the nice navigation popup.
10484
10485	* lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
10486	(draw_string) : don't leak temporary image
10487
104882004-01-04  Hans Breuer  <hans@breuer.org>
10489
10490	* app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
10491	* app/interface.c : use dia-app-icons.h to give Dia window icons
10492
10493	* lib/dia_image.c lib/color.c : _never_ call functions implemented
10494	in app/ from lib/. It is not portable and broken from design
10495	* app/app_procs.c : call color_init() and dia_image_init() conditional,
10496	i.e. only if running interactive.
10497
10498	* lib/font.h : #include <time.h>
10499
10500	* lib/libdia.def : updated externals
10501
10502	* objects/UML/actor.c
10503            objects/UML/association.c (todo)
10504	  objects/UML/branch.c
10505	  objects/UML/class.[hc] objects/UML/class_dialog.c
10506	  objects/UML/classicon.c
10507	  objects/UML/component.c
10508	  objects/UML/constraint.c
10509	  objects/UML/dependency.c
10510	  objects/UML/generalization.c
10511	  objects/UML/implements.c
10512	  objects/UML/large_package.c
10513	  objects/UML/lifeline.c
10514	  objects/UML/message.c
10515	  objects/UML/node.c
10516	  objects/UML/object.c
10517	  objects/UML/realizes.c
10518	  objects/UML/small_package.c
10519	  objects/UML/state.c
10520	  objects/UML/usecase.c
10521	  objects/UML/
10522	: ported coloring of most UML objects (bug #97517, orginal
10523	  work Mathias Hasselmann)
10524
10525	* lib/properties.h : add _OPTIONAL variants for
10526	PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
10527	i.e. default colored - UML diagrams without complaining
10528	* lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
10529	not set properties with the help of PXP_NOTSET. Otherwise
10530	optional attributes would lead to wrong initialization.
10531
10532	* lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
10533	to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
10534	Same for most other selectors which probably should be rewritten
10535	to the combo box with tree model from Gtk+ 2.4
10536
105372004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10538
10539	* INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
10540	being the Right Thing(tm) to use on Solaris.
10541
10542	* objects/standard/bezier.c (bezierline_draw): Don't draw
10543	guidelines if not selected.
10544
10545	* lib/object.[ch] (dia_object_is_selected): Function to check whether
10546	a given object is selected. O(n), where n is # selected objects.
10547
10548
105492004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
10550
10551	* lib/widgets.[ch]: Make sure old font is re-chosen when the Other
10552	Fonts dialog is closed without pressing Ok (bug #128646).
10553
105542004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
10555
10556	* app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
10557	#130099).
10558
105592004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10560
10561	* INSTALL: Updated list of requirements (bug #129653)
10562
10563	* doc/en/dia.dia: Beginning class diagram for Dia from Luc
10564	Pionchon <luc@handhelds.org>.
10565
105662003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10567
10568	* lib/diagdkrenderer.c (draw_string): Don't attempt to render
10569	empty or NULL strings (bug #130097).
10570
105712003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
10572
10573	* plug-ins/metapost/render_metapost.c: Fixed string colorization.
10574	Added checks against color_black.
10575
105762003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10577
10578	* plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
10579	ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
10580	can happen.
10581
10582	* objects/UML/component_feature.c: Patch from W. Borgert
10583	<debacle@debian.org>:  Add handle to component feature text.
10584
10585	* lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
10586
10587	* lib/font.c: Caching PangoLayout for better rendering speed.
10588
105892003-12-30  Lars Clausen  <lars@raeder.dk>
10590
10591	* lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
10592	get absolute file name from relative.
10593	* app/recent_files.c (recent_file_history_add): Use absolute
10594	filenames for recent files menu so that files can be found when
10595	Dia is invoked from other places.
10596
10597	* app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
10598	Actually load different diagrams if such are requested on command
10599	line.
10600
10601	* objects/UML/class_dialog.c (class_create_page): Fix from Luc
10602	Pionchon <luc@handhelds.org>: Correctly align labels for colors.
10603
10604	* lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
10605	remove text rendering.  May be turned into greeking at some later
10606	stage.
10607
10608	* app/interface.c:
10609	* app/Makefile.am (dia_core_files):
10610	* app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
10611	Adds navigation window a la Gimp, though without text being
10612	rendered at all.
10613
106142003-12-27  Luc Pionchon <luc@handhelds.org>
10615
10616	* app/navigation.h: (new file)
10617	* app/navigation.c: (new file) creates a navigation window with a
10618	thumbnail view of the whole diagram.
10619	* app/Makefile.am (dia_core_files): added new files.
10620
10621	* app/interface.c (create_display_shell): added a button between
10622	the scrollbars to popup a navigation window.
10623
10624	* lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
10625	boolean
10626	* lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
10627	* lib/diagdkrenderer.c (draw_string): returns if the renderer do
10628	not want text rendering.
10629
106302003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10631
10632	* shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
10633
10634	* objects/custom/shape_info.[ch]: Cleanup.
10635
10636	* objects/custom/custom_object.[ch]: Changed to use new props
10637	interface.
10638
10639	* lib/properties.h:
10640	* lib/prop_text.c:
10641	* lib/prop_inttypes.c:
10642	* lib/prop_geomtypes.c: Added *prop_get_data_size.
10643
10644	* lib/libdia.def: Added object_load_props.
10645
10646	* configure.in: Better FT2 version test, from bug #129225.
10647
10648	* dia.spec (BuildRequires): Changed to match makefile (bug #129131)
10649
10650	* plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
10651	Lehmann <holger.lehmann@catworkx.de>.
10652
10653	* plug-ins/xslt/Makefile.am:
10654	* plug-ins/xslt/stylesheets.xml: Added Python, Component List,
10655	and OWL XSLT sheets.
10656
106572003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10658
10659	* lib/diagdkrenderer.c: Add implementation so text is still
10660	rendered.  May be improved later.
10661
10662	* lib/dia_image.c:
10663	* app/main.c:
10664	* app/export_png.c:
10665	* app/diagram.c:
10666	* app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
10667	Allow running without a $DISPLAY!
10668
10669	* lib/color.c: Remove warnings for non-interactive run.
10670
10671	* doc/en/dia.dbk:
10672	* app/export_png.c:
10673	* app/diaconv.c:
10674	* app/app_procs.[ch]:
10675	Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
10676	to specify size for PNG output.
10677
10678	* app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
10679	render a little smaller, so as to fit the big ones.
10680
10681	* lib/arrows.[ch]: New arrow type from W. Borgert
10682	<debacle@debian.org>: Filled Dot and Triangle.
10683
106842003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
10685
10686	* doc/pl/Makefile.am (install-data-hook): Fixed installation bug
10687	for gif images.
10688
10689	* plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
10690
10691	* acinclude.m4: Better Python configure code patch (can't find
10692	author, author please speak up!)
10693
106942003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10695
10696	* lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
10697	smarter ones.
10698
106992003-11-30  Hans Breuer  <hans@breuer.org>
10700
10701	* plug-ins/python/diasvg.py : initialize self.dash_length
10702	in constructor to avoid crashing if the renderer user
10703	does not set it before first usage.
10704
107052003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
10706
10707	* lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
10708	active yet.
10709
10710	* configure.in:
10711	* config.h.win32: Set version number to 0.92.2+cvs to distinguish
10712	development and stable versions.
10713
10714	* lib/text.c (text_draw): Use new renderer function to draw the
10715	text.
10716
10717	* lib/diarenderer.h:
10718	* lib/diarenderer.c: New renderer function "draw_text" with
10719	default implementation.  This function should eventually be the
10720	main interface, as it will be able to handle width and caching of
10721	rendering internally.  All users of draw_string should convert to
10722	use Text objects and call either renderer->draw_text or text_draw,
10723	the latter if the text can be edited in-place (as should be the
10724	goal, eventually).
10725
107262003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
10727
10728	* shapes/Circuit/hresistor.shape: First example of extra
10729	attributes.
10730
107312003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
10732
10733	* plug-ins/shape/shape-export.c:
10734	* lib/diasvgrenderer.h:
10735	* lib/diasvgrenderer.c:
10736	* plug-ins/svg/render_svg.c (new_svg_renderer):
10737	Actually store the font size, using DiaRenderer's font fields.
10738
107392003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
10740
10741	* objects/custom/shape_info.[ch]:
10742	* objects/custom/custom_object.[ch]:
10743	Support for extra attributes in custom objects.
10744
107452003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10746
10747	* app/diagram.c (diagram_update_menu_sensitivity): More
10748	intelligent checks for menu sensitivity.  Might be slow on huge
10749	diagrams, but I think other things outweigh it by a lot.
10750
10751	* app/menus.[ch]: Make "Bring Forwards"
10752	and "Send Backwards" updateable.
10753
107542003-11-22  Steffen Macke <sdteffen@web.de>
10755
10756	* shapes/Assorted/arrow-turn-up.shape:
10757	* shapes/Assorted/arrow-turn-up.png:
10758	* sheets/Assorted/Makefile.am:
10759	* sheets/Assorted.sheet.in: Added new arrow
10760
107612003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
10762
10763	* app/app_procs.c
10764	* app/color_area.c
10765	* app/commands.c
10766	* app/defaults.c
10767	* app/dia_embedd.c
10768	* app/diagram.c
10769	* app/diagram_tree.c
10770	* app/diagram_tree_menu.c
10771	* app/diagram_tree_window.c
10772	* app/diapagelayout.c
10773	* app/diaunitspinner.c
10774	* app/export_png.c
10775	* app/filedlg.c
10776	* app/interface.c
10777	* app/layer_dialog.c
10778	* app/lineprops_area.c
10779	* app/linewidth_area.c
10780	* app/menus.c
10781	* app/pagesetup.c
10782	* app/paginate_psprint.c
10783	* app/persistence.c
10784	* app/plugin-manager.c
10785	* app/preferences.c
10786	* app/properties.c
10787	* app/recent_files.c
10788	* app/sheets.c
10789	* app/sheets_dialog.c
10790	* app/sheets_dialog_callbacks.c
10791	* app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
10792	GTK-2 compatibility update, mostly gtk_foo -> g_foo.
10793
10794	* TODO: Updated, note on EPS transparency.
10795
107962003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
10797
10798	* objects/UML/class.c (umlclass_draw): Allow classes with no name
10799	without crashing.
10800
108012003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10802
10803	* config.h.win32:
10804	* doc/en/dia-manual.xml:
10805	* dia.spec:
10806	* configure.in:
10807	* NEWS: Another Brown Bag release for parenting problems,
10808	including a crash bug fix.
10809
10810	* app/connectionpoint_ops.c (diagram_update_connections_object):
10811	Also update connections when moving children.  This can cause
10812	move_handle to be called twice, so it must be idempotent.
10813
10814	* app/load_save.c: Loading and saving of children totally redone.
10815	Now doesn't violate assumption that all objects in a layer are
10816	placed in order in XML file.
10817
10818	* objects/UML/branch.c (branch_create): Don't lie about being
10819	resizable.
10820
10821	* objects/UML/node.c (node_create):
10822	* objects/UML/large_package.c (largepackage_create): Drag with
10823	lower right-hand handle at creation like all other objects.
10824
108252003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
10826
10827	* app/disp_callbacks.c (ddisplay_drop_object): Change initial
10828	parenting drop to behave like a move inside, i.e. constrain place
10829	instead of trying to resize.  'Cause, resizing cannot be done for
10830	all objects (e.g. UML Class). Also simplified the algorithm a lot
10831	at the same time.
10832
10833	* app/load_save.c: Saving and loading of connection points for
10834	children added.  Prototypes for static functions added.
10835
10836	* lib/dynamic_obj.c: Removed debugging output.
10837
108382003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
10839
10840	* doc/en/dia-manual.xml:
10841	* doc/pl/dia-manual.sgml:
10842	* dia.spec:
10843	* config.h.win32:
10844	* configure.in:
10845	* NEWS: Brown Bag release 0.92.1
10846
10847	* lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
10848
108492003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
10850
10851	* app/app_procs.c (app_init): Rearrangement for translators.
10852
108532003-10-24  Steffen Macke <sdteffen@web.de>
10854
10855	* lib/text.c(text_key_event): enforcing the inserted text length now,
10856	fix for bug #125348
10857
108582003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10859
10860	* MAINTAINERS: Change Debian maintainer to be the default address.
10861
10862	* objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
10863	args to match prototype, thus removing crashbug #125159.
10864
10865	* RELEASE-PROCESS: Note to self.
10866
108672003-10-22  Steffen Macke <sdteffen@web.de>
10868
10869	* doc/en/dia-manual.xml: removed superfluous external references
10870
108712003-10-21  Steffen Macke <sdteffen@web.de>
10872
10873	* lib/libdia.def: added filter_get_by_name
10874	* app/render_eps.c: moved extensions definition outside #ifdef
10875
108762003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
10877
10878	* Makefile.am:
10879	* dia.1:
10880	Removed old Dia manual, put new one in doc/en/.  Translations
10881	should go in doc/??/.
10882
10883	* doc/en/dia-manual.xml:
10884	* doc/pl/dia-manual.sgml:
10885	* dia.spec (Release):
10886	* config.h.win32:
10887	* configure.in:
10888	* NEWS: 0.92 is here!
10889
10890	* doc/en/dia.dbk:
10891	* doc/en/dia.1:
10892	* doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
10893	HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
10894	but it shall be.
10895
10896	* doc/en/usage-objects.xml: Fixed lower-case PNG tags.
10897
10898	* doc/en/usage-objects-selecting.xml: Commented out empty note.
10899
109002003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10901
10902	* doc/pl/dia-manual.sgml:
10903	* doc/en/dia-manual.xml:
10904	* config.h.win32:
10905	* NEWS:
10906	* configure.in:
10907	* dia.spec (Release): Pre7.
10908
10909	* app/diapsrenderer.c (draw_string): Convert string to print based
10910	on current locale.  If conversion fails, fall back to UTF-8 (which
10911	is almost certain to be messy).
10912
109132003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10914
10915	* doc/pl/dia-manual.sgml:
10916	* dia.spec (Release):
10917	* configure.in:
10918	* NEWS:
10919	* config.h.win32:
10920	* doc/en/dia-manual.xml: Pre6.
10921
10922	* plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
10923	TeX chars in strings -- must be possible to use TeX text in there.
10924	Also avoids infinite loop bug (#124464) Will get option for this
10925	later.
10926
109272003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10928
10929	* shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
10930
10931	* doc/en/dia-manual.xml:
10932	* doc/pl/dia-manual.sgml:
10933	* dia.spec (Release):
10934	* configure.in:
10935	* config.h.win32:
10936	* NEWS: pre5.
10937
10938	* app/authors.h: Removed duplicate of M. C. Nelson.
10939
10940	* plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
10941
10942	* app/export_png.c: Unique name for libart PNG export: png-libart.
10943
10944	* app/render_eps.c: Unique names for the two eps export methods:
10945	eps-builtin, eps-pango.
10946
10947	* lib/filter.h: Binary compatibility change:
10948	Added unique name to export filters.  Can be NULL.
10949	* lib/filter.c (filter_get_by_name): Finding a filter by
10950	non-extension name.
10951
10952	* app/app_procs.h: Changed prototype for do_convert.
10953	* app/app_procs.c (app_init): Support for non-extension file
10954	format selection for export.  Also allow extension to differ from
10955	that specified by the filters.  A bit of refactoring, too.
10956
109572003-09-28  Steffen Macke <sdteffen@web.de>
10958
10959	* makefile.msc: added target po to update the translations
10960
109612003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
10962
10963	* config.h.win32:
10964	* dia.spec (Release):
10965	* NEWS:
10966	* doc/pl/dia-manual.sgml:
10967	* doc/en/dia-manual.xml:
10968	Pre4 is given a short try.
10969
10970	* configure.in: Give all necessary libs to PNG test.
10971
10972	* lib/font.c: Added legacy entries for sans, serif and monospace.
10973
10974	* app/app_procs.c (internal_plugin_init):
10975	* app/render_eps.h:
10976	* app/render_eps.c:
10977	Added PS fonts output for Unix.
10978
10979	* app/diapsrenderer.c (set_font): Adjusted height by the magic .7
10980	factor to make PS fonts stay in boxes.
10981
109822003-08-03  Hans Breuer  <hans@breuer.org>
10983
10984	* config.h.win32 : close the version string
10985
10986	* lib/libdia.def : with color_white, color_black being static
10987	on win32 they can not be exported anymore either
10988
10989	* lib/dialibartrenderer.c : text rendering is back on win32,
10990	only by Gdk though; almost a year seems to be enough to
10991	wait for my patch at bug #94791 to be accepted ...
10992
109932003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10994
10995	* shapes/network/{digitizing_board.png,plotter.png,
10996	laptop.png,telephone.png}: 22x22 icons.
10997
109982003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10999
11000	* doc/pl/dia-manual.sgml:
11001	* doc/en/dia-manual.xml:
11002	* dia.spec (Release):
11003	* configure.in:
11004	* config.h.win32:
11005	* NEWS:
11006	pre3 improves font rendering speed.
11007
11008	* app/app_procs.c (app_init): Don't do pango init here, it's done
11009	on demand in font.c now.
11010
11011	* lib/font.c: Load pango context on demand rather than during
11012	init/all the time strikes a better balance between working font
11013	size and speed.  Still need to cache width calculations.
11014
110152003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
11016
11017	* lib/dia_xml.c: Enable pretty printing.  Should have been added
11018	on 8/12.
11019
110202003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11021
11022	* lib/arrows.c (calculate_arrow_point): Adjust arrow line
11023	adjustment a bit for half diamond and open round.
11024
11025	* RELEASE-PROCESS: Added note about notifying translators and
11026	maintainers.
11027
11028	* doc/pl/dia-manual.sgml:
11029	* doc/en/dia-manual.xml:
11030	* dia.spec (Release):
11031	* configure.in:
11032	* config.h.win32:
11033	* NEWS:
11034	Update to 0.92-pre2.
11035
110362003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
11037
11038	* lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
11039	calculation for half diamond and open round.
11040
11041	* lib/arrows.c:
11042	* objects/UML/component_feature.c:
11043	* lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
11044	arrows instead of specific little hacks.  Much nicer, but damn
11045	there's a lot of arrows.
11046
11047	* lib/dialibartrenderer.c (begin_render):
11048	* app/render_libart.c (begin_render): Use correct DPI for screen
11049	(well, actually the default DPI of 75 for now).
11050
11051	* app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
11052
11053	* lib/diagdkrenderer.c (draw_string): Some reformatting.
11054
11055	* app/app_procs.c (app_init): Note on what should be done for the
11056	pango context now, only it doesn't work:(
11057
11058	* lib/font.c (dia_font_new): Make sure to load fonts that are
11059	used, using a reasonable pango_context.  Also a comment on the
11060	global_zoom_factor,
11061
110622003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
11063
11064	* doc/pl/graphics/*.png:
11065	* doc/pl/Makefile.am: Added graphics to distro, avoiding empty
11066	loop (bug #121817).  PL translator may want to change the
11067	home_network png to be in Polish.  If the docs get translated into
11068	more languages, we'll want to find out how to share these things.
11069
110702003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
11071
11072	* app/splash.c (app_splash_init): Patch from Sébastien Tricaud
11073	<stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
11074	splash.
11075
11076	* app/filedlg.c (file_save_as_callback): Put filename setting
11077	together.  (Preparation for allowing default save dir.)
11078
11079	* app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
11080	correctly this time:)
11081
11082	* app/dia-props.c (diagram_properties_show):
11083	* app/properties.c (properties_show): Make sure the
11084	dialogs are transient for the correct diagram.
11085
110862003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
11087
11088	* configure.in: Make sure -lz -lm is passed into second png test
11089	as well (stupid AC_LINK_IFELSE can't take it as an argument).
11090
11091	* plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
11092	comment-filled files readable.  Once we have a 'generic data'
11093	system, we can put comments in there.
11094
110952003-09-06  Steffen Macke <sdteffen@web.de>
11096
11097	* plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
11098	g_string_sized_new() instead of g_string_new() to make it compile
11099	* app/Makefile.am: including dia.ico and dia.rc in the tarball
11100	* plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
11101	for non-solid linestyles - otherwise custom linestyles have to be used.
11102
111032003-09-02  Steffen Macke <sdteffen@web.de>
11104
11105	* app/commands.c(help_manual_callback): using dia-manual.chm instead of
11106	dia.chm
11107
111082003-09-02  Christian Neumair  <chris@gnome-de.org>
11109
11110	* sheets/Pneumatic.sheet.in: Slight unification fix.
11111
111122003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11113
11114	* config.h.win32:
11115	* configure.in:
11116	* dia.spec (Release):
11117	* doc/en/dia-manual.xml:
11118	* doc/pl/dia-manual.sgml:
11119	* NEWS: Update to 0.92-pre1.
11120
11121	* app/properties.c (properties_key_event): Removing Esc/Enter
11122	handling for now, interferes to much with regular dialog usage.
11123
11124	* plug-ins/pstricks/render_pstricks.c (tex_escape_string):
11125	Function to escape special TeX characters.  Not in use yet, as
11126	PSTricks output by default is TeX strings.  Should get a save-time
11127	selector.
11128
111292008-09-01  Steffen Macke <sdteffen@web.de>
11130
11131	* lib/paper.h: explanatory comment on width and height
11132
111332003-08-30  Steffen Macke <sdteffen@web.de>
11134
11135	* lib/color.c:
11136	* lib/color.h: made color_white, color_black static on win32
11137
111382003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
11139
11140	* configure.in (PNG_LIBS): Something in the png tests added an
11141	extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
11142
111432003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
11144
11145	* configure.in: Quote correctly for temporarily adding freetype
11146	cflags to CPPFLAGS.
11147
11148	* app/preferences.c (prefs_save): Remove debugging g_print.
11149
111502003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
11151
11152	* objects/flowchart/parallelogram.c (pgram_update_data):
11153	Directions for connections, better system for placing
11154	connectionpoints.
11155
111562003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
11157
11158	* lib/diagramdata.c (layer_find_closest_object_except): Look all
11159	the way through the object list, so the foremost object is selected.
11160
11161	* lib/diagramdata.h: Removing dynamic_obj.h, it should only be
11162	included for diagramdata.c.
11163
11164	* lib/prop_text.c (multistringprop_handle_key): Attempt at making
11165	newline in multistringprop not close the dialog.  Failed so far.
11166
111672003-08-25  Steffen Macke <sdteffen@web.de>
11168
11169	* app/commands.c: using CHM instead of HTML on win32 if available
11170	* lib/diagramdata.h: including dynamic_obj.h
11171
111722003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
11173
11174	* app/properties.c (properties_key_event): Make Enter = Ok for
11175	properties dialogs.  Still some problems with this and Esc for
11176	Cancel, for instances escaping out of a menu closes the dialog.
11177
11178	* objects/UML/association.c (association_get_properties):
11179	* objects/UML/class_dialog.c (class_create_page): Grab appropriate
11180	focus.
11181
11182	* app/diapsft2renderer.c (draw_string): Use
11183	dia_font_scaled_build_layout to ensure similarity of text.
11184
11185	* lib/diagramdata.c: Remove obj from dynobj list when removing
11186	from layer to avoid nasty race conditions.
11187
11188	* app/undo.c (group_objects_revert): Make sure to unparent and
11189	remove from dynobj list when changing layers objects.
11190
111912003-08-23  Steffen Macke <sdteffen@web.de>
11192
11193	* plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
11194	StretchBlt(); fixes #92249
11195
111962003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
11197
11198	* app/filedlg.c (file_save_as_callback):
11199	* app/preferences.h:
11200	* app/preferences.c (prefs_data):
11201	* lib/diagramdata.h:
11202	* lib/diagramdata.c (new_diagram_data):
11203	* app/load_save.c (diagram_data_load):
11204	Let the document remember whether it was compressed.  The user can
11205	still override this in the Save As... dialog, and that will still
11206	be remembered as the default for new diagrams.
11207
112082003-08-23  Steffen Macke <sdteffen@web.de>
11209
11210	* plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
11211
112122003-08-22  Steffen Macke <sdteffen@web.de>
11213
11214	* plug-ins/xslt/dia-uml.xsl:
11215	* plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
11216	table containing a list of components grouped by stereotype
11217
112182003-08-21  Steffen Macke <sdteffen@web.de>
11219
11220	* lib/makefile.msc: added connectionpoint.obj
11221	* lib/libdia.def: added connpoint_update, find_slope_directions
11222	* app/disp_callbacks.c: including scroll_tool.h
11223	* obj/makefile.msc: added component_feature.obj
11224	* app/paginate_gdiprint.c: fixed loop initialization in
11225	paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
11226	wrong
11227
112282003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
11229
11230	* plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
11231	move_handle call.
11232
11233	* lib/diagramdata.h: Colors added to prefs.
11234	* lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
11235	New field for pagebreak color, which should
11236	behave the same as grid color and be settable for a diagram.
11237
11238	* app/diagram.c (diagram_init): Update diagram pagebreak color
11239	from prefs.
11240
11241	* app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
11242	colors.
11243
11244	* app/preferences.[ch]: Default diagram colors now #defines, so
11245	loading can use it.  Also, colors are now in NewDiagramData, so
11246	are passed nicely into new diagrams directly from prefs.  Yum.
11247
11248	* app/load_save.c (diagram_data_write_doc, diagram_data_load):
11249	Support for loading and saving grid and pagebreak colors with the
11250	diagram.  I'm inclined to make all the three Colors in diagram
11251	Color*s instead, so we can tell if they're specified for the
11252	diagram or merely the default setting.  There'd be no way for the
11253	user to tell if the color of a diagram is default, though, unless
11254	we add a 'reset to default' button to prefs.
11255
11256	* app/dia-props.c: Adding widgets for dynamic grid, grid colour,
11257	pagebreak color.  Unsensitizing grid size when dynamic.
11258
11259	* objects/UML/component.c: Patch from Krzysztof Foltman
11260	<kfoltman@onet.pl>: Add two new connectionpoints and adjust a
11261	third.  Makes the left side connections actually be on the line
11262	(gasp!).
11263
112642003-08-20  Steffen Macke <sdteffen@web.de>
11265
11266	* lib/libdia.def: added layer_find_closest_object_except
11267	* lib/diagramdata.c: added ; after GOTO to make MSVC compile
11268
112692003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
11270
11271	* app/tool.h:
11272	* app/tool.c:
11273	* app/scroll_tool.c:
11274	* app/interface.c:
11275	* app/disp_callbacks.c:
11276	* app/create_object.h:
11277	* app/create_object.c: Patch from Krzysztof Foltman
11278	<kfoltman@onet.pl>: Middle button can scroll transiently when
11279	menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
11280	various ways.
11281
11282	* app/authors.h:
11283	* sheets/UML.sheet.in:
11284	* sheets/UML/receptacle.xpm:
11285	* sheets/UML/Makefile.am:
11286	* sheets/UML/eventsource.xpm:
11287	* sheets/UML/eventsink.xpm:
11288	* objects/UML/pixmaps/facet.xpm:
11289	* objects/UML/uml.c (dia_plugin_init):
11290	* objects/UML/Makefile.am (libuml_objects_la_SOURCES):
11291	* objects/UML/component_feature.c:
11292	Patch from W. Borgert <debacle@debian.org>:  Add event sources and
11293	event sinks.
11294
112952003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
11296
11297	* lib/object.h: Turning some comments into doxygen style.
11298
11299	* lib/object_defaults.c (dia_object_defaults_load)
11300	(dia_object_default_get, dia_object_default_create):
11301	Fixing up existing documentation.
11302
11303	* lib/object.h: Doxygen style documentation begun.
11304
11305	* app/create_object.c:
11306	* app/undo.c:
11307	* app/connectionpoint_ops.c:
11308	* app/disp_callbacks.c:
11309	* app/modify_tool.c:
11310
11311	* objects/network/wanlink.c (wanlink_move_handle):
11312	* objects/network/bus.c (bus_move_handle):
11313
11314	* objects/flowchart/parallelogram.c (pgram_move_handle):
11315	* objects/flowchart/ellipse.c (ellipse_move_handle):
11316	* objects/flowchart/diamond.c (diamond_move_handle):
11317	* objects/flowchart/box.c (box_move_handle):
11318
11319	* objects/custom/custom_object.c (custom_move_handle):
11320
11321	* objects/chronogram/chronoref.c (chronoref_move_handle):
11322	* objects/chronogram/chronoline.c (chronoline_move_handle):
11323
11324	* objects/SADT/box.c (sadtbox_move_handle):
11325	* objects/SADT/arrow.c (sadtarrow_move_handle):
11326	* objects/SADT/annotation.c (annotation_move_handle):
11327
11328	* objects/Misc/analog_clock.c (analog_clock_move_handle):
11329
11330	* objects/GRAFCET/vergent.c (vergent_move_handle):
11331	* objects/GRAFCET/vector.c (arc_move_handle):
11332	* objects/GRAFCET/transition.c (transition_move_handle):
11333	* objects/GRAFCET/step.c (step_move_handle):
11334	* objects/GRAFCET/condition.c (condition_move_handle):
11335	* objects/GRAFCET/action.c (action_move_handle):
11336
11337	* objects/FS/function.c:
11338	* objects/FS/flow.c:
11339	* objects/FS/flow-ortho.c (orthflow_move_handle):
11340	* objects/FS/flow-poly.c (flow_move_handle):
11341
11342	* objects/UML/usecase.c (usecase_move_handle):
11343	* objects/UML/state_term.c (state_move_handle):
11344	* objects/UML/state.c (state_move_handle):
11345	* objects/UML/small_package.c (smallpackage_move_handle):
11346	* objects/UML/realizes.c (realizes_move_handle):
11347	* objects/UML/object.c (objet_move_handle):
11348	* objects/UML/note.c (note_move_handle):
11349	* objects/UML/node.c (node_move_handle):
11350	* objects/UML/message.c (message_move_handle):
11351	* objects/UML/lifeline.c (lifeline_move_handle):
11352	* objects/UML/large_package.c (largepackage_move_handle):
11353	* objects/UML/implements.c (implements_move_handle):
11354	* objects/UML/generalization.c (generalization_move_handle):
11355	* objects/UML/fork.c (fork_move_handle):
11356	* objects/UML/dependency.c (dependency_move_handle):
11357	* objects/UML/constraint.c (constraint_move_handle):
11358	* objects/UML/compprop.c (compprop_move_handle):
11359	* objects/UML/component.c (component_move_handle):
11360	* objects/UML/branch.c (branch_move_handle):
11361	* objects/UML/association.c (association_move_handle):
11362	* objects/UML/actor.c (actor_move_handle):
11363	* objects/UML/activity.c (state_move_handle):
11364	* objects/UML/class.c (umlclass_move_handle):
11365
11366	* objects/standard/ellipse.c (ellipse_move_handle):
11367	* objects/standard/zigzagline.c (zigzagline_move_handle):
11368	* objects/standard/textobj.c (textobj_move_handle):
11369	* objects/standard/polyline.c (polyline_move_handle):
11370	* objects/standard/polygon.c (polygon_move_handle):
11371	* objects/standard/line.c (line_move_handle):
11372	* objects/standard/image.c (image_move_handle):
11373	* objects/standard/bezier.c (bezierline_move_handle):
11374	* objects/standard/arc.c (arc_move_handle):
11375	* objects/standard/beziergon.c (beziergon_move_handle):
11376	* objects/standard/box.c (box_move_handle):
11377
11378	* objects/ER/relationship.c (relationship_move_handle):
11379	* objects/ER/participation.c (participation_move_handle):
11380	* objects/ER/entity.c (entity_move_handle):
11381	* objects/ER/attribute.c (attribute_move_handle):
11382
11383	* lib/polyshape.c (polyshape_move_handle):
11384	* lib/polyshape.h:
11385	* lib/orth_conn.c (orthconn_move_handle):
11386	* lib/orth_conn.h:
11387	* lib/neworth_conn.c (neworthconn_move_handle):
11388	* lib/neworth_conn.h:
11389	* lib/element.c (element_move_handle):
11390	* lib/element.h:
11391	* lib/connection.c (connection_move_handle):
11392	* lib/connection.h:
11393	* lib/beziershape.c (beziershape_move_handle):
11394	* lib/beziershape.h:
11395	* lib/bezier_conn.c (bezierconn_move_handle):
11396	* lib/bezier_conn.h:
11397	*BINARY COMPATIBILITY CHANGE*
11398	Update prototype for *_move_handle() to include connectionpoint,
11399	and also pass on modifiers.  Pass in connectionpoint where
11400	applicable.
11401
11402	* lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
11403	file connectionpoint.c.
11404
114052003-08-17  Danilo Šegan  <dsegan@gmx.net>
11406
11407	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
11408
114092003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
11410
11411	* lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
11412
11413	* lib/beziershape.c (beziershape_update_data): Autoroute
11414	directions for beziershapes!
11415
11416	* lib/connectionpoint.c (find_slope_directions):
11417	* lib/connectionpoint.h: Function for finding the available
11418	directions on a slope.
11419
11420	* lib/polyshape.c: Reasonable directions for
11421	connectionpoints.
11422
114232003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
11424
11425	* objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
11426	* objects/GRAFCET/vergent.c (vergent_update_data):
11427	* objects/GRAFCET/transition.c (transition_update_data):
11428	* objects/GRAFCET/action.c (action_update_data):
11429	* objects/GRAFCET/step.c (step_update_data):
11430	* objects/FS/function.c (function_update_data):
11431	* lib/connpoint_line.c (connpointline_putonaline):
11432	* objects/ER/attribute.c (attribute_update_data):
11433	* objects/ER/entity.c (entity_update_data):
11434	* objects/ER/relationship.c (relationship_update_data):
11435	* objects/chronogram/chronoline.c (chronoline_update_data): Set
11436	directions for connection points.
11437
11438	* objects/UML/component.c (component_create): Set to allow
11439	parenting.
11440
11441	* app/create_object.c (create_object_button_press):
11442	* app/diagram.[ch] (diagram_find_clicked_object_except):
11443	* lib/diagramdata.[ch] (layer_find_closest_object_except):
11444	Avoid parenting to objects you're connecting to (otherwise you
11445	couldn't make a connection out of a parenting object).  To do
11446	this, added functions to find the nearest object except a given
11447	list of objects.
11448
11449	* app/render_libart.c: Rearrange libart include to avoid multiple
11450	include program (and put libart includes inside #ifdef!)
11451
114522003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11453
11454	* lib/dialibartrenderer.c: Don't include art_config.h if others
11455	also do, as it isn't #ifdef'd.
11456
11457	* objects/flowchart/ellipse.c (ellipse_update_data): Add
11458	directions for connection points.
11459
114602003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11461
11462	* objects/flowchart/box.c (box_update_data): Add directions, use
11463	connpoint_update.
11464	(box_load): Use g_malloc0.
11465
11466	* lib/Makefile.am (libdia_la_SOURCES):
11467	* lib/connectionpoint.c (connpoint_update):
11468	Function to call to update a connection point info in _update_data().
11469
11470	* lib/connectionpoint.h: Convenience DIR_ macros.
11471
11472	* app/preferences.c (prefs_data): Make pretty formatted XML the
11473	default.
11474
11475	* lib/dialibartrenderer.c:
11476	* app/render_libart.c: Make sure art_config.h is included, cause
11477	some libart headers are broken.
11478
11479	* configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
11480	after test.  Add freetype-config cflags to cflags variable.
11481
114822003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11483
11484	* app/authors.h: Credits for Krzysztof.
11485
11486	* sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
11487	Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
11488	than the description) is visible in the title of the properties
11489	dialog.  That ought to be a short description (translatable),
11490	though we still want long descriptions for the tooltips.  Hmmm...
11491
11492	* configure.in: Updated to use AC_LINK_IFELSE instead of
11493	AC_TRY_COMPILE, also force to link to check libs on Solaris.
11494
11495	* objects/ER/entity.c (entity_load):
11496	* objects/ER/attribute.c (attribute_load):
11497	* lib/attributes.c (attributes_set_default_font):
11498	Check if font is non-null before unreffing.
11499
115002003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
11501
11502	* app/diagram.c (diagram_ungroup_selected)
11503	(diagram_group_selected): Use the undo apply to make sure grouping
11504	and ungrouping is done in consistent manners.  This removes a fair
11505	amount of duplicated code from diagram.c.
11506
11507	* app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
11508	(group_objects_revert, group_objects_apply): Working undo/redo for
11509	diagram tree updates.  The initial actions still don't quite work.
11510
115112003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
11512
11513	* app/create_object.c (create_object_button_press):
11514	* app/undo.[ch]:
11515	* app/diagram.c: Undo support for parenting.  Uses apply/revert in
11516	undo only for manipulating the parent/child relationships.  Things
11517	like removing an object doesn't use the undo functions for
11518	parenting, so any updates to come (like to diagramtree) should be
11519	done in those, too.
11520
115212003-08-03  Hans Breuer  <hans@breuer.org>
11522
11523	* app/create_object.c : minor formating and g_new0 for
11524	tool creation
11525
11526	* lib/bezier_conn.[hc] lib/beziershape.[hc]
11527	  lib/prop_geomtypes.c (prop_geomtypes_register)
11528	  objects/standard/bezier.c objects/standard/beziergon.c :
11529	ability to set bezpoints via StdProp api
11530
11531	* plug-ins/python/pydia-property.c : convert list of tuples
11532	to BEZPOINTARRAY
11533
11534	*  plug-ins/python/diasvg_import.py : use it to
11535	implement part of path parsing. Also minor improvements
11536	like inheritance of group attributes to members,
11537	whitespace, title and style:text/css ignoring ;-)
11538
115392003-08-02  Hans Breuer  <hans@breuer.org>
11540
11541	* lib/connections.c (connection_move_handle): return
11542	something to make it compile
11543	* lib/object.c(190) : error C4033: 'object_list_move_delta_r'
11544	must return a value -> dito
11545	[Is there a warnings-as-errors switch we could use with gcc
11546	 to avoid such in future ?]
11547
11548	* plug-ins/python/pydia-object.h : define *_Check macros
11549	* plug-ins/python/diamodule.c : provide dia.group_create()
11550	* plug-ins/python/pydia-diagramdata.c : add
11551	DiaDiagramData.add_layer()
11552	* plug-ins/python/pydia-property.c : allow to set color by
11553	tuple of doubles
11554
11555	*  plug-ins/python/diasvg_import.py : based on the above
11556	implement a) group support, b) rgb(1,2,3) color handling,
11557	and somewhat fishy data:image/png;base64 support (create
11558	temporary files from inline image data)
11559	d) dump the import errors as text into an 'Error' layer
11560
11561	*  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
11562	stray " in draw_rect and corrected error message formating
11563
11564	* plug-ins/pydia/pydia-geometry.c : removed ## to make it
11565	compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
11566	Jacobowitz.
11567
115682003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
11569
11570	* app/magnify.c (create_magnify_tool): allocate with g_new0()
11571
11572	* app/preferences.c (prefs_create_dialog): use checkboxes for boolean
11573	preferences values (see bug 118570). Also group items into a GtkFrame.
11574
115752003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
11576
11577	* app/menus.c:
11578	* app/menus.h:
11579	* app/commands.h:
11580	* app/commands.c (objects_unparent_children_callback):
11581	* app/diagram.h:
11582	* app/diagram.c (diagram_unparent_selected,
11583	(diagram_update_menu_sensitivity):
11584	Added unparenting of single children.
11585
11586	* lib/bezier_conn.c:
11587	* lib/bezier_conn.h:
11588	* lib/beziershape.c:
11589	* lib/beziershape.h:
11590	* lib/connection.c:
11591	* lib/connection.h:
11592	* lib/element.c:
11593	* lib/element.h:
11594	* lib/group.c:
11595	* lib/neworth_conn.c:
11596	* lib/neworth_conn.h:
11597	* lib/object.h:
11598	* lib/orth_conn.h:
11599	* lib/poly_conn.c:
11600	* lib/poly_conn.h:
11601	* lib/polyshape.c:
11602	* lib/polyshape.h:
11603	* objects/EML/instantiation.c:
11604	* objects/EML/interaction-ortho.c:
11605	* objects/EML/interaction.c:
11606	* objects/EML/process.c:
11607	* objects/ER/attribute.c:
11608	* objects/ER/entity.c:
11609	* objects/ER/participation.c:
11610	* objects/ER/relationship.c:
11611	* objects/FS/flow-ortho.c:
11612	* objects/FS/flow-poly.c:
11613	* objects/FS/flow.c:
11614	* objects/FS/function.c:
11615	* objects/GRAFCET/action.c:
11616	* objects/GRAFCET/condition.c:
11617	* objects/GRAFCET/step.c:
11618	* objects/GRAFCET/transition.c:
11619	* objects/GRAFCET/vector.c:
11620	* objects/GRAFCET/vergent.c:
11621	* objects/Misc/analog_clock.c:
11622	* objects/SADT/annotation.c:
11623	* objects/SADT/arrow.c:
11624	* objects/SADT/box.c:
11625	* objects/UML/activity.c:
11626	* objects/UML/actor.c:
11627	* objects/UML/association.c:
11628	* objects/UML/branch.c:
11629	* objects/UML/class.c:
11630	* objects/UML/classicon.c:
11631	* objects/UML/component.c:
11632	* objects/UML/constraint.c:
11633	* objects/UML/dependency.c:
11634	* objects/UML/fork.c:
11635	* objects/UML/generalization.c:
11636	* objects/UML/implements.c:
11637	* objects/UML/large_package.c:
11638	* objects/UML/lifeline.c:
11639	* objects/UML/message.c:
11640	* objects/UML/node.c:
11641	* objects/UML/note.c:
11642	* objects/UML/object.c:
11643	* objects/UML/realizes.c:
11644	* objects/UML/small_package.c:
11645	* objects/UML/state.c:
11646	* objects/UML/state_term.c:
11647	* objects/UML/usecase.c:
11648	* objects/chronogram/chronoline.c:
11649	* objects/chronogram/chronoref.c:
11650	* objects/custom/custom_object.c:
11651	* objects/flowchart/box.c:
11652	* objects/flowchart/diamond.c:
11653	* objects/flowchart/ellipse.c:
11654	* objects/flowchart/parallelogram.c:
11655	* objects/network/bus.c:
11656	* objects/network/wanlink.c:
11657	* objects/standard/arc.c:
11658	* objects/standard/bezier.c:
11659	* objects/standard/beziergon.c:
11660	* objects/standard/box.c:
11661	* objects/standard/ellipse.c:
11662	* objects/standard/image.c:
11663	* objects/standard/line.c:
11664	* objects/standard/polygon.c:
11665	* objects/standard/polyline.c:
11666	* objects/standard/textobj.c:
11667	* objects/standard/zigzagline.c:
11668	Binary compatibility update:  Added return value for foo_move() and
11669	foo_move_handle().  Orthconn derivatives also returns change from
11670	orthconn_move_handle().
11671
11672	* lib/orth_conn.c: Undo support for autorouting.  Neworthconn
11673	doesn't support it yet.
11674
11675	* lib/object.c (object_list_move_delta_r, object_list_move_delta):
11676	Add returning ObjectChange from object moves.  Needs to handle
11677	multiple object moves.
11678
11679	* app/modify_tool.c (modify_motion, modify_release): Add
11680	ObjectChange from move & move_handle to undo stack.
11681
11682	* objects/EML/instantiation.c (instantiation_move): Removing
11683	duplicate move & update.
11684
116852003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11686
11687	* plug-ins/xfig/xfig-export.c: Added support for arrow head
11688	export.  Many arrow types not supported by XFig, replacing those
11689	with standard arrows.  Not sure whether it'd be better to render
11690	them as a group of lines instead.  You'd lose the arrow-ness for
11691	further editing, but preserve the actual shape of it.  Also added
11692	support for dash length.
11693
11694	* plug-ins/xfig/xfig-import.c: Added support for dash length settings.
11695
11696	* plug-ins/xfig/fig-format-3.2: Added copy of Fig format
11697	description for version 3.2, for reference.
11698
11699	* plug-ins/xfig/xfig-import.c: Added import of arrows.
11700
11701	* app/menus.c: Removed prefs item from Gnome diagram menu.  Made
11702	Align Vertical Adjacent call _v rather than _h.
11703
117042003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
11705
11706	* app/scroll_tool.c (create_scroll_tool):
11707	* app/modify_tool.c (create_modify_tool): use g_new0() to
11708	initialize the tool
11709
117102003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
11711
11712	* configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
11713
117142003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
11715
11716	* configure.in: Added Macedonian (mk) to ALL_LINGUAS
11717
117182003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
11719
11720	* configure.in: Added Belarusian to ALL_LINGUAS.
11721
117222003-07-19  Hans Breuer  <hans@breuer.org>
11723
11724	[
11725	 Make the xslt plug-in work on win32, too. It appears
11726	 to require a quite recent version of libxml and libxslt,
11727	 otherwise windoze pathes aren't translated correctly
11728	 during file processing
11729	]
11730
11731	* plug-ins/xslt/xslt.h : #include <glib.h> before
11732	using G_OS_WIN32
11733
11734	* plug-ins/xslt/xslt.c : plugged some memory leaks and do
11735	the 'script' file finding similar to how it is done
11736	with the python scripts (no need for hardcoded pathes,
11737	removed the 'plugin' part from the path)
11738
11739	* plug-ins/xslt/stylesheets.xml : added again. It does
11740	not have any path but only the pure filename again
11741
11742	* plug-ins/xslt/stylesheets.xml.in : removed
11743
11744	* plug-ins/xslt/Makefile.am : removed 'plugin' and the
11745	rule to process stylesheets.xml.in
11746
11747	* plug-ins/makefile.msc : added xslt
11748
117492003-07-19  Hans Breuer  <hans@breuer.org>
11750
11751	Finally Dia learned to remember the recent selected sheet
11752
11753	* app/preferences.[hc] : added prefs.recent_sheet
11754	* app/interface.c : restore and remember the sheet-option-menu
11755	history, but only if the respective number is stiil available.
11756	This additional adds robustness against running Dia without
11757	any sheet (e.g. installation problems)
11758	* app/app_procs.c : call prefs_safe() in app_exit() to remember
11759	changes which are not done by the prefernces dialog
11760
11761	* app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
11762	removed every call (especially the conditional ones) to prefs_safe().
11763	Before prefs_safe() was called _many_ times during Dia startup
11764
117652003-07-18  Hans Breuer  <hans@breuer.org>
11766
11767	* app/makefile.msc lib/makefile.msc lib/libdia.def :
11768	updated win32 build
11769
11770	* lib/color.c : use gtk_widget_get_default_visual();
11771	as suggested in #114536
11772
11773	* app/interface.c app/disp_callbacks.c :
11774	moved round_up () to the latter file where it is used
11775
11776	* app/linewidth_area.c : #include "interface.h" for
11777	interface_get_toolbox_shell()
11778
117792003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
11780
11781	* plug-ins/pixbuf/.cvsignore
11782	* shapes/Cisco/.cvsignore:
11783	added cvsignore
11784
117852003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
11786
11787	* app/dia-props.c (diagram_properties_retrieve): Use
11788	diagram_get_name() to add the diagram name to the diagram
11789	properties dialog.
11790
11791	* app/diagram.h:
11792	* app/diagram.c (diagram_get_name): New function to get a
11793	reasonable diagram name.
11794
11795	* lib/diagramdata.h: Added major_lines, dynamic and colour to grid
11796	info.  Still need to be able to set dynamic grid.  Also ought to
11797	follow Gnome style and have instant apply.
11798
11799	* app/preferences.h:
11800	* app/preferences.c (prefs_data): Remove option to use stippled
11801	grid, add option for major line offset.  Default to 5 minor lines
11802	per major line.
11803	Add option for dynamically sized grid.
11804
11805	* app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
11806
11807	* app/grid.c: Pagebreak drawing separated out.  Grid drawing using
11808	stippled/solid to display minor/major grid lines.  Line drawing in
11809	separate functions away from calculating line distance.
11810
11811	* app/grid.h: Split page break drawing out of grid_draw.
11812
11813	* app/layer_dialog.c (layer_dialog_show): Patch from Hubert
11814	Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
11815	when menu item is selected.
11816
118172003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
11818
11819	* configure.in: Removed -Winline flag to make way for important
11820	warnings.
11821
11822	* samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
11823	non-compressed.  Should fix bug #117381, also look prettier.
11824
11825	* Makefile.am:
11826	* dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
11827	Set up desktop info more properly.
11828
118292003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11830
11831	* activity.c:
11832	* actor.c:
11833	* branch.c:
11834	* class.c:
11835	* classicon.c:
11836	* component.c:
11837	* large_package.c:
11838	* lifeline.c:
11839	* node.c:
11840	* note.c:
11841	* object.c:
11842	* small_package.c:
11843	* state.c:
11844	* state_term.c:
11845	* usecase.c:
11846	Autorouting directions patch from Krzysztof Foltman
11847	<kfoltman@onet.pl>.
11848
11849	* app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
11850	GNOME parent menu items.
11851
11852	* app/authors.h: Added Vadim to contributors list.
11853
118542003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11855
11856	* app/commands.[ch]:
11857	* app/create_object.c:
11858	* app/disp_callbacks.[ch]:
11859	* app/diagram.[ch]:
11860	* app/interface.c:
11861	* app/load_save.c:
11862	* app/menus.[ch]:
11863	* app/modify_tool.c
11864	* app/undo.[ch]:
11865	* lib/Makefile.am:
11866	* lib/group.c:
11867	* lib/object.[ch]:
11868	* lib/parent.[ch]:
11869	* objects/UML/large_package.c: Patch from Vadim Berezniker
11870	<vadim@berezniker.com>:
11871	Objects may "parent" other objects, i.e. contain them within
11872	themselves, restrain them and move them along.  Some more stuff is
11873	needed, such as selection and individual unparenting.  This adds
11874	parenting to UML - Large Package rather than Box.
11875
118762003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11877
11878	* app/linewidth_area.c: Patch from Krzysztof Foltman
11879	<kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
11880	conform more, at least:).
11881
11882	* plug-ins/metapost/render_metapost.[ch] : Applied patch from
11883	Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
11884	arcs.  Implemented images (though there is some pixelization and
11885	banding in the output).  Changed output file format to be a little
11886	more readable.
11887
11888	* app/app_procs.c (app_exit): Added message for double exit, which
11889	shouldn't happen any more.  Also preventing strange g_object_unref
11890	messages by having a printf after gtk_main_quit.  This is really
11891	weird.
11892
11893	* app/interface.c (toolbox_delete): Avoid double app_exit call by
11894	removing handler for destroy when delete is called.
11895
118962003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
11897
11898	* app/display.h:
11899	* app/display.c (ddisplay_scroll_to_object,
11900	ddisplay_scroll_center_point):  New function for easy scrolling to
11901	object or point.
11902
119032003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
11904
11905	* plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
11906	$(srcdir) on stylesheets.xml.
11907
11908	* app/menus.c: Patch from Hubert Figuiere: Adds help menu to
11909	diagram menus (since they're at the top by default now).  Also
11910	move the Properties... menu item from Dialogs to Objects.  Dialogs
11911	menu should disappear at some point.
11912
11913	* autogen.sh: Patch from Hubert Figuiere: Don't automatically call
11914	./configure from ./autogen.sh, as configure may need to be run
11915	from a different directory.  (Also more standard this way.)
11916
11917	* app/app_procs.c (app_init):
11918	* app/Makefile.am (INCLUDES): Gnome standardization patch from
11919	Alex.
11920
119212003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
11922
11923	* objects/flowchart/parallelogram.c (pgram_update_data):
11924	Left/right alignment for parallelograms.  Doesn't use all
11925	available space, but then pgrams also ignore their shear value.
11926	This thing needs a loving hand.
11927
119282003-07-01  Hans Breuer  <hans@breuer.org>
11929
11930	* lib/properties.h : introduce PROP_FLAG_OPTIONAL
11931	* lib/proplist.c : don't complain if optional attr is missing
11932	* lib/orth_conn.h : make "orth_autoroute" optional to
11933	stop complaining with older files.
11934
119352003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
11936
11937	* configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
11938
119392003-06-05  Andrew Halper  <ashalper@cox.net>
11940
11941	* app/diagram_tree.c : add scrolling of drawing area
11942	to desired object on "Locate".  Patch modified to use new ddisplay
11943	function ddisplay_scroll_to_object().
11944
119452003-06-11  Lars Clausen  <lars@raeder.dk>
11946
11947	* lib/diagramdata.h: Added major_lines, dynamic and colour to grid
11948	info.  Before next version, the grid dialog (view dialog, really)
11949	must be redone to allow a) instant apply, b) apply to all
11950	diagrams, and c) setting colour, dynamic, major lines.
11951
11952	* app/preferences.h:
11953	* app/preferences.c (prefs_data): Remove option to use stippled
11954	grid, add option for major line offset.  Default to 5 minor lines
11955	per major line.
11956	Add option for dynamically sized grid.
11957
11958	* app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
11959
11960	* app/grid.c: Pagebreak drawing separated out.  Grid drawing using
11961	stippled/solid to display minor/major grid lines.  Line drawing in
11962	separate function away from calculating line distance.
11963
11964	* app/grid.h: Split page break drawing out of grid_draw.
11965
119662003-05-15  Hans Breuer  <hans@breuer.org>
11967
11968	* plug-ins/python/diasvg.py : add xlink definition,
11969	also avoid to put spaces into attribute values. At least
11970	Sodipodi doesn't like them in width/height attributes
11971
11972	* plug-ins/python/diasvg_import.py : add simple scaling.
11973	Some (more) handling for <svg>, <desc>, <circle>
11974
11975	* plug-ins/python/scascale.py : (new file) which does
11976	some experimental scaling via StdProp api
11977
11978	* plug-ins/python/pydia-cpoint.c
11979	  plug-ins/python/pydia-handle.c : return PyDiaPoint for
11980	obj.pos not simple tuples. PyDiaPoint has a tuple interface
11981	so this may even be api compatible ...
11982
119832003-05-11  Hans Breuer  <hans@breuer.org>
11984
11985	* app/line_area.c : add window position persitence
11986
11987	* lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
11988	'poly_points' via StdProp api
11989	* lib/neworth_conn.h : don't rely on OrthConn and
11990	NewOrtConn having the same struct offsets
11991
11992	* lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
11993	to help separating 'useful' properies - in terms of
11994	the PyDia access
11995
11996	* objects/custom/custom_object.c
11997	  objects/UML/*.c
11998	add the missing prop_desc_list_calculate_quarks to
11999	all the *_describe_props()
12000
12001	* objects/standard/beziergon.c objects/standard/bezier.c :
12002	explicit initializtion of default_user_data
12003	* objects/standard/polygon.c objects/standard/polyline.c :
12004	Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
12005
12006	* plug-ins/python/diamodule.c : implement dia.register_import
12007
12008	* plug-ins/python/makefile.msc : need to link with Pango
12009	for pango_color_parse()
12010
12011	* plug-ins/python/pydia-property.c : add a bunch of type
12012	conversions to PyDiaProperty_ApllyToObject()
12013
12014	* plug-ins/python/diasvg_import.py : (new file) which currently
12015	is mainly a stress test for PyDia but for some files already
12016	produces better results than svg-import.c
12017
120182003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
12019
12020	* objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
12021	type-less operations.
12022
12023003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
12024
12025        * configure.in(ALL_LINGUAS): Added "ms".
12026
120272003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12028
12029	* plug-ins/xslt/xslt.c (xslt_ok):
12030	* plug-ins/shape/shape-export.c (new_shape_renderer):
12031	* plug-ins/svg/render_svg.c (new_svg_renderer):
12032	* plug-ins/hpgl/hpgl.c (export_data):
12033	* plug-ins/dxf/dxf-export.c (export_dxf):
12034	* plug-ins/metapost/render_metapost.c (export_metapost):
12035	* plug-ins/pstricks/render_pstricks.c (export_pstricks):
12036	* plug-ins/xfig/xfig-export.c (export_fig):
12037	* plug-ins/wpg/wpg.c (export_data):
12038	* plug-ins/cgm/cgm.c (export_cgm):
12039	* app/render_eps.c (export_eps):
12040	* app/export_png.c (export_png_ok):
12041	* app/load_save.c (diagram_data_save): Adding and standardizing
12042	output file error messages to include fopen error message.
12043
120442003-05-01  Steffen Macke <sdteffen@web.de>
12045
12046	* app/persistence.c: do not use unistd.h for MSVC build
12047
120482003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
12049
12050	* sheets/Assorted.sheet.in
12051	* sheets/Circuit.sheet.in
12052	* sheets/Contact.sheet.in
12053	* sheets/EML.sheet.in
12054	* sheets/ER.sheet.in
12055	* sheets/Electric.sheet.in
12056	* sheets/FS.sheet.in
12057	* sheets/Flowchart.sheet.in
12058	* sheets/GRAFCET.sheet.in
12059	* sheets/Logic.sheet.in
12060	* sheets/MSE.sheet.in
12061	* sheets/Misc.sheet.in
12062	* sheets/Pneumatic.sheet.in
12063	* sheets/SADT.sheet.in
12064	* sheets/SDL.sheet.in
12065	* sheets/UML.sheet.in
12066	* sheets/chronogram.sheet.in
12067	* sheets/ciscohub.sheet.in
12068	* sheets/ciscomisc.sheet.in
12069	* sheets/cisconetwork.sheet.in
12070	* sheets/ciscorouter.sheet.in
12071	* sheets/civil.sheet.in
12072	* sheets/network.sheet.in
12073	* sheets/sybase.sheet.in:
12074	Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
12075	standardizes shape descriptions to use no articles, no 'create
12076	...'.
12077
12078	* app/interface.c (tool_data): Standard objects follow same
12079	standard as sheets.
12080
120812003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
12082
12083	* app/color_area.c (color_area_edit): More informative title on
12084	color selection dialog.
12085
12086	* app/disp_callbacks.c (ddisplay_drop_object): Update menu
12087	sensitivity when dropping object in.  Also reset tool to pointer.
12088
12089	* objects/flowchart/diamond.c (diamond_update_data):
12090	* objects/flowchart/parallelogram.c (pgram_update_data): Added
12091	left and right alignment options.
12092
120932003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
12094
12095	* objects/flowchart/box.c: Added left and right alignment options.
12096
120972003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
12098
12099	* app/persistence.c (persistence_load): Test existence of
12100	persistence file before trying to open it.
12101
121022003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
12103
12104	* app/properties.c: Escape now closes properties dialogs.
12105
121062003-04-25  Hans Breuer  <hans@breuer.org>
12107
12108	* app/config.h.win32 : bump version to 0.91+cvs
12109
12110	* app/makefile.msc lib/makefile.msc lib/libdia.def : updated
12111
12112	* lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
12113
12114	* app/commands.c : don't leak "netscape" if getenv("BROWSER")
12115	returns NULL
12116
12117	* app/presistence.c : need to #include "dia_xml_libxml.h"
12118	for xmlDiaParseFile
12119
12120	* app/layer_dialog.c : make delayed creation work by protecting
12121	all non static layer_dialog_*() with :
12122	   if (layer_dialog == NULL || layer_dialog->dialog == NULL)
12123	     create_layer_dialog();
12124	* app/app_procs.c : removed /* create_layer_dialog(); */
12125
12126	* objects/uml/association.c : give it a minimal StdProp
12127	implementation to fix bug #108896
12128	* lib/object_defaults.c : don't try to copy props if there
12129	is no obj->ops->describe_props
12130
121312003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
12132
12133	* objects/standard/image.c (image_create):
12134	* objects/standard/ellipse.c (ellipse_create):
12135	* objects/standard/box.c (box_create):
12136	* objects/flowchart/ellipse.c (ellipse_create):
12137	* objects/flowchart/diamond.c (diamond_create):
12138	* objects/flowchart/box.c (box_create):
12139	* objects/custom/custom_object.c (custom_create):
12140	* objects/ER/relationship.c (relationship_create):
12141	* objects/ER/entity.c (entity_create):
12142	* objects/ER/attribute.c (attribute_create): Initialize
12143	elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
12144
12145	* lib/dia_svg.c (dia_svg_parse_style): Added case to set center
12146	alignment.
12147
12148	* configure.in:
12149	* plug-ins/Makefile.am:
12150	* plug-ins/xslt/Makefile.am:
12151	* plug-ins/xslt/xslt.c (dia_plugin_init):
12152	Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
12153	automake-style if to only include xslt dir when needed.  Works
12154	with automake 1.4 and up, at least.
12155
121562003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
12157
12158	* lib/diasvgrenderer.c (draw_string):
12159	* lib/dia_svg.c (dia_svg_parse_style): Use
12160	text-anchor:(start|middle|end).
12161
12162	* lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
12163	polygon rather than polyline & avoid missing line pieces.
12164	(get_draw_style): Set fill-opacity to 0 on draw_style to avoid
12165	black-filled things.
12166
121672003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
12168
12169	* app/persistence.c (persistence_load): Check that persistence
12170	file exists before trying to read it.
12171	(persistence_update_window): Removed printf.
12172
12173	* objects/GRAFCET/step.c: Don't copy defaults for name and id.
12174
12175	* lib/autoroute.c: Take badness into the layouters again, as some
12176	of them know they can do things that are pretty but would be
12177	counted as ugly by the default calculation.
12178
12179	* objects/UML/large_package.c: Shrink package name box when no
12180	stereotype is present.
12181
12182	* lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
12183	* lib/orth_conn.c: Added object menu item for autorouting.
12184
12185	* objects/FS/flow-ortho.c (orthflow_get_object_menu):
12186	Autorouting, plus set initial dragging handle to be the end, not
12187	the middle.
12188	(orthflow_draw): Flipped arrow place to be at the end, as
12189	originally intended (got lost in arrow update).
12190
12191	* objects/standard/zigzagline.c (zigzagline_get_object_menu):
12192	* objects/UML/dependency.c (dependency_get_object_menu):
12193	* objects/UML/association.c (association_get_object_menu):
12194	* objects/UML/realizes.c (realizes_get_object_menu):
12195	* objects/SADT/arrow.c (sadtarrow_get_object_menu):
12196	* objects/GRAFCET/vector.c (arc_get_object_menu):
12197	* objects/ER/participation.c (participation_get_object_menu):
12198	* objects/EML/instantiation.c (instantiation_get_object_menu):
12199	* objects/UML/generalization.c (generalization_get_object_menu):
12200	* objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
12201	Autorouting setup (currently disabled for SADT/arrow).
12202
122032003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
12204
12205	* lib/autoroute.c: Removed printfs.
12206
12207	* lib/orth_conn.c:
12208	* lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
12209	non-connected orthconns too.
12210
122112003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
12212
12213	* lib/orth_conn.h:
12214	* lib/orth_conn.c: Function to set autorouting on/off, use
12215	autorouting in move_handle (turns off when a middle handle is
12216	moved), added to standard orthconn props.
12217
12218	* app/disp_callbacks.c (create_object_menu, popup_object_menu):
12219	Stopped signal emission for check menu items being set to on/off.
12220
12221	* objects/standard/zigzagline.c: Added autorouting object menu item.
12222
12223	* lib/autoroute.c: Added last cases of autoroute layout, fixed
12224	floating point comparison bug, cleaned up layouters, tweaked
12225	badness to allow kinks.
12226
122272003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
12228
12229	* lib/connectionpoint.h: Changed DIR_* macros to go around the
12230	clock.
12231
12232	* lib/orth_conn.[ch] (orthconn_set_points): New function to set all
12233	points at once.
12234	* objects/standard/zigzagline.c (zigzagline_move_handle): Removed
12235	old cruft, added call to autoroute (currently cannot be turned
12236	off).  Need to check what undo thinks about this.
12237	* lib/autoroute.[ch]: Fairly working simple layout.
12238
12239	* lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
12240	* lib/autoroute.[ch]: Start of proper autorouting functionality.
12241
122422003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12243
12244	* lib/prop_widgets.c: Show labels on ListProp.
12245
122462003-04-11  Steffen Macke <sdteffen@web.de>
12247
12248	* doc/en/dia-manual.xml: removed reference of non-existing authors
12249	note.
12250	* doc/en/usage-objects-selecting: commented out misleading section
12251	references.
12252
122532003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12254
12255	* app/app_procs.c (app_init): Layer window now opened at startup
12256	only if needed.
12257
12258	* lib/prop_widgets.c: Show labels on ListProp.
12259
122602003-04-09  Steffen Macke <sdteffen@web.de>
12261
12262	* doc/en/*.sgml: removed files
12263	* doc/en/*.xml: added files
12264	* doc/en/Makefile.am: switched to XML DocBook
12265
122662003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
12267
12268	* plug-ins/xslt/xslt.c (dia_plugin_init):
12269	* configure.in: Added --with-xslt-prefix to allow other XSLT
12270	placements than /usr/lib.
12271
122722003-04-09  Steffen Macke <sdteffen@web.de>
12273
12274	* lib/makefile.mingw: updated to include latest files, including
12275	and linking libintl
12276	* lib/geometry.h: don't define isinf and finite for mingw gcc build
12277
122782003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
12279
12280	* app/persistence.h:
12281	* app/persistence.c (persistence_register_window_create):
12282	* app/app_procs.c (app_init):
12283	Register window function that doesn't create the window unless it
12284	should be open.  Other windows should move to this, so startup
12285	speed can be reduced.
12286
12287	* app/persistence.h: Removed call prototype for update_window, now
12288	done internally.
12289	* app/persistence.c (persistence_register_window): A number of
12290	fixes.  Doesn't forget position when window is closed.  Now
12291	actually loads prefs.
12292
12293	* app/layer_dialog.c (create_layer_dialog): Removed extraneous
12294	event connect.
12295
12296	* app/preferences.c (prefs_data):
12297	* app/diagram_tree_window.h:
12298	* app/diagram_tree_window.c: Added persistence registering.
12299	Removed prefs items storing size and openness.
12300
12301	* app/sheets_dialog.c (create_sheets_main_dialog): Added
12302	persistence registering.
12303
12304	* app/Makefile.am (dia_core_files): Added persistence files.
12305
12306	* lib/dia_dirs.h:
12307	* lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
12308	that dirs are present.
12309
12310	* app/app_procs.c (app_init): Loads persistent values on startup.
12311	(app_exit): Saves persistent values on exit.
12312
12313	* app/layer_dialog.c (create_layer_dialog): Registers the layer
12314	window for persistence.
12315
12316	* app/persistence.[ch]: New files handling various kinds of
12317	persistence.
12318
123192003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
12320
12321	* lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
12322	head spacing calculations.  Added half-circle arrow from Matthieu
12323	Sozeau <mattam@netcourrier.com>
12324
123252003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
12326
12327	* app/app_procs.c (app_init): Moved layer dialog init to allow
12328	tooltips to be initialized.
12329
12330	* app/interface.c (create_display_shell): More tooltips.
12331
12332	* app/linewidth_area.c (linewidth_area_create)
12333	(linewidth_area_events):
12334	* app/color_area.c (color_area_events, color_area_create):
12335	Made tooltips work by embedding drawing_area in event_box.
12336
12337	* app/interface.c (create_display_shell,
12338	(create_lineprops_area, create_color_area): Added a few tooltips.
12339
123402003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12341
12342	* app/pixmaps/off-grid.xpm:
12343	* app/pixmaps/on-grid.xpm:
12344	* app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
12345
12346	* app/display.h:
12347	* app/commands.c (view_snap_to_grid_callback):
12348	* app/display.c (ddisplay_set_snap_to_grid)
12349	(update_snap_grid_status):
12350	* app/interface.c (create_display_shell, grid_toggle_snap):
12351	Added snap-to-grid status button.
12352
123532003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
12354
12355	* app/app_procs.c (app_init): Create a new diagram if a file on
12356	the command line isn't found.
12357
123582003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
12359
12360	* lib/dialibartrenderer.c (draw_string): Correct color handling
12361	for AA.
12362
123632003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
12364
12365	* NEWS:
12366	* doc/en/dia-manual.sgml:
12367	* doc/pl/dia-manual.sgml:
12368	* configure.in:
12369	* dia.spec (Release):
12370	Version 0.91 is here!
12371
123722003-02-10  Steffen Macke <sdteffen@web.de>
12373
12374	* plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
12375	<ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
12376	non-ANSI characters, closes #107980
12377
123782003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
12379
12380	* configure.in:
12381	* NEWS:
12382	* dia.spec (Release):
12383	* doc/en/dia-manual.sgml: Upping to pre6.
12384
12385	* configure.in: Missing comma broke HAVE_IEEEFP_H test.
12386
12387	* app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
12388	#107511:  Make arrow selector for correct arrow type.
12389
123902003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
12391
12392	* shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
12393	EXTRA_DIST.
12394
123952003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
12396
12397	* doc/en/dia-manual.sgml:
12398	* configure.in:
12399	* NEWS:
12400	* dia.spec (Release): Upping to pre5.
12401
12402	* configure.in: Add freetype-config derived libs to the
12403	AC_CHECK_LIB statement for freetype.
12404
124052003-02-28  Hans Breuer  <hans@breuer.org>
12406
12407	[fix for bug #107203]
12408
12409	* lib/diarenderer.c : add warning 'implementation'
12410	for fill_rect to avoid crashing with a renderer
12411	which does not implement this required function.
12412
12413	* plug-ins/dxf/dxf-export.c : provide - still empty -
12414	'implementations' for fill_rect and fill_polygon
12415	to suppress the above warnings. Now it works like
12416	in version 0.90
12417
124182003-02-28  Steffen Macke <sdteffen@web.de>
12419
12420	* samples/all_objects.dia: New sheet containing all dia shapes
12421	and objects; one layer per sheet
12422
124232003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
12424
12425	* lib/prop_text.c (multistringprop_get_widget,
12426	multistringprop_reset_widget, multistringprop_set_from_widget):
12427	Now uses GtkTextView instead of deprecated stuff, and also works:)
12428
12429	* configure.in: Slightly more informative error message for isinf.
12430
12431	* dia.spec (Requires): Require libxml2 rather than libxml.
12432
124332003-02-28  Steffen Macke <sdteffen@web.de>
12434
12435	* shapes/Circuit/hjumper.png:
12436	* shapes/Circuit/hjumper.shape: added missing icon for horizontal
12437	jumper shape
12438
124392003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
12440
12441	* doc/en/dia-manual.sgml:
12442	* configure.in:
12443	* dia.spec (Release):
12444	* NEWS: New prerelease 0.91pre4, two important fixes.
12445
124462003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
12447
12448	* plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
12449	stylesheets.xml.in
12450
12451	* app/commands.c (help_manual_callback): More correct URL for help
12452	page (include file://, was broken on Dillo without it).
12453
124542003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
12455
12456	* app/disp_callbacks.c: Set modifed when text is changed.
12457
12458	* app/modify_tool.c (modify_button_release): Allow undo for moving
12459	objects.
12460
124612003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
12462
12463	* dia.spec:
12464	* doc/en/dia-manual.sgml:
12465	* NEWS:
12466	* configure.in: New prerelease with important bugfix.
12467	* shapes/network/digitizing_board.png:
12468	* shapes/network/plotter.png: Re-adding with -kb.
12469
124702003-02-17  Abel Cheung  <maddog@linux.org.hk>
12471
12472	* app/app_procs.c (app_init): Add comment for translators.
12473
124742003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
12475
12476	* lib/filter.c (filter_register_import, filter_register_export):
12477	Don't accept filters with NULL description.
12478
12479	* lib/plug-ins.c (dia_plugin_load): Fail if there's no description
12480	(as we assume the description is available in other places).
12481
124822003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
12483
12484	* app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
12485	* app/display.c (ddisplay_resize_canvas): Use
12486	ddisplay_add_update_all().
12487	(ddisplay_add_update_all): Free display and update lists when
12488	doing update_all, as they'll be regenerated immediately to cover
12489	all visible area.  Fixes bug #106165, crash when resizing.  This
12490	appears to be the original AA crash bug, believed long extinct.
12491
124922003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
12493
12494	* app/commands.c (help_manual_callback): Use file: protocol for
12495	help.
12496
12497	* plug-ins/xslt/.cvsignore: Ignore .o files, please.
12498
12499	* plug-ins/xslt/stylesheets: Removed old-style config file.
12500
12501	* plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
12502
12503	* plug-ins/xslt/Makefile.am:
12504	* plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
12505	handling (no more DIA_PLUGIN_PATH).
12506
125072003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
12508
12509	* plug-ins/svg/render_svg.c:
12510	* lib/diasvgrenderer.c: Fixed numeric localized output issues.
12511
125122003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12513
12514	* objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
12515	[-1.0, 1.0].  Shouldn't be necessary, but in some cases the
12516	side of the triangle is longer than the hypotenuse.  Rounding
12517	error suspected.
12518
125192003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
12520
12521	* NEWS:
12522	* configure.in:
12523	* doc/en/dia-manual.sgml: Update for pre2.
12524
12525	* app/menus.c (display_menu_items): Fixed wrongly place separators.
12526
12527	* objects/flowchart/box.c (box_update_data): Applied patch from
12528	Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
12529	comment).
12530
12531	* app/paginate_psprint.c (print_page): Set paper name, so it
12532	convinces ps printers to use to right size.
12533
125342003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
12535
12536	* app/properties.c (properties_show): Hide the dialog if the
12537	object is NULL (get rid of 'no properties' randomly popping up).
12538
125392003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
12540
12541	* plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
12542	for diagrams not starting at origo.
12543
125442003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
12545
12546	* dia.spec (BuildRequires): Use libxml2-devel.
12547
12548	* plug-ins/pixbuf/Makefile.am: Added to CVS.
12549
12550	* RELEASE-PROCESS: Note on RPM version numbers.
12551
12552	* app/interface.c (create_display_shell): Don't set as toolbar
12553	under Unix, either.  Especially not the diagram shell.  It removes
12554	it from the taskbar and makes it unresizable, always-on-top with
12555	OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
12556	appropriate thing, UTILITY, is not good either, you lose resizing
12557	and minimizing/maximizing under OpenBox.
12558
12559	* app/menus.c (display_menu_items): Set delete item to use Delete.
12560
125612003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
12562
12563	* dia.spec (BuildRequires, Requires): Updated for Gtk2
12564	requirements.
12565
12566	* app/disp_callbacks.c (ddisplay_canvas_events): Only add a
12567	display flush when getting focus in, or we may get an update after
12568	the diagram has been destroyed in some cases.  Fixes bug #105221.
12569
12570	* plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
12571
12572	* lib/diarenderer.c: Notes on the basis matrix for our beziers.
12573
12574	* app/app_procs.c (app_init): Fixed missing popt context for Gnome
12575	- gnome-compiled Dia will now read files specified on the command line.
12576
125772003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
12578
12579	* INSTALL (REQUIREMENTS): Updated requirements section.
12580
12581	* configure.in: Better finite() check from Mårten Svantesson
12582	<f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
12583	if's.
12584
125852003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
12586
12587	* plug-ins/xfig/xfig-import.c: Notes on spline conversions.
12588
12589	* app/app_procs.c (debug_break): Added some code to avoid
12590	over-eager optimizations removing the call.  Surely there's a
12591	nicer way, but I'm not sure how.
12592
12593	* app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
12594	that set text to black.
12595
125962003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
12597
12598	* NEWS: Mention of Twiki as doc source for Python.
12599
12600	* plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
12601	libart/libpng is not available.  Later when we have a way of
12602	letting the user pick options in the file select dialog we shall
12603	allow the choice when applicable.
12604
126052003-02-02  Steffen Macke <sdteffen@web.de>
12606
12607	* doc/en/usage-loadsave.sgml:
12608	* doc/en/usage-objects.sgml: patch from
12609	James K. Lowden <jklowden@schemamania.org> to fix
12610	some docbook errors
12611
126122003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12613
12614	* plug-ins/Makefile.am (SUBDIRS):
12615	* plug-ins/pixbuf/pixbuf.c:
12616	* plug-ins/pixbuf/Makefile.am:
12617	* configure.in:
12618	Added pixbuf plugin to Makefile.am, but for import only.  PNG
12619	export handled by libart, which is better. JPG export is
12620	discouraged.  BMP is not much used on Unix.  Next release will
12621	integrate libart to allow all outputs.
12622
126232003-02-01  Hans Breuer  <hans@breuer.org>
12624
12625	* app/preferences.c :
12626	* app/pagesetup.c :
12627	the last two dialogs with 'old' button order finally
12628	are converted to gtk2, no GnomeDialog in all of Dia
12629	anymore :-)
12630
126312003-02-01  Hans Breuer  <hans@breuer.org>
12632
12633	* app/filedlg.c : don't try to use a button as
12634	'overwrite-file-dialog'-parent, use the FileSelDialog
12635	instead
12636
12637	* plug-ins/pixbuf/pixbuf.c : make it work with
12638	system-visual-depth < 24. Remove 'bmp' from output
12639	format extensions, it just was wishful thinking.
12640
12641	* plug-ins/python/Makefile.am : added the four new python
12642	plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
12643
126442003-02-01  Hans Breuer  <hans@breuer.org>
12645
12646	* NEWS : updated content beside dependencies
12647
126482003-02-01  Hans Breuer  <hans@breuer.org>
12649
12650	* lib/arrow.h : arrow_types needs to be declared as DIAVAR
12651	to make it useable across DLL boundaries
12652	* app/lineprops_area.c : same code to access arrow_types
12653	on all platforms
12654
12655	* objects/UML/class.c : the non empty string is e.g.
12656	comment != NULL && comment[0] != '\0'
12657	* objects/UML/uml.c : same here, don't bother with
12658	empty operation stereotypes
12659
126602003-02-01  Steffen Macke <sdteffen@web.de>
12661
12662	* app/lineprops_area.c: latest changes do not work on
12663	windows, using old code without tooltips
12664	* makefile.msc: fixed copying of wmf.dll
12665	* plug-ins/makefile.msc:
12666	* app/makefile.msc:
12667	* lib/makefile.msc: now linking libintl
12668	* config.h.win32: enabling native language support
12669
126702003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
12671
12672	* plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
12673	-ldl and -lglib.  May or may not work on windows...awaiting verdict.
12674
126752003-01-31  Daniel Yacob  <locales@geez.org>
12676
12677	* configure.in: Added am (Amharic) to ALL_LINGUAS.
12678
126792003-01-31  Steffen Macke <sdteffen@web.de>
12680
12681	* objects/UML/class.c (umlclass_calculate_data): fixed crash
12682	when comments were visible, no class comment available and
12683	a attribute comment
12684
126852003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
12686
12687	* RELEASE-PROCESS: Updated to fit new install-module syntax.
12688	* Prerelease 0.91-pre1 released on a suspecting public.  Tagging
12689	with DIA_0_91_PRE1.
12690
126912003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
12692
12693	* config.h.win32:
12694	* NEWS:
12695	* configure.in:
12696	* dia.spec:
12697	Prerelease version changes, version 0.91-pre1.
12698
12699	* app/sheets_dialog_callbacks.h:
12700	* app/sheets_dialog_callbacks.c:
12701	* app/sheets_dialog.c (create_sheets_main_dialog):
12702	* app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
12703	to handle destruction of main dialog cleanly, but it's a mess.
12704
12705	* configure.in: Downgraded ieeefp test to make it not produce
12706	illegal shell code.
12707
12708	* lib/widgets.c (dia_arrow_selector_set_arrow):
12709	(dia_line_style_selector_set_linestyle): Select menu dot
12710	correctly set.
12711
12712	* lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
12713	adjustment for diamondheads.
12714
12715	* lib/plug-ins.c (dia_plugin_load): Fixed typo.
12716
12717	* app/properties.c (create_dialog): Destroy properties dialog and
12718	box correctly.
12719
12720	* app/sheets_dialog_callbacks.c
12721	(on_sheets_dialog_button_edit_clicked): Only create a new dialog
12722	if the old one is destroyed.
12723
127242003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
12725
12726	* app/export_png.c (export_png_ok): Added info on resolution.
12727	Should (next release) improve export dialog to allow setting
12728	resolution instead of pixels.
12729
12730	* app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
12731	to generate arrowheads as well as tooltips.
12732
12733	* lib/arrows.c: Added hollow diamond to menudesc list.
12734
12735	* lib/arrows.[ch]:
12736	* lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
12737	unify with rendered menu.
12738
12739	* lib/diarenderer.c (draw_line_with_arrows)
12740	(draw_polyline_with_arrows, draw_arc_with_arrows)
12741	(draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
12742	without changing renderer API.  Thanks to David Scherba for
12743	providing inspiration.
12744
127452003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
12746
12747	* app/interface.c (create_display_shell):
12748	* app/display.h: Patching from Hubert Figuiere
12749	<hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
12750	correct menu items.
12751
127522003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
12753
12754	* app/defaults.c (defaults_show): Fixed defaults closing bug.
12755	Thanks to Hans for pointing it out.
12756
127572003-01-25  Hans Breuer  <hans@breuer.org>
12758
12759	* app/commands.c : don't warn about crashing libart renderer
12760	on win32. It simply doesn't render text anymore :-(
12761
12762	* app/filedlg.c : use GtkMessageDialog for 'file overwrite'
12763
12764	* objects/UML/class.c : don't access umlclass->properties_dialog
12765	after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
12766	which sets the former to NULL by destroy_properties_dialog() callback.
12767
12768	* plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
12769
12770	* plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
12771
12772	* plug-ins/python/pydia-image.c : add image.uri member
12773	not only useful for SVG rendering
12774
12775	* plug-ins/python/diasvg.py : (new file) a more advanced
12776	example. A full blown SVG Renderer, currently only
12777	registered for .svgz
12778
12779	* plug-ins/python/export-object.py : write text props
12780
12781	* plug-ins/python/debug_objects.py : write prop.type and
12782	prop.visible
12783
127842003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
12785
12786	* objects/UML/association.c (association_update_data): Better
12787	bounding box for assoc with arrows.
12788
12789	* lib/properties.h: New flag for properties with multiple values
12790	in groups.
12791
12792	* app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
12793	arrow updating in dialog.  Was broken due to changes from destroy
12794	fix:(
12795
12796	* app/commands.c (view_aa_callback): AA warning only for Windows
12797	-- I trust the Unix side well enough.
12798
12799	* app/render_libart.c (get_text_width):
12800	* lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
12801	font height can be taken from parent instance.
12802
12803	* lib/dialibartrenderer.c (dia_libart_renderer_class_init)
12804	(get_text_width): Proper cursor positioning for libart renderer.
12805	Ought to have a DiaInteractiveRenderer that these two can inherit
12806	from, that knows about transform.
12807
128082003-01-25  Steffen Macke <sdteffen@web.de>
12809
12810	* plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
12811	plug-in still not working on win32
12812
128132003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
12814
12815	* app/disp_callbacks.c (ddisplay_canvas_events): Moved
12816	gdk_window_get_pointer to avoid destroy crash.  Simpler than I
12817	thought.
12818
128192003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
12820
12821	* app/app_procs.c (app_init): Run gtk_init before popt so we don't
12822	bail out on gtk options.
12823
12824	* lib/message.c (gtk_message_internal): Better handling of destroy
12825	event.
12826
128272003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
12828
12829	* app/color_area.c (color_area_edit):
12830	* lib/widgets.c (dia_file_selector_browse_pressed)
12831	(dia_color_selector_pressed):
12832	* app/plugin-manager.c (get_plugin_manager):
12833	* app/filedlg.c (file_open_callback, file_save_as_callback)
12834	(file_export_callback):
12835	* app/diagram_tree_window.c (diagram_tree_window_new): Correct
12836	handling of destroy event.
12837
128382003-01-22  Alan Horkan <horkana@tcd.ie>
12839
12840	* app/commands.c (file_new_callback): Changed Untitled to Diagram
12841	for default name.
12842
128432003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
12844
12845	* app/preferences.c (prefs_create_dialog):
12846	* app/linewidth_area.c (linewidth_create_dialog):
12847	* app/lineprops_area.c (dia_arrow_chooser_dialog_show):
12848	* app/layer_dialog.c (create_layer_dialog)
12849	(layer_dialog_edit_layer): Correct handling of destroy signal.
12850
12851	* app/diapsft2renderer.c (set_font): Adjust silly random factor
12852	for change in font.c
12853
12854	* lib/widgets.c: Avoid warning when font menu file doesn't exist.
12855
12856	* lib/font.c (dia_font_build_layout): Let's all use the same weird
12857	factor here.
12858
12859	* app/lineprops_area.c (dia_arrow_chooser_dialog_show):
12860	* app/layer_dialog.c (create_layer_dialog)
12861	(layer_dialog_edit_layer):
12862	* app/filedlg.c (file_open_callback, file_save_as_callback)
12863	(file_export_callback):
12864	* app/dia-props.c (create_diagram_properties_dialog):
12865	* app/defaults.c (defaults_dialog_destroyed):
12866	* app/color_area.c (color_area_edit): Dialog destroy event handling.
12867
128682003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
12869
12870	* app/defaults.c (defaults_dialog_destroyed): Reset cache when
12871	defaults dialog destroyed.
12872
128732003-01-19  Steffen Macke <sdteffen@web.de>
12874
12875	* objects/makefile.msc: added bondgraph
12876	* plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
12877	to compile pixbuf.dll
12878	* makefile.msc: copying all objects and dlls now
12879
128802003-01-19  Hans Breuer  <hans@breuer.org>
12881
12882	* app/diagram.[hc] : provide dia_open_diagrams(), make
12883	open_diagrams variable static
12884	* app/dia.def : export it (to be used by PyDia)
12885	* app/app_procs.c app/autosave.c app/diagram_tree_window.c
12886	  app/display.c app/dynamic_refresh.c app/layer_dialog.c
12887	  app/load_save.c : make use of dia_open_diagrams()
12888
12889	* app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
12890	on win32. It removes the diagram window from the taskbar and
12891	shrinks it's window title to toolbar style (newest gtk2.2 cvs)
12892
12893	* app/menus.c : add '...' to menu entries where a dialog
12894	gets invoked
12895	* app/recent_files.c app/dia_embedd.c : reflect the above in
12896	menus_get_item_from_path() calls
12897
12898	* lib/libdia.def : add dia_image_rgba_data
12899
12900	* lib/properties.h lib/prop_text.[hc] : add new property
12901	type StringList
12902	* objects/UML/class.[hc] object/UML/class_dialog.c : use
12903	StringList for attributes_strings and operations_strings to
12904	make this calculated data accessible via the Property API
12905
12906	* plug-ins/python/diamodule.c : use dia_open_diagrams() and
12907	provide dia.new() to create a new diagram, dia.registered_types()
12908	to get on Dia's type registry, dia.message() for simple dialogs
12909
12910	* plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
12911	to create a new display from a diagram. Let diagram.extents and
12912	diagram.bg_color return the same types as in diagramdata.*
12913
12914	* plug-ins/python/pydia-geometry.c : add a read-only
12915	'sequence interface' to DiaPoint and DiaRectangle
12916
12917	* plug-ins/python/pydia-property.c : allow to get on StringList
12918	from Python
12919
12920	* plug-ins/python/pydia-render.c : fix typo to make it compile
12921
12922	* plug-ins/python/python-startup.py : removed 'import pygtk'
12923	again. This file does not need any gtk UI, and some python
12924	plug-ins don't do either
12925
12926	* plug-ins/python/gtkcons.py : ported to GTK2 interface, now
12927	it should actually work as intended again
12928
12929	* plug-ins/python/group_props.py : (new file) a prototype for
12930	one the most requested features: Change properties of selected
12931	objects in one step. Requires pygtk.
12932
12933	* plug-ins/python/select_by.py : (new file) select objects by
12934	common properties. Requires pygtk.
12935
12936	[Start of 'PyDia Self Documentation Series']
12937
12938	* plug-ins/python/pydiadoc.py : (new file) generates a new
12939	diagram which contains all objects of dir(dia)
12940
12941	* plug-ins/python/otypes.py : (new file) generates a new diagram
12942	which contains all the currently registered object types sorted
12943	by their containing package
12944
129452003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
12946
12947	* configure.in: Added check for Pango >= 1.1.5, which appears to
12948	be enough to have text work.
12949	(INTLOBJS): Added dummy subst cause gettext doesn't always seem to
12950	do it.  AC_SUBST should be idempotent, though.
12951
129522003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
12953
12954	* configure.in (HAVE_FREETYPE): Better test for freetype version
12955	using neat macro.
12956	Now actually sets HAVE_IEEEFP_H, needed for Solaris.
12957
12958	* lib/font.c: Renamed global_size_one to global_zoom_factor to
12959	avoid confusion, and added comment.  Set scale factor in
12960	dia_font_build_layout to 1.0 for Unix side.  This fixes at least
12961	my weird scaling problems.  Fonts are now of the expectable size,
12962	i.e. the space between lines at size 1.0 is 1.0.  If we want a
12963	compatibility fix, we should scale fonts by about 1/0.75 from 0.90
12964	diagrams, though there will always be differences.
12965
129662003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
12967
12968	* plug-ins/python/python-startup.py:
12969	* plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
12970
12971	* plug-ins/python/python.c (dia_plugin_init): Added warning
12972	message for missing startup file.
12973
12974	* lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
12975
12976	* lib/dia_image.c (dia_image_rgb_data):
12977	* app/diapsrenderer.c (draw_image): Fixed rowstride problems
12978	involving EPS.  Can't do transparency in EPS yet.
12979
12980	* lib/dia_image.h:
12981	* lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
12982	data as one chunk.  Documentation for the RGB data getting funcs.
12983	(dia_image_rgb_data): Added comment.
12984
12985	* lib/dialibartrenderer.c (draw_image): Correct rowstride handling
12986	(bug #103565)
12987
129882003-01-13  Steffen Macke <sdteffen@web.de>
12989
12990	* lib/dia_image.c: dia_image_rgb_data() is working for
12991	non-alpha images now. Fixes #93762
12992	* Makefile.am: added makefile.msc to EXTRA_DIST
12993
129942003-01-10  Steffen Macke <sdteffen@web.de>
12995
12996	* app/paginate_psprint.c: Closing print dialog when file
12997	could not be written. Fixes #84746
12998
129992003-01-04  Steffen Macke <sdteffen@web.de>
13000
13001	* doc/custom-shapes: incomplete description of <svg:text>
13002
130032003-01-03  Steffen Macke <sdteffen@web.de>
13004
13005	* makefile.msc(new): new makefile to create file
13006	structure suitable for running dia win32 under
13007	$(TOP)/dia/build/win32
13008
130092003-01-02  Steffen Macke <sdteffen@web.de>
13010
13011	* lib/dia_svg.c: including stdlib.h
13012	* lib/makefile.msc: added gdk_pixbuf libs to linker
13013	* app/makefile.msc: added gdk_pixbuf libs, made libart
13014	libs compatible with gnuwin32 package
13015
130162003-01-01  Hans Breuer  <hans@breuer.org>
13017
13018	* lib/font.c : more comment about global_size_one
13019
13020	* app/menus.c : <control>[<shift>]A for plain gtk build too.
13021
13022	* plug-ins/wmf/wmf.cpp : some type juggling to make
13023	msvc7 happy
13024
130252002-12-31  Steffen Macke <sdteffen@web.de>
13026
13027	* app/makefile.msc: added hint on how to enable console output
13028
130292002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
13030
13031	* objects/standard/textobj.c (textobj_load): Get the handle type
13032	right, at least to be the same as when created.
13033
130342002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
13035
13036	* lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
13037
130382002-12-08  Hans Breuer  <hans@breuer.org>
13039
13040	* app/commands.c : fixed bug #85315 'give diagram properties,
13041	instead of no object selected error' almost a one-liner
13042
13043	* app/splash.c : don't make having the logo pixmap
13044	mandatory. Fixes bug #96068.
13045
13046	* app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
13047	sequence by connecting to the "delete_event"
13048	* app/objects/uml/class_dialog.c : handle "destroy" for
13049	the same reason.
13050
13051	* lib/libdia.def : remove diaXmlNewChild again
13052
13053	* app/paginate_gdiprint.cpp : reflect Dia's page setting
13054	portrait/landscape in the windoze print dialog
13055
13056	* objects/makefile.msc : only UML needs to link against
13057	$(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
13058
130592002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
13060
13061	* objects/standard/ellipse.c (ellipse_distance_from):
13062	* lib/geometry.c (distance_ellipse_point): Ellipse now uses the
13063	correct distance function.  Could be faster, but it's not really
13064	essential.
13065
130662002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
13067
13068	* lib/font.c: Changed global_size_one to more correct 28.35.
13069	Looks better, too.
13070
13071	* app/load_save.c:
13072	* lib/dia_xml.h:
13073	* lib/dia_xml.c: Removed pretty print hack, the libxml thing works
13074	after all.
13075
130762002-12-07  Hans Breuer  <hans@breuer.org>
13077
13078	* lib/widgets.c : g_file_get_contents() silently assumes
13079	a binary file. Reflect when creating the font_menu file
13080	to get rid of junk in font menus
13081
130822002-12-06  Hans Breuer  <hans@breuer.org>
13083
13084	* app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
13085	removed 0xD 0xD 0xA line ends which get created by
13086	cvs if windoze line ends 0xD 0xA are checked in from
13087	*nix and checked out on win32.
13088
13089	* app/preferences.c : changed toolbox_on_top default to
13090	false. It is currently not possible to change the behaviour
13091	at runtime, at least not on win32.
13092
13093	* lib/dialibartrenderer.c : bug #94791 'rendering to
13094	bitmap without PangoFt2' got delayed to milestone future
13095	so wrap libart text rendering into PANGO_WIN32_FUTURE.
13096	It is not available without my Pango patch in bugzilla.
13097
13098	* lib/font.c : added comment to global_size_one and adapt
13099	the arbitrary size scaling in dia_font_build_layout() for
13100	win32, too. This is needed to get an acceptable font size
13101	approximation for Dia 0.90 and earlier files.
13102	Also #include "message.h".
13103
13104	* app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
13105	reflect movement of group.[hc]
13106	* lib/group.h : export group_type which gets used by app/*
13107
13108	* lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
13109	to get the GtkTypeInfo definition
13110
13111	* plug-ins/makefile.msc : dxf and xfig don't need to link
13112	against app/ anymore now that group is moved to lib/
13113
13114	* plug-ins/python/pydia-render.c : remove massive leaking
13115	of self, i.e. PyDiaRenderer
13116
13117	*  plug-ins/python/makefile.msc : remove linking against
13118	GTK libs
13119
131202002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
13121
13122	* objects/standard/line.c: Removed properties options for gaps,
13123	until release is done.
13124
13125	* configure.in: Check for freetype version.
13126
13127	* lib/text.c (text_insert_char): Fixed small buffer overflow for
13128	length = 0.
13129
13130	* lib/dialibartrenderer.c (draw_string): Removed debugging printf.
13131
13132	* app/diapsft2renderer.h:
13133	* app/diapsft2renderer.c:
13134	* app/diapsrenderer.h:
13135	* app/diapsrenderer.c: Split ps rendering into standard and freetype.
13136
13137	* app/render_eps.c (export_eps, new_psprint_renderer): Using
13138	PS_FT2 renderer when available.  Old render stuff killed.  Yay!
13139
13140	* lib/properties.h: Fixed bad frame end def.
13141
13142	* app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
13143
13144	* lib/dia_xml.c (data_add_string): Avoid #-less strings.
13145
13146	* objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
13147
131482002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
13149
13150	* lib/font.c: Now checking for the proper dia-style standard fonts.
13151
13152	* lib/Makefile.am:
13153	* app/Makefile.am: Moving group.[ch]
13154
13155	* plug-ins/dxf/dxf-import.c:
13156	* plug-ins/xfig/xfig-import.c:
13157	* plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
13158
13159	* app/object_ops.c:
13160	* app/object_ops.h:
13161	* lib/object.c (object_list_move_delta, object_copy_list):
13162	* lib/object.h: Moved some object-related functions from
13163	object_ops to object to	assist moving group.c.
13164
13165	* lib/diatypes.h: Added Group typedef.
13166
13167	* lib/group.h:
13168	* lib/group.c: Moved from app to lib to a) resolve plug-ins
13169	references, and b) make groups more "real" objects.
13170
13171	* lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
13172
131732002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
13174
13175	* lib/font.c (dia_font_init): Added check that the three standard
13176	fonts exist.
13177
131782002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
13179
13180	* lib/dia_xml.[ch]:
13181	* app/load_save.c: Linebreaks in dia files, no indentation.
13182	Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
13183	this.
13184
13185	* objects/standard/line.c: Small but important fixes to the line
13186	gap code.
13187
13188	* lib/dia_xml.h:
13189	* lib/dia_xml.c (diaXmlNewChild):
13190	* app/load_save.c (diagram_data_write_doc, write_objects): Simple
13191	XML prettyprinting wrapper.
13192
131932002-12-03  Steffen Macke <sdteffen@web.de>
13194
13195	* shapes/Cisco/Makefile.am:
13196	* shapes/Cisco/*.shape: finished conversion of Cisco icons
13197	to *.png
13198
131992002-12-02  Steffen Macke <sdteffen@web.de>
13200
13201	* doc/en/Makefile.am:
13202	* doc/en/usage-objects.sgml:
13203	* doc/en/graphics/line_icon.png: (new) added line icon
13204
132052002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
13206
13207	* objects/standard/line.c: Binary search object edge line gap.
13208
132092002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13210
13211	* configure.in: Added Cisco makefile, sorted Makefiles list.
13212
13213	* shapes/Makefile.am (SUBDIRS): Added Cisco dir
13214
13215	* configure.in: Now checks for availability of PangoFT2 and
13216	FreeType, raising an error if not found.
13217
13218	* app/Makefile.am (dia_core_files): Adding diapsft2renderer from
13219	Hans.
13220
132212002-12-01  Steffen Macke <sdteffen@web.de>
13222
13223	* doc/en/usage-loadsave.sgml: updated information on import
13224	and export formats
13225
132262002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
13227
13228	* app/commands.c (edit_copy_callback): Freeing copy_list.
13229
132302002-11-28  Steffen Macke <sdteffen@web.de>
13231
13232	* app/render_libart.c: art_config.h was included twice
13233
132342002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
13235
13236	* sheets/.cvsignore: More ignorance.
13237
13238	* lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
13239
13240	* lib/prop_widgets.h: Two (currently unused) settings for frame
13241	foldability.
13242
13243	* lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
13244	(by default) foldable.
13245
13246	* lib/propinternals.h:
13247	* lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
13248	widgets in a more controlled manner.
13249
13250	* objects/standard/line.c (line_update_data): Line gap things
13251	inserted.  Can do xeyes now:)
13252
132532002-11-26  Christian Neumair  <chris@gnome-de.org>
13254
13255	* .cvsignore: Changed.
13256	* objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
13257	plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
13258	Added.
13259
132602002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
13261
13262	* app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
13263
13264	* lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
13265	passing to font hash.
13266
13267	* app/filedlg.c (file_save_as_ok_callback): Check that filename is
13268	utf-8 or locale-convertible before adding to dialog text.  This
13269	probably needs done in a number of places where we get text from
13270	the environment and send it to GTK to display.
13271
13272	* lib/widgets.c: Fixed case problems for font menu entries.
13273
13274	* objects/SADT/annotation.c: Don't run the event test (but leave
13275	it here for inspiration).
13276
13277	* lib/widgets.c:
13278	* lib/widgets.h: Allowing setting preview text for fonts.
13279
132802002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
13281
13282	* objects/bondgraph/Makefile.am:
13283	* objects/bondgraph/bondgraph.c:
13284	* configure.in:
13285	* objects/Makefile.am: Added bond graph dir.
13286
132872002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
13288
13289	* lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
13290
132912002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
13292
13293	* lib/text.c (text_calc_boundingbox, text_draw): Better cursor
13294	positioning.
13295
13296	* app/diapsrenderer.c: Freetype rendering is back in force.
13297
13298	* app/disp_callbacks.c: Added missing updates for pre-text-change.
13299
133002002-11-25  David Hoover <jazzdaq@yahoo.com>
13301
13302	* app/render_libart.c: Added missing #include line for libart.
13303
13304	* lib/geometry.h:
13305	* lib/geometry.c: Added point_convex function.  This computes
13306	points inside a line segment (0 <= alpha <= 1) or outside the
13307	line segment (alpha < 0 | alpha > 1).
13308
13309	* objects/standard/line.c: Line now has additional code/attributes
13310	which permit the line to extend past the line anchors (gap < 0) or
13311	leave a gap without reaching the anchor (gap > 0).  If no gap is
13312	specified, the default gap of 0 will result in identical line
13313	behavior as before.  If the 'fractional' attributes are TRUE, the
13314	gap length is not fixed, but a percentage of the line length.  I
13315	did not know how create the GTK widgets so the gap code currently
13316	cannot be used without adding XML attributes by hand.
13317
133182002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
13319
13320	* lib/diagdkrenderer.c (draw_string): Removed timing bits.
13321
13322	* lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
13323
133242002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
13325
13326	* lib/font.c: Debugging functionality in separate functions.
13327
13328	* lib/widgets.c: Using fontsel with context.
13329
13330	* lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
13331
13332	* objects/custom/custom_object.c: Orientation handling for shapes,
13333	patch thanks to Martin Hans <opfinder@gmx.net>.
13334
13335	* objects/standard/zigzagline.c (zigzagline_move_handle): Starting
13336	work on even better orientation handling.
13337
13338	* app/menus.c (menus_get_item_from_path): Fixed sily warnings from
13339	casting NULL pointers.  Should be unnecessary in an upcoming GTK
13340	release.
13341
133422002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
13343
13344	* lib/font.h:
13345	* lib/font.c:
13346	* lib/widgets.c: Now uses correct context to get font families.
13347
13348	* lib/diagdkrenderer.c (get_text_width, draw_string):
13349	* lib/dialibartrenderer.c (draw_string):
13350	* lib/font.h:
13351	* lib/font.c (dia_font_init): Removed old kludgy font name compare.
13352	(dia_font_build_layout): Unified the twiddle factors into a use of
13353	global_size_one.  But I deeply distrust Pango for seeming to
13354	change size of fonts every time I turn my back.
13355
13356	* app/display.c:
13357	* app/diagram.c:
13358	* app/menus.c:
13359	* app/menus.h: Updated some more methods to also be more specific
13360	on the types.
13361
13362	* app/menus.h:
13363	* app/recent_files.c:
13364	Changed to return most specific type, to avoid run-time type errors.
13365
13366	* app/menus.c (menus_get_item_from_path): Non-gnome version now
13367	gets menu_item rather than widget, which works better.
13368
133692002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
13370
13371	* app/display.c: (new_display):
13372	* app/menus.c: (menus_get_item_from_path):
13373	Relying on the tearoff to locate the input methods menu wasn't a
13374	good idea: tearoffs seem to be an endangered species nowadays.
13375	Anyway, the IM menu seems to be working now.
13376
13377	* app/interface.c: hinted the window manager that the toolbox window
13378	is a toolbox window. Not that my (fairly default configuration)
13379	sawfish cares, but other NETWM compliant WMs may.
13380
13381	* app/commands.c:
13382	* app/defaults.c:
13383	* app/dia-props.c:
13384	* app/filedlg.c:
13385	* app/interface.c:
13386	* app/layer_dialog.c:
13387	* app/linewidth_area.c:
13388	* app/properties.c:
13389	* app/sheets_dialog.c:
13390	* app/splash.c:
13391
13392	The GTK doc says to avoir gtk_window_set_wmclass() and
13393	gtk_window_set_policy(), and use gtk_window_set_role() and
13394	gtk_window_set_resizable(), respectively.
13395
13396	* app/preferences.c: (prefs_create_dialog):
13397	* app/preferences.h:
13398	* app/display.c: (display_set_active):
13399	Added a preference to have the toolbox hover over diagram windows.
13400
134012002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
13402
13403	* lib/diagdkrenderer.c (get_text_width, draw_string):
13404	Freetype-based string drawing now works.  Not very fast, though.
13405	I wish I could use the graphics card for this:(  I'm doing three
13406	bitmap loops where I should be doing one.  The size is not correct
13407	either, despite having get_text_width give the right thing.
13408
134092002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
13410
13411	* app/connectionpoint_ops.c (diagram_update_connections_object):
13412	Allows more than one connectionpoint on an object to be moved at a
13413	time (bug #96306).
13414
134152002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
13416
13417	* configure.in: Added cs to ALL_LINGUAS.
13418
134192002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
13420
13421	* app/paginate_psprint.c: Removed unnecessary decl of autosave
13422	stuff.
13423
13424	* app/display.c (ddisplay_set_renderer): Calls to begin/end render.
13425
13426	* app/export_png.c (export_png_ok): Saving more variables from the
13427	evil setjmp.
13428
134292002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
13430
13431	* lib/dialibartrenderer.c (begin_render):
13432	(end_render): Correct pushing and popping of font contexts.
13433	(draw_string): Double zooming eliminated, strange twiddle factor
13434	introduced (grumble).  Close to working now, but there are still
13435	strange differences from font to font.  In particular, some fonts
13436	really mess with the cursor and extents.
13437
13438	* app/render_eps.c (export_eps):
13439	* app/diapsrenderer.c (dia_ps_renderer_finalize):
13440	Fixed file closing confusion, no longer dependent on PS/EPS.
13441
13442	* app/diagram.c (diagram_place_down_selected)
13443	(diagram_place_up_selected): Now implemented.
13444
13445	* lib/font.c (dia_font_init):
13446	* lib/font.h:
13447	Redesigned the font init/context pushing code.  Start of fix for
13448	font name differences.
13449
134502002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
13451
13452	* app/sheets_dialog_callbacks.c: Fix a typo.
13453
134542002-10-15  Hans Breuer  <hans@breuer.org>
13455
13456	* app/diapsrenderer.[hc] : (new files, old content :-)
13457	simple base class for post script rendering. Does neither
13458	use Pango/FT2 nor does it handle non latin1 characters.
13459	The fancy stuff which nowadays appears to be needed should
13460	probably be done in derived class(es)
13461
13462	* app/makefile.msc app/Makefile.am : added new files
13463
13464	* app/paginate_psrint.c : re-enabled and used as test
13465	for the simple ps renderer above.
13466
13467	* app/render_eps.[hc] : ripped out common ps code and
13468	moved to DiaPsRenderer. The rest of the file is mostly
13469	disabled. And I don't understand enough of it to
13470	change port it.
13471
13472	* app/diaepsrenderer.h : short lived, removed.
13473
134742002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
13475
13476	* lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
13477	as a plugin (thanks to Torben Nielsen).
13478
134792002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
13480
13481	* app/diaepsrenderer.h:
13482	* app/render_eps.h:
13483	* app/paginate_psprint.c:
13484	#ifdef'd out enough ps stuff to allow compile.  Now we just need
13485	to convert it.
13486
134872002-10-12  Hans Breuer  <hans@breuer.org>
13488
13489	[last plug-in ported]
13490
13491	* plug-ins/xfig/xfig-export.c : ported to new renderer api
13492
13493	* plug-ins/xfig/xfig-import.c(fig_create_object) : need to
13494	scale color values to [0..1.0] to properly reconstruct
13495	user colors
13496
13497	* plug-ins/xfig/xfig-common.c : some cleaning
13498
134992002-10-12  Hans Breuer  <hans@breuer.org>
13500
13501	[decrease inter-plug-in-dependencies]
13502
13503	* objects/custom/shape_info.[hc] : move parse_style()
13504	to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
13505	the related structs and constants.
13506	* objects/custom/custom_object.c : reflect namespace
13507	changes
13508
13509	* lib/dia_svg.[hc] : new files
13510	* lib/makefile.msc lib/Makefile.am : add new files
13511	* lib/libdia.def : updated externals
13512
13513	* plug-ins/svg/svg-import.c : use dia_svg_parse_style()
13514
13515	* plug-ins/svg/svg.c : enable svg import for win32 (and
13516	probably for other non ELF builds)
13517
13518	* plug-ins/makefile.msc : enable svg import
13519
135202002-10-11  Hans Breuer  <hans@breuer.org>
13521
13522	* plug-ins/metapost/render_metapost.[hc] : ported
13523
13524	* plug-ins/pstricks/render_pstricks.[hc] : dito
13525
135262002-10-11  Hans Breuer  <hans@breuer.org>
13527
13528	* plug-ins/cgm/cgm.c : ported, appears to work as before,
13529	but graphic apps available to me can't import the generated
13530	files (the could not with Dia-0.90 cgm as well) ...
13531
13532	* plug-ins/dxf/dxf-export.c : Ported to new renderer api.
13533	Removed all those function which did emulate 'complex'
13534	drawing ops with basic ones (e.g. rect by line) cause this
13535	stuff is already provided by the base class
13536	* plug-ins/dxf/dxf-import.c : removed render.h include
13537
13538	* plug-ins/python/pydia-font.[hc]
13539	  plug-ins/python/pydia-text.c : finally ported to new font api
13540
13541	* plug-ins/python/pydia-layer.c : add extra parameter
13542	to layer_find_closest_connectionpoint()
13543
13544	* plug-ins/python/pydia-render.c : ported to DiaRenderer api
13545
13546	* plug-ins/python/python.c : added missing copyright notice
13547
13548	* plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
13549	actually use the renderers set_font implementation
13550
13551	* plug-ins/renderer.inc : unused now, removed
13552	* plug-ins/Makefile.am : reflect it
13553
135542002-10-08  Hans Breuer  <hans@breuer.org>
13555
13556	* app/render_gdk.c : don't add the InteractiveRenderer
13557	interface multiple times (it's added to the type, not
13558	the object)
13559	* app/render_libart.c : dito. It's currently added
13560	unconditional cause eport_png uses it, but claims
13561	to be non-interactive. Probably set_size should be moved
13562	to the DiaRenderer interface.
13563
13564	* lib/dialibartrenderer.c : add implementations for
13565	get_<width|height>_pixels. Libart rendering works again.
13566	DiaLibartRenderer::draw_image : use dia_image_rowstride()
13567	instead of width*3
13568
13569	* lib/diatransform.c(dia_transform_coords_double) :
13570	don't ROUND() the returned values
13571
13572	* plug-ins/pixbuf/pixbuf.c : added import function. It
13573	simply creates a wrapping "Standard - Image" object.
13574
13575	* plug-ins/shape/shape-export.c : use the more direct
13576	method to call base class methods
13577
135782002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
13579
13580	* lib/font.c (dia_font_init): Changed dia_font_init to return old
13581	pango context, to allow stacked contexts (for printing while
13582	antialiased).
13583
13584	* lib/arrows.h
13585	* lib/bezier_conn.h
13586	* lib/beziershape.h
13587	* lib/boundingbox.h
13588	* lib/color.h
13589	* lib/connection.h
13590	* lib/connectionpoint.h
13591	* lib/create.h
13592	* lib/dia_image.h
13593	* lib/diagdkrenderer.h
13594	* lib/diagramdata.h
13595	* lib/dialibartrenderer.h
13596	* lib/diamenu.h
13597	* lib/diarenderer.h
13598	* lib/diasvgrenderer.h
13599	* lib/diatransform.h
13600	* lib/element.h
13601	* lib/filter.h
13602	* lib/focus.h
13603	* lib/font.h
13604	* lib/geometry.h
13605	* lib/handle.h
13606	* lib/neworth_conn.h
13607	* lib/objchange.h
13608	* lib/object.h
13609	* lib/orth_conn.h
13610	* lib/paper.h
13611	* lib/plug-ins.h
13612	* lib/poly_conn.h
13613	* lib/polyshape.h
13614	* lib/properties.h
13615	* lib/ps-utf8.h
13616	* lib/sheet.h
13617	* lib/text.h
13618	* lib/textattr.h
13619	* lib/widgets.h
13620	* lib/diatypes.h
13621	Moved all externally visible struct typedefs into diatypes.h, as
13622	per Hans' suggestions.
13623
136242002-10-07  Steffen Macke <sdteffen@web.de>
13625
13626	* lib/Makefile.am: removed a '\' causing problems
13627
136282002-10-07  Hans Breuer  <hans@breuer.org>
13629
13630	[Libart Renderer resurrected; almost it's compiling but
13631	 almost instantly crashing :-]
13632
13633	* lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
13634	* app/render_libart.[hc] : ported to DiaInteractiveRenderer
13635	* lib/diatransform.[hc] : added dia_transform_coords_double()
13636
13637	* app/display.c : the right parameters for new_renderer_libart()
13638	* app/export_png.c : ported, removed the blind Display hack
13639
13640	* app/makefile.msc lib/makefile.msc
13641	  lib/Makefile.am : updated
13642
13643	* lib/dia<|gdk|interactive>renderer.c : properly copyrighted
13644
136452002-10-06  Hans Breuer  <hans@breuer.org>
13646
13647	* plug-ins/pixbuf/pixbuf.c : (new file)
13648	there is a new export plug-in called 'Pixbuf' which uses
13649	DiaGdkRenderer to export to gdk-pixbuf supported bitmap
13650	formats (currently only PNG and JPEG).
13651
136522002-10-06  Hans Breuer  <hans@breuer.org>
13653
13654	See also:
13655	http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
13656
13657	* lib/dia-enums.h lib/diatransform.[hc]
13658	  lib/diarenderer.[hc] lib/diainteractiverenderer.c
13659	  lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
13660	: new files
13661
13662	* lib/makefile.msc lib/makefile.am : added new files
13663
13664	* lib/plug-ins.c : g_module_error() returns a locale
13665	string, convert to utf8 before further usage
13666
13667	* lib/render.h : #error out. Everything including this
13668	needs porting
13669	* lib/*.[hc] : ported to new renderer api
13670
13671	* app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
13672	just to make the rest compile
13673	* app/render_eps.c : temporary disabled all of this
13674	* app/render_eps.h : removed RendererEPS
13675
13676	* app/render_gdk.[hc] : a small wrapper around the new
13677	DiaGdkRenderer form lib/*
13678
13679	* app/render_libart.h : removed RenderLibart definition
13680	* app/render_libart.c : not yet ported to new DiaRenderer
13681	but having an implementation to untie form FT2 dependency
13682	at least on win32. It is using new Pango api form bug #94791
13683
13684	* app/render_pixmap.[hc] : a small wrapper around the new
13685	DiaGdkRenderer form lib/*
13686
13687	* app/display.h : removed render_*.h includes
13688	* app/display.c : the only place where specific
13689	renderers need to be known
13690
13691	* app/connectionpoint_ops.c app/grid.c app/handle_ops.c
13692	use new DiaInteractiveRenderer interface
13693
13694	* app/*.c : ported to new renderer api
13695	* object/*/*.c : ported to new renderer api
13696	s/render.h/diarenderer.h/
13697	s/Renderer/DiaRenderer/
13698	s/renderer->ops/renderer_ops/
13699	add in every draw method:
13700  	DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
13701
13702	* plug-ins/hpgl/hpgl.c :
13703	  plug-ins/wmf/wmf.cpp
13704	  plug-ins/wpg/wpg.c : ported to be DiaRenderer based
13705	* plug-ins/shape/shape-export.c
13706	  plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
13707	  (nice how small these files became :-)
13708
137092002-09-28  Hans Breuer  <hans@breuer.org>
13710
13711	* */makefile.msc : updated
13712
13713	* app/defaults.c : don't gdk_invalidate_rect(NULL)
13714	* app/disp_callbacks.c :
13715	can't cast GtkWindow to GdkWindow, use shell->window
13716	(ddisplay_unrealize) don't use already unrefed im_context
13717	* app/display.c :
13718	can't cast from GtkMenu to GtkMenuItem
13719	(ddisp_destroy) : mark im_context as unrefed
13720
13721	* lib/dia_xml (data_font) : prefer new font format over old one
13722	(data_add_font) : write the legacy name to allow file exchange
13723	with pre Pango versions of Dia, which would otherwise crash
13724	on missing font 'name' attribute.
13725	* lib/font.c (dia_font_get_legacy_name) : improved implementation
13726	to get a better match.
13727
13728	* lib/libdia.def : updated
13729
13730	* lib/messages.c : don't gdk_widget_show(NULL)
13731
13732	* lib/prop_text.c : don't gtk_entry_set_text() with NULL string
13733
13734	[make Dia compile, link _and_ work with mingw/gcc3.2]
13735
13736	* config.h.win32 : #define LIBXML, this gets defined from libxml
13737	header but only for _MSC_VER. The mingw build did access an
13738	unitialized function pointer for xmlFree.
13739
13740	* */makefile.mingw : updated (some plug-ins have build issues)
13741
13742	* lib/handle.h lib/object.h :	there appears to be no
13743	forward declaration of the form
13744		typedef enum _HandleId HandleId
13745	(at least not with GCC 3.2 for C++) ../lib/handle.h:22:
13746	use of enum `_HandleId' without previous declaration
13747
13748	* app/paginate_gdiprint.cpp : added a hack to avoid g++
13749	naming conflict on 'export'
13750
13751	* app/paginate_gdiprint.h : forward declare Diagram
13752
13753	* objects/SADT/annotaion.c : use g_random_double()
13754
137552002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
13756
13757	* app/modify_tool.c: Made motion not happen until sufficiently
13758	large or past double-click interval, to avoid accidental moving
13759	when doubleclicking.  Got the double-click time right, and fixed
13760	some issues with release.  There are some corner cases that may
13761	exhibit strange behaviour, will look at those later.  Nah, let's
13762	not care about those, they are rare and not dangerous.
13763
137642002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
13765
13766	* app/layer_dialog.c:
13767	* app/load_save.c:
13768	* plug-ins/dxf/dxf-import.c:
13769	* plug-ins/python/pydia-diagram.c:
13770	* lib/diagramdata.c:
13771	* lib/diagramdata.h:
13772	Improved the consistency of the obj->parent_layer backlinks (esp.
13773	during reloads)
13774
13775	* lib/Makefile.am:
13776	* lib/dummy_dep.h:
13777	* lib/dynamic_obj.[ch] (NEW):
13778	* app/Makefile.am:
13779	* app/app_procs.c:
13780	* app/dynamic_refresh.[ch] (NEW):
13781	* objects/Misc/analog_clock.c:
13782	Added support for dynamic refresh (animated objects).
13783
137842002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
13785
13786	Patch from Owen Taylor <otaylor@redhat.com>:
13787	* doc/en/Makefile.am:
13788	* doc/en/dia-manual.sgml:
13789	* doc/en/usage-objects.sgml:
13790	* doc/en/usage-quickstart.sgml:
13791	* doc/pl/Makefile.am:
13792	* doc/pl/dia-manual.sgml:
13793	* doc/pl/usage-objects.sgml:
13794	* doc/pl/usage-quickstart.sgml:
13795
13796	- Change the DTD declration from an outdated GNOME one to a
13797	standard DTD.
13798
13799	- Remove close tags for <graphics> which aren't allowed for
13800	docbook SGML
13801
13802	- A hacky fix for a problem where some versions of db2html don't
13803	create *.css files. (If *.css doesn't match anything, then you get
13804	the global explicitely.)
13805
13806	(Closes: #92061)
13807
138082002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
13809
13810	* objects/custom/custom_object.c:
13811	* objects/custom/shape_info.[ch]: GE_TEXT display lists elements
13812	were never properly prepared for use when reloading a shape with
13813	<svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
13814	reporting the problem and coming up with a fix! (Closes: #93974)
13815
13816	* app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
13817	the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
13818
13819	* app/menus.c:
13820	* app/display.c: updated menu item paths Alan's patch had moved.
13821
13822	* app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
13823	load the sheet-provided icon (libpng versions mismatch, grrr.).
13824
13825	* configure.in:
13826	* objects/Makefile.am:
13827	* objects/Misc/Makefile.am (NEW):
13828	* objects/Misc/libmisc.c (NEW):
13829	* objects/Misc/analog_clock.c (NEW):
13830	* objects/Misc/pixmaps/analog_clock.xpm (NEW):
13831	* sheets/Misc.sheet.in: just a little experiment...
13832
138332002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
13834
13835	* plug-ins/xlst/Makefile.am: found a way to silence automake while
13836	not forcing everyone to build using libxslt.
13837
13838	* lib/font.c:
13839	* lib/message.c:
13840	* lib/object_defaults.c:
13841	* lib/intl.[ch]:
13842	* lib/render.c:
13843	* lib/properties.[ch]:
13844	* lib/propobject.c:
13845	* objects/standard/box.c:
13846	* objects/UML/state_term.c:
13847	* objects/FS/box.c:
13848	* objects/FS/flow-ortho.c:
13849	* app/app_procs.c:
13850	* app/autosave.c:
13851	* app/commands.c:
13852	* app/diagram_tree.c:
13853	* app/display.c:
13854	* app/disp_callbacks.c:
13855	* app/export_png.c:
13856	* app/filedlg.c:
13857	* app/lineprops_area.c:
13858	* app/menus.c:
13859	* app/preferences.c:
13860	* app/render_eps.c:
13861	* app/sheets.c:
13862	* app/sheets_dialog_callbacks.c:
13863	* plug-ins/xslt/xslt.c:
13864	* plug-ins/metapost/render_metapost.c:
13865	* plug-ins/xfig/xfig-export.c:
13866	* plug-ins/shape/shape-export.c:
13867
13868	Killed most gcc-3.2 warnings (const-correctness and derived warnings,
13869	unused variables, mostly)
13870
13871	* app/display.c:
13872	* app/menus.c: enabled GTK Input Methods (thanks Lars!)
13873
13874	* app/Makefile.am: modified run_dia.sh so that we recover the
13875	ability to run a debugger despite libtool's hacks.
13876
13877	* plug-ins/dxf/Makefile.am:
13878	* app/Makefile.am
13879	"make distcheck" fixes.
13880
138812002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
13882
13883	* objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
13884	<mfranzoni@madd.it>:  Check for the type being NULL.
13885
138862002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
13887
13888	* app/render_eps.c (set_font): Re-tweaked font size for printing.
13889
138902002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
13891
13892	Patch from Angus Ainslie <angusa@deltatee.com>:
13893	* plug-ins/dxf/dxf-import.c:
13894	* plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
13895
13896	(plus a couple extra fixes by me, such as the removal of printf's,
13897	adapting for recent changes, and killed a couple warnings)
13898
13899	* app/authors.h: a 60K patch isn't insignificant, is it?
13900
139012002-09-09  Tor Lillqvist  <tml@iki.fi>
13902
13903	* configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
13904	as before) and -lfreetype (using AC_CHECK_LIB). At least on
13905	Solaris with Sun's compiler (Forte C), you need to link also the
13906	dia application with -lfreetype, even if it is implicitly linked
13907	to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
13908	which is what they actually mean. Use FREETYPE_LIBS for
13909	-lfreetype.
13910
13911	Don't look for libsunmath if isinf() is not found in math.h (as on
13912	Solaris). The sunmath library is part of Forte C and not present
13913	on all machines. Besides, even if isinf was found in libsunmath,
13914	we didn't use it in the Makefile.am.
13915
13916	Fix a couple of bashisms.
13917
13918	AC_SUBST also Z_LIBS, need to link the dia application to -lz,
13919	too, on Solaris with Forte C.
13920
13921	Don't try to use the gcc flags with other compilers.
13922	DIA_CHECK_CFLAG gives a false indication that Forte C understands
13923	the gcc -f switches, but in fact they get interpreted meaning
13924	something completely different.
13925
13926	Define the automake conditional HAVE_CGC.
13927
13928	* app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
13929
13930	Use -export-dynamic only with gcc.
13931
13932	* */Makefile.am
13933	* */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
13934	PANGOFT2_CFLAGS rename.
13935
13936	* lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
13937
13938	* lib/dia_xml.c: Include geometry.h for the isinf() stuff on
13939	Solaris.
13940
13941	* lib/paper.c: Workaround for gccism: Can't use inline this way with
13942	Forte C, either.
13943
139442002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
13945
13946	* lib/text.c(set_string): fixed a memory leak (char* ain't no
13947	std::auto_ptr<char> !).
13948
13949	* app/display.[ch]:
13950	* app/interface.[ch]:
13951	* app/ddisp_callbacks.[ch]: Added some basic support for input
13952	methods (GtkIMContext-based)
13953
13954	* lib/Makefile.am:
13955	* app/Makefile.am: made libdia a shared object (per Tor
13956	Lillqvist's suggestion/request), to cope for platforms with a less
13957	than par dynamic library loader.
13958
13959	* app/display.c: disabled the input method menu (I really don't
13960	see where and how to put them. Blame Frozen Bubble )
13961
139622002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
13963
13964	* objects/flowchart/box.c (box_update_data): Made resizing
13965	possible again (only set width & height when resized too small).
13966
13967	Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
13968
13969 	* app/disp_callbacks.c (ddisplay_canvas_events): Handle
13970 	GdkScrollEvents.
13971
139722002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
13973
13974	* app/authors.h: now showing Akira TAGOH's name in the native script.
13975
139762002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13977
13978	* plug-ins/xslt/xslt.c: Removed glib warning for unset
13979	DIA_PLUGIN_PATH.
13980
139812002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
13982
13983	* plug-ins/svg/render_svg.c: Applied (reversed...) patch from
13984	Mike Sowka <msowka@rogers.com>. This fixes a problem with the
13985	sweep flag in arcs.
13986
139872002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
13988
13989	* objects/UML/class.c: Fixed showing of empty stereotypes and got
13990	the string placed correctly.
13991
139922002-08-30  Hans Breuer  <hans@breuer.org>
13993
13994	* lib/font.c (dia_font_get_style) : don't shift already
13995	shifted DIA_FONT values.
13996
13997	* lib/libdia.def : updated externals
13998
13999	* app/disp_callbacks.c : on win32 GdkEventKey::string already
14000	is in UTF-8. (Longterm this probably should be handled on the
14001	gtk api level)
14002
14003	* app/command.[hc] app/display.[hc] app/menus.c : add code to
14004	switch display renderers again. The libart renderer is very
14005	useful for win9x with it's limited GDI.
14006
14007	* app/render_gdk.c : use g_warning instead of printf which gets
14008	nowhere on win32 (non console apps)
14009
14010	* app/render_libart.c : make it compile without FREETYPE
14011
14012	* objects/makefile.msc plug-ins/makefile.msc : added clean target
14013
140142002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
14015
14016	* app/render_eps.c (postscript_draw_contour): Debugging statement
14017	that allowed me to figure out font problems.
14018
14019	* lib/widgets.c (dia_font_selector_set_styles): Use radio menu
14020	items for font styles.
14021
14022	* objects/FS/flow-poly.c:
14023	* objects/FS/flow-ortho.c:
14024	* objects/FS/flow.c: Further conversion away from GTK dialogs.
14025	Can't set a default label right now:(
14026
14027	* app/interface.c (fill_sheet_wbox): Added initialization for mask.
14028
140292002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
14030	Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
14031
14032 	* Makefile.am: rules relating to AUTHORS and THANKS
14033 	altered.
14034 	* AUTHORS: file content changed to more accurately
14035 	reflect guideline requirements.
14036 	* TODO: warning added about Gnome BTS.
14037 	* KNOWN_BUGS: warning added about Gnome BTS.
14038
14039	---
14040
14041	* AUTHORS: added full copyright info.
14042	* mkauthors-placeholder: (removed)
14043
140442002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14045
14046	* app/paginate_psprint.c (print_page): Fixed text printing after
14047	tip from Dov Grobgeld.
14048
140492002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
14050
14051	* app/paginate_psprint.c (print_page): Fixed color of clip
14052	region.
14053
140542002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
14055
14056	* sheets/Makefile.am: enabled intltool-merge translation cache for
14057	sheets.
14058
14059	* Makefile.am:
14060	* mkauthors-placeholder:
14061	* AUTHORS: revived that file (in a placeholder form) so that
14062	automake stops yelling.
14063	(derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
14064	(Closes: #91144)
14065
14066	Heh, by the way, thanks Christophe. I feel better now.
14067
140682002-08-25  Christophe Merlet  <christophe@merlet.net>
14069
14070	* app/command.c: Removed invalid multibyte sequence in Chepelov.
14071
140722002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
14073
14074	* lib/dia_image.c (dia_image_rgb_data):
14075	Bugfixes in image data retrieval.
14076
14077	* app/render_eps.c: Refactoring of new_*_renderer.
14078
140792002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14080
14081	* app/render_eps.c:
14082	* lib/dia_image.h:
14083	* lib/dia_image.c: Support for rowstride != width (odd width images)
14084
140852002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14086
14087	* lib/paper.c (get_paper_info): Fixed NULL prefs problem.
14088	* plug-ins/xfig/xfig-import.c: Removed assertion.
14089
140902002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
14091
14092	* lib/paper.c: Removed app/preferences.h reference.
14093
140942002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
14095
14096	* plug-ins/svg/svg-import.c:
14097	* plug-ins/xfig/xfig-import.c:
14098	* lib/Makefile.am (libdia_a_SOURCES):
14099	* objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
14100	* lib/create.h:
14101	* objects/standard/create.h:
14102	* objects/standard/polygon.c (polygon_create):
14103	* objects/standard/polyline.c (polyline_create):
14104	* objects/standard/beziergon.c (beziergon_create):
14105	* objects/standard/bezier.c (bezierline_create):
14106	Moving create.h into lib.
14107
141082002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
14109
14110	* app/render_libart.[ch]: Work on PNG font export.  Something's
14111	still fishy with the scaling, I don't get it.
14112
14113	* app/display.c:
14114	* app/interface.c: Replaced broken zoom combo with entry+menu.
14115	Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
14116
14117	* app/render_gdk.c (get_text_width): Checks for validity of text.
14118	Temporary help while debugging input -- should only activate on
14119	invalid input.
14120
14121	* objects/SADT/annotation.c:
14122	* objects/GRAFCET/transition.c:
14123	* objects/FS/function.c: Removal of gtk.h include.
14124
14125	* objects/UML/state.c (state_load): Warnings about using State
14126	object for initial/final states.
14127
14128	* plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
14129
141302002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
14131
14132	* app/render_eps.c: Text rendering that scales correctly.  Too bad
14133	the standard fonts don't get selected right.
14134
141352002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
14136
14137	* lib/diagramdata.h:
14138	* lib/paper.c (get_paper_info):
14139	* lib/paper.h:
14140	* plug-ins/xfig/xfig-import.c:
14141	Committed before testing.  I am so embarrased.  This compiles, now
14142	that the includes are in the right order.
14143
14144	* app/diagram.c (diagram_init):
14145	* app/app_procs.c (do_convert):
14146	* app/preferences.h:
14147	* lib/diagramdata.h:
14148	* lib/diagramdata.c (new_diagram_data):
14149	* lib/paper.h:
14150	* lib/paper.c (get_paper_info):
14151	Moved new_diagram part of prefs into lib/diagramdata.h.  More
14152	could be done in new_diagram_data() now.
14153
141542002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
14155
14156	* app/render_eps.c: Better scaling of fonts at non-normal zoom.
14157
141582002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
14159
14160	* configure.in: removed silly user-visible comment
14161
14162	(actually, this is a dummy entry before I manually run nemo; for
14163	some dist-upgrade related reason, this morning's run aborted before
14164	the snapshots were created)
14165
141662002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
14167
14168	* objects/network/wanlink.c:
14169	* objects/network/bus.c:
14170	stdprop compliance!
14171
14172	* objects/custom/custom_object.c:
14173	* objects/network/wanlink.c:
14174	* objects/flowchart/parallelogram.c:
14175	* objects/flowchart/ellipse.c:
14176	* objects/flowchart/diamond.c:
14177	* objects/flowchart/box.c:
14178	Removed GTK defaults stuff.
14179
14180	* objects/UML/fork.c:
14181	* objects/UML/object.c:
14182	* objects/UML/lifeline.c:
14183	* objects/UML/branch.c:
14184	* objects/GRAFCET/transition.c:
14185	* objects/FS/function.c: Removed GTK include.
14186
14187	* objects/FS/flow-ortho.c:
14188	* objects/FS/flow.c: Made the label behave again.
14189	Also removed GTK defaults stuff.
14190
141912002-08-06  Hans Breuer  <hans@breuer.org>
14192
14193	* app/autosave.c : ported to GDir which is the improved
14194	cross platform replacement for <dirent.h>
14195
14196	* app/makefile.msc : build autosave.obj
14197
14198	* app/font.c : some (bad?) code calls
14199	dia_font_scaled_decent() not only with empty string but
14200	with NULL. Handle it gracefully.
14201
14202	* lib/paper.c : don't depend on ../app. Although IMO
14203	this shouldn't be allowed on any platform it is only
14204	disabled for win32, where it simply doesn't work
14205	this way
14206
14207	* lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
14208
14209	* objects/fs/flow.c : conditionalize debug spew, disabled
14210	and 'ported' to use g_print. Simple printf won't work with
14211	standard win32 gui apps, may even crash them.
14212
14213	* plug-ins/makefile.msc : DISABLED svg-import cause it
14214	depends on ../objects/custom. This not only break the
14215	build for all non ELF systems but IMO also isn't acceptable
14216	from a design point of view. See dia-list mail on subject.
14217
14218	* plug-ins/python/makefile.msc :
14219	  plug-ins/python/python.c : remove all references to dirent
14220
142212002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
14222
14223	* configure.in: added ro to ALL_LINGUAS
14224
14225	* po-checktrans:
14226	* po-checktrans.py:
14227	* ../translation-graphs/transgraph.py: added support for fuzzy
14228	translations. Enlarged the graphs.
14229
142302002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14231
14232	* app/disp_callbacks.c (ddisplay_canvas_events): Now translates
14233	key events according to locale.  No clue if this works for
14234	advanced stuff.
14235
142362002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
14237
14238	* lib/text.c: Various UTF8 related fixes, in particular in
14239	deleting.  Text_insert_char is fine, far as I can tell.
14240
14241	* app/interface.c (create_display_shell):
14242	* app/commands.c: Now uses gtk_clipboard functions, for they are
14243	much simpler.  Also handles Win32 clipboard.  Non-ascii chars
14244	don't seem to get handled correctly by text_insert_char in
14245	lib/text.c.
14246
14247	* app/commands.c (received_selection_handler): Got utf8 handling
14248	on paste, and individual char handling out of commands.c.  Pasting
14249	non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
14250
14251	* lib/message.c (gtk_message_internal): Message dialog re-shown
14252	when new message appears.  Maybe it should even move to top?
14253
14254	* lib/font.c:
14255	* lib/widgets.c:
14256	* app/render_eps.c (create_eps_renderer): Fonts now lowercase
14257	(again) and case-insensitive.
14258
14259	* objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
14260	BASIC_SANS_FONT.
14261
142622002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
14263
14264	* app/commands.c (edit_cut_text_callback):
14265	* lib/text.c (text_delete_all): Now functioning undo for text cut.
14266
14267	* app/commands.c (edit_cut_text_callback): Now removes text.
14268	Undo is broken, though.
14269
142702002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
14271
14272	* app/diagram.c (diagram_update_menu_sensitivity):
14273	Making cut_text active.
14274
14275	* app/commands.h:
14276	* app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
14277	clipboard.  Also removed AA callback.
14278
142792002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
14280
14281	* objects/chronogram/chronoref.c:
14282	* objects/chronogram/chronoline.c:
14283	* objects/SADT/annotation.c:
14284	* objects/SADT/arrow.c:
14285	* objects/SADT/box.c:
14286	* objects/GRAFCET/vergent.c:
14287	* objects/GRAFCET/vector.c:
14288	* objects/GRAFCET/step.c:
14289	* objects/GRAFCET/condition.c:
14290	* objects/GRAFCET/action.c:
14291	* objects/ER/participation.c:
14292	* objects/ER/relationship.c:
14293	* objects/ER/entity.c:
14294	* objects/ER/attribute.c:
14295	Removing unnecessary GTK references.
14296
142972002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
14298
14299	* objects/standard/image.c:
14300	* objects/standard/textobj.c:
14301	* objects/standard/ellipse.c:
14302	* objects/standard/polygon.c:
14303	* objects/standard/beziergon.c:
14304	* objects/standard/box.c:
14305	Making default default properties.
14306
14307	* objects/standard/image.c:
14308	* objects/standard/arc.c:
14309	* objects/standard/box.c:
14310	* objects/standard/zigzagline.c:
14311	* objects/standard/polyline.c:
14312	* objects/standard/line.c:
14313	* objects/standard/ellipse.c:
14314	* objects/standard/polygon.c:
14315	* objects/standard/beziergon.c: Removing vestigal GTK stuff.
14316
14317	* lib/object_defaults.c (dia_object_default_create):
14318	* lib/proplist.c:
14319	* lib/properties.h:
14320	* lib/object.c (object_copy_using_properties):
14321	* lib/propdialogs.c:
14322	* lib/propinternals.h:
14323	* lib/propobject.c (object_create_props_dialog)
14324	(object_copy_props):
14325	Removing the standard (toolbox) properties from defaults dialogs.
14326
143272002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
14328
14329	* lib/font.c (dia_font_scaled_string_width)
14330	(dia_font_scaled_ascent, dia_font_scaled_descent): Account for
14331	zoom factor.
14332	* lib/text.c (text_calc_boundingbox): Take descent into account.
14333
14334	* objects/standard/bezier.c (bezierline_draw):
14335	* lib/render.c (draw_bezier_with_arrows):
14336	Better arrow drawing for beziers.  Doesn't change the mouse-click
14337	area either.
14338
14339	* lib/arrows.h: Some const-ness.
14340
14341	* lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
14342
14343	* lib/render.c (draw_arc_with_arrows):
14344	* objects/standard/arc.c (arc_draw): Better arrow drawing for
14345	arcs.  Doesn't change the mouse-click area yet.
14346
14347	* app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
14348
14349	* lib/render.h:
14350	* lib/render.c:
14351	Arc arrow prework.
14352
143532002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
14354
14355	* app/group.c (group_draw): Forgotten commit: Groups to draw as
14356	objects (using default routines).
14357
14358	* app/object_ops.h:
14359	* app/diagram.h:
14360	* lib/diagramdata.h:
14361	* lib/diagramdata.c (layer_find_closest_connectionpoint):
14362	* objects/standard/zigzagline.c (zigzagline_move_handle):
14363	* app/diagram.c (diagram_find_closest_connectionpoint):
14364	* plug-ins/python/pydia-diagram.c
14365	(PyDiaDiagram_FindClosestConnectionPoint):
14366	* app/object_ops.c (object_connect_display)
14367	(object_find_connectpoint_display)
14368	* app/create_object.c (create_object_button_press)
14369	(create_object_motion):
14370	* app/modify_tool.c (modify_motion):
14371	Adding object param to allow connectionpoint and handle coinciding.
14372
14373	* objects/standard/zigzagline.c (zigzagline_check_orientation):
14374	Fixing minor problems.
14375
14376	* objects/standard/ellipse.c (ellipse_update_data):
14377	Added direction hints.
14378
14379	* lib/diagramdata.c:
14380	* lib/object.c:
14381	* lib/object.h:
14382	* lib/diagramdata.h:
14383	* objects/standard/zigzagline.c:
14384	First working example of zigzagline hints, currently only between
14385	Box and Zigzagline.
14386
143872002-07-27  Steffen Macke <sdteffen@web.de>
14388
14389	* plug-ins/svg/render_svg.c: added support for rounded
14390	rectangles (fixes #69053 if compile with
14391	-DNEW_RENDER_OPS)
14392	* object/custom/shape_info.[c|h]: made parse_style and
14393	parse_path accessible for svg plug-in
14394	* plug-ins/svg/Makefile.am:
14395	* plug-ins/svg/svg.c:
14396	* plug-ins/svg/svg-import.c(new): added SVG import filter
14397
143982002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14399
14400	* objects/standard/box.c:
14401	* objects/standard/zigzagline.c (zigzagline_move):
14402	More work on zigzagline hints.
14403
144042002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
14405	* lib/connectionpoint.h:
14406	Hints for zigzaglines.
14407
14408	* app/properties.c (properties_show):
14409	* app/defaults.c (defaults_show):
14410	* lib/properties.h:
14411	* lib/propobject.c (object_create_props_dialog):
14412	* lib/object.h:
14413	* objects/FS/flow-poly.c:
14414	* objects/network/wanlink.c:
14415	* objects/network/bus.c:
14416	* objects/UML/class.h:
14417	* objects/UML/class_dialog.c:
14418	* objects/UML/association.c:
14419	Start of removing toolbox props from props dialogs.
14420
14421	* lib/widgets.c:
14422	* lib/arrows.h:
14423	* app/lineprops_area.c (dia_arrow_chooser_new):
14424	* lib/arrows.c: Two new arrows: Concave, filled and blanked.
14425
14426	* app/create_object.c:
14427	* app/modify_tool.c:
14428	* app/cursor.h:
14429	* app/cursor.c:
14430	More cursor change.
14431
144322002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
14433
14434	* app/preferences.c:
14435	* lib/paper.c:
14436	* app/diapagelayout.c:
14437	New prefs selector kind PREF_CHOICE chooses between a list of
14438	strings.  Used for picking default paper.
14439
14440	* app/preferences.c (prefs_data):
14441	* lib/paper.c (get_paper_info): Added prefs setting for
14442	is_portrait.
14443
14444	* lib/render.c (draw_polyline_with_arrows): Handles degenerate
14445	line segments at the ends (bug #86603).
14446
144472002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
14448
14449	* objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
14450	#60324: Now calls update_data after copy.
14451
14452	* app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
14453	Now doesn't steal selection from non-object tools.
14454
144552002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
14456
14457	* app/commands.c (help_manual_callback): Uses BROWSER environment
14458	variable when available.
14459
144602002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14461
14462	* app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
14463	object from the new sheet when changing.
14464
14465	* app/app_procs.c (app_init): Uses more standard size icon, from
14466	patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
14467
144682002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
14469
14470	* objects/UML/implements.c (implements_update_data):
14471	* objects/UML/realizes.c (realizes_update_data):
14472	* objects/UML/dependency.c (dependency_update_data):
14473	Test for null strings before calling on ascent.
14474
14475	* objects/UML/realizes.c (realizes_draw):
14476	* objects/UML/message.c (message_draw):
14477	* objects/UML/generalization.c (generalization_draw):
14478	* objects/UML/dependency.c (dependency_draw)
14479	* objects/UML/constraint.c (constraint_draw):
14480	* objects/GRAFCET/condition.c (condition_draw):
14481	* objects/UML/association.c (association_draw):
14482	* objects/FS/flow-ortho.c (orthflow_draw):
14483	* objects/FS/flow.c (flow_draw): Change to use
14484	draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
14485
14486	* lib/render.h:
14487	* lib/arrows.c (calculate_arrow_point):
14488	* lib/arrows.h:
14489	* lib/render.c:
14490	* objects/standard/zigzagline.c:
14491	* objects/standard/polyline.c:
14492	* objects/standard/line.c: Work towards better arrow drawing.
14493
144942002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
14495
14496	* objects/UML/state.c: Starting phase-out of State object as
14497	initial/final state (which never worked right).
14498
14499	* app/app_procs.c (app_init): --version command line option for
14500	non-Gnome.
14501
14502	* configure.in: Slight improvement in GETTEXT_PACKAGE handling.
14503
145042002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
14505
14506	* app/render_eps.c: Removed debugging info.
14507
14508	* lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
14509	Kludge to make ascent and descent work for empty strings.  Won't
14510	work when using non-ASCII fonts.  Better would be to get a
14511	PangoFont and ask directly.
14512
14513	* configure.in: Simple define of GETTEXT_PACKAGE, and some updates
14514	of the init stuff.
14515
14516	* app/render_gdk.c (get_text_width): Fixed use of wrong string.
14517	Cursor now better.
14518
145192002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
14520
14521	* plug-ins/xfig/xfig-export.c: First use of draw_object render
14522	function: All shapes are now groups in XFig export.
14523
14524	* lib/diagramdata.c (normal_render):
14525	* lib/render.c:
14526	* lib/render.h:
14527	* app/display.c (ddisplay_obj_render):
14528	New render function for drawing objects, allows renderers to group
14529	or otherwise specially handle objects.  We may want to reconsider
14530	calling it in app/display.c, as we 'know' the object draw function
14531	is the default one there.
14532
14533	* lib/Makefile.am: Removed extra \ that broke stuff.
14534
14535	* plug-ins/xfig/xfig-import.c:
14536	Spline import for xfig.  Not perfect.
14537
14538	* objects/standard/create.h:
14539	* objects/standard/bezier.c (bezierline_create):
14540	* lib/bezier_conn.c:
14541	* lib/beziershape.c (beziershape_set_points):
14542	* lib/bezier_conn.h:
14543	* lib/beziershape.h:
14544	Support for creating beziers non-interactively.
14545
145462002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
14547
14548	* plug-ins/xfig/xfig-import.c: Support for polygons and
14549	polylines.  Special warning handling system removed.
14550
14551	* lib/message.c (gtk_message_internal): Fixed bug involving
14552	closing message window and then getting repeated message.
14553
14554	* Makefile.am:
14555	* autogen.sh:
14556	* configure.in (GETTEXT_PACKAGE):
14557	Update based on bug #88199.  Hopefully this doesn't break too much
14558	intl stuff.
14559
14560	* dia.desktop.in (_Comment): Changed after suggestion from
14561	calum.benson@ireland.sun.com (bug 88345)
14562
14563	* app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
14564	<loli@unsa.edu.ar> that makes user/system distinction better.
14565
145662002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
14567
14568	* app/render_libart.c: Got the context right, removed crashes.
14569
14570	* app/commands.c:
14571	* app/commands.h:
14572	Redraw menu item.
14573
14574	* app/display.c:
14575	* app/display.h:
14576	* app/interface.c:
14577	* app/menus.c:
14578	Remove libart #defines from most places (still around for png export).
14579
14580	* app/render_libart.h:
14581	* app/render_libart.c:
14582	* configure.in (HAVE_LIBART):
14583	Starting on update of libart stuff for png export (without X).
14584
14585	* app/autosave.h (autosave_check_autosave):
14586	* app/load_save.h:
14587	* app/diagram.h:
14588	* app/Makefile.am (dia_core_files):
14589	* app/load_save.c:
14590	* app/diagram.c (diagram_set_modified):
14591	* app/autosave.c:
14592	* app/app_procs.c (app_init):
14593	Autosave support.  No automatic restore yet.
14594
145952002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
14596
14597	* app/render_eps.c (create_eps_renderer): #ifdef'd a scale
14598	assignment.
14599
146002002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
14601
14602	* app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
14603
146042002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
14605
14606	* Fix for 'make dist' etc. --- problem caused by
14607	previous AUTHORS patch.
14608
146092002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
14610
14611	* plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
14612	pango_context.
14613	(set_font): NULL check.
14614
146152002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
14616
14617	* app/disp_callbacks.c:
14618	* lib/diamenu.h:
14619	Addition to the object menus allows check menu items.
14620
146212002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
14622
14623	* HACKING: completely changed to bring up-to-date.
14624	* AUTHORS: file needs REMOVING from CVS as now
14625	  dynamically generated.
14626	* app/authors.h: split into subcategories for original
14627	  authors, maintainers, etc.
14628	* app/app_procs.c: --credits rewritten to support new
14629	  app/authors.h
14630	* app/commands.c: no changes to about box code, comment
14631	  added though.
14632	* Makefile.am: added rule for AUTHORS. I'm still
14633	  inexperienced with automake, it seems to work, but
14634	  for AUTHORS-related bugs, look at this change first.
14635
146362002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
14637
14638	* plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
14639	work.  Back to including xslt dir always.
14640
14641	* objects/UML/uml.c:
14642	* objects/UML/class.h:
14643	* objects/UML/class_dialog.c:
14644	* objects/UML/class.c: Patch from
14645	<mattam@netcourrier.com>:  Adds comment visibility switch, also
14646	fixes various bugs.
14647
14648	Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
14649	for state/fork/activity stuff.
14650 	* objects/UML/state.c: Removed old draw_rounded_rectangle code.
14651 	* objects/UML/Makefile.am:
14652 	* objects/UML/uml.c:
14653 	* sheets/UML.sheet.in: Added new objects activity, fork,
14654 	  state_term.
14655 	* objects/UML/pixmaps/state_term.xpm:
14656 	* objects/UML/state_term.c: New, only initial/final states.
14657 	* objects/UML/pixmaps/activity.xpm:
14658 	* objects/UML/activity.c: New, activity state.
14659 	* objects/UML/pixmaps/fork.xpm:
14660 	* objects/UML/fork.c: New, fork/join bar.
14661 	* objects/UML/pixmaps/state.xpm: state icon.
14662
14663
14664	* doc/diagram.dtd:
14665	* doc/shape.dtd: Patch from "Dolores Alia de Saravia"
14666	<loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
14667	svg:text to shape.
14668
146692002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
14670
14671	* plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
14672	detecting XSLT
14673
14674	* app/Makefile.am: Commented out the diaconv parts while it's not
14675	used anyway.  To come back later.
14676
14677	* configure.in (HAVE_FREETYPE):
14678	* app/app_procs.c:
14679	* app/render_eps.h:
14680	* app/render_eps.c: Support for printing with freetype, better
14681	encapsulated now.  Renders the text nicely, but ignores font
14682	setting.  Requires pangoft2 to get the font outline, but non-text
14683	objects can still be rendered without it.
14684
14685	* app/commands.h:
14686	* app/commands.c (objects_place_up_callback)
14687	(objects_place_down_callback):
14688	* app/diagram.h:
14689	* app/diagram.c (diagram_place_down_selected)
14690	(diagram_place_up_selected): Starting support for moving objects
14691	one level up/down.
14692
14693	* app/menus.c: Removed character/numeral shortcuts.
14694
146952002-07-06  Hans Breuer  <hans@breuer.org>
14696
14697	* makefile.am app/makefile.am lib/makefile.am
14698	  objects/makefile.am plug-ins/makefile.am
14699	  plug-ins/python/makefile.am :
14700	added required files for win32 build to EXTRA_DIST
14701
14702	* app/paginate_psprint.c app/render_eps.c
14703	  app/app_procs.c :
14704	wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
14705	on Pango as currently is on win32 => no PostScript
14706	anymore.
14707
14708	* lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
14709	use '/* noop */;' for empty case labels; replace
14710	debug spew printf with g_print which is guaranteed
14711	to work on win32, too.
14712
14713	* lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
14714	for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
14715	in the pango_font_description_set_weight() api documentation
14716	Take care for them in dia_font_get_style() too.
14717
14718	* lib/font.[hc] lib/widget.c objects/custom/shape_info.c
14719	  plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
14720	rename Obliquity to Slant which appears to be the usual name,
14721	also rename dia_font_get_style_string -> dia_font_get_slant_string
14722
14723	* plug-ins/wmf/wmf.cpp : finally ported to new font api
14724
14725	* lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
14726
14727	* objects/uml/association.c class.c large_package.c message.c
14728	if g_free() is used g_strdup needs to be used.
14729	* objects/custom/shape_info.c
14730	  objects/ER/attribute.c entity.c
14731	  objects/standard/image.c
14732	  app/sheets_dialog_callbacks.c : more strdup cleaning
14733
147342002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14735
14736	* app/render_eps.c: Non-crashing printing (made the right
14737	context).  Font output still fscked up.
14738
147392002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
14740
14741	* app/authors.h: Added file --- now master
14742	location for contributors data.
14743	* app/app_procs.c: Added --credits option.
14744	* app/commands.c: Modified about box to use
14745	app/authors.h.
14746
147472002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14748
14749	* app/render_eps.c: First stab at EPS rendering using the contour
14750	code from PAPS.  Crashes.
14751
147522002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
14753
14754	* app/recent_files.c (recent_file_history_remove):
14755	Fixed call to g_list_delete_link discarding return value.
14756
14757	* lib/widgets.c (dia_font_selector_set_styles):
14758	* lib/font.h (DiaFontWeight):
14759	* lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
14760
147612002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
14762
14763	Contribution from Alan Horkan <horkana@tcd.ie>:
14764
14765	* shapes/Assorted/*
14766	* sheets/Assorted.sheet:
14767	A set of 40 assorted geometric shapes.
14768
14769	* sheets/Assorted.sheet.in:
14770	* sheets/Makefile.am
14771	* shapes/Assorted/Makefile.am:
14772	* shapes/Makefile.am:
14773	* po/POTFILES.in:
14774	* configure.in:
14775	Done the integration job of Alan's shapes. (Translators: have fun!)
14776
14777	* po/dia.pot: refreshed the main potfile.
14778
147792002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
14780
14781	Patch from Tim Ellis <Tim.Ellis@gamet.com>:
14782
14783	* objects/UML/class.[ch]:
14784	* objects/UML/class_dialog.c:
14785	changed the number of connection points from a hardcoded value of
14786	8 to a #defined constant
14787
14788	(I changed the constant back from 20 to 8, until we better know
14789	how we'll handle more connection points on the UML class in the
14790	future -- but Tim's patch is a welcome clean-up).
14791
147922002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
14793
14794	* shapes/MSE/demultiplexer.xpm:
14795	* shapes/MSE/node_center.xpm:
14796	* shapes/MSE/multiplexer.xpm:
14797	* shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
14798	Horkan <horkana@tcd.ie>
14799
148002002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
14801
14802	* lib/widgets.c: Total rehash of font selector, with font dialog
14803	option, expanding list (not LRU yet), and stuff.
14804
148052002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
14806
14807	* lib/font.h:
14808	* lib/font.c:
14809	Added a set of new setter/getters, some of them more specially for
14810	the SVG-ish I/O.
14811
14812	* plug-ins/shape/shape-export.c: (new_shape_renderer),
14813	(destroy_shape_renderer), (set_font), (draw_string):
14814	* plug-ins/svg/render_svg.c: (new_svg_renderer),
14815	(destroy_svg_renderer), (set_font), (draw_string):
14816
14817	Actually exported the font face, style, weight and size (sodipodi
14818	agrees with dia on how a small sample should look like (a sample
14819	0.90 would not even display anyways). Yay !)
14820
14821	Patch from Matthieu Sozeau <mattam@netcourrier.com>:
14822
14823	* plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
14824
14825	(end of ChangeLog-less patch)
14826
14827	* objects/custom/shape_info.c (parse_style): now understands the
14828	font-style and font-weight attributes as well. Does not use
14829	anymore dia_font_new_from_legacy_name().
14830
148312002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
14832
14833	* objects/standard/textobj.c: Now uses stdprops for defaults.
14834
14835	* lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
14836	* lib/font.c (dia_font_get_style): Style now linear and conversion
14837	simple.
14838
14839	* lib/widgets.c (dia_font_selector_set_styles): Fixed the style
14840	selector.
14841
148422002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
14843
14844	* plug-ins/dxf/dxf-import.c:
14845	using dia_font_new_from_style()
14846
14847	Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
14848
14849	* objects/UML/class.[ch]: Added a comment field to class
14850	* objects/UML/uml.[ch]: Added a comment field to attributes,
14851	operations and parameters.
14852	* objects/UML/class_dialog.c: Added code for the new comment
14853	fields.
14854	* plug-ins/xslt/*.xsl: Added some code to handle comments.
14855	* plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
14856	Added a $directory parameter for stylesheets so the output is
14857	in the good place (not in the $PWD).
14858
14859	(end of Patch)
14860
14861	* AUTHORS: added contributors, updated maintainers. Removed the
14862	specific areas of action.
14863
14864	* Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
14865	from a patch by Xing Wang <quixon@gnuchina.org>:
14866
14867	* app/commands.c: help_about_callback now supports
14868	new-style GNOME about box as well as old GTK style.
14869	code also tidied (Closes: #85726)
14870
14871	(end of Patch)
14872
14873	* app/commands.c: fixed the copyright (it's not all FSF), and
14874	maintainers. Synced contributors list with AUTHORS.
14875
148762002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
14877
14878	* lib/message.c: More work on repeating messages, now with
14879	togglable view.
14880
148812002-06-24  Hans Breuer  <hans@breuer.org>
14882
14883	* lib/widget.c : some more bits in place, at least
14884	it does something useful instead of crashing. Much
14885	better - but not all ok :-)
14886
148872002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14888
14889	* lib/message.c (gtk_message_internal): First stab at repeating
14890	message dialog.
14891
148922002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
14893
14894	* objects/FS/*.c:
14895	* objects/GRAFCET/*.c:
14896	* objects/SADT/*.c:
14897	* objects/UML/association.c: (one instance forgotten)
14898	* objects/UML/large_package.c:
14899	* objects/standard/textobj.c:
14900	* lib/attributes.c:
14901	* lib/text.c:
14902	using dia_font_new_from_style()
14903
149042002-06-23  Hans Breuer  <hans@breuer.org>
14905
14906	* lib/font.c : giving some love to
14907	dia_font_new_from_legacy_name() that is making
14908	import of old files as painless as possible and
14909	provide an almost exact match where possible.
14910	It does not yet fully work because it interfers
14911	with the Style to DiaStyle conversion which comes
14912	next ...
14913
14914	[Changing these files is only allowed with Dia-0.90]
14915	* broken-files/fonts-0.90.dia : including the
14916	common hard-coded fonts from Dia-0.90. It also
14917	has drawn bounding-boxes for win32 as they were calculated
14918	from the former version (they were all too big).
14919	* broken-files/fonts-0.90-full.dia : all hardcoded
14920	fonts including the asian versions. On my machine
14921	this gives _a lot_ complaining about missing fonts
14922	and a finally a broken file display. Anyone having
14923	all these fonts ?
14924
149252002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
14926
14927	* objects/chronogram/*.c:
14928	* objects/custom/custom_object.c:
14929	* objects/ER/*.c:
14930	using dia_font_new_from_style()
14931
149322002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14933
14934	* lib/widgets.c (dia_font_selector_set_styles): Improvements to
14935	font selector (stability, insensitivity).
14936
14937	* lib/font.c (dia_font_scaled_build_layout): Removed unworkable
14938	stretching scheme for tweaking, and made scaling scheme faster
14939	(but less precise).
14940	(dia_font_dia_style_to_pango): Oops, % != /.
14941
149422002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
14943
14944
14945	* patch from Matthieu Sozeau  <mattam@netcourrier.com>:
14946
14947	* plug-ins/xslt : Added an XSLT plugin to export dia files using
14948	XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
14949	It includes a small config file to tell it what stylesheets to use.
14950
14951	(end of patch)
14952
14953	* plug-ins/xslt/xsltdialog.c: modified the dialog to be more
14954	GTK2.0/HIG compliant (the labels could be slightly more verbose,
14955	perhaps). Added back a couple forgotten _(). Removed //-style
14956	comments.
14957
149582002-06-23  Hans Breuer  <hans@breuer.org>
14959
14960	* lib/plug-ins.c
14961	(dia_plugin_get_name) : don't crash plugin_manager
14962	on name being NULL
14963	(dia_plugin_load) : reuse the description field to
14964	store the error string if loading fails.
14965
14966	* lib/font.[hc] : starting to beautify the new
14967	font api: proper namespacing, adding convenience
14968	functions like dia_font_new_from_style(), ...
14969
14970	* objects/uml/*.c : use the new convenience functions.
14971
14972	[Next thing I plan to do is changing the other font
14973	 functions to take DiaStyle and make Style and
14974	 BASIC_*_FONT vanish. As well as giving some love to
14975	 dia_font_new_from_legacy_name().
14976	 If anyone want's to help on converting the other
14977	 objects to the new api during that, I would highly
14978	 appreciate it.]
14979
149802002-06-23  Hans Breuer  <hans@breuer.org>
14981
14982	* lib/font.c : made it compile and small indent fixes.
14983	Is there a code-has-no-effect-so-needs-not-be-valid
14984	with GCC?
14985
14986	* lib/widgets.c : use g_strcasecmp
14987
149882002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
14989
14990	* lib/font.c:
14991	* lib/font.h:
14992	* lib/widgets.c: Font names sorted, style selector widget
14993	reappeared.  Doesn't select the old style yet.
14994
149952002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
14996
14997	* lib/font.c: one who expects a text's font to be changed shall
14998	actually request the attributes to apply to the whole range of the
14999	said text... D'oh!
15000
15001	* lib/font.c: extents computation was wrong.
15002
15003	* lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
15004	if a last NULL parameter is added...
15005
15006	* lib/font.c: extents computation was completely wrong. This looks
15007	much better this time.
15008
15009	* objects/UML/class.c: fixed the various strings positions.
15010
15011	* lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
15012	macros to get the hardcoded base fonts.
15013
15014	* objects/ER/relationship.c: wasn't converted to DiaFont*
15015
150162002-06-22  Hans Breuer  <hans@breuer.org>
15017
15018	* lib/widget.c : dont use backend specific functions
15019	to get on the font_families. Including it would mean
15020	including <windows.h> which breaks due to namespace
15021	pollutions ...
15022
15023	* lib/libdia.def : updated externals
15024
15025	* app/makefile.msc : temporary disabled: -DHAVE_LIBART
15026
15027	* lib/font.c : added empty dia_font_init_instance function,
15028	reformatting of dia_fon_unref to allow to set breakpoint,
15029	dia_fon_build_layout() : dont crash on string==NULL
15030
15031	* lib/text.c (text_set_attributes) : don't unref the wrong font
15032
15033	* lib/widgets.c (dia_fon_selector_set_font) : our hashtable
15034	stores lowercased font names, but dia_font_get_family()
15035	returns mixed case
15036
150372002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
15038
15039	* lib/widgets.c:
15040	* app/render_gdk.c: Patch from Hans Breuer.
15041
15042	* app/Makefile.am (dia_core_files): diaconv commented out for now.
15043
150442002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
15045
15046	* lib/all files touched yesterday: took into account some of Hans
15047	Breuer's remarks in
15048	http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
15049
15050	* objects/chronogram/*:
15051	* objects/custom/*:
15052	* objects/ER/*:
15053	* objects/flowchart/*:
15054	* objects/FS/*:
15055	* objects/GRAFCET/*:
15056	* objects/SADT/*:
15057	* objects/standard/textobj.?:
15058	* objects/UML/*:
15059	converted to the new DiaFonts.
15060
15061	* plug-ins/cgm/*:
15062	* plug-ins/pstricks/*:
15063	* plug-ins/wpg/*:
15064	* plug-ins/dxf/*:
15065	* plug-ins/xfig/*:
15066	Made minimalistic conversions so that they'd at least compile.
15067
15068	* app/render_gdk.c:
15069	* app/render_pixmap.c:
15070	Converted to the new DiaFonts.
15071
15072	* app/app_procs.c
15073	* app/diaconv.c:
15074	* app/render_eps.c:
15075	made the minimal changes so that it would at least build.
15076
15077	*** At this point, the thing builds on my machine, but segfaults
15078	right away. ***
15079
150802002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
15081
15082	* configure.in: removed the backend-specific pango pkg_modules
15083	(trivial to add back if needed, when actually needed)
15084
15085	* app/Makefile.am:
15086	* app/*gnomeprint.[ch]: (removed): removed the GNOME-print
15087	renderer. The APIs will have completely changed when we get around
15088	to redo a renderer for it, anyways.
15089
15090	* font.[ch]: rewrote everything from scratch, with a Pango
15091	implementation. Normally, only backend-neutral things should go in
15092	there.
15093
15094	**WARNING**: new rules for managing DiaFont* pointers: these are
15095	reference-counted GObjects. One >must< diafont_ref() and
15096	diafont_unref() as appropriate. I wish I could overload operator=()...
15097
15098	lib/plug-ins.h: bumped up the plug-in API.
15099
15100	lib/attributes.c:
15101	lib/dia_xml.c:
15102	lib/dummy_dep.h
15103	lib/object_defaults:
15104	lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
15105	again tomorrow with GObject.
15106
15107	lib/widgets.c: Adapted to the new DiaFont API and to Pango.
15108
15109	**** The rest of the tree should be updated as well ****
15110
151112002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
15112
15113	* app/render_gdk.h:
15114	* app/render_gdk.c:
15115	* app/render_pixmap.c:
15116	* app/render_pixmap.h:
15117	* app/render_libart.h:
15118	* app/render_libart.c:
15119	* lib/font.h:
15120	* lib/font.c: Removed freetype stuff (still around in
15121	lib/widgets.c 'cause we might want the font selector widget).
15122
151232002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
15124
15125	* shapes/network/laptop.(xml|shape):
15126	* sheets/network.sheet.in: added Laptop (notebook) PC shape,
15127	contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
15128
151292002-06-17  Hans Breuer  <hans@breuer.org>
15130
15131	* lib/object_defaults.c : #include <libxml/tree.h> not
15132	<tree.h> pointed out by Xing Wang
15133
151342002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
15135
15136	* lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
15137	* lib/widgets.c:
15138	* app/color_area.c: Update to
15139	gtk_color_selection_*_current_color() fixed bad crash issues, plus
15140	updated color conversions.
15141
15142	* sheets/ER/weakentity.xpm: Accepted patch from
15143	quixon@gnuchina.org to make icon match actual appearance.
15144
15145	* app/recent_files.c: Fixed GNOME recent file problem, thanks to
15146	quixon@gnuchina.org.
15147
151482002-06-16  Hans Breuer  <hans@breuer.org>
15149
15150	* lib/plug-in.[hc] : make PlugInInfo opaque again in the
15151	good tradition of information hiding. Add new function
15152	dia_plugin_get_symbol()
15153	* app/sheets.c app/sheets_dialog_callbacks.c : use it
15154
15155	* app/sheets.c : stop complaining about object_get_type()
15156	returning NULL. This is a consequence of e.g. disabling
15157	plug-ins at runtime _and_ it was and is gracefully handled.
15158	Spitting out g_warning for it isn't appropriate.
15159
15160	* lib/object.[ch] : removed dead code
15161
15162	* app/plugin-mangager.c : almost complete rewrite for gtk2
15163	using GtkListStore/GtkTreeView
15164
15165	* lib/libdia.def : updated externals
15166
15167	* todo.gtk2 : updated, that is removed already done steps
15168
151692002-06-15  Hans Breuer  <hans@breuer.org>
15170
15171	* objects/uml/class_dialog.c : clean some left-over
15172	utf8-mess, return 0 from "focus_out_event" handlers
15173	to avoid asserting in gtk (#78305). Reconstruct
15174	stereotype/NULL behaviour to avoid rendering empty
15175	stereotypes on classes and member functions
15176
15177	[#56109 - Provide object defaults for StdProp objects,
15178	 some remaining issues are discussed in bugzilla]
15179
15180	* lib/object_defaults.c : (new file) manage default properties
15181	of dia objects. The serialization is done with standard
15182	object methods in a diagram compatible format.
15183
15184	* lib/object.c : add object_registry_foreach() which allows
15185	to iterate over all registered object types
15186
15187	* lib/object.h : added prototypes object_default*() and
15188	object_registry_foreach()
15189
15190	* lib/makefile.am lib/makefile.msc : add new file to build
15191
15192	* lib/libdia.def : export new functions
15193
15194	* app/defaults.c : provide StdProp based defaults if the
15195	ObjectType doesn't implement it's own default functions
15196
15197	* app/create_object.c : through dia_object_default_create()
15198	* app/disp_callbacks.c : same here
15199
152002002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
15201
15202	* objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
15203	sensitivity for deleting segments.
15204
152052002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
15206
15207	* app/color_area.c: (color_area_events):
15208	* app/diagram.c: (diagram_destroy):
15209	* app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
15210	(fill_sheet_menu):
15211	* app/load_save.c: (diagram_data_load):
15212	* app/menus.c: (menus_get_item_from_path):
15213	* app/preferences.c: (prefs_load):
15214	* app/render_gdk.c: (get_text_width):
15215	* lib/arrows.h:
15216	* lib/color.c: (color_convert):
15217	* lib/dia_dirs.c: (dia_config_filename):
15218	* lib/dia_xml.c: (xmlDiaParseFile), (data_type):
15219	* lib/intl.c: (intl_get_language_list):
15220	* lib/message.c: (message):
15221	* lib/message.h:
15222	* lib/paper.c: (get_default_paper):
15223	* lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
15224	* lib/widgets.c: (dia_file_selector_get_file):
15225	* lib/widgets.h:
15226	* objects/standard/image.c: (get_directory):
15227
15228	warningectomy.
15229
152302002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
15231
15232	* ChangeLog: Fixed bad UTF-8 mess.  Apologies.
15233
152342002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
15235
15236	* app/interface.c: sscanf now returns EOF on empty string, so
15237	handle no match for zoom factor better => correct zoom at start.
15238
15239	* app/sheets.c (create_object_pixmap): Tried to display empty error.
15240	(sheets_optionmenu_create): Died when not finding specified
15241	sheet.  Don't think it should.
15242
15243	* objects/UML/association.c: Added patch from osamyn@ulb.ac.be
15244	(bug #84367) to place the text better.
15245
152462002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
15247
15248	* configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
15249
15250	* app/commands.c: Removed unnecessary gnome include. Removed
15251	GNOME-Print support.
15252
15253	* app/menus.h: Removed now unnecessary gnome include.
15254
15255	* app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
15256	GNOME-specific stock buttons
15257
152582002-06-09  Hans Breuer  <hans@breuer.org>
15259
15260	* app/app_procs.c : convert 'Modified diagrams exits'
15261	dialog to use GtkMessageDialog. That gives us:
15262	- icons without Gnome dependency
15263	- much less code, also cross platform
15264	- improved useability ?
15265
15266	* app/color_area.c : the Color Selection Widget looked
15267	quite wrong (alpha problems). Fix it by merging in required
15268	changes stolen from The Gimp cvs
15269	* app/color_area.h : to get the right appearance the maskes
15270	needed to be taken into account
15271	* app/interface.c : adapt to color_area_create changes.
15272	Also remove some dead code and finally remove cvs autexpansion,
15273	I was bothered enough by irrelevant differences :-)
15274
15275	* app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
15276	api, i.e stocks and response to make the GnomeDialog usage
15277	obsolete. Also fixed the issue with closing the 'parent'
15278	before closing the dialog
15279
15280	* app/display.[ch] : removed some dead code and conversion
15281	to new GtkDialog api. Also trying to conform to new HIG
15282	standard http://developer.gnome.org/projects/gup/hig/
15283
152842002-06-09  Hans Breuer  <hans@breuer.org>
15285
15286	* lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
15287	build ps-utf8.c
15288
15289	* lib/dia_image.c : gtk_widget_set_default_visual()
15290	remove. It does nothing with Gtk2.
15291
15292	* lib/libdia.def : added ps_unicoder exports
15293
15294	* lib/message.c : remove #GNOME use GtkMessageDialog.
15295	Yeah, Dia gets dialogs wit icons cross-platform.
15296
15297	* lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
15298	to gtk_spin_button_get_value()
15299
15300	* lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
15301
15302	add #undef GTK_DISABLE_DEPRECATED to still use ...
15303	* lib/prop_text.c :  ... GtkText
15304	* lib/prop_widgets.c : ... GtkList
15305	* lib/prop_dialogs.c : ... gtk_signal_connect and more
15306	* lib/widgets.c : ... (too much to list here)
15307
15308	* lib/ps-utf8.c : #include <string.h>
15309
153102002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
15311
15312	* configure.in:
15313	* Makefile.am:  Adapted for gtk2.
15314	Removed dependencies on libunicode, on iconv(), on langinfo().
15315
15316	* acconfig.h: removed (now obsolete)
15317
15318	* lib/charconv.[ch]: removed (superceded by glib)
15319	* lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
15320
15321	* **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
15322	libunicode types for their glib counterparts. Fixed the include
15323	paths for libxml2. Removed all traces of libxml1 or non-UTF8
15324	support (there were remains in objects/uml).
15325
15326
153272002-06-08  Hans Breuer  <hans@breuer.org>
15328
15329	*/*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
15330	only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
15331	Also use g_strdup()'s handling of NULL by returning NULL
15332	again at all places I found (remove unnecessary if's)
15333
15334	* todo.gtk2 : new file to keep notes about gtk2 porting,
15335	further issues and thoughts and some status information.
15336	Also sent to dia-list ('Dia goes Gtk2 ...').
15337
15338	[make it compile with GTK+ 2.0]
15339
15340	* config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
15341	removed definition of S_ISDIR, S_ISREG and getlogin
15342
15343	* */makefile.msc : Use GTK2 and libxml2
15344	BEWARE: makefile.am, configure.in not yet ported !
15345
15346	* app/app_procs.c app/diagram.c : remove
15347	gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
15348	but set use gtk_menu_set_accel_path() on menu creation
15349
15350	* app/color_area.c lib/widgets.c :
15351	make use of gtk_color_selection_set_has_palette ()
15352
15353	* app/commands.c : gdk_pixbuf_new_from_file wants an
15354	extra argument. Convert from DIR to GDir usage.
15355
15356	* app/diagram_tree.c(button_press_callback) : need to return
15357	FALSE in the signal handler to let gtk process it further.
15358	(get_object_name) : don't leak 'prop'
15359
15360	* app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
15361	dia_page_layout_destroy() getting called more than once
15362
15363	* app/diaunitspinner.c : GtkEditable -> GtkEntry,
15364	GtkTypeInfo changes
15365
15366	* app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
15367
15368	* app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
15369	IIRC this code will not compile unchanged when USE_XIM is defined ...
15370
15371	* app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
15372
15373	* app/interface.c : there is no widget->klass anymore in Gtk,
15374	use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
15375	parameter. Some tweaking of GtkWrapBox usage to get four tools in
15376	a row again.
15377	switch off GTK's double buffering on Dia's canvas. Otherwise we would
15378	get triple buffering and flicker.
15379	Replace call to GTK private function _gtk_accel_group_attach()
15380	with public gtk_window_add_accel_group()
15381
15382	* app/layer_dialog.c : adapt to GtkTypeInfo changes
15383
15384	* app/load_save.c lib/plug-ins.c lib/sheet.c
15385	  objects/custom/custom.c :
15386	simplified by using g_file_test()
15387
15388	* app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
15389	to gtk_accel_map_<save|load>. Also added common stock-icons
15390	to the menu.
15391
15392	* app/preferences.c : use gtk_button_set_label() instead
15393	of button->child which is gone. Also removed GLIB_CHECK_VERSION.
15394
15395	* app/preferences.c lib/dia_xml.c lib/plug-ins.c :
15396	#ifdef G_OS_WIN32 #include <io.h>, this was formerly done
15397	in config.h.win32
15398
15399	* app/recent_files.c : removed GLIB_CHECK_VERSION
15400
15401	* app/render_eps.c
15402	  plug-ins/metapost/render_metapost.c
15403	  plug-ins/pstricks/render_pstricks.c
15404	  plug-ins/svg/render_svg.c :
15405	replace getlogin() with g_get_user_name() which always
15406	returns non NULL
15407
15408	* app/render_gdk.c : gdk_region_union_with_rect() modifies
15409	inplace now and returns nothing, also less #hell
15410
15411	* app/render_libart.c : some initial #hell cleaning, SuckFont
15412	still needs to vanish
15413
15414	* app/splash.c : gdk_pixbuf_new_from_file() second arg and
15415	GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
15416
15417	* app/render_pixbuf.c app/sheets.c : plain #hell cleaning
15418	* app/sheets_dialog_callbacks.c : some #hell and adaptions
15419	needed to GtkWrapBox api changes
15420
15421
15422	* lib/charconv.[hc] : removed from build
15423	[changed appropriate]
15424	* lib/prop_inttypes.c lib/prop_text.c :
15425	all utf-8 cleaning
15426	* lib/text.c : ported from HEAD but keep original indent
15427	intact. Original was done by Akira TAGOH.
15428
15429	* lib/color.c : GdkColorContext is gone, use GdkColormap instead.
15430
15431	* lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
15432
15433	* lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
15434	same on all platforms now!
15435
15436	* lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
15437
15438	* lib/message.c : remove "charconv.h"
15439
15440	* lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
15441
15442	* lib/plug-in.c :
15443	* lib/sheet.c : convert from DIR to GDir usage
15444
15445	* lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
15446
15447	* lib/widgets.h : include gtk<label|colorseldialog>.h
15448
15449
15450	* objects/fs/flow.c :
15451	* objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
15452
15453	* objects/custom/custom.c : convert from DIR to GDir usage
15454
15455
15456	* plug-ins/python/makefile.msc : updated for GTK2/Python2.2
15457
15458
154592002-05-03  Hans Breuer  <hans@breuer.org>
15460
15461	* lib/dia_xml.c : make the well formed utf8 check
15462	actually work for &#251; (non 7-bit ascii encoding)
15463	and fixed the file re-writing if the check fails.
15464	Thanks to Vitaly Lipatov for noticing the misbehaviour.
15465
15466	* lib/font.c : synchronize #ifdef G_OS_WIN32 with
15467	comment on last ressort font. Thanks to Maxim Sobolev.
15468
154692002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
15470
15471	* sheets/network.sheet.in: corrected a typo in plotter invocation.
15472
154732002-06-03  Steffen Macke  <sdteffen@web.de>
15474
15475	* shapes/network/digitizing_board.png:
15476	* shapes/network/digitizing_board.shape:
15477	* shapes/network/plotter.png:
15478	* shapes/network/plotter.shape:
15479	* shapes/network/Makefile.am
15480	* sheets/network.sheet.in: added new plotter and digitizing
15481	board shapes
15482
154832002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
15484
15485	* lib/font.c: made a symptomatic fix to a segfault reported by
15486	Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
15487	won't prevent dia from terminating, but should give more
15488	user-friendly information about why did it terminate.
15489
15490	Two patches from <robert.young@dsto.defence.gov.au>:
15491
15492	* app/display.c: fix the size of the canvas area which gets
15493	redrawn. There was an off-by one error (Closes #83659)
15494
15495	* app/display.c: make sure we redraw all screen only when we
15496	really have to (some update_areas were mistakenly ignored) (Closes
15497	#83496).
15498
15499	* NEWS: added a new entry for the future. Put there a reminder to
15500	update the dependencies.
15501
15502	* configure.in: put in notes about what will change shortly.
15503	upped the version to 0.90+cvs (did also in config.h.win32)
15504	upped the minimum version for intltools (now 0.21)
15505
155062002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
15507
15508	* dia.spec:
15509	* configure.in:
15510	* NEWS:
15511	* config.h.win32:
15512	bumped up version number to 0.90. Yay!
15513
155142002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
15515
15516	* doc/pl/Makefile.am:
15517	* doc/en/Makefile.am: fixed a "make install" problem when db2html
15518	is not present (Reported by Andrew Ferrier
15519	<andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
15520	problem which prevented me from ever seeing the problem in doc/en...
15521
15522	* Makefile.am: added autogen.sh to the EXTRA_DIST clause.
15523
15524	* lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
15525	way to read the font path from the XFS configuration files in
15526	order to enable FreeType (fixes #83098).
15527
15528	* POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
15529	shipped nowadays.
15530
15531	* dia.spec:
15532	* configure.in:
15533	* NEWS:
15534	* config.h.win32:
15535	bumped up version number to 0.90.RC3
15536
155372002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
15538
15539	* configure.in, doc/Makefile.am, doc/pl/Makefile.am,
15540	doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
15541	doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
15542	doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
15543	doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
15544	doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
15545	doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
15546	Added Polish documentation.
15547
155482002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
15549
15550	* objects/UML/state.c: there was a (gratuitous?) change of on-XML
15551	format for the UML State object. Now there's a hack to reload
15552	older files, and get them converted on the fly.
15553	Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
15554
15555	* lib/properties.h:
15556	* lib/propobject.c:
15557	* lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
15558	and adapter the proplist predicates. A LOAD_ONLY property is for
15559	when you have legacy to support but can't resist moving your
15560	fields around... (was needed to support the above state.c fix).
15561
15562	If the in-core of your object changes and you need a LOAD_ONLY
15563	property for the old format, you must keep some spare room in your
15564	object's struct to accomodate for the potential old-style
15565	attributes. Then in foo_load(), after having called
15566	object_load_using_properties(), you must inspect the old-style
15567	fields and act accordingly. Don't ever change the on-disk formats...
15568
15569	* objects/UML/object.c:
15570	* objects/UML/small_package.c: added a check against empty
15571	stereotypes still consuming space. Reported by Dolores Alia de
15572	Saravia <loli@unsa.edu.ar>. Thanks!
15573
155742002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
15575
15576	* INSTALL: added platform notes from MÃ¥rten Svantesson, for when
15577	using libtool on an AFS partition.
15578
15579	* po/update_potfiles_in.sh: now simply calls the recent intltools
15580	features; they work better than hand-crafted half-ignorant
15581	scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
15582	for the tip.
15583
15584	* po/POTFILES.in: added back two files update_potfiles_in.sh
15585	didn't take into account. Now this file is not automatically
15586	generated anymore!
15587	* po/POTFILES.skip: told `intltool-update -m` what files to ignore
15588	(the usual suspects, in fact).
15589
15590	* configure.in: improved the isinf() / isfinite() detection on
15591	Solaris (MÃ¥rten Svantesson)
15592
155932002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
15594
15595	* configure.in: one expression was replacing $CFLAGS, removing
15596	whatever was previously in.
15597	Added more checks for isinf() and finite() on Solaris.
15598
15599	* lib/geometry.h: added a macro defintion for isinf() if not
15600	HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
15601	on Win32)
15602
15603	* app/commands.c: "cut" did not set the 'modified' bit (paste has
15604	been for a little while). Fixes #82994.
15605
15606	* Makefile.am: added more stuff to distclean-local. This should make
15607	"make distcheck" pass! Thanks to the author of
15608	http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
15609	... I wonder who this Henstridge guy is ... ;-)
15610	Darn. Still doesn't pass. I give up for tonight.
15611
15612	* po/update_potfiles_in.sh: updated to take care of sheet files,
15613	and to filter out the EML plug-in.
15614	* po/POTFILES.in: updated with all .c and all .sheet.in files
15615
15616	* po/dia.pot, po/*.po: again updated all .po files with all
15617	strings (with the updated POTFILES). Now with the up-to-date
15618	POTFILES, just all languages have some fuzzy or untranslated
15619	strings (not that the 100% team was that large beforehand...)
15620
15621	* po-checktrans: removed the comment about .po files not holding
15622	all translatable stuff, since now they do.
15623
156242002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
15625
15626	* dia.spec:
15627	* configure.in:
15628	* NEWS:
15629	* config.h.win32:
15630	bumped up version number to 0.90.RC2
15631
156322002-05-20  Hans Breuer  <hans@breuer.org>
15633
15634	* app/load_save.c : starting to increase
15635	Dias tolerance on incomplete/broken files. The
15636	corresponding bug is #56233. But the patch there does
15637	neither apply anymore nor does it really fix the problem
15638	but only delays it, e.g. even if it would be allowed
15639	to read a file without any layers, the later code can't
15640	handle it.
15641	* lib/dia_xml.c : attribute_<num|first>_data(), data_type()
15642	handle passing in NULL for the node gracefully.
15643
15644	* shapes/network/printer.shape : added two more connection
15645	points - one at each side - to fix bug #60359
15646
15647	* app/commands.c (edit_copy_callback) :
15648	add ddisplay_do_update_menu_sensitivity() to make
15649	sequence select-copy-paste work.
15650
156512002-05-20  Hans Breuer  <hans@breuer.org>
15652
15653	* app/create_object.c (create_object_button_press) :
15654	added a call to ddisplay_do_update_menu_sensitivity()
15655	to make Ctrl^D etc work after object creation.
15656	Fixes #80983.
15657
156582002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
15659
15660	* objects/ER/entity.c:
15661	* objects/ER/attribute.c:
15662	* objects/ER/relationship.c: Patch to allow text size change from
15663	Celso Tetsuo Nagase Suzuki.
15664
156652002-05-18  Steffen Macke <sdteffen@web.de>
15666
15667	* app/app_procs.c: #ifdef'd xmlerror.h (comes with
15668	libxml2)
15669	* doc/en/graphics/greendots.png:
15670	* doc/en/home_network.png:
15671	* doc/en/line_props.png:
15672	* dia-diagram.png:
15673	* dia_gnome_icon.png:
15674	* dia_gnome_menu_icon.png:
15675	* dia_logo.png:
15676	* shapes/network/telephone.png:
15677	* shapes/Logic/and.png:
15678	* shapes/Logic/buffer.png:
15679	* shapes/Logic/connector.png:
15680	* shapes/Logic/inverter.png:
15681	* shapes/Logic/nand.png:
15682	* shapes/Logic/nor.png:
15683	* shapes/Logic/not.png:
15684	* shapes/Logic/or.png:
15685	* shapes/logic/xor.png:
15686	* samples/ER-demo.dia:
15687	* samples/SADT.dia:
15688	* samples/UML-demo.dia:
15689	* samples/chronograms.dia:
15690	* samples/grafcet.dia: re-added as binary files
15691
156922002-05-17  Hans Breuer  <hans@breuer.org>
15693
15694	* lib/libdia.def : reflect removing of render_store.[ch]
15695
15696	* */makefile.mingw : remove VERSION definition it's
15697	done in config.h.win32. Dia still doesn't work if
15698	build with mingw ...
15699
15700	* RELEASE-PROCESS : removed */makefile.mingw
15701
15702	* app/sheets_dialog_callbacks.c : if we use those
15703	ugly charconv_gtk_* functions lib/charconv.h needs to
15704	be #included ...
15705	* lib/charconv.h : ... and needs to contain the
15706	necesseray prototypes _and_ #defines
15707
15708	* plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
15709	is deprecated and does nothing but spit a warning. This broke
15710	the shape format writing. Fixed.
15711	Also with libxml2 pretty formatted xml isn't the default
15712	anymore, but needs to be enabled explicit: It is done now
15713	for shape files, which almost always needed to be edited by
15714	hand ...
15715
15716	* app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
15717	from stderr - which is invalid on Dia/win32 - to g_print -
15718	which opens up a console window if necessary. This way
15719	a xml-deprecation-error shouldn't stay unnoticed next time
15720
157212002-05-17  Steffen Macke <sdteffen@web.de>
15722
15723	* shapes/Misc/folder.png:
15724	* shapes/Misc/file.png: re-added as binary files
15725
157262002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
15727
15728	* lib/font.c: Fixed segfault for fonts without family_name.
15729
157302002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
15731
15732	* po/POTFILES.in: added app/sheets_dialog_callbacks.c
15733
15734	* app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
15735	Lars' request, minor cosmetic stuff (mostly _() of human-readable
15736	XML comments in .sheet files; one translator booby-trap disarmed).
15737
15738	* lib/charconv.c: moved #hell inside the body of the new
15739	charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
15740	will yell)
15741
157422002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
15743
15744	* plug-ins/wpg/Makefile.am (INCLUDES):
15745	* plug-ins/shape/Makefile.am (INCLUDES):
15746	* plug-ins/svg/Makefile.am (INCLUDES):
15747	* plug-ins/pstricks/Makefile.am (INCLUDES):
15748	* plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
15749	and DEBUG_CFLAGS in some missing places.
15750
15751	* MAINTAINERS: New file containing list of known package
15752	maintainers.
15753
15754	* lib/charconv.h:
15755	* lib/charconv.c: Charconv versions of some common gtk calls.
15756
15757	* app/sheets_dialog_callbacks.c
15758	(on_sheets_new_dialog_button_ok_clicked),
15759	(on_sheets_dialog_button_edit_clicked),
15760	(on_sheets_dialog_button_remove_clicked),
15761	(on_sheets_edit_dialog_button_ok_clicked):
15762	* app/sheets.c (sheets_optionmenu_create),
15763	(sheets_optionmenu_create): Added utf8 translations.
15764
15765	* app/sheets_dialog.c:
15766	* app/sheets.c:
15767	* app/sheets_dialog_callbacks.c: Added some missing _()'s.
15768
157692002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
15770
15771	* po/POTFILES.in: added app/sheets_dialog.c
15772
157732002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
15774
15775	* lib/charconv.c: (charconv_local8_to_utf8),
15776	(charconv_utf8_to_local8): tweaked the warnings to get more
15777	informations
15778	* lib/font.c: (font_get_suckfont): handled a potential case of
15779	uninitialised data being used (just paranoid)
15780
15781	* objects/GRAFCET/boolequation.c: (opstring),
15782	(opblock_get_boundingbox), (opblock_draw),
15783	(boolequation_calc_boundingbox): some extra hoops needed now dia
15784	talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
15785	symbols can't yet be used with their proper Unicode cells, since
15786	gtk will demand them in the Symbol font, expressed in the local
15787	8-bit encoding.
15788
15789	* samples/grafcet.dia: re-saved, now with a fixed bounding box (by
15790	the fix just above).
15791
157922002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
15793
15794	* app/diagram_tree.c (get_object_name): Check that name property
15795	doesn't have null string.
15796
157972002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
15798
15799	* autogen.sh (DIE): Added conditional --force to gettextize.
15800
15801	* app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
15802	function call.
15803
158042002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
15805
15806        * RELEASE-PROCESS: added James' notes on how to properly make the
15807	tarball.
15808
15809	* configure.in: removed macro nesting related to libpng.h, which
15810	was causing some problems on some systems (like mine, which made
15811	the snapshots bad).
15812
15813	Made --enable-unicode, previously an option, the mandatory case.
15814
15815	* app/Makefile.am: updated EXTRA_DIST
15816
15817	* NEWS:
15818	* app/makefile.mingw:
15819	* dia.spec:
15820	* doc/en/dia-manual.sgml:
15821	* plug-ins/makefile.mingw:
15822	* configure.in: bumped up the version number to 0.90.RC1
15823
15824	* lib/render_objects.[ch]:
15825	* po/POTFILES.in: removed render_objects from the build.
15826
15827	* plug-ins/Makefile.am:
15828	* plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
15829	so we keep its source in the tarball.
15830
15831	* objects/network/*.c, Makefile.am:
15832	* objects/sybase/*.c, Makefile.am:
15833	* po/POTFILES.in: cleaned up the non-existent files from the po
15834	build process.
15835
15836	* plug-ins/Makefile.am: re-enabled metapost plug-in.
15837
158382002-05-13  Steffen Macke <sdteffen@web.de>
15839
15840	* AUTHORS:
15841	* app/command.c: added M. C. Nelson to the Authors
15842	* sheets/Circuit/Makefile.am: added firewall shape to build
15843	* sheets/network/Makefile.am: added telephone and microphone
15844	  shapes to build
15845
158462002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
15847
15848	* RELEASE-PROCESS: Added list of files that contain the release
15849	number or should otherwise be changed at each release.
15850
158512002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
15852
15853	* objects/UML/uml.c (uml_operation_read): Forgot to commit this
15854	(reported fixed) bug: POLYMORPHIC -> LEAF for default.
15855
158562002-05-12  Hans Breuer  <hans@breuer.org>
15857
15858	* config.h.win32 : changed VERSION to 0.90.RC1
15859
15860	* app/makefile.msc lib/makefile.msc : use renamed
15861	gdk-pixbuf version (same content but renamed because
15862	all the other gtk+ dlls are renamed) to avoid trouble
15863	mixing gtk versions (of which one would not
15864	be initialized ...
15865
15866	* app/app_procs.c : removed recently unneeded
15867	inclusion of "sheets.h"
15868
15869	* app/render_gdk.c : removed my own debug spew
15870	which should never made it to cvs
15871
15872	* lib/render_object.[hc] : added
15873	#error "File not used anymore."
15874
15875	* lib/libdia.def : updated externals
15876
15877	* app/interface.c : dropped filenames need to be
15878	converted from uri with Gtk+2.0
15879
158802002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
15881
15882	* RELEASE-PROCESS (new): a draft document about how to release. To
15883	be discussed. (already with some input from Hans Breuer)
15884
158852002-05-12  Steffen Macke <sdteffen@web.de>
15886
15887	* sheets/Makefile.am: re-added Misc sheet to make process
15888
158892002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
15890
15891	* objects/FS/function.c: Added comments to humungous list of menu
15892	items, to aid translators.
15893
158942002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
15895
15896	* app/menus.c (display_menu_items): Added a few shortcuts for zooms.
15897
15898	* app/menus.c (display_menu_items): Added a few shortcuts for zooms.
15899
15900	* app/interface.c (create_toolbox): Disallow shrinking beyond
15901	requested size.  Fixes bug #59439, and confirms to GTK guidelines
15902	(see gtk_window_set_policy).
15903	(create_sheets): Removed now unnecessary set_usize call.
15904
159052002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
15906
15907	* lib/beziershape.c (remove_handles): Fixing removal of last
15908	segment.  Undo of removal still hokey.
15909
159102002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
15911
15912	* lib/bezier_conn.c (remove_handles): Proper offset for fixing
15913	handles.
15914	* lib/beziershape.c (beziershape_init): Removed early call to
15915	beziershape_update_data where points aren't set yet.
15916	(beziershape_add_segment): Use segment 0 instead of overflowing
15917	points array with segment+1.
15918	(beziershape_remove_segment): Proper offset for fixing
15919	connectionpoints.
15920	(remove_handles): Proper offset.
15921
159222002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
15923
15924	* objects/GRAFCET/action.c (action_update_data): Init x value of
15925	click point for call to connpointlist_adjust_count.
15926
15927	* app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
15928
15929	* app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
15930	setting to where values are inited.
15931
15932	* lib/polyshape.c (polyshape_init): Removed call to
15933	polyshape_update_data that tried to use uninitialized data.
15934
159352002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
15936
15937	* app/sheets_dialog.c: Mass removal of //-style comments.  The
15938	Irix compiler doesn't like them:(  I do...
15939
159402002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
15941
15942	* app/render_libart.c (draw_string): Bail out when no GDK font is
15943	found.
15944	(set_font): Give error when font not found.
15945	(set_fillstyle): Intlized error msg.
15946
15947	* app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
15948	modified when applied (and ok only does apply if apply is set
15949	sensitive).  Fixes bug #75623.
15950
159512002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
15952
15953	* configure.in: Added Vietnamese (vi) to ALL_LINGUAS
15954
159552002-05-05  Steffen Macke <sdteffen@web.de>
15956
15957	* app/Makefile.am: added $(UNICODE_CFLAGS)
15958
159592002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
15960
15961	* app/commands.c (help_manual_callback): Check return value of
15962	opendir.
15963
15964	* plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
15965
15966	* plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
15967	checks for errors.
15968
159692002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
15970
15971	* app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
15972
15973	* objects/UML/uml.c (uml_operation_read): Fix of UML default
15974	inheritance.
15975
159762002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
15977
15978	* app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
15979	Added button to toggle diagram compression.
15980
159812002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
15982
15983	* lib/font.c: Support for loading extra kerning files, plus got
15984	rid of rounding errors.  Bounding box mostly perfect for freetype
15985	fonts.
15986	(font_string_width): Fudge factor to get around nonlinearity of
15987	font scaling.
15988
159892002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
15990
15991	* lib/font.c (font_string_width): YA font calculation scheme, with
15992	comments.
15993
15994	* objects/UML/class.c (umlclass_calculate_data): Uses the same
15995	font for drawing and calculating now.
15996
15997	* configure.in: Added utime.h check.
15998
15999	* app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
16000	GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
16001
160022002-04-26  Hans Breuer  <hans@breuer.org>
16003
16004	[ Instead of fixing about 70 occurances in 20 files
16005	  where GTK_TALKS_UTF8_WE_DONT needed to be handled
16006	  Dia on win32 from now on uses glib-2.0 and not
16007	  only talks utf-8 with gtk-1.3 but also internally.
16008	  GTK_TALKS_UTF8_WE_DONT isn't supported/needed
16009	  anymore. ]
16010
16011	* config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
16012	#undef GTK_TALKS_UTF8_WE_DONT
16013
16014	* */makefile.msc : changes to use glib-2.0 (still
16015	using gtk+1.3(win32-production)
16016
16017	* app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
16018	adapt kevent->string handling, add <string.h>
16019	* app/render_gdk.c (get_text_width) : the length given
16020	is in chars, gdk_text_width() needs bytes
16021
16022	* app/render_libart.c :
16023	* app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
16024	(could simplify the same way as done in render_gdk.c)
16025
16026	* app/diagram_tree.c app/paginate_gdiprint.cpp
16027	  app/sheets.c :
16028	* lib/prop_basic.c lib/prop_geomtypes.c
16029	  lib/propdialgs.c lib/propobject.c :
16030	added <string.h> which is now removed from charconv.h
16031
16032	* lib/charconv.h : optional use infrastructure from
16033	glib-2.0 -> only five direct function mapping left
16034
16035	* lib/charconv.c : avoid to build this with glib-2.0
16036
16037	* lib/font.c : no string conversion needed anymore
16038	when Dia and Gtk talk utf-8, also code adaptions
16039	for GLIB_CHECK_VERSION(2,0,0)
16040
16041	* lib/libdia.def : removed charconv functions
16042
16043	* lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
16044	replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
16045
16046	* lib/prop_text.c lib/prop_widgets.c lib/font.c :
16047	removed GTK_TALKS_UTF8_WE_DONT
16048
16049	* lib/text.c : finally(?) fixed cursor <place|move>ment
16050	for Umlauts. Also fixed char insertion, still wondering
16051	how this could ever work. Does realloc on Linux
16052	initialize the memory with zeros ?
16053
16054	* objects/chronogram/chronoline_event.c
16055	  objects/grafcet/boolequation.c :
16056	there is no uni_get_utf8 when building for glib-2.0.
16057	Replace with g_utf8_get_char() and g_utf8_next_char().
16058
16059	* objects/uml/stereotype.c (bracketted_to_string) :
16060	simplify while adding code for glib-2.0 build
16061
160622002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
16063
16064	* app/diagram.h: Autosave field
16065	* app/diagram.c (diagram_set_modified): Sets autosave field.
16066
16067	* objects/UML/usecase.c (usecase_update_data):
16068	* objects/flowchart/ellipse.c (ellipse_update_data):
16069	* objects/flowchart/parallelogram.c (pgram_update_data):
16070	* objects/flowchart/diamond.c (diamond_update_data):
16071	* objects/custom/custom_object.c (custom_update_data):
16072	* objects/UML/state.c (state_update_data):
16073	* objects/UML/small_package.c (smallpackage_update_data):
16074	* objects/UML/object.c (objet_update_data):
16075	* objects/UML/note.c (note_update_data):
16076	* objects/UML/node.c (node_update_data):
16077	* objects/UML/component.c (component_update_data):
16078	* objects/UML/classicon.c (classicon_update_data):
16079	* objects/UML/actor.c (actor_update_data):
16080	* objects/SADT/box.c (sadtbox_update_data):
16081	* objects/FS/function.c (function_update_data):
16082	All now update text boundaries from update_data.
16083
16084	* lib/widgets.c (dia_font_selector_set_styles): Made the style set
16085	correctly.
16086
160872002-04-26  Hans Breuer  <hans@breuer.org>
16088
16089	* config.h.win32 : added VERSION definition here
16090	(and removed from makefile.msc's)
16091
16092	* app/makefile.msc : added new files
16093
16094	* app/app_procs.c (app_init): remove sheets_dialog_create()
16095	from start-up and ...
16096
16097	* app/sheet.c (sheets_dialog_show_callback) : ... lazy create
16098	sheet_dialog here when it is really needed.
16099	#include "../lib/message.h", make sheets_dialog_create()
16100	return it's success or failing on (!custom_type_symbol).
16101	Although editing shapes is nice IMHO it isn't crucial enough
16102	to abort() Dia if	it isn't possible.
16103
16104	* app/sheet.h : adapt create_sheet_dialog() prototype
16105
16106	* app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
16107
16108	* app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
16109	#ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
16110	name space corrections for utime() and utim_buf #ifdef
16111	G_OS_WIN32
16112
16113	* lib/libdia.def : export new sheet functions
16114
16115	* lib/makefile.msc : added new files
16116
16117	* lib/render.c : don't put draw_bezier_with_arrows() in
16118	the DrawLineWithArrowsFunc slot
16119
16120	* objects/custom/custom_object.c : #include <gmodule.h>
16121	and export 'custom_type' via G_MODULE_EXPORT
16122
16123	* objects/uml/class_dialog.c : removed 'incompatible
16124	types' warnings. Some refactoring while making it fit
16125	on screen with 800x600 again.
16126
16127	* plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
16128
16129	* plug-ins/python/pydia-handle.h : extra parameter to
16130	PyDiaHandle_New to store the owner of the handle
16131	* plug-ins/python/pydia-handle.c : store handle owner
16132	on construction and use it in new method .connect()
16133	* plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
16134	adapt to changed prototype
16135
161362002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
16137
16138	* lib/text.c (text_calc_boundingbox): Will now return early if box
16139	passed is NULL.
16140
16141	* objects/flowchart/box.c (box_update_data): Now updates text
16142	width info from update_data.
16143
161442002-04-23  Steffen Macke <sdteffen@web.de>
16145
16146	* plug-ins/xfig/xfig-import.c: fixed text import
16147
161482002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
16149
16150	* app/export_png.c: Moved dialog functions to their own file.
16151	* app/dialogs.[ch]: New files with standard functions for creating
16152	small, transient dialogs (e.g. export options).
16153	* app/Makefile.am: Added dialogs.[ch]
16154
161552002-04-19  Steffen Macke <sdteffen@web.de>
16156
16157	* shapes/Misc/folder.*:
16158	* shapes/Misc/file.*:
16159	* shapes/Misc/Makefile.am:
16160	* shapes/Makefile.am:
16161	* sheets/Misc.sheet.in:
16162	* sheets/Makefile.am:
16163	* configure.in: added new Misc sheet containing filesystem shapes
16164
161652002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
16166
16167	* app/lineprops_area.c: Arrow selector in toolbox changed to use
16168	standard arrowdraw code.  Line is thinner to make some arrowheads
16169	distinguishable.
16170
161712002-04-18  Steffen Macke <sdteffen@web.de>
16172
16173	* sheets/network.sheet.in:
16174	* shapes/network/telephone.shape:
16175	* shapes/network/Makefile.am: added telephone shape
16176
161772002-04-16  Steffen Macke <sdteffen@web.de>
16178
16179	* sheets/EML.sheet.in: commented out unavailable shapes
16180
161812002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
16182
16183	* app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
16184	  variable assignment.
16185
161862002-04-15  Steffen Macke <sdteffen@web.de>
16187
16188	* plug-ins/dxf/dxf-import.c: text import works again
16189	* shapes/Pneumatic/Makefile.am: added compush shape
16190	* sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
16191	and dist53
16192
161932002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
16194
16195	* All these modifications are for the 'Sheets and Objects' dialog
16196	  (new feature):
16197
16198	* app/pixmaps/line_break.xpm: new icon representing a line break.
16199
16200	* app/pixmaps/n_a.xpm: new empty icon representing not available.
16201
16202	* app/Makefile.am: added sheets_*.[ch] files to compile list.
16203
16204	* app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
16205
16206	* app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
16207
16208	* app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
16209
16210	* app/app_procs.c: added call to sheets_dialog_create() in app_init()
16211
16212	* app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
16213
16214	* app/sheets_dialog_callbacks.h: [new file] support for " " "
16215
16216	* app/interface.c: added 'interface_current_sheet_name' global to
16217	  fill_sheet_wbox(); made fill_sheet_menu() non-static
16218
16219	* app/interface.h: added extern declaration for aboves.
16220
16221	* app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
16222
16223	* app/sheets.h: [new file] declarations for backing store structures
16224
16225	* lib/sheet.c: modification of new_sheet() parameters; introduction
16226	  of USER and SYSTEM scope for sheets; procedure for sorting sheets;
16227	  changes to load_register_sheet().
16228
16229	* lib/sheet.h: added 'user_data_type' field to SheetObject structure;
16230	  added 'has_icon_on_sheet' flag to SheetObject structure; added
16231	  'filename', 'scope', 'shadowing' fields to Sheet structure.
16232
16233	* lib/plug-ins.c: moved _PluginInfo declaration to header file where
16234	  it belongs.
16235
16236	* lib/plug-isn.h: see above.
16237
16238	* lib/object.c: added 'sheet.h' to include list; added several
16239	  functions
16240	  to detect objects which are not found on any sheet (for future use)
16241	  object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
16242	  object_type_get_sheet_name(), object_type_strip_sheet_from_name().
16243
16244	* lib/object.h: added public declarations for above functions where
16245	  necessary.
16246
16247	* objects/custom/custom.c: made custom_object_load() non-static so we
16248     	  can load and interpret .shape files from the Sheets & Objects dialog
16249
16250     	* objects/custom/custom_object.c: made 'custom_type' non-static so
16251     	  we can differentiate between SVG shapes and other types.a
16252
162532002-04-07  Hans Breuer  <hans@breuer.org>
16254
16255	* app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
16256	from 2002-01-22 to not destroy diagram->data->selected.
16257	Avoids to crash on Objects/Align/Vertical/Top
16258
16259	* app/render_eps.c (draw_string) : un-const buffer
16260	It isn't at all const (g_malloc(), assignment, g_free()).
16261	Doesn't gcc catch such ?
16262
16263	* lib/arrows.h : prototype calculate_arrow_point()
16264
16265	* lib/font.c (font_get_suckfont) : no need to
16266	special case gdk_draw_string() with GTK_TALKS_UTF8,
16267	cause all the parameter differences are handled above
16268
16269	* lib/libdia.def : updated externals
16270
16271	* lib/makefile.msc : removed string_prerenderer, added render
16272
16273	* lib/render.c (draw_rect) : don't pass a Point** if a Point*
16274	is expected. [Sometimes it's good to read compiler warnings.]
16275
16276	* objects/standard/image.c : simplified by use of g_strconcat()
16277
16278	* plug-ins/python/makefile.msc : updated for Python 2.2
16279
162802002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
16281
16282	* objects/standard/zigzagline.c (zigzagline_draw): Fixed
16283	directionality problem for zero-length line segments.
16284
162852002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
16286
16287	* app/diagram.c (diagram_ungroup_selected)
16288	(diagram_update_menu_sensitivity): Now allows ungrouping of
16289	several groups at once.
16290
162912002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
16292
16293	* lib/render.c, all renderers: Binary incompatibility, change to
16294	expandable renderops structure.
16295
162962002-03-15  Steffen Macke <sdteffen@yahoo.com>
16297
16298	* objects/standard/Makefile.am:
16299	* objects/network/Makefile.am:
16300	* objects/UML/Makefile.am:
16301	* objects/ER/Makefile.am:
16302	* objects/FS/Makefile.am:
16303	* objects/flowchart/Makefile.am:
16304	* objects/custom/Makefile.am:
16305	* objects/GRAFCET/Makefile.am:
16306	* objects/chronogram/Makefile.am:
16307	* objects/SADT/Makefile.am:
16308	* plug-ins/cgm/Makefile.am:
16309	* plug-ins/pstricks/Makefile.am:
16310	* plug-ins/hpgl/Makefile.am:
16311	* plug-ins/wpg/Makefile.am:
16312	* plug-ins/svg/Makefile.am:
16313	* plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
16314
163152002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
16316
16317	* app/render_eps.c: Support for dumping TrueType fonts (taken from
16318	ttfps).
16319
163202002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
16321
16322	* lib/render.c: New abstract super class for renderers.
16323
163242002-03-07  Akira TAGOH  <tagoh@redhat.com>
16325
16326	* objects/ER/attribute.c (attribute_save): save a font property.
16327	(attribute_load): load a font property, and if can't load it, it's
16328	initialized.
16329
16330	* objects/ER/entity.c (entity_save): save a font property.
16331	(entity_load): load a font property, and if can't load it, it's
16332	initialized.
16333
16334	* objects/ER/relationship.c (relationship_save): save a font property.
16335	(relationship_load): load a font property, and if can't load it, it's
16336	initialized.
16337
16338	* objects/UML/class.c (fill_in_fontdata): don't replace if it already
16339	has a vaule.
16340	(umlclass_save): save the font and the font size properties.
16341	(umlclass_load): load the font and the font size properties.
16342
163432002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
16344
16345	* lib/string_prerenderer.[ch] (REMOVED):
16346	* lib/render.h:
16347	* lib/diagramdata.c:
16348	* lib/Makefile.am:
16349	* app/render_eps.c: got rid of the string-specific string
16350	prerenderer, transitioned its functionality towards Lars'
16351	two-phase rendering
16352
163532002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
16354
16355	* configure.in: Using Freetypes own check for ver >= 1.0.5.  You
16356	may need to rerun aclocal.
16357
163582002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
16359
16360	* lib/font.c: First attempt at Unicodeness for Freetype.
16361
163622002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16363
16364	* lib/font.c (font_string_width): Fixed font_string_width for
16365	freetype.  BB is now almost right.
16366
163672002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
16368
16369	* app/render_eps.h:
16370	* app/paginate_psprint.c (paginate_psprint):
16371	* lib/font.c:
16372	* app/render_eps.c: Support for dumping postscript fonts into
16373	postscript files with freetype.  Fairly primitive, but works.
16374	Unicode version may have problems.
16375
163762002-02-28  Akira TAGOH  <tagoh@redhat.com>
16377
16378	* objects/UML/class_dialog.c (class_read_from_dialog)
16379	(class_fill_in_dialog), (class_create_page): add the font selector and
16380	the font size selector.
16381
16382	* objects/UML/class.c (umlclass_draw): uses each font_height.
16383	(umlclass_calculate_data): ditto.
16384	(fill_in_fontdata): add initial value of new font_height.
16385	(umlclass_copy): add new font_height.
16386
163872002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
16388
16389	Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
16390
16391	* lib/font.c: calculate font metrics properly and stop guessing at
16392	string widths.
16393
163942002-02-28  Akira TAGOH  <tagoh@redhat.com>
16395
16396	* configure.in: changed gtk_advancement value to dia_talks_utf8.
16397	right now Dia is working with UTF-8 internally. it means Dia probably
16398	support most languages also including the languages which heretofore
16399	didn't work correctly.
16400
164012002-02-26  Akira TAGOH  <tagoh@redhat.com>
16402
16403	* objects/FS/function.c: add related text properties.
16404	(function_get_props), (function_set_props): add handling attribute.
16405
16406	* objects/FS/flow.c: add related text properties.
16407	(flow_get_props), (flow_set_props): add handling attribute.
16408
16409	* objects/FS/flow-ortho.c: add related text properties.
16410	(orthflow_set_props), (orthflow_get_props): add handling attribute.
16411
16412	* objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
16413
16414	* objects/ER/entity.c: ditto.
16415
16416	* objects/ER/attribute.c: ditto.
16417
164182002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
16419
16420	Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
16421
16422	* autogen.sh: add a check for missing intltoolize.
16423
164242002-02-20  Akira TAGOH  <tagoh@redhat.com>
16425
16426	* lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
16427	charcode, it was registered the duplicate item to HashTable. fix.
16428
16429	* app/render_gnomeprint.c (get_width_string): add new function.
16430	(draw_string): fix non-multibyte specific code.
16431
164322002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
16433
16434	Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
16435
16436	* lib/font.c: do not try to search paths that do not begin with
16437	'/', like X Font Server addresses.
16438
16439	* objects/UML/message.c (message_draw): free mname when not
16440	message->text but CREATE or DESTROY.
16441
16442	* objects/UML/uml.h:
16443	* objects/UML/uml.c:
16444	* objects/UML/class_dialog.c: added code to handle a stereotype
16445	attribute for operations.
16446
164472002-02-19  Akira TAGOH  <tagoh@redhat.com>
16448
16449	* lib/Makefile.am: add LIBART_CFLAGS.
16450
164512002-02-15  Hans Breuer  <hans@breuer.org>
16452
16453	* lib/font.c (font_get_suck_font): the black and white pixel values
16454	need to be taken from a 1 bit colormap rather than the default colormap.
16455	(fixed again, last time was 2000-05-26)
16456
16457	Also handle the case where GTK_TALKS_UTF8 and expects all strings
16458	passed in to be in this encoding.
16459
16460	* lib/libdia.def : export suck_font_free()
16461
16462	* lib/text.c (text_draw) : avoid circular dependency to ../app
16463	at least for the !USE_XIM case, where it is unnecessary.
16464
164652002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
16466
16467	Changes contributed by Matts Kivik <kivik@firstlinux.net>:
16468
16469	* shapes/Circuit/microphone_de.(shape|xpm) (NEW):
16470	* sheets/Circuit.sheet.in: added new shape microphone
16471	* shapes/Circuit/speaker_de.shape: Added a connection point.
16472
164732002-02-13  Akira TAGOH  <tagoh@redhat.com>
16474
16475	* app/render_libart.c (draw_string): fixed build issue for Win32.
16476
16477	* lib/font.c (font_get_suckfont): fixed typo. it could't build under
16478	Win32.
16479
16480	* configure.in: fixed testing gtk_advancement.
16481
16482	* app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
16483
164842002-02-12  Akira TAGOH  <tagoh@redhat.com>
16485
16486	* lib/text.c (text_draw): fixed XIM position, when menubar is shown for
16487	diagram window.
16488
164892002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
16490
16491	* app/group.c (group_copy): Made new object properly initialized
16492	before copy.
16493
164942002-02-11  Steffen Macke <sdteffen@yahoo.com>
16495
16496	* app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
16497
164982002-02-10  Akira TAGOH  <tagoh@redhat.com>
16499
16500	* lib/text.c (text_draw): fixed XIM transaction.
16501
16502	* app/interface.c (create_display_shell): add signal for
16503	size_allocate.
16504
16505	* app/disp_callbacks.c (ddisplay_size_allocate): add new function for
16506	XIM transaction.
16507	(set_input_dialog): remove.
16508	(ddisplay_canvas_events): remove XIM transaction. it can't transact
16509	correctly on this function.
16510
165112002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16512
16513	* app/app_procs.c:
16514	* app/export_png.c: Added checks for interactivity (maybe this
16515	should be a hook after all?).
16516
16517	* app/filedlg.c (file_export_callback): Made export dialog add
16518	suffix when reopened.
16519
16520	* app/export_png.c: Added dialog asking for export size.
16521
165222002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16523
16524	* lib/widgets.c: Fixed font reselection problem and first font
16525	bogus warning.
16526
16527	* objects/UML/actor.c (actor_update_data): Changed to have
16528	connection points below text.
16529
165302002-02-08  Akira TAGOH  <tagoh@redhat.com>
16531
16532	* lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
16533	and memcpy().
16534
165352002-02-07  Akira TAGOH  <tagoh@redhat.com>
16536
16537	* lib/font.c (font_get_suckfont): rewrited. generating suckfont from
16538	strings which is given.
16539	(suck_font): remove. it's any longer needed.
16540
16541	* app/render_libart.c (set_font): don't get suckfont.
16542	(draw_string): get suckfont only which is needed for now.
16543
165442002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16545
16546	* lib/text.c: Fixes for misunderstood width functions.
16547
165482002-02-05  Hans Breuer  <hans@breuer.org>
16549
16550	* lib/dia_xml.c : use g_strconcat() instead of
16551	malloc, strcpy, strcat dance
16552	* app/properties.c : same here and plug memory leak
16553	(gtk functions don't eat strings)
16554
16555	* objects/UML/message.c : there is no g_sprintf()
16556	use g_strdup_printf() instead ...
16557
165582002-02-05  Akira TAGOH  <tagoh@redhat.com>
16559
16560	* lib/message.c (gtk_message_internal): doesn't need to convert to
16561	UTF-8.
16562
16563	* app/render_libart.c (draw_string): fixed transaction for UTF-8
16564	support.
16565	(get_text_width): ditto.
16566
16567	* app/Makefile.am (EXTRA_DIST):
16568	s/paginate_gdiprint.c/paginate_gdiprint.cpp/
16569
16570	* app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
16571	This function needs ifdef HAVE_FREETYPE because don't use it for
16572	--disable-freetype
16573
165742002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
16575
16576	* NEWS: updated with the new dependencies.
16577
16578	Patch from Matthieu Sozeau <mattam@netcourrier.com>:
16579
16580        * objects/UML/class.h:
16581        * objects/UML/class.c:
16582        * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
16583        property using a GtkMenu. Options are Undefined, In, Out, In & Out
16584
165852002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
16586
16587	* app/render_libart.c: Slow but working libart freetype renderer,
16588	with color!
16589
165902002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16591
16592	* app/render_gdk.c (draw_string): Fixed gc_function bug.
16593
16594	* lib/widgets.c (dia_font_selector_init): Sorts the font list.
16595
16596	* lib/font.c (freetype_render_string):
16597	* lib/font.h:
16598	* app/render_gdk.c:
16599	* app/render_gdk.h: Changed freetype_render_string to use
16600	callback.  Rendering is broken.
16601
166022002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
16603
16604	Patch from Matthieu Sozeau <mattam@netcourrier.com>:
16605
16606	* objects/UML/uml.h:
16607	* objects/UML/uml.c: added UMLInheritanceType and isQuery
16608	(constant) UML Operation attributes. UMLInheritanceType is either
16609	UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
16610
16611        * objects/UML/class.h:
16612	* objects/UML/class.c:
16613	* objetcs/UML/class_dialog.c: added code to handle new
16614	UMLOperation attributes via a GtkMenu and a checkbox.
16615
166162002-02-03  Akira TAGOH  <tagoh@redhat.com>
16617
16618	* app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
16619	several client doesn't work with previous codes.
16620
166212002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
16622
16623	* lib/font.c (freetype_render_string): Kerning.  Very few fonts
16624	seem to use it.
16625
166262002-02-02  Akira TAGOH  <tagoh@redhat.com>
16627
16628	* app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
16629	when doing the operation like invert the objects after active view is
16630	destroyed. when changes focus, it needs to set active_display.
16631
16632	* app/layer_dialog.c (dia_layer_update_from_layer):
16633	(layer_dialog_edit_layer): need to convert to locale encoding
16634	if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
16635	(edit_layer_ok_callback):
16636	need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
16637
16638	* lib/diagramdata.c (new_diagram_data): ditto.
16639
16640	* app/layer_dialog.c (layer_dialog_new_callback): ditto.
16641
16642	* lib/diagramdata.c (new_layer): use utfchar instead of char for
16643	argument.
16644
16645	* lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
16646	(dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
16647	it's needed for now. also this function needs prototype declaration.
16648
166492002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
16650
16651	* lib/widgets.c: Style now functional on font selector.  Some leak
16652	possible, but doesn't show up under stress test.
16653
166542002-01-31  Akira TAGOH  <tagoh@redhat.com>
16655
16656	* app/plugin-manager.c (clist_select_row): name and description needs to
16657	convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
16658	(get_plugin_manager): ditto.
16659
16660	* lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
16661
16662	* app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
16663	support.
16664
16665	* lib/prop_text.c (stringprop_reset_widget): fixed crashes,
16666	when prop->string_data is NULL.
16667
166682002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
16669
16670	* lib/widgets.c:
16671	* lib/widgets.h: New font selector separating font and style.
16672	Style not functional yet.
16673
166742002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
16675
16676	* lib/text.c:
16677	* app/render_gdk.c (draw_string): More freetype support, now
16678	renders text.  Still broken is font selection and exporting.
16679
166802002-01-30  Akira TAGOH  <tagoh@redhat.com>
16681
16682	* objects/chronogram/chronoref.c (chronoref_create): missing gettextize
16683	for font.
16684
16685	* objects/chronogram/chronoline.c (chronoline_create): ditto.
16686
16687	* objects/UML/usecase.c (usecase_create): ditto.
16688
16689	* objects/UML/state.c (state_create): ditto.
16690
16691	* objects/UML/object.c (objet_create): ditto.
16692
16693	* objects/UML/node.c (node_create): ditto.
16694
16695	* objects/UML/message.c (message_create): ditto.
16696
16697	* objects/UML/component.c (component_create): ditto.
16698
16699	* objects/UML/classicon.c (classicon_create): ditto.
16700
16701	* objects/UML/actor.c (actor_create): ditto.
16702
16703	* objects/SADT/box.c (sadtbox_create): ditto.
16704
16705	* objects/SADT/annotation.c (annotation_create): ditto.
16706
16707	* objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
16708
16709	* objects/GRAFCET/step.c (STEP_FONT):
16710	* (step_create): ditto.
16711
16712	* objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
16713
16714	* objects/GRAFCET/action.c (ACTION_FONT):
16715	(action_create): ditto.
16716
16717	* objects/FS/function.c (function_create): ditto.
16718
16719	* objects/FS/flow.c (flow_create):
16720	(flow_load):
16721	(flow_apply_defaults): ditto.
16722
16723	* objects/FS/flow-poly.c (flow_create):
16724	(flow_load):
16725	(flow_apply_defaults): ditto.
16726
16727	* objects/FS/flow-ortho.c (orthflow_create):
16728	(orthflow_load):
16729	(orthflow_apply_defaults): ditto.
16730
16731	* objects/ER/relationship.c: use utfchar instead of char for structure.
16732	(relationship_create): name needs to convert to UTF-8.
16733
16734	* objects/ER/attribute.c: use utfchar instead of char for structure.
16735	(attribute_create): name needs to convert to UTF-8.
16736
16737	* objects/ER/entity.c: use utfchar instead of char for structure.
16738	(entity_create): name needs to convert to UTF-8.
16739
16740	* app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
16741	encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
16742	(fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
16743	items. if GTK_TALKS_UTF8 isn't defined.
16744
167452002-01-29  Akira TAGOH  <tagoh@redhat.com>
16746
16747	* objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
16748	it was my careless mistake...
16749
16750	* lib/attributes.c (attributes_set_default_font): temporarily gettextize
16751	a font name, because there are strings which isn't shown by "Courier".
16752	We need to consider a way to feel free to choose a font at runtime.
16753
16754	* lib/render_object.c (render_object_load): ditto.
16755
16756	* lib/text.c (data_text): ditto.
16757
16758	* objects/EML/instantiation.c (instantiation_create): ditto.
16759
16760	* objects/EML/interaction-ortho.c (interaction_ortho_create):
16761	(interaction_ortho_load): ditto.
16762
16763	* objects/EML/interaction.c (interaction_create):
16764	(interaction_load): ditto.
16765
16766	* objects/EML/process.c (fill_in_fontdata): ditto.
16767
16768	* objects/ER/attribute.c (attribute_create):
16769	(attribute_load): ditto.
16770
16771	* objects/ER/entity.c (entity_create):
16772	(entity_load): ditto.
16773
16774	* objects/ER/relationship.c (relationship_create):
16775	(relationship_load): ditto.
16776
16777	* objects/UML/association.c (association_create):
16778	(association_load): ditto.
16779
16780	* objects/UML/class.c (fill_in_fontdata): ditto.
16781
16782	* objects/UML/constraint.c (constraint_create): ditto.
16783
16784	* objects/UML/dependency.c (dependency_create): ditto.
16785
16786	* objects/UML/generalization.c (generalization_create): ditto.
16787
16788	* objects/UML/implements.c (implements_create): ditto.
16789
16790	* objects/UML/large_package.c (largepackage_create): ditto.
16791
16792	* objects/UML/note.c (note_create): ditto.
16793
16794	* objects/UML/realizes.c (realizes_create): ditto.
16795
16796	* objects/UML/small_package.c (smallpackage_create): ditto.
16797
16798	* objects/custom/shape_info.h (FONT_DEFAULT): ditto.
16799
16800	* objects/custom/custom_object.c (custom_create): ditto.
16801
16802	* objects/network/antenna.c (render_to_store): ditto.
16803
16804	* objects/network/computer.c (render_to_store): ditto.
16805
16806	* objects/network/disc.c (render_to_store): ditto.
16807
16808	* objects/network/flash.c (render_to_store): ditto.
16809
16810	* objects/network/hub.c (render_to_store): ditto.
16811
16812	* objects/network/modem.c (render_to_store): ditto.
16813
16814	* objects/network/modularswitch.c (render_to_store): ditto.
16815
16816	* objects/network/monitor.c (render_to_store): ditto.
16817
16818	* objects/network/printer.c (render_to_store): ditto.
16819
16820	* objects/network/rj45plug.c (render_to_store): ditto.
16821
16822	* objects/network/scead-plug.c (render_to_store): ditto.
16823
16824	* objects/standard/textobj.c (textobj_load): ditto.
16825
16826	* objects/sybase/client.c (render_to_store): ditto.
16827
16828	* objects/sybase/dataserver.c (render_to_store): ditto.
16829
16830	* objects/sybase/ltm.c (render_to_store): ditto.
16831
16832	* objects/sybase/repserver.c (render_to_store): ditto.
16833
16834	* objects/sybase/rsm.c (render_to_store): ditto.
16835
16836	* objects/sybase/stableq.c (render_to_store): ditto.
16837
16838	* plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
16839
16840	* objects/UML/uml.h (UML_STEREOTYPE_START):
16841	(UML_STEREOTYPE_END): changes default strings.
16842
168432002-01-28  Akira TAGOH  <tagoh@redhat.com>
16844
16845	* objects/UML/stereotype.c (string_to_bracketted): fixed transaction
16846	for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
16847	which is given to arguments isn't UTF-8. so don't need to convert it.
16848	if GTK+ handle UTF-8, also don't need to convert it.
16849	(strend): remove.
16850	(bracketted_to_string): fixed transaction for UTF-8 support.
16851	also start/end bracket is not necessarily 1 character. so that when use
16852	strend(), it doesn't work correctly.
16853	(string_to_stereotype): use utfchar instead of char.
16854	(remove_stereotype_from_string): ditto.
16855	(stereotype_to_string): ditto.
16856
16857	* objects/UML/stereotype.h: ditto.
16858
16859	* objects/UML/message.c: use utfchar instead of char for structure.
16860	(MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
16861
16862	* objects/UML/small_package.c: use utfchar instead of char for structure.
16863
16864	* objects/UML/realizes.c: ditto.
16865
16866	* objects/UML/object.c: ditto.
16867
16868	* objects/UML/large_package.c: ditto.
16869
16870	* objects/UML/implements.c: ditto.
16871
16872	* objects/UML/generalization.c: ditto.
16873
16874	* objects/UML/dependency.c: ditto.
16875
16876	* objects/UML/constraint.c: ditto.
16877
16878	* objects/UML/component.c: ditto.
16879
16880	* objects/UML/class_dialog.c (attributes_get_current_values):
16881	(attributes_list_new_callback, attributes_fill_in_dialog):
16882	(parameters_set_values, parameters_get_values):
16883	(parameters_get_current_values, parameters_list_new_callback):
16884	(operations_set_values, operations_get_values):
16885	(operations_get_current_values, operations_list_new_callback):
16886	(operations_fill_in_dialog, templates_set_values):
16887	(templates_get_values, templates_get_current_values):
16888	(templates_list_new_callback, templates_fill_in_dialog):
16889	fixed transaction for UTF-8 support.
16890
168912002-01-27  Akira TAGOH  <tagoh@redhat.com>
16892
16893	* objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
16894
16895	* objects/UML/class_dialog.c (class_read_from_dialog):
16896	(class_fill_in_dialog):
16897	(attributes_get_values): ditto.
16898
16899	* objects/UML/actor.c (actor_create): ditto.
16900
16901	* objects/UML/class.c (umlclass_calculate_data): ditto.
16902
16903	* objects/UML/association.c (association_apply_properties):
16904	(fill_in_dialog): ditto.
16905
16906	* objects/UML/uml.c (uml_get_attribute_string):
16907	(uml_get_operation_string):
16908	(uml_get_parameter_string):
16909	(uml_get_formalparameter_string): use utfchar instead of char.
16910
16911	* objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
16912	UML_STEREOTYPE_END.
16913
16914	* objects/UML/class.h: use utfchar instead of char.
16915
16916	* lib/dia_xml.c (data_add_string): ditto.
16917
16918	* lib/text.c (text_insert_char): fixed characters# calculation
16919	when includes multibytes character in strings.
16920
169212002-01-26  Steffen Macke  <sdteffen@yahoo.com>
16922
16923	Patch from Richard Rowell <rwrowell@bellsouth.net>:
16924
16925	* app/lineprops_area.c:
16926	* lib/arrows.h:
16927	* lib/arrows.c:
16928	* lib/widgets.c: added crow foot arrow and cross arrow
16929
16930	Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
16931
16932	* plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
16933
169342002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
16935
16936	* po/update.pl (REMOVED):
16937	* po/update.sh (REMOVED):
16938	* xml-i18n-merge.in.kg (REMOVED):
16939	* xml-i18n-update.in.kg (REMOVED):
16940	* sheets/Makefile.am:
16941	* Makefile.am:
16942	* autogen.sh:
16943	* configure.in: converted from xml-i18n-tools to intltools
16944
16945	This looks like it fixes the build bugs of the snapshot tarballs,
16946	and it supersedes #69611.
16947
169482002-01-25  Akira TAGOH  <tagoh@redhat.com>
16949
16950	* lib/text.c (text_insert_char): fixed characters# calculation.
16951	it's not string length.
16952
16953	* lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
16954	is defined, needs to convert a description to UTF-8.
16955
16956	* app/render_gdk.c (get_text_width): fixed transaction for
16957	UTF-8 support. also should uses gdk_text_width_wc() instead
16958	of gdk_text_width().
16959
16960	* app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
16961	is defined, needs to convert to locale encoding for display.
16962	Also use utfchar instead of char for argument.
16963
169642002-01-24  Hans Breuer  <hans@breuer.org>
16965
16966	* app/commands.c(edit_paste_callback and more) :
16967	call diagram_modified(ddisp->diagram) to fix #68083
16968	(help_menu_callback) : plug a DIR leak
16969
16970	* app/disp_callbacks.c(ddisplay_canvas_events) : handle
16971	GTK_TALKS_UTF8_WE_DONT
16972
16973	* app/render_gdk.c(get_text_with) : it's a bad idea to use
16974	gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
16975	gdk_text_width(). The length value is still questionable ...
16976
16977	* lib/charconv.c : use functions already available in early
16978	GLIB-1.3 days whiches API hasn't changed since, to avoid
16979	version problems with the win32 build
16980
16981	* lib/font.c : finally fix #58045 and #68208
16982
16983	* lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
16984
169852002-01-24  Akira TAGOH  <tagoh@redhat.com>
16986
16987	* app/disp_callbacks.c (ddisplay_canvas_events): when event returned
16988	no strings, fixed transaction.
16989
16990	* lib/charconv.h: fixed typo.
16991
16992	* app/menus.c: fixed typo.
16993
16994	* lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
16995
16996	* objects/UML/object.c: attrib's type uses utfchar instead of char.
16997
16998	* app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
16999
17000	* lib/text.c (text_create_change): use unichar instead of char.
17001
17002	* lib/text.c (data_add_text, data_text, apply_textstr_properties):
17003	use utfchar instead of char.
17004
17005	* lib/text.c (text_insert_char, text_key_event): fixed transaction for
17006	UTF-8 support.
17007
17008	* lib/charconv.c (charconv_utf8_get_char): add new function.
17009
170102002-01-23  Akira TAGOH  <tagoh@redhat.com>
17011
17012	* lib/text.c (text_delete_forward, text_delete_backward,
17013	text_split_line): fixed transaction for UTF-8 support.
17014
17015	* lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
17016	strlen[] has string length for UTF-8, so has to use alloclen[].
17017
17018	* dia.pot: remove.
17019
17020	* .cvsignore: add dia.pot.
17021
170222002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
17023
17024	* configure.in: Added "sk" to ALL_LINGUAS.
17025
170262002-01-22  Akira TAGOH  <tagoh@redhat.com>
17027
17028	* lib/text.c (text_set_string, new_text, text_copy,
17029	text_get_string_copy, text_join_lines): use utfchar instead of gchar
17030	for strings.
17031
17032	* lib/text.c (set_string): use charconv_utf8_strchr() instead of
17033	strchr().
17034
17035	* lib/charconv.c (charconv_utf8_strchr): add new function.
17036
17037	* lib/charconv.c (charconv_keyval_to_unicode): ditto.
17038
17039	* lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
17040
17041	* app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
17042	strings to the appropriate encoding.
17043
170442002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
17045
17046	* app/object_ops.c (object_list_align_[hv]): Leak fix.
17047
17048	* lib/Makefile.am (INCLUDES): Added debug flags.
17049
17050	* app/object_ops.c: Fixed ordering problem of align equi-distant &
17051	adjacent.
17052
170532002-01-21  Akira TAGOH  <tagoh@redhat.com>
17054
17055	* lib/font.c (font_string_width): use gdk_text_width_wc() instead of
17056	gdk_string_width().
17057
17058	* objects/GRAFCET/boolequation.c: fixed invalid comment.
17059
17060	* objects/UML/stereotype.c (string_to_bracketted): fixed build problem
17061	when defined UNICODE_WORK_IN_PROGRESS.
17062
17063	* lib/dia_xml.c (data_add_string): fixed typo.
17064
170652002-01-20  Akira TAGOH  <tagoh@redhat.com>
17066
17067	* configure.in: fixed test gtk_advancement.
17068
170692002-01-019  Steffen Macke  <sdteffen@yahoo.com>
17070
17071	* plug-ins/svg/render_svg.c: fix for #69053, alignment of text
17072	exported to SVG
17073
17074	Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
17075
17076	* app/recent_files.[ch]: reworked to support GNOME, accelerators,
17077	tool tips, preferences, and arbitrarily long ~/.dia/history
17078
17079	* app/menus.c: made 'Plugins' consistantly spelled and accelerated;
17080	removed 'Open Recent'; added new separators for recent documents on
17081	File menu.
17082
17083	* app/interface.[ch] (interface_get_toolbox_shell): new function
17084
17085	* app/diagram.c: added new parameter to recent_file_history_add() call
17086
17087	* app/preferences.[ch]: added new 'Recent documents list size'
17088	preferences item
17089
170902002-01-18  Akira TAGOH  <tagoh@redhat.com>
17091
17092	* lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
17093	if it failed, should be used gdk_font_load ().
17094
17095	* lib/font.c (font_data): added the font entries for CJK.
17096
170972002-01-17  Steffen Macke  <sdteffen@yahoo.com>
17098
17099	Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
17100
17101	* app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
17102
171032002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
17104
17105	Patch from Martin Cracauer <cracauer@cons.org>:
17106
17107	* app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
17108	non-GNOME case ?)
17109
171102002-01-01  Hans Breuer  <hans@breuer.org>
17111
17112	* app/command.c : optional use GDI printing on windoze
17113
17114	* app/preferences.[hc] : add option 'prefer_psprint' to
17115	select the print engine to use (could be used for Dia/Gnome
17116	as well)
17117
17118	* app/paginate_gdiprint.(h|cpp) : new files, which interlink the
17119	wmf plug-in with the common win32 print api. Now printing
17120	should work almost as expected from a windows program :-)
17121
17122	* app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
17123	to .edit_delete to avoid clashes with C++
17124
17125	* app/makefile.msc : updated for GDI printing
17126
17127	* plug-ins/wmf/wmf.cpp : some small modifications to support
17128	GDI printing. Also swap R and B channel in draw_image()
17129
17130	* app/makefile.am : added windows only files to EXTRA_DIST
17131
17132	* objects/uml/class.c(umlclass_set_props) : force recalculation
17133	when applying properties
17134
17135	* lib/charconv.c lib/dia_xml.c : temporary back-ported to
17136	glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
17137	many incompatible changes (and would force a gtk update)
17138
17139	* objects/makefile.msc : don't build C-Objects which are
17140	already available as 'pure shape'
17141
17142	* plug-ins/makefile.msc : remove diaimport from build. It was
17143	only available via mailing-list and is broken since the
17144	StdProp overhaul.
17145
17146
17147	Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
17148
17149	* app/preferences.[hc] : tweaked preferences.c to make
17150	PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
17151	added some more DiagramTree prefererences and their own
17152	notebook page.
17153
17154	* app/diagram_tree.[hc] : allow to sort by object type or name
17155	and hide by type ...
17156	* app/diagram_tree_menu.[hc] : ... add respective menu entries ...
17157	* app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
17158
17159	* app/diagram_tree_window.c : handle hidden types and window
17160	size restoring.
17161
171622001-12-20  Hans Breuer  <hans@breuer.org>
17163
17164	* plug-ins/python/Makefile.am : patch from Peter Moulder
17165	<pmoulder@csse.monash.edu.au> to make the python plug-in
17166	compile on *nix too.
17167
171682001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
17169
17170	Patch from Alan <horkana@tcd.ie>:
17171
17172	* app/menus.c: bind the F1 shortcut to the Help/_Manual function.
17173
171742001-11-20  Hans Breuer  <hans@breuer.org>
17175
17176	* app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
17177
171782001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
17179
17180	* app/diagram_tree.[hc] : Added new functions and types for
17181	sorting diagram and objects, and attaching the popup menus.
17182
17183	* app/preferences.h: Added more diagram tree preferences, using a
17184	DiagramTreeConfig struct in DiaPreferences. The new prefs are the
17185	height and width of the diagram tree window and the default sort
17186	orders for diagrams and objects.
17187
17188	* app/preferences.c (prefs_data): Added new entries for the new
17189	diagram tree preferences.
17190
17191	* app/preferences.c (prefs_tabs): New tab for diagram tree
17192	preferences.
17193
17194	* app/diagram_tree_window.[hc] (create_diagram_tree_window):
17195	* app/diagram_tree_window.c (diagram_tree_window_new):
17196	* app/interface.c (create_tree_window): The diagram tree window is
17197	initialised using the DiagramTreeConfig part of prefs.
17198
17199
172002001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
17201
17202	* app/diagram_tree_menu.[hc]: New files. Functions to create the
17203	diagram tree popup menus.
17204
17205	* app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
17206	the diagram tree popup menus.
17207
17208	* app/Makefile.am (dia_core_files): diagram_tree_menu* files
17209	added.
17210
172112001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
17212
17213	* app/diagram_tree.c (double_click_callback, diagram_tree_new):
17214	double-clicking a diagram tree node raises the diagram window
17215	to the foreground (and, if a object node was clicked, selects the
17216	object in the diagram).
17217
17218	* app/diagram_tree.c (select_tree_widget): selecting an object
17219	node with single click simply updates it (no raise).
17220
172212001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
17222        These changes make the diagram tree lazy: it is not created unless
17223	the diagram tree window is requested.
17224
17225	* app/diagram_tree_window.[hc] (create_diagram_tree_window): new
17226	function for creating the tree window.
17227
17228	* app/interface.c (create_tree_window): call
17229	create_diagram_tree_window() instead of diagram_window().
17230
17231	* app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
17232	(diagram_tree_update, diagram_tree_update_name)
17233	(diagram_tree_add_object, diagram_tree_add_objects)
17234	(diagram_tree_remove_object, diagram_tree_remove_objects)
17235	(diagram_tree_update_object): accept a NULL tree as a nominal
17236	argument (and do nothing in this case!), so that the diagram tree
17237	is not initialised if not used.
17238
17239	* app/diagram_tree_window.c (diagram_tree): do not create the
17240	diagram tree until diagram_window() or diagtree_show_callback()
17241	are invoked.
17242
172432001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
17244	[slightly modified and applied from Hans Breuer <hans@breuer.org>]
17245
17246	* app/diagram_tree_window.[hc] : (new files) implementation of
17247	the diagram tree window, a container for a diagram tree. [Removed
17248	the horizontal scroll bar glitch by disableing it]
17249
17250	* app/diagram_tree.[hc] : (new files) implementation of the
17251	diagram tree widget. [Don't rely on the layers GPtrArray to be
17252	NULL terminated, but use its ->len field]
17253
17254	* app/Makefile.am (dia_core_files): added new files
17255	diagram_tree.[hc] and diagram_tree_window.[hc]
17256
17257	* app/interface.[hc] : (create_tree_window): this function
17258	creates the new diagram tree window widget
17259
17260	* app/undo.c (delete_objects_apply) (delete_objects_revert)
17261	(insert_objects_apply) (insert_objects_revert) (group_objects_apply)
17262	(ungroup_objects_apply) (ungroup_objects_revert):
17263	every time that an undoable command modifies a diagram
17264	adding/removing/(un)grouping objects, a diagram_tree_something() is
17265	invoked to keep the diagram tree window in sync
17266
17267	* app/properties.c (properties_apply): call to
17268	diagram_object_modified(), which updates the diagram tree window
17269	when the properties of an object are modified
17270
17271	* app/preferences.[hc] : new "show_diagram_tree" configuration option
17272	(whether the diagram tree window should be shown on dia startup)
17273
17274	* app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
17275
17276	* app/diagram.h (diagram_object_modified): callback notifying of a
17277	diagram object modification
17278
17279	* app/diagram.c (diagram_load_into): added call to
17280	diagram_tree_add() to add newly loaded diagrams to the diagram
17281	tree window
17282	(diagram_destroy): call to diagram_tree_remove() to remove a
17283	destroyed diagram from the diagram tree window
17284	(diagram_add_object): call to diagram_tree_add_object() to add an
17285	object to the diagram tree window
17286	(diagram_add_object_list): as above, but with an object list
17287	(diagram_selected_break_external): deletion of objects from the
17288	diagram is detected here, and diagram_tree_remove_object() is
17289	invoked to remove the object from the diagram tree window (it
17290	would be nice to have a diagram_remove_object() in the Diagram
17291	interface)
17292	(diagram_set_filename): update the diagram tree window when a
17293	diagram's filename changes
17294
17295	* app/commands.c (file_new_callback): added call to
17296	diagram_tree_add() to add newly created diagrams to the diagram
17297	tree window
17298
17299	* app/app_procs.c (app_init): added call to create_tree_window()
17300
17301	* app/makefile.msc : updated
17302
173032001-10-28  Hans Breuer  <hans@breuer.org>
17304
17305	* app/preferences.h (DiaPreferences):
17306	* app/preferences.c (prefs_data): new "show_diagram_tree"
17307	configuration option (whether the diagram tree window should be
17308	shown on dia startup)
17309
17310	* app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
17311	entry (both for GNOME and gtk)
17312
17313	* app/diagram.h (diagram_object_modified): callback notifying of a
17314	diagram object modification
17315
17316	* app/diagram.c (diagram_load_into): added call to
17317	diagram_tree_add() to add newly loaded diagrams to the diagram
17318	tree window
17319	(diagram_destroy): call to diagram_tree_remove() to remove a
17320	destroyed diagram from the diagram tree window
17321	(diagram_add_object): call to diagram_tree_add_object() to add an
17322	object to the diagram tree window
17323	(diagram_add_object_list): as above, but with an object list
17324	(diagram_selected_break_external): deletion of objects from the
17325	diagram is detected here, and diagram_tree_remove_object() is
17326	invoked to remove the object from the diagram tree window (it
17327	would be nice to have a diagram_remove_object() in the Diagram
17328	interface)
17329	(diagram_set_filename): update the diagram tree window when a
17330	diagram's filename changes
17331
17332	* app/commands.c (file_new_callback): added call to
17333	diagram_tree_add() to add newly created diagrams to the diagram
17334	tree window
17335
17336	* app/app_procs.c (app_init): added call to create_tree_window()
17337
173382001-10-28  Hans Breuer  <hans@breuer.org>
17339
17340	* plug-ins/python/pydia-property.c : apparently I missed
17341	to commit this last time. Now it has some more SetAttr
17342	support (apply from property)
17343
17344	* plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
17345
17346	* plug-ins/python/pydia-text.[ch] : new files
17347
173482001-10-14  Hans Breuer  <hans@breuer.org>
17349
17350	* lib/charconv.c : g_locale_to_utf8() does not handle NULL
17351	strings. Use g_strdup() for these.
17352
17353	libxml2 does not produce 'any extra indentation when saving a tree'
17354	[libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
17355	libxml(1). To get human readable XML some extra tweaking is required.
17356	It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
17357	* lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
17358	* app/preferences.[ch] : initialize 'pretty_formated_xml'
17359
17360	* lib/libdia.def : updated externals
17361
17362	* lib/properties.h : add prototype for prop_list_from_single ()
17363
17364	* plug-ins/makefile.msc : build metapost plug-in
17365
17366	* plug-ins/metapost/render_metapost.c : msvc does not like
17367	switch labels without operation 'default: }'. Added a noop.
17368
17369	* plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
17370	* plug-ins/python/diamodule.c : added PyDiaText
17371	* plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
17372	Although the python plug-in does not use libxml at all, the
17373	headers are required to use the lib/prop*.h headers
17374
17375	* plug-ins/python/pydia-diagramdata.c : added wrappers for
17376	update_extents and get_sorted_selected (should I duplicate
17377	more functions from PyDiaDiagram or should they be moved?)
17378
17379	* plug-ins/python/pydia-properties.c : allow to set (some) properties
17380	through the dictionary api
17381	* plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
17382	* plug-ins/python/pydia-property.c : implement it (currently only
17383	string properties can be set)
17384
17385	Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
17386	Quoting myself: 'Still not convinced that this is better than an
17387	 integral property->type and some casting ...
17388	 It is trading a straightforward 40 lines switch statement to
17389	 this nice 'type safe' function mapping (about 125 lines)'
17390	(But now it works again, better than changing the News file :)
17391
173922001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
17393
17394	patch from <robert.young@dsto.defence.gov.au>:
17395	* objects/UML/component.c: remember to set font in UML component
17396	object (fixes #62132)
17397
173982001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
17399
17400	* plug-ins/metapost/metapost.c:
17401	* plug-ins/metapost/Makefile.am:
17402	* plug-ins/metapost/render_metapost.c:
17403	* plug-ins/metapost/render_metapost.h:
17404	Metapost renderer from Chris Sperandio
17405
174062001-09-14  Hans Breuer  <hans@breuer.org>
17407
17408	* app/render_gdk.c : reflect the fact, that GTK already talks
17409	UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
17410
17411	* lib/font.c :
17412	* app/render_libart.c : trying to fix #58045 but it appears
17413	to be an Gdk/win32, too.
17414
17415	* lib/charconv.c : handle utf8 conversion with the help of
17416	glib-1.3 even in the !HAVE_UNICODE case.
17417
17418	* lib/dia_xml.c : reduce complaing about missing encoding, by
17419	detecting if the default (utf8) would break the file.
17420
174212001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
17422
17423	* lib/charconv.c: (get_local_charset): at least please try to not
17424	silently change the logic, while avoiding crashes.
17425
17426	* lib/font.c: (suck_font): put a #error, we have a nasty something
17427	to fix there before we switch to Gtk 2.0.
17428
174292001-09-09  Hans Breuer  <hans@breuer.org>
17430
17431	* **/makefile.mingw : Approach to compile Dia with mingw.
17432	Compiling mostly works but running does not (yet) ...
17433
17434	* lib/geometry.h :
17435	- use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
17436	  Apparently mingw needs it too.
17437	- enable 'normalization' of a null verctor. Otherwise the beziergon
17438	  bounding box calculation would be broken at least with msvc. What's
17439	  the mathematical correct result of 0.0/0.0 ?
17440
17441	* lib/dia_xml.c : isinf() for mingw too.
17442
17443	* lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
17444	and msvc)
17445
17446	* lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
17447	Please don't do it.
17448
17449	* lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
17450
17451	* lib/libdia.def : updated externals. Apparently mingw needs
17452	them to produce the right mangling.
17453
17454	* plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
17455	and xmlDiaSaveFile
17456
174572001-09-08  Wang Jian  <lark@linux.net.cn>
17458
17459	* configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
17460
174612001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
17462
17463	* lib/dia_xml_libxml.h:
17464	* lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
17465	libxml1's code, to rework the output file before it gets committed
17466	to disk. This is rubbish, and will be removed when libxml2
17467	switches from discouraged to mandatory.
17468	All in all, this fixes #60152.
17469
17470	* lib/charconv.h:
17471	* lib/charconv.c: (charconv_unichar_to_utf8):
17472	made the type of the input parameter explicitly an unsigned long.
17473
17474	* configure.in: Added a check for libz (we must now include it
17475	explicitly, for xmlDiaSaveFile).
17476
17477	* app/load_save.c: (diagram_data_save):
17478	* lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
17479	(dia_pluginrc_write):
17480	* plug-ins/shape/shape-export.c: (new_shape_renderer),
17481	(end_render), (draw_string):
17482	* plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
17483	(draw_string):
17484
17485	Made sure we always write UTF-8 XML files, and through
17486	xmlDiaSaveFile().
17487
17488	* NEWS: documented that fact.
17489
174902001-09-07  James Henstridge  <james@daa.com.au>
17491
17492	* configure.in (found_libxml): refactor the check for libxml a
17493	little so that it handles finding both libxml1 and 2 better.
17494
174952001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
17496
17497	* app/app_procs.c: removed a spurious } which caused a compilation
17498	error in the (!HAVE_GNOME && HAVE_POPT_H) case
17499
17500	* lib/charconv.c: (get_local_charset): some versions of iconv(1)
17501	don't know what ANSI X3.4-1968 is. I didn't know until this day,
17502	but it's just plain old ASCII. Added a check to shield the poor
17503	XML library.
17504
17505	Patches from <robert.young@dsto.defence.gov.au>:
17506
17507	* lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
17508	width and height of text before calculating bounds. Fixes #59928
17509
17510	* app/preferences.c: Moved grid related items into Grid Tab.
17511
175122001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
17513
17514	* app/interface.c: (create_zoom_widget): connected one more signal
17515	to the Zoom selector combo's list. Fixes #59879.
17516
17517	* app/app_procs.[ch]: (app_init) (do_convert)
17518	(build_output_file_name): brought back into the main executable
17519	the rare useful bits of the ill-fated diaconv. This means we have
17520	one new feature : --export-to-format (-t), which should make
17521	writing conversion scripts easier, and a crude implementation of
17522	-t and -e for the poptless argument parsing, which means the Win32
17523	port should be able to take advantage of it (that should make
17524	resolving #58197 possible).
17525
17526	* app/diaconv.c: kept the poor duck compiling (but that's about
17527	it).
17528
17529	* plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
17530	I've got it right).
17531
17532	* NEWS: updated about the new feature above, and documented the
17533	"missing encoding specification" complaint.
17534
175352001-09-01  Abel Cheung  <maddog@linux.org.hk>
17536
17537	* configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
17538
175392001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
17540
17541	* objects/standard/bezier.c: used g_new0 instead of g_new, to take
17542	care of #59837.
17543
175442001-09-01  James Henstridge  <james@daa.com.au>
17545
17546	* */Makefile.am: various changes to include missing files, and fix
17547	sheets dir to handle building with builddir != srcdir.
17548
17549	* autogen.sh: unconditionally pass the --enable-maintainer-mode
17550	and --enable-db2html flags so that builds from CVS work correctly.
17551
17552	* configure.in: increment version number.  Also add an
17553	--enable-db2html flag.  Without the flag, db2html won't be run (if
17554	the flag is passed and db2html is not present, do nothing).
17555
175562001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
17557
17558	* lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
17559	even compiled. It's really too bad there is no lint tool easily
17560	available (or a more cautious, pedandic, paranoid and verbose
17561	compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
17562
175632001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
17564
17565	* app/load_save.c:
17566	* dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
17567	from <robert.young@dsto.defence.gov.au>. Fixes #59591.
17568
17569	* app/menu.c: added ellipsis(...) to diagram properties menu item.
17570	* app/dia-props.c: diagram properties dialog contents did not
17571	represent current diagram settings.
17572	* app/dia-props.[ch]:
17573	* app/display.c: diagram properties contents now follows currently
17574	selected diagram.
17575	Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
17576
17577	* AUTHORS: added Robert Young.
17578
175792001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
17580
17581	* app/modify_tool.c: (modify_button_release): Patch from
17582	<robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
17583	#59090: if selection dragging was released outside of the window,
17584	artifacts of the selection box remained.
17585
175862001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
17587
17588	* Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
17589
175902001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
17591
17592	* configure.in:
17593	* sheets/Makefile.am: prepared the terrain for the Version of
17594	xml-i18n-tools Which Comes After 0.9 (and which will feature at
17595	last a sane behaviour with XML files). Some reasonible delay
17596	before enforcing that version *will* be given.
17597
17598	* xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
17599
17600	* lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
17601	becomes a nonexistent symbol.
17602
176032001-08-18  Hans Breuer  <hans@breuer.org>
17604
17605	* app/app_procs.c : made it compile without ENABLE_NLS
17606
17607	* app/diap_callbacks.c : strcmp isn't guaranteed to work
17608	with NULL pointers
17609
17610	* app/load_save.c :
17611	* lib/plug-ins.c :
17612	* objects/custom/shape_info.c : avoid mixing allocators and dealocators.
17613	It has to be :
17614		xmlGetProp, ... -> xmlFree
17615		malloc, strdup -> free
17616		g_new, g_malloc, g_strdup - > g_free
17617
17618	* app/win32print.c : some more error checking, still not
17619	working on Win9x
17620
17621	* lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
17622
17623	* lib/dia_xml.c : msvc still has no unistd.h
17624
17625	* lib/dia_xml.c :
17626	* lib/sheets.c : temporary resolved libxml include brokeness
17627
17628	* plug-ins/python/pydia-*.c : reflect Font and StdProp api
17629	changes. Compiles again, but doesn't do anything useful anymore.
17630	(see THE_PROP_TYPE_IS_INTEGRAL)
17631
17632	* **/makefile.msc : updated to use LIBXML2
17633
17634	* lib/libdia.def : reflect api changes
17635
176362001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
17637
17638	* config.h.win32: added defines telling that gtk speaks UTF8.
17639	Hans, I believe this reflects what GTK on Win32 does.
17640
17641	* app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
17642	strings.
17643	* lib/prop_inttypes.c:
17644	* lib/prop_text.c:
17645	* lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
17646	code path.
17647
17648	* lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
17649	trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
17650	search for plug-ins is done.
17651	* app/Makefile.am: made app/run_dia.sh use the // capability. No
17652	need to update this anymore if we get a new plug-in library (or
17653	remove one).
17654
17655	* lib/dia_xml.c: #include <unistd.h> was missing.
17656
17657	* lib/properties.h:
17658	* lib/proplist.c: (pdtpp_defaults): Added a new flag,
17659	PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
17660	support.
17661
176622001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
17663
17664	* sheets/civil.sheet: removed duplicate "Danish" entries.
17665
17666	* autogen.sh:
17667	* configure.in:
17668	* .cvsignore:
17669	* sheets/Makefile.am:
17670	* po/POTFILES.in:
17671	* Makefile.am: applied the xml-i18n-tools README's instructions.
17672
17673	* po/(da de fr hu nl nn no sl).po: merged the translations from
17674	the sheet files into the .po files. I hope I haven't mixed
17675	languages...
17676	* sheets/*.sheet (REMOVED):
17677	* sheets/*.sheet.in (NEW): moved the sheet files sans
17678	translations into .sheet.in files.
17679
17680	* sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
17681	because we don't yet want to force all translators to work using
17682	UTF-8 editors. We'll want to do that sometime (sooner rather than
17683	later).	Okay, I sing a slightly different tune in po/ChangeLog...
17684
17685	* dia.desktop (REMOVED):
17686	* dia.desktop.in (NEW): used also the x18t infrastructure for
17687	this too.
17688
17689	* xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
17690	"official" version of x18t with support for .sheet files is available.
17691	* xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
17692	"official" version of x18t which doesn't corrupt UTF-8 data in XML
17693	is available.
17694
17695	** yes, we are now using xml-i18n-tools to manage the sheet
17696	translations. For the Win32 build, Nemo stores snapshots of
17697	translated strings next to the CVS snapshots. **
17698
17699	* sheets/checktrans.py: suddenly, some sheets have lots of
17700	translations (objects which existed before sheets, mostly).
17701	Adapted the formatting.
17702
17703	* po/README (REMOVED): this is obsolete ! It was ignored, anyway.
17704
17705	* app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
17706	* app/modify_tool.[ch]: (modify_motion): A (modified) patch from
17707	<robert.young@dsto.defence.gov.au>, to fix #59090.
17708
17709	* app/display.c: (ddisplay_scroll): While at it, added some
17710	margin, so that autoscrolling can happen within a margin outside
17711	the diagram's extents.
17712
17713	* app/tool.[ch]:
17714	* app/interface.c:
17715	* app/disp_callbacks.c: Robert "forced" me to go when I usually
17716	don't, namely the app/ directory. So while I was there, I
17717	scratched a long-time itch. If no object has focus, pressing the
17718	space bar will select back the tool which was selected before the
17719	current one (I find this especially useful with "reset after create" !)
17720
17721	* lib/proplist.c: (prop_list_from_single): Renamed
17722	prop_list_singleton() to avoid confusion with the Singleton
17723	pattern (which it definitely is not).
17724
17725	* lib/propobject.c: (object_prop_by_name_type),
17726	(object_prop_by_name): The "flags" parameter was not necessary.
17727	These don't return synthetic properties, but properties built from
17728	a real property description list; therefore, we don't call
17729	make_new_prop() but use the existing property descriptor, which
17730	has perfectly valid (and meaningful) flags.
17731
17732	* lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
17733	new predicates better reflect the reason why properties exist when
17734	they're created by make_new_prop() or object_prop_by_name().
17735
17736	* lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
17737	* lib/prop_basic.c: (make_new_prop): used the new reasons instead
17738	of pdtpp_true().
17739
17740	* lib/properties.h: reflects all the above changes.
17741
17742	* objects/SADT/arrow.c:
17743	* objects/SADT/annotation.c:
17744	* sheets/SADT.sheet: minor renamings to better match FIPS 183's
17745	IDEF0 terminology.
17746
177472001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
17748
17749	* lib/properties.h:
17750	* lib/proplist.c: (prop_list_singleton):
17751	* lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
17752	Added these, to simplify interactions of plug-ins with the StdProp
17753	core.
17754
17755	* lib/Makefile.am:
17756	* lib/dia_xml.h:
17757	* lib/dia_xml_libxml.h (NEW):
17758	* app/load_save.c:
17759	* lib/dia_xml.c:
17760	* lib/plug-ins.c:
17761	* lib/sheet.c:
17762	* objects/custom/shape_info.c: A few prototypes were causing
17763	#include hell, because we generally attempt to not pull the whole
17764	libxml header set when we include dia_xml.h. Moved those
17765	prototypes away for the rare cases they're necessary.
17766
177672001-08-15  Hans Breuer  <hans@breuer.org>
17768
17769	* lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
17770
17771	* lib/libdia.def :
17772	* lib/makefile.msc : updated
17773
17774	* lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
17775	use G_GNUC_FUNCTION instead.
17776
17777	* lib/prop_inttypes.c : include <stdlib.h> for strtol()
17778
17779	* objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
17780	msvc instead of cleaning missing includes
17781
17782	* plug-ins/wmf/wmf.cpp :
17783	* plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
17784
177852001-08-15  Cyrille Chepelov <chepelov@calixo.net>
17786
17787	* app/app_procs.c:
17788	* app/load_save.c:
17789	* lib/dia_xml.c:
17790	* lib/plug-ins.c:
17791	* lib/sheet.c:
17792	* objects/custom/shape_info.c:
17793	* plug-ins/shape/shape-export.c:
17794	* plug-ins/svg/render_svg.c: used the libxml1/libxml2
17795	compatibility macros as taught by http://xmlsoft.org/upgrade.html;
17796	removed xmlKeepBlanksDefault(0) in favour for proper
17797	xmlIsBlankNode() testing. Lots of other fixups to use the
17798	"libxml1.5" (libxml2 parser embedded in recent libxml1), and to
17799	make libxml1 output correct files.
17800
17801	* configure.in: use libxml2 (>= 2.3.9) if it's found, or
17802	libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
17803        packages). If both devel packages are found, the build will stop
17804        (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
17805
17806	* lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
17807	allocate the first handle :-)
17808
17809	* lib/object.c: (object_init): <gratuitous>g_new() used instead of
17810	a cast and a sizeof.</gratuitous>
17811
17812	* objects/custom/custom_object.c: (custom_copy): don't call
17813	text_get_attrbutes if the shape has no text...
17814	(custom_update_data): The info->resize_with_text code was a bit
17815	directive; basically, the shape's bounding box was forced to be
17816	proportional to the text's bounding box.... This fixes #57187.
17817
17818	* objects/custom/shape_info.c: (load_shape_info): Set an obvious
17819	default for info->aspect_ratio; unobfuscated a line about
17820	info->resize_with_text;
17821
178222001-08-15  Cyrille Chepelov <chepelov@calixo.net>
17823
17824	* lib/properties.h: added comments next to the PROP_TYPEs to tell
17825	which C Property subclass to use.
17826
17827	* plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
17828	cast-ridden form of setting properties in a list, in favour for
17829	the "local pointers" form. I'll take any better offer...
17830
178312001-08-14  Cyrille Chepelov <chepelov@calixo.net>
17832
17833	* lib/font.c: fprintf(...) --> fprintf(format...)
17834
17835	* configure.in: added a disabled versioned test for glib.
17836	* lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
17837	(bezpointarrayprop_load), (bezpointarrayprop_save): replaced
17838	g_critical() with a simple g_error(). Proper fix is to implement
17839	that stuff.
17840
17841	* lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
17842	PROP_TYPE_STRING.
17843
17844	* lib/properties.h:
17845	* lib/propdesc.c: (prop_desc_list_calculate_quarks):
17846	* lib/proplist.c: (find_prop_by_name_and_type):
17847	* lib/prop_basic.c: (make_new_prop), (initialize_property):
17848	* lib/propoffsets.c: (do_set_props_from_offsets),
17849	(do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
17850	Added a type_quark member to PropDescription, Property and
17851	PropOffset. Used it to implement a safety in
17852	do_[sg]et_props_from_offsets().
17853
17854	* objects/flowchart/diamond.c: the diamond's text was not saved,
17855	and thus not even copied (c&p).
17856	* objects/standard/textobj.c: ditto.
17857
17858	Most of the above changes thanks to Robert Young's testing. Thanks !
17859
178602001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
17861
17862	* sheets/*.sheet: Added some Norwegian translations (both nynorsk
17863	and bokmål).
17864
178652001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
17866
17867	* lib/proplist.c (prop_list_from_descs): added a call to
17868	prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
17869	too embarrassing to tell.
17870
17871	* lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
17872	while loop to a for loop, for symmetry with
17873	prop_offset_list_calculate_quarks().
17874
17875	* lib/geometry.h: new inline function, rectangle_equals.
17876
17877	* lib/diagramdata.[ch]: refactored a bit the diagram extents
17878	computation logic, and changed it to always be the union of the
17879	visible layers' extents. This should close #58882 (Debian
17880	#107167), and fixes #55498.
17881
17882	* app/display.c: made the initial visible box more coherent with
17883	the diagram being loaded's extents.
17884
17885	* app/prop_attr.c: don't set the font (from offset) if font_data
17886	is NULL. Two brainos in colorprop_load() and fontprop_load().
17887
178882001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
17889
17890	* lib/properties.[ch]: split in a lot of pieces:
17891
17892	* lib/prop_*.[ch] (NEW): all property types are now first-class
17893	objects, inheriting from the original abstract Property type.
17894	* lib/propdesc.c (NEW): property description handling routines
17895	* lib/propoffsets.c (NEW): property offset handling routines
17896	* lib/proplist.c (NEW): property list handling routines
17897	* lib/propobject.c (NEW): property list <-> object routines
17898	* lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
17899	relations.
17900	* lib/propinternals.h: prototypes for stuff not usually needed by
17901	the outside of StdProps.
17902	* lib/Makefile.am: a lot of new files have been added...
17903
17904	THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
17905	BOTH INTERFACES AND RUN-TIME STABILITY.
17906
17907	* lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
17908
17909	* lib/object.h: removed the incestuous relationship with
17910	properties.h' contents. Now a Property list is a GPtrArray -->
17911	object interface change !
17912
17913	* app/app_procs.c/app_init(): removed a disabled call to a
17914	non-existent routine. Added a call to stdprops_init().
17915
17916	* objects/Makefile.am: disabled the construction of EML. I'm not
17917	touching these until a certain issue is solved (or this module
17918	removed).
17919	* app/group.c:
17920	* objects/**/*.c except objects/EML/*: adapted all stdprop-using
17921	objects to the interface changes.
17922
17923	* app/disp_callbacks.c: killed a warning.
17924	* lib/dia_xml.[ch]: sprinkled "const" modifiers.
17925
17926	* app/commands.c:
17927	The macros PROP_VALUE_* have disappeared. Adapted to using the new
17928	interface.
17929
17930	* plug-ins/dxf/dxf-import.c:
17931	* plug-ins/xfig/xfig-import.c:
17932	PROP_VALUE_* macros have been removed. Converted to the new API.
17933
17934	* plug-ins/python/**/*: I gave up converting this; I can't
17935	compile --with-python (problems with object.h defined both by us
17936	and by Python). I'll gladly help whomever cares to fix it !
17937	(or, fix it myself if someone tells me how to compile it).
17938
17939	* configure.in: added the UNICODE-related progress defines.
17940
17941	* configure.in:
17942	* lib/geometry.h: On Solaris and perhaps other systems, finite()
17943	is defined in ieeefp.h rather than in math.h. Patch from Andrew
17944	Halper <ashalper@acm.org> with further modifications, isinf() is
17945	provided by -lsunmath (sunmath.h).
17946
17947	* lib/font.c: conditionally disabled Lars' debugging messages.
17948	Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
17949
179502001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
17951
17952	* lib/bezier_conn.h:
17953	* objects/standard/bezier.c (bezierline_create):
17954	* lib/bezier_conn.c (bezierconn_init):
17955	Preparations for use of userdata for bezier lines.
17956
17957	* objects/standard/polygon.c:
17958	* objects/standard/create.h:
17959	* lib/polyshape.c:
17960	* lib/polyshape.h:
17961	* plug-ins/xfig/xfig-import.c:
17962	Use of user_data for polygon as well, including adding
17963	polyshape_set_points.  Include file for non-interactive
17964	creation of standard objects, objects/standard/create.h
17965
179662001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
17967
17968	* app/render_gdk.c:
17969	* app/render_gdk.h:
17970	* lib/font.c:
17971	* lib/font.h:
17972	* lib/widgets.c:
17973	More preliminary freetype support.  Not at all functional, crashes
17974	when rendering.
17975
17976	* lib/poly_conn.h:
17977	* lib/poly_conn.c:
17978	* objects/standard/polyline.c:
17979	Support for creating polyline objects with more than two points.
17980	This includes an extra function and a prototype change in the
17981	poly_conn lib object.
17982
17983	* lib/object.c (object_copy): Fixed memory leak of handles and
17984	connections.
17985
179862001-08-08  Abel Cheung  <maddog@linux.org.hk>
17987
17988	* dia.desktop: added traditional Chinese strings
17989
179902001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
17991
17992	* NEWS: updated to reflect build-time dependencies.
17993
17994	* lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
17995	around obj->ops->describe_props(obj). Quarks are none of an
17996	object's business in the general case...
17997	* lib/text.c: Added an apply_textattr_properties() function to
17998	factor out some common code related to applying a dialog's text
17999	attribute properties to a (Text *) which wasn't edited there.
18000	Ditto for textstr, for the string part of an objet.
18001
18002	* objects/GRAFCET/action.c:
18003	* objects/SADT/annotation.c:
18004	* objects/SADT/box.c: used apply_textattr_properties().
18005
18006	* objects/UML/actor.c:
18007	* objects/UML/branch.c:
18008	* objects/UML/component.c:
18009	* objects/UML/constraint.c:
18010	* objects/UML/small_package.c:
18011	* objects/UML/state.c:
18012	* objects/UML/usecase.c:
18013	* objects/UML/large_package.c:
18014	* objects/UML/note.c:
18015	* objects/UML/node.c:
18016	* objects/UML/message.c:
18017	* objects/UML/classicon.c:
18018	* objects/UML/object.c:
18019	* objects/UML/realizes.c:
18020	* objects/UML/dependency.c:
18021	* objects/UML/implements.c:
18022	slim-fast(tm) cure using more StdProps, and UTF-8 audit.
18023	(most objects were already using StdProps to some extent ; this
18024	systematises usage and removes some dead wood).
18025
18026	* objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
18027	* objects/UML/uml.[ch]: audited for UTF-8.
18028
18029	* objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
18030	uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
18031	private (ISO-8859-1) definition.
18032
18033	* lib/charconv.c: Added a warning if we didn't run
18034	nl_langinfo(CODESET) but rely instead on a hardcoded default.
18035
180362001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
18037
18038	* lib/diamenu.h:
18039	* app/disp_callbacks.c: added a way for an object to cause an
18040	already realised menu to be destroyed (for instance if it changes
18041	too much).
18042
18043	* objects/custom/custom_object.c: used the above to fix #55073.
18044
180452001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
18046
18047	* configure.in: Remove 2.50 prereq.
18048
180492001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
18050
18051	* po-checktrans.py: under some circumstances, there was one column
18052	more than what was supposed to be, thus breaking the formatting.
18053
180542001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
18055
18056	* objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
18057
18058	* NEWS: updated with new stuff since 0.88
18059
18060	* shapes/network/antenna.shape: the text was misplaced ; fixed.
18061
18062	* shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
18063	firewall router (upon request from Cyril Lacoux
18064	<clacoux@easter-eggs.com>)
18065
18066	* configure.in (didn't rename to configure.ac): autoconf 2.50
18067	constructs were used ; added an AC_PREREQ call to guard against
18068	older autoconfs.
18069
180702001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
18071
18072	* lib/properties.c: minor clean-ups with the event delivery code.
18073
18074	* EML/instantiation.c: brought this object back from stone and ice
18075	age.
18076
18077	* app/diaconv.c(NEW): added a command-line conversion tool. Still
18078	lacks a man page and correctness. In fact, it doesn't work. Please
18079	see #58196 if you want to finish it.
18080
18081	* lib/message.[ch]: redefined things a little so that a different
18082	message_internal routine could be passed.
18083	applications can use that to fit themselves to the display model.
18084
180852001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
18086
18087	* objects/SADT/box.c:
18088	* objects/GRAFCET/action.c: spelling in property descriptors (name
18089	field...)
18090	* objects/SADT/annotation.c: ditto, plus a temporary test of the
18091	event delivery code (try to click on the "click me !" button !).
18092
18093	* app/group.c:
18094	* lib/properties.[ch]: improved (fixed) support for group event
18095	handlers. Fixed various things from yesterday's code to make it
18096	not too obviously crash.
18097
180982001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
18099
18100	* app/group.c: added delivery of events to the first member of the
18101	group which is able to process it.
18102
18103	* lib/properties.c(prop_desc_lists_intersection): properties
18104	don't match if they don't have identical event handler.
18105	* lib/properties.h: simplified the PropEventHandler signature.
18106
18107	Event delivery code is still untested so far, but should be
18108	lurking harmless.
18109
181102001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
18111
18112	* lib/properties.[ch]: Added (untested !) property event handler
18113	capability. Added a new PROP_TYPE_BUTTON, for the purpose of
18114	generating such events. This stuff compiles, and should lurk
18115	around silently as long as you don't declare property descriptors
18116	with events (AFAICT).
18117	In object_create_props_dialog() and friends:
18118	attached a single structure with lots of data instead of lots of
18119	little attachments of data to the dialog widget.
18120
18121	* lib/object.h: fixed mild typedef breakage introduced by the above.
18122
181232001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
18124
18125	* lots of files: Changed Font to DiaFont
18126	* */Makefile.am: Added FREETYPE_LIBS
18127	* plug-ins/xfig/xfig-export.c: Improved (working:) color handling
18128
181292001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
18130
18131	* configure.in: Added "nn" to ALL_LINGUAS.
18132
181332001-07-09  Alex Larsson  <alexl@redhat.com>
18134
18135	* app/disp_callbacks.c:
18136	Add gdk_im_ready() calls to XIM code.
18137
181382001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
18139
18140	* lib/properties.[ch]: splitted prop_get_widget() into
18141	prop_get_widget() (gives a widget but doesn't fill it) and
18142	prop_reset_widget() (fills an existing widget with a property's value).
18143
18144	* lib/widgets.[ch]: const enforcement police work.
18145
18146	* shapes/network/antenna.shape: added a connection point at top,
18147	upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
18148
181492001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
18150
18151	* intl/*: tested with gettext-0.10.38
18152	* configure.in: moved a macro call around (AM_PROG_CC) to keep
18153	some of autogen.sh from complaining.
18154	* INSTALL: added a warning against gettext older than at least 0.10.36
18155
181562001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
18157
18158	* configure.in: added explicit calls to AM_LANGINFO_CODESET and
18159	AM_ICONV (both provided by gettext)
18160
181612001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
18162
18163	* lib/charconv.c: corrected the degraded mode for when
18164	!HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
18165
18166	* objects/chronoline/chronoline_events.c: UTF8 compliance.
18167
181682001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
18169
18170	* lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
18171	new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
18172	widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
18173	into a frame box.
18174
18175	* objects/chronogram/chronoline.c:
18176	* objects/chronogram/chronoref.c: took advantage of the above to
18177	make nicer looking dialogs.
18178
18179	* lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
18180	from libunicode's internals).
18181	* lib/message.c: convert strings to local encoding prior to
18182	display (UNICODE_WORK_IN_PROGRESS)
18183	* lib/properties.[ch]: convert strings to local encoding prior to
18184	display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
18185	* lib/render.h: tagged strings as (utfchar *) instead of (char *)
18186	* lib/stringprerenderer.[ch]: ditto
18187
18188	(lib/text.c has been audited for UTF8, but the size of the changes
18189	make them inappropriate for commit before 0.89)
18190
181912001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
18192
18193	* objects/boolequation.h (<save|load>_boolequation): made the
18194	prototypes for match the .c file.
18195
18196	* samples/grafcet.dia: minor non-conformance with IEC-848
18197	fixed (in the transition from step 100 to step 101).
18198
18199	* lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
18200	disallow editing of properties if the object is part of a group.
18201
18202	* objects/chronogram/chronoline.c:
18203	* objects/SADT/annotation.c:
18204	* objects/SADT/box.c:
18205	* objects/GRAFCET/step.c:
18206	* objects/GRAFCET/transition.c:
18207	* objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
18208
182092001-06-12  Hans Breuer  <hans@breuer.org>
18210
18211	* lib/libdia.def : removed lazyprop exports
18212	* lib/makefile.msc : removed lazyprop.obj
18213
18214	* objects/custom/custom_objects.c : use HAVE_UNISTD_H
18215	and avoid crashes by always creating a custom->text,
18216	when (custom->info->has_text)
18217
18218	* objects/makefile.msc : removed sybase from build
18219
18220	* objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
18221	ObjectNode is a pointer already, which is what we want
18222	instead of a pointer pointer.
18223
18224	* plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
18225	and implemented working export for images
18226
18227	* shapes/network/zip-disk.shape : added connection points
18228
182292001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
18230
18231	* objects/SADT/box.c: removed lazyprops for standard props.
18232	* objects/chronograms/chronoline.c: removed lazyprops (phew !)
18233	* objects/chronograms/chronoref.c: ditto
18234
18235	* lib/Makefile.am:
18236	* lib/dummy_dep.h:
18237	* lib/connpoint_line.c:
18238	* lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
18239	* lib/properties.[ch]: new property types:
18240	    - PROP_TYPE_STATIC: static text to be displayed in the dialog.
18241	    - PROP_TYPE_MULTISTRING: same as string, but renders as a
18242	    multi-line entry box.
18243	    - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
18244	    in a tabbed-notebook style (this is a bit complicated to use;
18245	    see objects/chronograms/chronoline.c for an example).
18246
182472001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
18248
18249	* objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
18250	* objects/GRAFCET/step.c: ditto.
18251	* objects/GRAFCET/vector.c: ditto.
18252	* objects/SADT/annotation.c: ditto.
18253	* objects/SADT/arrow.c: ditto (plus bounding box fixes).
18254
18255	* lib/properties.[ch]: two more non-visible types
18256	(PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
18257
18258	* lib/neworthconn.[ch]:
18259	* lib/orthconn.[ch]: added support for manipulation through
18260	standard properties.
18261
18262	* configure.in: removed -fomit-frame-pointer, this seems to
18263	confuse recent gcc/gdb's, maybe we'll get better stack dumps in
18264	bugzilla.
18265
18266	* charconv.[ch]: more functions from unicode.h.
18267	get_local_charset() wasn't working properly, fixed now.
18268	A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
18269	ElectricFence !)
18270
18271	* objects/EML/process.h: pulled the bits of lazyprops.h it uses.
18272	* lib/lazyprops.[ch]: put a big fat warning in.
18273
18274	* app/render_eps.c: one line mysteriously went away, causing a
18275	variable to be used uninitialised....
18276
182772001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
18278
18279	* app/app_procs.c: commented out the call to
18280	bind_textdomain_codeset(): it's premature.
18281
18282	* lib/connpoint_line.c: a NULL point can be given to
18283	connpointline_adjust_count(), in case there's not really a clicked
18284	point.
18285
18286	* lib/textattr.h(NEW): moved the definition of TextAttributes to sort
18287	#include order troubles. #included by lib/text.h, so there is no
18288	impact outside lib/.
18289	* lib/properties.[ch]: added support for CONNPOINT_LINE and
18290	(nonvisible) TEXT properties.
18291
18292	* objects/GRAFCET/action.c:
18293	* objects/GRAFCET/vergent.c: dropped lazyprops for standard
18294	properties.
18295
18296	* objects/UML/lifeline.c: pruned some legacy stuff (now pure
18297	standard properties code). Grafted a dynamic number of connection
18298	points (heavily inspired from what Vergent does). This is the real
18299	fix for #55863.
18300
18301	* objects/GRAFCET/boolequation.[ch]: audited for UTF-8
18302
18303	* lib/fonts.c: some hardening (mostly g_assert())
183042001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
18305
18306	* app/app_procs.c (app_init): added a call to
18307	bind_textdomain_codeset() so that gettext gives us UTF-8 strings
18308	(UNICODE_WORK_IN_PROGRESS).
18309
183102001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
18311
18312	* plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
18313
18314	* objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
18315	(fixes #55863) : some clean-ups in the handling of connection
18316	points. Now the total number of connection points is just a
18317	#define (the proper solution is to retrofit the GRAFCET Vergent's
18318	dynamic behaviour wrt connection points).
18319
183202001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
18321
18322	* app/app_procs.c (app_init): added a call to unicode_init() (only
18323	if HAVE_UNICODE, of course).
18324
18325	* lib/charconv.c: simplified the code which detects the local
18326	charset. No need to use <langinfo.h>, libunicode already takes the
18327	burden of figuring that out. Also, if local charset is utf8, no
18328	conversion will take place.
18329	Exposed a way to get the current charset (similar to
18330	unicode_get_charset() but actually working, hopefully).
18331
18332	* lib/charconv.h: Added a partial non-UTF8 implementation of
18333	unicode.h if !HAVE_UNICODE (actually, all the time for the
18334	moment). The UTF8 implementation is just macros on libunicode (use
18335	the functions prefixed by uni_, as defined by charconv.h, not
18336	unicode_, unless that code is to be compiled only if HAVE_UNICODE).
18337	From now on, all strings which don't *need* to be ASCII should be
18338	utfchar *, not gchar *. Just include charconv.h, let it sort out
18339	the details (such as: "is libunicode available and enabled?")
18340
18341	* lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
18342	"API" instead of directly libunicode. Removed the now unnecessary
18343	speculative clustering of characters in encoding pages.
18344
18345	* app/render_eps.c: made the local8->utf8 conversions dependent of
18346	!UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
18347	boundary will be when this WIP is done).
18348
18349	* lib/dia_xml.c (data_point): fixed a format string typo.
18350
18351	* po/POTFILES.in: added all C files from lib/
18352
183532001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
18354
18355	* app/disp_callbacks.c: make sure the objects' connected objects
18356	are updated when the objects' size changes after a keypress event
18357	(fixes #51222)
18358
18359	* configure.in: added a big warning about the possible future
18360	non-optionality of --enable-unicode.
18361
18362	* TODO: removed entries which look like done ; added a few ones
18363	(Bugzilla "enhancement" bugs may be a better way to keep track of
18364	this)
18365
183662001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
18367
18368	* objects/UML/message.c: got rid of #55564 and of message_copy()
18369	by using more standard properties (are the message_state_*()
18370	functions still necessary ?)
18371
183722001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
18373
18374	* lib/plug-ins.c:
18375	* objecs/custom/shape_info.c:
18376	* plug-ins/shape/shape-export.c:
18377	* plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
18378	use xmlChar instead of obsolete CHAR.
18379
183802001-06-03  Hans Breuer  <hans@breuer.org>
18381
18382	* app/diagram.h : added prototype for diagram_update_menu_sensitivity()
18383	* app/commands.c : give the right number of parameters
18384	to diagram_update_menu_sensitivity ()
18385
18386	* app/preferences.c : do proper initialization for DiaPrefsData:
18387	render_bounding_boxes. It would be a real surprise if 'hidden'
18388	properties would have ever worked before.
18389	Don't try to access the widgets of hidden property, it does not
18390	have one.
18391
18392	* lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
18393	it is defined in libdia, but initialized from dia app, which
18394	otherwise gave nice start-up crashes.
18395
18396	* lib/diagramdata.c : initialize the color for rendering bounding
18397	boxes in the Dia range (0 .. 1.0)
18398
18399	* lib/libdia.def : added *_bbox functions for export
18400
18401	* lib/makefile.msc : added new sources
18402
18403	* objects/custom/custom_object.c : use HAVE_UNISTD_H
18404
184052001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
18406
18407	* app/interface.c:
18408	* app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
18409	removes a translation of menus (in a place where there shouldn't
18410	have been), which gets rid of a waterfall of warnings if LANG!=C,
18411	and a fix to #55047.
18412
184132001-05-29  Steffen Macke     <sdteffen@yahoo.com>
18414
18415	* lib/charconv.c : added #include <errno.h>
18416
18417	* app/dia_embedd.c : updated menus_get_item_from_path usage
18418
184192001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
18420
18421	* lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
18422	Added a special case for Symbol strings, so that they're not
18423	re-encoded using the LN encoding (we use the bare Adobe encoding
18424	instead).
18425
18426	* objects/custom/custom_object.c: Now that #52912 is fixed,
18427	I could remove the ugly hack I wrote to squash the shape bounding box
18428	problem shown by Ben A. Hetland a few months ago, and fix it
18429	properly this time.
18430
18431	* lib/text.c: enlarged a little the bounding box to account for
18432	the cursor in rightmost position.
18433
18434	* lib/diagramdata.c: draw bounding boxes only if the relevant
18435	variable is set (as before), but also only if the rendere is
18436	interactive (ie, don't bother rendering bounding boxes on
18437	Postscript...)
18438	Made the bounding box's line width a fixed value, 0.01
18439
18440	* lib/boundingbox.c: fixed the "pointy corners" code for polylines
18441	and assymmetric control beziers. Implemented ellipse_bbox().
18442
18443	* Makefile.am: incantations to get po/dia.pot build, as suggested
18444	by Hubert in #55075.
18445
18446	* shapes/network/computer.shape: typo fixed.
18447	* shapes/network/antenna.shape: fixed #55074 (antenna is now
18448	properly translucent, except for its base where it makes sense. It
18449	doesn't look that ugly anymore if transparent mode is on).
18450
18451	* configure.in: --enable-unicode is now the default. This
18452	still currently affects only printing.
18453
184542001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
18455
18456	* lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
18457	The overshoot code is buggy, and the bounding boxes for polyshapes
18458	looks a bit cheezy. To be done ASAP.
18459
184602001-05-26  James Henstridge  <james@daa.com.au>
18461
18462	* configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
18463	This should clear up some of the build problems people have been
18464	having.
18465
18466	* acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
18467
184682001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
18469
18470	* lib/Makefile.am:
18471	* lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
18472	box code (beginning with lines, polylines and polybeziers), into a
18473	more generic facility. While at it, a better shot at correctly
18474	computing the bounding box of a Bezieroid (should take care of
18475	#53424, #51233 and of course is part 1 of #52912).
18476
18477	* lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
18478	into a hidden preference (set render_bounding_boxes in diarc).
18479	* app/preferences.[ch]:	Added support for hidden preferences.
18480
18481	* lib/geometry.[ch]: sprinkled with "const" modifiers.
18482
18483	* lib/bezier_conn.[ch]:
18484	* lib/beziershape.[ch]:
18485	* lib/connection.[ch]:
18486	* lib/element.[ch]:
18487	* lib/poly_conn.[ch]:
18488	* lib/orth_conn.[ch]:
18489	* lib/neworth_conn.[ch]:
18490	* lib/polyshape.[ch]: adapted to take advantage of
18491	boundingbox.[ch] instead of relying on private (duplicate) code.
18492
18493	* object/FS/flow.c:
18494	* object/GRAFCET/action.c:
18495	* objects/GRAFCET/condition.c:
18496	* objects/GRAFCET/vergent.c:
18497	* objects/GRAFCET/vector.c:
18498	* objects/SADT/annotation.c:
18499	* objects/SADT/arrow.c:
18500	* objects/ER/participation.c:
18501	* objects/UML/constraint.c:
18502	* objects/UML/implements.c:
18503	* objects/UML/lifeline.c:
18504	* objects/UML/message.c:
18505	* objects/UML/realizes.c:
18506	* objects/UML/generalization.c:
18507	* objects/UML/association.c:
18508	* objects/UML/dependency.c:
18509	* objects/FS/flow-ortho.c:
18510	* objects/network/bus.c:
18511	* objects/standard/arc.c:
18512	* objects/standard/bezier.c:
18513	* objects/standard/beziergon.c:
18514	* objects/standard/line.c:
18515	* objects/standard/polygon.c:
18516	* objects/standard/zigzagline.c:
18517
18518	* objects/standard/polyline.c: Some *BBExtras structures changed
18519	names while moving to boundingbox.[ch]. A trivial mass-renaming.
18520
185212001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
18522
18523	* app/disp_callbacks.c (ddisplay_canvas_events): Take into account
18524	wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
18525
18526	* app/display.c (ddisplay_update_scrollbars): from Patrick's
18527	suggestion, remove the extra scrollable area (it was only visible
18528	to the scrollbars). This is experimental.
18529
18530	* objects/custom/custom_object.c: If a shape's icon file doesn't
18531	exist, warn and substitute a default icon, instead of crashing.
18532	(fixes #52913)
18533
18534	* objects/network/network.c:
18535	* shapes/network/modularswitch.(shape|xpm) (NEW):
18536	* shapes/network/printer.(shape|xpm) (NEW):
18537	* shapes/network/genmonitor.(shape|xpm) (NEW):
18538	* shapes/network/computer.(shape|xpm) (NEW):
18539	* shapes/network/Makefile.am: four less objects, four more shapes.
18540	These were the last known RenderObjects. (phew !)
18541
18542	* lib/Makefile.am:
18543	* lib/dummy_dep.h:
18544	* objects/sybase/Makefile.am:
18545	* objects/network/Makefile.am: Removed the older Renderobjects
18546	from the build, and their infrastructure (not yet deleted,
18547	though).
18548
18549	* shapes/network/sceadplug.shape:
18550	* shapes/network/antenna.shape:
18551	* shapes/network/modem.shape:
18552	* shapes/network/hub.shape:
18553	* shapes/network/rj45plug.shape:
18554	* shapes/sybase/client.shape:
18555	* shapes/sybase/dataserver.shape:
18556	* shapes/sybase/ltm.shape:
18557	* shapes/sybase/repserver.shape:
18558	* shapes/sybase/rsm.shape:
18559	* shapes/sybase/stableq.shape: Minor corrections (line widths were
18560	ten times too narrow).
18561
185622001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
18563
18564	* objects/network/network.c:
18565	* shapes/network/sceadplug.(shape|xpm) (NEW):
18566	* shapes/network/antenna.(shape|xpm) (NEW):
18567	* shapes/network/modem.(shape|xpm) (NEW):
18568	* shapes/network/Makefile.am: four less objects, four more shapes.
18569
18570	* lib/Makefile.am:
18571	* lib/diagramdata.c:
18572	* lib/render.h:
18573	* lib/string_prerenderer.[ch] (NEW):
18574	Add a new renderer primitive, predraw_string() (does nothing, to be
18575	used as a hook to optimise the character encodings if needed).
18576	Added a string pre-renderer, which can be viewed as a filter
18577	renderer (to route draw_string() to predraw_string() and ignore
18578	the rest, in a first rendering pass)
18579
18580	* app/render_eps.c: Took advantage of the above to make wholly
18581	optimised Postscript encoding page(s), even (especially) with
18582	non-latin1 code (HAVE_UNICODE must be true).
18583
18584	(#53512 in fact is wholly resolved).
18585
185862001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
18587
18588	* lib/charconv.c: steps towards resolution of #53512 (inspired by
18589	Alexey Novodvorsky <aen@logic.ru>'s patch).
18590
18591	* app/menus.c (dia_menu_signal_proxy): checked that the signal
18592	handler is not NULL before transferring control to it... (fixes #52836)
18593
18594	* app/app_procs.c (app_init): removed non-constant initialiser
18595	(fixes #52950)
18596
18597	* objects/custom/custom_object.c:
18598	* objects/custom/shape_info.[ch]:
18599	* objects/custom/test.xml: merged patch #53476 from Steven Hawkins
18600	<skh@mathstar.com>. This add support for a <svg:text> shape
18601	element, and some related style properties (font, font height,
18602	alignment)
18603
18604	* doc/custom_shapes: a precision about the meaning of case in a
18605	SVG path (closes #52364)
18606
18607	* lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
18608	fixed by <drk@sgi.com>)
18609
186102001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
18611
18612	* objects/network/network.c:
18613	* shapes/network/Makefile.am:
18614	* shapes/network/hub.(shape|xpm) (NEW):
18615	* shapes/network/flash.(shape|xpm) (NEW):
18616	* shapes/network/rj45plug.(shape|xpm) (NEW):
18617	More shapes, less renderobjects.
18618
186192001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
18620
18621	* plug-ins/svg/render_svg.c: typo made exported ellipses
18622	corrupted (zero Y pseudo-radius).
18623
18624	* objects/network/network.c:
18625	* objects/network/disc.c:
18626	* shapes/network/disc.(shape|xpm): Converted the first
18627	Renderobject into a shape. Normally, old diagrams should reload
18628	without problems (please check this against your diagrams). More
18629	flexibility should be gained that way. I intend to hunt and
18630	eradicate all renderobjects as I can commit cycles to that.
18631
18632	* objects/Makefile.am:
18633	* configure.in:
18634	* app/Makefile.am:
18635	* objects/sybase/sybase.c:
18636	* shapes/sybase/Makefile.am(NEW):
18637	* shapes/sybase/client.(xpm|shape) (NEW):
18638	* shapes/sybase/dataserver.(xpm|shape) (NEW):
18639	* shapes/sybase/ltm.(xpm|shape) (NEW):
18640	* shapes/sybase/repserver.(xpm|shape) (NEW):
18641	* shapes/sybase/rsm.(xpm|shape) (NEW):
18642	* shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
18643	renderobjects into shapes. The Sybase objects are now not compiled
18644	anymore, and ready to be nuked if nobody objects in the next few weeks.
18645
18646	* app/commands.c:
18647	* app/diagram.[ch]:
18648	* app/disp_callbacks.c:
18649	* app/display.[ch]:
18650	* app/interface.[ch]:
18651	* app/menus.[ch]:
18652	* app/modify_tool.c:
18653	* app/preferences.[ch]:
18654	* app/recent_files.c:
18655	* app/select.c: Added patch #52364 from Hubert Figuiere. This adds
18656	a menu bar reflecting the popup menu, to each display window. This
18657	is optional (changing the preference currently doesn't affect
18658	already opened windows; a few other rough edges to cut).
18659
18660	* plug-ins/wpg/wpg.c:
18661	* plug-ins/xfig/xfig-import.c:
18662	* plug-ins/python/pydia-property.c:
18663	* plug-ins/python/pydia-properties.c:
18664	* plug-ins/python/pydia-geometry.c:
18665	* plug-ins/pstricks/render_pstricks.c:
18666	* lib/arrows.c:
18667	* objects/EML/dbox.c:
18668	* lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
18669	#53054.
18670
18671	* lib/ps-utf8.c: improved the clustering of alphabetic character
18672	definitions in custom encodings pages.
18673
186742001-05-02  Hans Breuer  <hans@breuer.org>
18675
18676	* lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
18677	of 'obj_bb' to PROP_TYPE_RECT
18678
18679	* objects/custom/custom_object.c : take all quarks into account,
18680	not only 4 as copy&paste suggests
18681
18682	* objects/uml/objects.c : completed the implementation of the
18683	property api to avoid reading of totally bogus data. Removed
18684	the PROBABLY_DEAD_CODE. It actually was dead code, but not because
18685	there was too much but too less ...
18686
18687	The above changes removed all known crashes (mentioned below)
18688	from the Property API. Property access is still incomplete though.
18689
18690	* objects/flowchart/box.c :
18691	* objects/flowchart/diamond.c :
18692	* objects/flowchart/ellipse.c :
18693	* objects/flowchart/parallelogram.c :
18694	* objects/uml/classicon.c :
18695	* objects/uml/state.c : calculate number of quarks from quark array
18696	size instead of using hardcoded values for consistence and to avoid
18697	future bugs like the above
18698
18699	* objects/eml/nlist.c : include <string.h> for strcmp()
18700
18701	* lib/dia_xml.c : relax g_warning for values, which
18702	appear to be too small. There is nothing which prevents
18703	them while saving
18704
18705	* plug-ins/python/pydia-geometry.c : changed stringifying of
18706	geometry objects accept BezPoint back to %f, which does not
18707	crash anymore, because all the data is intialized now and it
18708	simply is more readable than %e ...
18709
18710	* plug-ins/python/python-startup.py : removed dependency
18711	to PyGtk, because it isn't required here and probably won't
18712	in i.e.: export filters.
18713
18714	* plug-ins/python/gtkcons.py : create the gtkoutfile even
18715	if sys.stderr.fileno() isn't supported
18716
18717	* app/makefile.msc : make version 0.88
18718	* plug-ins/makefile.msc : make version 0.88 an added new
18719	xfig files to build
18720
187212001-05-11  James Henstridge  <james@daa.com.au>
18722
18723	* NEWS: remember to add news items this time.
18724
18725	* dia.spec: update spec file for 0.88 release.
18726
18727	* configure.in: up version number to 0.88
18728
18729	* plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
18730	preventing any of the useful python scripts from being
18731	distributed.
18732
18733	* sheets/Makefile.am (sheet-translation-report): fix bustage I
18734	introduced in my fixups for the 0.87 release :(
18735
187362001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
18737
18738	* plug-ins/xfig/xfig-import.c: Finally got groups working.
18739
187402001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
18741
18742	* plug-ins/xfig/xfig-import.c: Improvements to error handling and
18743	group manipulation.
18744
187452001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
18746
18747	* lib/ps-utf8.[ch]:
18748	* lib/Makefile.am: fix makefile breakage which led to not
18749	including ps-utf8.[ch] in the released tarballs.
18750
187512001-05-09  James Henstridge  <james@daa.com.au>
18752
18753	* Makefile.am (core-translation-report): dist scripts needed for
18754	this target, and change to $(srcdir) before running.
18755
18756	* sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
18757	files aren't automatically included in the tarball by automake
18758	because they could be generated files.
18759
18760	* objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
18761
18762	* doc/en/Makefile.am (install-data-hook): fix up where graphics
18763	are installed.
18764
18765	* configure.in: up version number to 0.87
18766
18767	* plug-ins/python/*.py: no longer necessary to explicitly set
18768	sys.argv, as python.c does it for us now (like it should).
18769
18770	* plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
18771	python plugin.
18772
18773	* plug-ins/python/python-startup.py: startup script that imports
18774	all modules in $(datadir)/dia/python and ~/.dia/python.
18775
18776	* plug-ins/python/python.c (dia_plugin_init): change so that it
18777	only runs the $(datadir)/dia/python-startup.py script.  Make sure
18778	that sys.argv and __main__.__file__ are set when calling the
18779	startup script.
18780
18781	* plug-ins/python/Makefile.am: update makefile.  Make it install
18782	gtkcons.py plugin.  I haven't set any other plugins to install, as
18783	they look like they are mainly for debugging purposes.
18784
18785	* configure.in: add tests to detect if python is available, so we
18786	can build the python plugin.  Only run if --with-python passed to
18787	configure.
18788
187892001-05-08  James Henstridge  <james@daa.com.au>
18790
18791	* acinclude.m4: add macros for detecting python.
18792
18793	* app/menus.c (dia_gnome_menu_get_widget): handle paths that point
18794	at GNOME_APP_UI_SUBTREE entries.
18795	(menus_add_path): function to add a menu item to the menubars.
18796	Uses a hash table to keep track of extra menu items it adds.  Also
18797	notifies the item factory about the entries so that accels can be
18798	saved for them.
18799	(menus_add_path): implement gtk only version.
18800	(menus_init): use menus_add_path() to add the menu.
18801	(plugin_callback): simplify.
18802
188032001-05-08  Steffen Macke <sdteffen@yahoo.com>
18804
18805	* app/menu.c: removed #ifndef GNOME; GNOME build was broken
18806
188072001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
18808
18809	* plug-ins/xfig/xfig-export.c:
18810	* plug-ins/xfig/xfig-common.c:
18811	* plug-ins/xfig/xfig-import.c:
18812	* plug-ins/xfig/xfig.c:
18813	* plug-ins/xfig/xfig.h:
18814	* app/Makefile.am: Added support for exporting to Fig format
18815	(except splits, which are less powerful in Fig).  Some refactoring
18816	along the way.
18817
188182001-05-02  Hans Breuer  <hans@breuer.org>
18819
18820	* plug-ins/python/debug_objects.py : added another
18821	test to get massive crashes from the Property API due
18822	to unintialized data.
18823
18824	* app/menu.c : the callback_action wasn't incremented
18825	(should have checked my last optimization). Now more
18826	than one plug-in callback is supported again.
18827
18828	* plug-ins/python/pydia-geometry.c : avoid crashes from
18829	glib, when trying to g_strdup_printf unintialized floats.
18830
18831	* plug-ins/python/pydia-property.c : avoid crashes from
18832	because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
18833
188342001-05-01  Hans Breuer  <hans@breuer.org>
18835
18836	* objects/makefile.msc : added eml
18837	* objects/eml/instantiation.c : initialize 'inst' pointer
18838	before using, zero initialization for objects
18839	* objects/eml/interaction-ortho.c :
18840	* objects/eml/interaction.c : zero initialization for objects
18841
18842	* app/menus.c : removed Gimp mru stuff which slipped in at
18843	2000-08-15, was never activated and will never be needed,
18844	because of Steffens recent file list patch added at 2001-01-05.
18845
18846	* objects/eml/*.c : some more zero initialization of objects
18847	to avoid infinite (uninitialized) bounding boxes
18848
18849	Implemented a callback api which allows plug-ins to register
18850	menu call backs. Dia for Gnome should compile, but will need
18851	some extra tweaking to make it work because I can't test it.
18852
18853	* plug-ins/python/pydia-error.h :
18854	* plug-ins/python/pydia-render.c : moved Pxthon function return
18855	value handling from pydia-render.c to pydia-error.h, to make it
18856	usable for
18857	* plug-ins/python/diamodule.c : implement callback function
18858	registration from and relaying to Python code
18859
18860	* app/menus.c : register and use plug-in menu callbacks
18861
18862	* lib/filter.[hc] : implement filter_register_callback() and
18863	filter_get_callbacks() for the above
18864	* lib/libdia.def : export them
18865
18866	* plug-ins/python/debug_objects.py (new file):
18867	sample using the above
18868
188692001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
18870
18871	* plug-ins/shape/shape-export.c (new_shape_renderer):
18872	The name of a shape is now taken from the dir, to conform with
18873	standard naming.
18874
188752001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
18876
18877	* app/properties.c (properties_show): Added title containing
18878	object type, plus (hopefully) fix of the ghost properties dialog.
18879
188802001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
18881
18882	* app/display.c: remove the display idle handler in case we
18883	destroy the ddisplay (caused crashes in ddd, probably random
18884	crashes elsewhere).
18885
18886	* autogen.sh:
18887	* configure.in:
18888	* Makefile.am: hack around gettext-0.10.36's new "features".
18889
18890	* lib/properties.[ch]: added new function object_copy_props().
18891	Added new property type PROP_TYPE_ENDPOINTS
18892
18893	* lib/connection.h: added support for load/saving through the
18894	properties interface.
18895
18896	* lib/object.[ch]: object_load/save/copy_using_properties()
18897	support functions (code factorisations).
18898
18899	* objects/GRAFCET/boolequation.c: check against null values in
18900	boolequation_set_value() and boolequation_destroy().
18901
18902	* objects/GRAFCET/transition.c: Converted from lazyprops to
18903	standard properties. 31% less (x86) code !
18904
18905	* objects/GRAFCET/condition.c: also converted from lazyprops to
18906	standard properties. Also killed lots of code.
18907
189082001-04-13  Hans Breuer  <hans@breuer.org>
18909
18910	* plug-ins/wmf/wmf.cpp : changed text conversion from
18911	g_utf8_utf16 to g_convert usage. The latter function is already
18912	available in tml's last "official" Gtk+ version (2000-12-26).
18913	This change allows to use recent Dia with either the official
18914	version or the latest cvs "gtk-1-3-win32-production"-branch.
18915
189162001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
18917
18918	* Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
18919	* app/disp_callbacks.c:
18920	- Allow submenus in DiaMenus.
18921	- Don't require DiaMenu.title to be non-null (so that
18922	  submenus aren't required to have titles)
18923
18924        * objects/FS/function.c:
18925	- object menu now has submenus, an almost complete list of
18926          standard-basis verbs, and a start on nouns.
18927	- box padding, dash length, and other visual attributes are
18928	  scaled by the font size... eventually font height will be
18929	  a function property.
18930	- draw functions with smaller font to make initial view hold
18931          a reasonable number of functions.
18932
189332001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
18934
18935	* sheets/ER.sheet:
18936	* sheets/chronogram.sheet:
18937	* sheets/jigsaw.sheet:
18938	* sheets/sybase.sheet: Updated Dutch sheet translations from Dag
18939	Wieers <dag@wieers.com>
18940
189412001-04-13  Hans Breuer  <hans@breuer.org>
18942
18943	* app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
18944	to ensure that all the deinitialization is only done once. Fixes
18945	recent app exit crash on win32
18946
18947	* lib/dia_xml.c : provide isinf() replacement for msc which does only
18948	have _finite()
18949
18950	* lib/libdia.def : updated
18951
18952	* objects/makefile.msc : added wanlink.c
18953
18954	* objects/network/wanlink.c : added M_PI_2 definition for poor
18955	platforms which don't have one
18956
18957	* objects/standard/arc.c :
18958	* objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
18959	initialized which led to rather huge bounding boxes (try Ctrl^A on
18960	diagrams with Arcs or ZigZagLines).
18961	* objects/*/*.c : to avoid further bugs like the above changed all
18962	object initializations to g_malloc0 or g_new0
18963
18964
189652001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
18966
18967	* lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
18968	doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
18969
18970	* objects/UML/class.c:
18971	* objects/UML/usecase.c:
18972	* objects/UML/large_package.c:
18973	* objects/UML/message.c:
18974	* objects/UML/object.c:
18975	* objects/UML/lifeline.c:
18976	* objects/FS/flow.c:
18977	* objects/FS/flow-ortho.c:
18978	* objects/FS/function.c:
18979	* objects/custom/custom_object.c:
18980	* objects/GRAFCET/vergent.c:
18981	* objects/chronogram/chronoref.c:
18982	* objects/SADT/box.c:
18983	* objects/SADT/annotation.c:
18984	* plug-ins/dxf/dxf-import.c:
18985	* plug-ins/xfig/xfig-import.c:
18986	* plug-ins/wpg/wpg.c:
18987	* app/command.c:
18988	* app/app_procs.c:
18989	* app/display.c: /* certainly more WIP than dead code there */
18990	Unused variables, unused static function definitions, forgotten or
18991	incomplete prototypes added or fixed, lack of const or unwanted const,
18992	etc. (mostly clean-ups of leftovers of the pre-properties era).
18993	Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
18994	please check these.
18995
18996	* app/lineprops_area.c: More of the same. Missing prototypes
18997	added, and functions unused outside made static.
18998
18999	* app/recent_files.c:
19000	* app/properties.c:
19001	* app/defaults.c: some variables are used only when doing a GNOME
19002	build.
19003
19004	* app/magnify.c: missing #include <stdlib.h>.
19005
19006	* app/paginate_gnomeprint.c: Unused variable; missing "message.h".
19007
19008	These are a lot of clean-ups (by the way, this compiles and runs
19009	cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
19010	for DEAD_CODE, and if it's yours, judge it.
19011
190122001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
19013
19014	* plug-ins/dxf-import.c: some progress with the arcs; still some
19015	clean-ups to do and line width scaling issues to figure out.
19016
19017	* objects/standard/arc.c: start_point and end_point properties
19018	(duplicated from standard/line.c)
19019
19020	* plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
19021	code there.
19022
190232001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
19024
19025	* plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
19026	preliminary support for arcs (doesn't work). Circles and ellipses are
19027	now transparent. Coordinate and width scaling are now a common
19028	static constant (probably before morphing into a preference).
19029
19030	* sheet/checktrans.py: improved error reporting. Made checktrans
19031	count lack of <name xml:lang="code"> as a lack of translation for
19032	language "code" (no, it's not a plot to bring down other
19033	language's scores !)
19034
19035	* sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
19036	in the header, and have <name xml:lang="fr"> components.
19037
190382001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
19039
19040	* objects/custom/custom_object.c: temporary hack to fix the shape
19041	bounding box reported by Ben A. Hetland. Proper fix isn't .87
19042	material, see bugzilla #52912.
19043
190442001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
19045
19046	* objects/standard/image.c (get_directory): Now uses
19047	G_SEPARATOR_CHAR_S instead of "/"
19048
19049	* sheets/network.sheet:
19050	* sheets/Logic.sheet:
19051	* sheets/Flowchart.sheet:
19052	* sheets/Electric.sheet:
19053	* sheets/Circuit.sheet:
19054	* sheets/ER.sheet:
19055	* sheets/Pneumatic.sheet:
19056	* sheets/SDL.sheet:
19057	* sheets/UML.sheet:
19058	* sheets/GRAFCET.sheet:
19059	* sheets/MSE.sheet:
19060	* sheets/chronogram.sheet:
19061	* sheets/civil.sheet:
19062	* sheets/network.sheet:
19063	Danish translations.
19064
19065	* objects/standard/image.c (get_directory): Changed get_directory
19066	to use g_dirname to find the directory part.
19067
190682001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
19069
19070	* sheets/ER.sheet:
19071	* sheets/Electric.sheet:
19072	* sheets/Flowchart.sheet:
19073	* sheets/Logic.sheet:
19074	* sheets/network.sheet: More Dutch translations from Dag Wieers.
19075
190762001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
19077
19078	* sheets/checktrans.py: now emits a warning when two descriptions
19079	for a single language code are found.
19080
19081	* Makefile.am:
19082	* sheets/Makefile.am: -translation-reports now also depend on their
19083	checktrans.py
19084
190852001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
19086
19087	* sheets/Circuit.sheet:
19088	* sheets/Contact.sheet:
19089	* sheets/Logic.sheet:
19090	* sheets/chronogram.sheet:
19091	* sheets/sybase.sheet:
19092	Dutch translations from Dag Wieers <dag@wieers.com>
19093
190942001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
19095
19096	* po-checktrans.py: Now shows the detailed counts alongside the
19097	percentage of translations.
19098
190992001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
19100
19101	* Makefile.am:
19102	* po-checktrans (NEW):
19103	* po-checktrans.py (NEW): builds core-translation-report:
19104	percentages of core (gettext) translations done [Not placed into
19105	po/ where that should belong, because of integration fear^Wissues
19106	with gettextize].
19107
19108	TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
19109	sheets/sheet-translation-report probably ought to be copied on the
19110	user's /usr/share/doc/dia (or equivalent) directory.
19111
19112	* sheets/Makefile.am: sheet-translation-report now a simple
19113	EXTRA_DIST; make install won't install it by default.
19114
191152001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
19116
19117	* app/preferences.c: changed the default grid colour to something
19118	less intrusive.
19119
19120	* shapes/SDL/*.shape:
19121	* sheets/SDL.sheet: renamed all SDL shapes to conform to the
19122	"$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
19123	DIA FILES (well, for files using SDL), see the mailing list
19124	archive "SDL (ab)using the global shape namespace" for a script to
19125	do this conversion.
19126
19127	* sheets/SDL.sheet: translated into French
19128	* sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
19129
191302001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
19131
19132	* lib/dia_xml.c: made data_point() more paranoid
19133
19134	* sheets/Makefile.am:
19135	* sheets/checktrans (NEW):
19136	* sheets/checktrans.py: Made checktrans handle more gracefully the
19137	absence of python and python-xml packages, and made the error
19138	message more helpful.
19139
191402001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
19141
19142	* lib/render_object.c (new_render_object): Made initial handles
19143	behave like on most other objects.
19144
19145	* app/load_save.c (read_objects): Fixed premature free'ing ofr
19146	typestr causing garbage.
19147
191482001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
19149
19150	* objects/FS/flow-ortho.c: Fixed a crashbug causes by not
19151	accouting for handle ordering through copy and save. (#51479)
19152
191532001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
19154
19155	* sheets/Circuit.sheet: Norwegian translation mistagged to German.
19156
191572001-03-31  Steffen Macke  <sdteffen@yahoo.com>
19158
19159	* sheets/Circuit.sheet
19160	* sheets/UML.sheet
19161	* sheets/network.sheet: Updated German translations
19162
191632001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
19164        * lib/arrows.[ch]:
19165	* lib/widgets.c:
19166	* app/lineprops_area.c: The return of the revenge of the arrow
19167	heads. Now all types covered by ISO 10303-201 should be covered.
19168
191692001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
19170
19171	* sheets/Flowchart.sheet: translations in probably Hungarian were
19172	a victim of cut-n-paste from the German one. Fixed (hopefully).
19173	* sheet/UML.sheet: translation in probably Norwegian was a victim
19174	of cut-n-paste from the French one. Fixed (hopefully).
19175	* sheets/Logic.sheet: French translation not tagged with
19176	xml:lang="fr".
19177
19178	* sheets/checktrans.py:
19179	* sheets/Makefile.am: new file, sheet-translation-report, to be
19180	installed along the sheets, show how much of them has been
19181	translated into which language (I wish the result was prettier...)
19182
19183	* po/README: most translators don't read this file, but anyway...
19184
19185	* sheets/.cvsignore:
19186	* objects/network/.cvsignore: the usual negotiation with CVS.
19187
191882001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
19189
19190	* sheets/*.sheet: French translations
19191
191922001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
19193
19194	Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
19195
19196	** objects/network/network.c:
19197	** objects/network/wanlink.c:
19198	** objects/network/pixmaps/wanlink.c:
19199	** sheets/network.sheet:
19200	** objects/network/Makefile.am: a better object to use instead of
19201	the older WAN Connection.
19202
19203	** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
19204
19205	** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
19206	name clash
19207
19208	* objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
19209	Arc; kept the C file name (because CVS wouldn't like it), and
19210	still registering the older object name (but advertising the newer
19211	one in sheets/GRAFCET.sheet).
19212
192132001-03-24  Hans Breuer  <hans@breuer.org>
19214
19215	* app/dia.def : some plug-ins (currently only python, xfig) are using
19216	functions from the dia executable. To get them working these functions
19217	need to be explicit exported on win32. IMO the much cleaner way would
19218	be to move these functions to libdia, but that would require some
19219	long term restructuring ...
19220
19221	* lib/libdia.def : updated
19222
19223	* plug-ins/makefile.msc : build xfig plug-in
19224
192252001-03-24  Hans Breuer  <hans@breuer.org>
19226
19227	* app/diagram.c : g_strdup (dia->filename) because it will be
19228	g_free ()d
19229
19230	* app/display.c : set ddisp->renderer to NULL after destruction.
19231	This may solve or help to identify erroneous access to it after
19232	destruction.
19233
19234	* plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
19235	get 'umlauts' working
19236
192372001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
19238
19239	* object/chronogram/chronoline_event.c: stupid bug ; rises and falls
19240	were reversed... (look for the patch, and drink a beer to my
19241	stupidity)
19242
192432001-03-23  Hans Breuer  <hans@breuer.org>
19244
19245	* app/app_procs.c : don't g_error () if the config directory
19246	can't be created (at least not on windoze) because it's quite
19247	common that the user don't read or understand the FAQ ...
19248
19249	* app/cursor.c : use ddisplay_active () instead of active_display
19250	from app/display.c
19251
19252	* app/display.[hc] : made active_display var static and provide
19253	an accessor funtion ddisplay_active_diagram ()
19254
19255	* app/dia-props.c : don't store the active_diagram, but ask
19256	for it everytime it needed.
19257
19258	* lib/properties.h : #include "intl.h"
19259
19260	* lib/makefile.msc : need to take care of inclusion order to
19261	avoid clashes with gtk+2.0's gdk-pixbuf
19262
19263	* objects/makefile.msc : added uml/stereotype.c to build
19264
192652001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
19266
19267	* **/*.c: Added config.h to the remaining .c files, and changed
19268	all to be <config.h>.
19269
192702001-03-22  Steffen Macke <sdteffen@yahoo.com>
19271
19272	* lib/arrows.c
19273	* lib/arrows.h
19274	* lib/widgets.c
19275	* app/lineprops_area.c: added new arrow types with double
19276	heads
19277
192782001-03-20  Steffen Macke <sdteffen@yahoo.com>
19279
19280	* shapes/Civil/civil_gas_bottle.xpm
19281	* shapes/Civil/civil_gas_bottle.shape
19282	* sheets/civil.sheet
19283	* shapes/Civil/Makefile.am: Added gas bottle shape by Arne
19284	Battermann
19285
192862001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
19287
19288	* objects/custom/shape_info.c (load_shape_info):
19289	* objects/custom/shape_info.h:
19290	* objects/custom/custom_object.c (custom_update_data):
19291	Better support for text outside the box -- new attributes 'resize'
19292	and 'align' for text entity.  Align not fully supported yet.
19293
19294	* lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
19295
192962001-03-20  James Henstridge  <james@daa.com.au>
19297
19298	* app/interface.c (display_data_received_callback): comment out
19299	status message.
19300
193012001-03-19  James Henstridge  <james@daa.com.au>
19302
19303	* app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
19304
19305	* objects/UML/realizes.c: similar here.
19306
19307	* objects/UML/implements.c: similar here.
19308
19309	* objects/UML/component.c: similar here.
19310
19311	* objects/UML/generalization.c: same here.
19312
19313	* objects/UML/dependency.c: allow NULL for ->name and
19314	->stereotype.  This fixes a number of problems in loading saved
19315	files.
19316
19317	* lib/properties.c: various changes so that NULL string properties
19318	should work.
19319
19320	* objects/standard/line.c (line_update_data):
19321	line->extra.start_long and line->extra.end_long were not being
19322	initialised.  This fixes potential problems with the bounding box
19323	of "Standard - Line" objects.
19324
193252001-03-19  Hans Breuer  <hans@breuer.org>
19326
19327	* app/commands.c : added win32 specific code to display a html
19328	file. #include "text.h" for text_delete_all prototype.
19329
19330	* app/dia.ico :
19331	* app/dia.rc : (new) to give Dia win32 an icon
19332
19333	* app/win32print.[ch] : new files to support direct postscript
19334	file printing on win32. Beware: it *requires* a ps-printer!
19335
19336	* app/paginate_psprint.c : disable the signal code for win32 build
19337	and added small specific changes to support win32print.
19338
19339	* app/makefile.msc : added win32print and linking shell32.lib
19340
19341	* lib/libdia.def : updated
19342
193432001-03-18  Kevin Breit <battery841@mediaone.net>
19344
19345	* doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
19346          Help tabs.
19347
193482001-03-17  James Henstridge  <james@daa.com.au>
19349
19350	* app/paginate_psprint.c (diagram_print_ps): add code that traps
19351	SIGPIPEs during printing.  This gets rid of a number of crashes
19352	caused by printing (eg. typing an incorrect print command).
19353
19354	* dia.spec (%install): gzip the manpage.
19355
19356	* lib/beziershape.c (beziershape_save): fix off by one error in
19357	beziershape save code, which was adding an extra segment to the
19358	object on save.
19359
19360	* app/menus.c: add a separator in the gnome version of the help
19361	menu.
19362
19363	* app/app_procs.c (app_init): add a --nosplash argument which
19364	disables the splash screen.
19365
19366	* app/dia_embedd.c (main): don't leave the splash screen open for
19367	embeddable component.
19368
19369	* app/splash.c (app_splash_init): the gtk_widget_show_now() call
19370	didn't seem to be showing the splash screen like expected, so I
19371	have replaced it with some code that calls gtk_main() until the
19372	first exposure of the window.
19373
193742001-03-16  James Henstridge  <james@daa.com.au>
19375
19376	* app/Makefile.am (EXTRA_DIST): add extra pixmaps.
19377
19378	* objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
19379	stereotype.h
19380
19381	* lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
19382
19383	* app/Makefile.am (dia_core_files): remove splash.h from file
19384	list, as it doesn't exist.
19385
19386	* doc/en/Makefile.am (uninstall-local): remove the docdir on
19387	uninstall.
19388
19389	* doc/Makefile.am (uninstall-local): target to remove the C
19390	symlink.
19391
19392	* dia.spec (%files): include the documentation in the package.
19393
19394	* app/menus.c (toolbox_menu_items): add menu item for manual,
19395	which calls help_manual_callback.
19396
19397	* app/commands.c (help_manual_callback): find help file and load
19398	netscape to view it.
19399
19400	* app/commands.h: add prototype for help_manual_callback()
19401
19402	* doc/Makefile.am (helpdir): similar here.
19403
19404	* doc/en/Makefile.am (helpdir): make the helpdir
19405	$(pkgdatadir)/help/en in the non gnome case.
19406
19407	* configure.in (HAVE_GNOME): add conditional.
19408
19409	* doc/en/Makefile.am: handle the graphics in a more general way,
19410	so it is easier for Kevin to add them to the build (just add them
19411	to the GRAPHICS var).
19412
19413	* app/Makefile.am (embed_extra_print_files): make the case of
19414	building without gnome-print support but with bonobo support work.
19415	dia-embedd needs to be include the gnome-print
19416
194172001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
19418
19419	* samples/Makefile.am: included all samples in the distribution....
19420
194212001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
19422
19423	* configure.in: removed premature test for DPS. Added -*- m4 -*-
19424	at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
19425	vanished, removed it from ALL_LINGUAS.
19426
19427	* lib/charconv.[ch] (NEW): a very small wrapper around
19428	unicode_iconv to convert strings between utf8 and local charset
19429	(actually, ISO-8859-1, though one can do
19430	CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
19431
19432	* lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
19433	library to help build Postscript streams which use as many custom
19434	font encodings as necessary to correctly represent all characters
19435	used (testing from users with non-latin1 and/or more than 256
19436	characters in routine use *very* welcome).
19437
19438	* app/Makefile.am, lib/Makefile.am: integrated these into the
19439	build process.
19440
19441	* shapes/Logic/.cvsignore (NEW): .cvsignore
19442
19443	* app/render_eps.h: forwarded some changes Lars forgot to include.
19444	* app/render_eps.c: turned off ASCII85 and FILTERS, as this
19445	doesn't yet build.
19446
194472001-03-08  Kevin Breit <battery841@mediaone.net>
19448
19449	* doc/en/home_network.png: Added file.
19450	* doc/en/line_props.png: Added file.
19451	* doc/en/usage-objects.sgml: Added two graphics to file.
19452	* doc/en/usage-quickstart.sgml: Added one graphic to file.
19453
194542001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
19455
19456	* app/grid.h: Place comment around text after #endif.
19457	* lib/bezier_conn.c: #include <string.h>.
19458	* lib/beziershape.c: #include <string.h>.
19459	* lib/connpoint_line.h: Comment after #endif.
19460	* lib/dia_dirs.c: #include <string.h>.
19461	* lib/element.c: Same.
19462	* lib/lazyprops.c: #include <config.h> and "intl.h".
19463	* lib/lazyprops.h: Comment out text after #endif.
19464	* lib/neworth_conn.c: #include <string.h>
19465	* lib/orth_conn.c: Same here.
19466	* lib/poly_conn.c: Here too.
19467	* lib/polyshape.c: And here.
19468	* lib/properties.c: Remove #include "intl.h" from here and add
19469	an array of static strings to work around bug in gettext that
19470	makes it miss strings in a #define body.
19471	* objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
19472	* objects/GRAFCET/boolequation.h: Same here.
19473	* objects/chronogram/chronoline_event.h: Add prototype for
19474	destroy_cle().
19475
194762001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
19477
19478	* objects/FS/function.c:
19479	* objects/FS/flow.c:
19480	* objects/FS/flow-ortho.c:
19481	Updated to use properties.
19482
194832001-03-03  James Henstridge  <james@daa.com.au>
19484
19485	* lib/lazyprops.c (__propdlg_build_enum): translate the radio
19486	button labels when creating them.
19487
194882001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
19489
19490	* objects/UML/actor.c
19491	* objects/UML/realizes.c
19492	* objects/UML/implements.c
19493	* objects/UML/generalization.c
19494	* objects/UML/dependency.c
19495	* objects/UML/constraint.c
19496	Updated to use properties.
19497
19498	* objects/UML/stereotype.c
19499	* objects/UML/stereotype.h
19500	Generalized to any kind of bracketting.
19501
195022001-02-28  James Henstridge  <james@daa.com.au>
19503
19504	* app/menus.c: add help entry to the help menu.  Need to get this
19505	working for the non GNOME case as well (maybe put help under
19506	$(datadir)/dia/help for non GNOME?)
19507
19508	* doc/en/topic.dat: add a topic.dat file for GNOME menus.
19509
19510	* doc/en/dia-manual.sgml (legalnotice): add an id attribute to
19511	this element so that we get a meaningful filename in the html
19512	translation.
19513
19514	* doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
19515	documentation.
19516
19517	* configure.in (DB2HTML): add a check for the db2html program, and
19518	set an automake conditional if it is found.
19519
19520	* Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
19521	and descend into doc/ directory while building.
19522
19523	* configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
19524	we need more complex rules for building the docs.
19525
195262001-02-25  Hans Breuer  <hans@breuer.org>
19527
19528	* config.h.win32 : some cleanup
19529
19530	* app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
19531	are deprecated since glib-1.3.2. Sorry needing to use them
19532	contionally, but there is no glib-1.2 for win32
19533
19534	* app/recent_files.c : use g_strescape (params) conditionally
19535
19536	* lib/connection.c : include string.h for memcpy
19537
19538	* lib/geometry.h : added some stuff for compatibility with
19539	msvc, which previously came from included config.h
19540
19541	* lib/libdia.def : updated
19542
19543	* objects/makefile.msc : updated
19544
19545	* objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
19546	'extra' used without having been initialized
19547
19548	* objects/network/bus.c(658) : initialize 'extra'
19549
19550	* plug-ins/makefile.msc : updated
19551
19552	* plug-ins/cgm/cgm.c :
19553	* plug-ins/pstricks/render_pstricks.c :
19554	g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
19555	huge memory leaks.
19556
19557	* plug-ins/python/python.c : use HAVE_DIRENT_H
19558
195592001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
19560
19561	* lib/connection.c (connection_update_boundingbox):
19562	Made the BB shrink on right and lower sides, too.
19563
195642001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
19565
19566	* */*.c: #incude <config.h> at the top.
19567	* */*.h: Remove include of "config.h" since it should only
19568	be included in .c files and at the very top for things to
19569	work.
19570	* sheets/*.sheet: Updated Norwegian translations.
19571
195722001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
19573
19574	* objects/UML/small_package.c:
19575	* objects/UML/class.c:
19576	* objects/UML/node.c:
19577	* objects/UML/usecase.c:
19578	* objects/UML/lifeline.c:
19579	* objects/UML/message.c:
19580	Various cleanup of properties in particular.  Now much more use of
19581	standard properties.
19582
19583	* lib/diagramdata.c (layer_render): Visualization of bounding
19584	boxes, for debugging purpoises.
19585
195862001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
19587
19588	* lib/geometry.h:
19589	* lib/connection.[ch]:
19590	* lib/poly_conn.[ch]:
19591	* lib/polyshape.[ch]:
19592	* lib/bezier_conn.[ch]:
19593	* lib/beziershape.[ch]:
19594	* lib/orth_conn.[ch]:
19595	* lib/neworth_conn.[ch]:
19596	* lib/element.[ch]: Changed a bit the _update_boundingbox()
19597	interface. Now the parent elements have an extra_spacing
19598	structure, which child objects just need to fill, to take care of
19599	most arrow & line width extra space needs.
19600
19601	* objects/**/*.c: updated all objects to the new interface.
19602	While at it, killed all instances of (Object *) downcasts (phew !)
19603
19604	* objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
19605	doesn't speak about.
19606
196072001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
19608
19609	* sheets/Logic.sheet: New sheet for Logic symbols.
19610
196112001-02-21  James Henstridge  <james@daa.com.au>
19612
19613	* app/menus.c (dia_gnome_menu_get_widget): new function to find a
19614	widget by its path name.  Walks the GnomeUIInfo heirachy rather
19615	than widget tree, compares untranslated label names and ignores
19616	underscores in the labels.
19617	(menus_get_item_from_path): use dia_gnome_menu_get_widget so that
19618	lookups are not dependent on the current locale, as with
19619	gnome_app_find_menu_pos.
19620
19621	* acconfig.h: guard against multiple inclusion of config.h.
19622
19623	* app/select.c (select_style_callback): simply set the selection
19624	style to the value of action.
19625
19626	* app/menus.c (menus_init): simplify the item factory based menu
19627	code a bit.  It looks like it was using some code cut and pasted
19628	from the gimp, which looked a bit unnecessary.  Things work fine
19629	without it.
19630	(selectmenu): set the action to the type of selection mode
19631	requested.
19632	(display_menu_items): use the symbolic enumeration values for the
19633	action field.
19634
19635	* app/plugin-manager.c:
19636	* app/plugin-manager.h:
19637	* app/filedlg.c:
19638	* app/filedlg.h:
19639	* app/select.c:
19640	* app/select.h: change prototypes.
19641
19642	* app/commands.c: update all callback prototypes, and get rid of
19643	some #ifdef GNOME's.
19644
19645	* app/commands.h: change function prototypes.
19646
19647	* app/dia_embedd.c (save_fn):
19648	s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
19649
19650	* app/menus.c (menus_init): for gnome menus, use
19651	gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
19652	structure that proxies the callbacks to have the same signature as
19653	GtkItemFactory type 1 callbacks.
19654	(menus_init): for GTK menus, change from callback type 2 to type
19655	1.
19656	(display_menu_items): add back tearoffs.  I don't know who removed
19657	these for the gtk menu case.
19658
196592001-02-20  Kevin Breit <battery841@mediaone.net>
19660
19661	* doc/en/usage-objects-special.sgml: Fixed a few of the special
19662        object descriptions.  More to come in the next few days.
19663
196642001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
19665
19666	* app/render_eps.c: Fixed for internationalized floating point
19667	output.
19668
19669	* objects/UML/note.c: Fixed properties -- was missing
19670	Get/ApplyPropertiesFunc.  Also improved update to recalculate text
19671	position.
19672
196732001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
19674
19675	* plug-ins/xfig/xfig-import.c:
19676	File added importing xfig files.  Still very rough, but good
19677	enough to let others hack on it.
19678
196792001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
19680
19681	* app/interface.c:
19682	* app/linewidth_area.c:
19683	* lib/lazyprops.c:
19684	* lib/properties.c:
19685	* lib/widgets.c:
19686	* objects/ER/attribute.c:
19687	* objects/ER/entity.c:
19688	* objects/ER/relationship.c:
19689	* objects/custom/custom_object.c:
19690	* objects/flowchart/box.c:
19691	* objects/flowchart/diamond.c:
19692	* objects/flowchart/ellipse.c:
19693	* objects/flowchart/parallelogram.c:
19694	* objects/standard/box.c:
19695	* objects/standard/textobj.c: per Vlad Harchev's request, made
19696	page sizes of gtk_adjustments different than their step sizes.
19697	When sensible values of page size weren't found (overwhelming
19698	majority of cases), page sizes were set to 10.0 * respective step
19699	size.
19700
197012001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
19702
19703	* objects/network/hub.c:
19704	Patch from Hubert Figuiere applied, adding connection points.
19705
197062001-02-02  James Henstridge  <james@daa.com.au>
19707
19708	* app/display.c (new_display): set update id to 0 here.
19709	(ddisplay_update_handler): rename from ddisplay_flush, and set
19710	update_id to 0 at end of processing.
19711	(ddisplay_flush): new implementation that simply sets an idle
19712	handler to perform the actual drawing.
19713
19714	* app/display.h: add structure member to hold the redraw idle
19715	handler id.
19716
197172001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
19718
19719	* objects/standard/ellipse.c (ellipse_copy):
19720	* objects/standard/zigzagline.c (zigzagline_copy):
19721	Fix of copying provided by Martin Hawlisch.
19722
197232001-01-23  Kevin Breit <battery841@mediaone.net>
19724
19725	* doc/en/graphics/: added directory
19726
19727	* doc/en/graphics/greendots.png: added file
19728
19729	* doc/en/*sgml: made minor and some major changes to prepare for 1.4
19730        release.
19731
197322001-01-23  Kevin Breit <battery841@mediaone.net>
19733
19734	* doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
19735			thanks to John Fleck!
19736
197372001-01-21  Kevin Breit <battery841@mediaone.net>
19738
19739	* doc/en/*sgml: made just minor changes to a few lines; nothing major.
19740
197412001-01-12  Michael Meeks  <michael@helixcode.com>
19742
19743	* app/dia_embedd.c (init_server_factory): do a bonobo_activate
19744	so our POA gets setup properly.
19745
19746	* app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
19747	things we g_malloc.
19748
19749	* configure.in: Use bonobox_print.
19750
19751	* app/dia_embedd.c (embeddable_factory): add print interface.
19752	(object_print): impl.
19753
197542001-01-11  Michael Meeks  <michael@helixcode.com>
19755
19756	* app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
19757	(load_fn, save_fn): impl.
19758	(view_factory): hide modified status bar, & use activate fn.
19759	(refresh_view): force redraws of the views.
19760	(view_show_hide): split from
19761	(dia_view_activate): here.
19762
19763	* app/diagram.c (diagram_load_into): split from diagram_load.
19764	(new_diagram): simplify bu splittin stuff into
19765	(diagram_init): here.
19766
197672001-01-10  Steffen Macke <sdteffen@yahoo.com>
19768
19769	* shapes/jigsaw/*.shape: replaced #000000 with foreground
19770	and #ffffff with background
19771
197722001-01-08  Steffen Macke <sdteffen@yahoo.com>
19773
19774	*configure.in: GTK+-build was broken due to missing
19775	have_bonobo=no
19776
197772001-01-06  Michael Meeks  <michael@helixcode.com>
19778
19779	* app/dia_embedd.c (main): add running context support.
19780	(dia_embeddable_destroy): remove old running object counting.
19781	(embeddable_factory): ditto.
19782	(view_factory): comment out menu path hiding.
19783
19784	* lib/sheet.c (load_register_sheet): use free to free
19785	stuff from libxml not g_free.
19786
19787	* acconfig.h: kill cover for USE_BONOBOX and USE_OAF
19788
19789	* configure.in: remove USE_OAF checks, check for a precice
19790	Bonobo version >= 0.31, revamp bits.
19791
19792	* app/dia_embedd.c (init_server_factory): upd.
19793	(init_dia_factory): remove OAF conditionals, everything uses
19794	oaf now.
19795
19796	* app/GNOME_Dia.oafinfo: rename OAFIIDs
19797
19798	* app/Makefile.am: remove ancient gnorba code.
19799	rename dia.oafinfo to GNOME_Dia.oafinfo
19800
198012001-01-07  Hans Breuer <Hans@Breuer.Org>
19802
19803	* config.h.win32
19804	* install.win32
19805	* readme.win32 : some more files required or useful to build
19806	Dia on win32
19807
19808	* plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
19809	fill_bezier implementation, boundary drawing in fill mode, etc.
19810	Next one complaining gets the source, uncommented ...
19811
19812	* shapes/network/router-symbol.xpm
19813	* shapes/network/switch-atm-symbol.xpm
19814	* shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
19815	from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
19816	the files as XPMs. Maybe the X versions of these functions are more
19817	tolerant ...
19818
198192001-01-06  Steffen Macke <sdteffen@yahoo.com>
19820
19821	* plug-ins/python/Makefile.am: added libart path
19822
19823	* plug-ins/python/python.c: added dirent.h
19824
19825	* configure.in: added es_ES and pt_BR to ALL_LINGUAS
19826
198272001-01-06  Hans Breuer <Hans@Breuer.Org>
19828
19829	* objects/uml/actor.c
19830	* objects/uml/branch.c
19831	* objects/uml/class.c
19832	* objects/uml/classicon.c
19833	* objects/uml/component.c
19834	* objects/uml/large_package.c
19835	* objects/uml/node.c
19836	* objects/uml/note.c
19837	* objects/uml/object.c
19838	* objects/uml/small_package.c
19839	* objects/uml/state.c
19840	* objects/uml/usecase.c : started to implement the generic property
19841	interface for the uml objects. Would appreciate some help on how
19842	to implement properties which are list of properties themselves,
19843	e.g. member functions and their parameters of UMLClass.
19844
198452001-01-06  Hans Breuer <Hans@Breuer.Org>
19846
19847	* plug-ins/python/diamodule.c : finally ported to win32.
19848	Added new objects and implemented register_export function.
19849
19850	* plug-ins/python/pydia-object.h
19851	* plug-ins/python/pydia-display.c
19852	* plug-ins/python/pydia-handle.c
19853	PyObject_HEAD_INIT needs some tweakink on win32. Done in
19854	pydia-object.h; others files simply using it.
19855
19856	* plug-ins/python/pydia-layer.c : reflect
19857	layer_find_closest_connection(_)point renaming
19858
19859	* plug-ins/python/pydia-object.c : add property properties.
19860	Also change bounding_box to DiaRectangle.
19861
19862	* plug-ins/python/python.c : extended error reporting; use
19863	all *.py files from Dia's plug-in dir instead of hardcoded
19864	test.py. This sollution should be fine with Win32, but on
19865	Unix it may need some tweaking (dunno) ...
19866
19867	* plug-ins/python/export-object.py
19868	* plug-ins/python/export-render.py : test and documentation
19869	implementations for export filter implementations in Python
19870
19871	* plug-ins/python/pydia-color.[hc]
19872	* plug-ins/python/pydia-diagramdata.[hc]
19873	* plug-ins/python/pydia-error.[hc]
19874	* plug-ins/python/pydia-export.[hc]
19875	* plug-ins/python/pydia-font.[hc]
19876	* plug-ins/python/pydia-geometry.[hc]
19877	* plug-ins/python/pydia-image.[hc]
19878	* plug-ins/python/pydia-properties.[hc]
19879	* plug-ins/python/pydia-property.c
19880	* plug-ins/python/pydia-render.c : new objects in new files
19881
19882	* plug-ins/python/makefile.am : added new files but can't test it
19883
19884	* plug-ins/python/pydia.def
19885	* plug-ins/python/makefile.msc : for win32 build
19886
19887	* plug-ins/cgm/cgm.c
19888	* plug-ins/dxf/dxf-import.c
19889	* plug-ins/dxf/dxf-export.c
19890	* plug-ins/hpgl/hpgl.c : reflect export API change
19891
19892	* plug-ins/shape/shape-export.c : reflect export API change
19893	and check for libart (better the availibility of a png exporter)
19894	at run-time instead of compile-time.
19895
198962001-01-06  Steffen Macke <sdteffen@yahoo.com>
19897
19898	* app/recent_files.h was missing from Hans's commit
19899
19900	* plug-ins/shape/shape_export.c: shape export was broken
19901	due to interface changes
19902
199032001-01-05  Hans Breuer <Hans@Breuer.Org>
19904
19905	Applied Steffen's recent file list patch :
19906	* app/Makefile.am : added recent_files.[hc]
19907	* app/diagram.c : add files to recent file list
19908	* app/menus.c : add recent file menu
19909	* app/app_procs.c : changed initialization order to
19910	make recent file list work with command line processing.
19911
19912	The Filter export()/import() functions have got an additional
19913	parameter to allow multiple filters via one C callback (required
19914	for Python bindings)
19915
19916	* app/commands.[hc] : corrected the signature for gtk menu callback
19917	functions, which actually use the second or third parameter. This
19918	is the absolute minimum change to make these functions/menu entries
19919	work again. Using the other possible gtk menu callback signature
19920	would have required one more function to change. (see mailing list
19921	thread "Objects/Align/Equal Distance" for more information.
19922
19923	* app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
19924	zoom-combo focus patch
19925
19926	* app/display.c
19927	* app/interface.c : wrapped the Zoom Combo code into
19928	#ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
19929	improvement but cluttering the user interface. Also it wasn't
19930	compiling on Win32 anyway. The win32 version does define
19931	WITHOUT_ZOOM_COMBO to keep the old look.
19932	There are plans to use the statusbar to display size and placement
19933	of selected objects, whereas the Zoom Combo would need to get out
19934	of the way as well.
19935
19936	Added "Save Changes?" to diagram close dialog. Hopefuly the
19937	Yes/No/Cancel option isn't too much windoze like. IHMO this is
19938	an useability improvement.
19939
19940	* app/export_png.c
19941	* app/filedlg.c
19942	* app/load_save.c
19943	* app/layer_dialog.c
19944	* app/paginate_psprint.c
19945	* app/render_eps.c
19946	- reflect signature changing of filter->export function
19947	- replaced '/' with G_DIR_SEPARARTOR where appropriate
19948
19949	* app/diaunitspinner.c
19950	* app/render_libart.c
19951	added misssing headers like <string.h>
19952
19953	* app/object_ops.c : fixed copy&paste bug in dialog string
19954
19955	* app/splash.c : gdk_widget_show_now () does not ensure actual
19956	drawing of the splash screen, at least not on win32. Reuse the
19957	previous implementation with gtk_main_iteration() again.
19958
19959	* */makefile.msc : make use of the build module (available in
19960	gnome-cvs/build. Updated for other source changes
19961
19962	* lib/filter.h : added an user_data pointer to <ex/im>port()
19963	function signature and Dia<Im/Ex>portFilter to allow different
19964	filters to reuse the same callback function
19965
19966	* lib/font.c : #include <string.h>
19967
19968	* lib/orth_conn.c
19969	* lib/poly_conn.c
19970	* lib/poly_shape.c
19971	* lib/neworth_conn.c
19972	* lib/text.c : don't mix allocator functions (g_)realloc, free, ...
19973
19974	* */*.def : export function definition files required by win32 build
19975
19976	* objects/custom/custom.c : #include <string.h>
19977
19978	* plug-ins/pstricks/render_pstricks.c
19979	* plug-ins/shape/shape_export.c
19980	* plug-ins/svg/render_svg.c
19981	reflect changes to filter export function signature
19982
19983	* plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
19984	mostly work as expected
19985	* plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
19986	to build the wmf plug-in because on the one hand the GDI emulation
19987	isn't finished and on the other hand it isn't required when building
19988	for win32. Is there anybody out there, who wants to save WMF on non
19989	windoze platforms ?
19990
19991	* plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
19992	offset into account.
19993
199942001-01-02  Steffen Macke <sdteffen@yahoo.com>
19995
19996	* app/Makefile.am: added missing plug-ins to run_dia.sh
19997
19998	* lib/paper.c: added paper sizes A0, A1, A2
19999
20000	* objects/UML/class.c
20001	objects/UML/class.h
20002	objects/UML/class_dialog.c: added support for colored UML
20003	classes
20004
200052000-12-30  Kevin Breit <battery841@mediaone.net>
20006
20007	* doc/en/usage-customization.sgml: added more content
20008
200092000-12-24  Kevin Breit <battery841@mediaone.net>
20010
20011	* doc/en/usage-layers.sgml: added file, contributed by Remypsb
20012	<remy.viard@laposte.net>
20013
200142000-12-24  Steffen Macke <sdteffen@yahoo.com>
20015
20016	* added limiting lines to Civil Engineering sheet,
20017	fixed vertical pump icon
20018
200192000-12-20  Steffen Macke <sdteffen@yahoo.com>
20020
20021	* updated/additional Civil Engineering shapes: better icons,
20022	shapes use foreground/background colors now and are filled
20023
200242000-12-03  Kevin Breit  <battery841@mediaone.net>
20025
20026	* doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
20027        the selection <sect1>
20028
200292000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
20030
20031	* app/load_save.c (diagram_data_save): avoid using obsoleted
20032	libxml calls (only matters when compiling with libxml2)
20033
200342000-11-25  James Henstridge  <james@daa.com.au>
20035
20036	* app/disp_callbacks.c (ddisplay_drop_object): add a function to
20037	handle the tool drops on the canvas.
20038
20039	* app/interface.c (display_data_received_callback): do the check
20040	to make sure that the drag is from a local toolbox here as well.
20041
20042	* app/interface.c (create_tools): unref the pixmap/mask after
20043	creating the GtkPixmap.
20044	(tool_setup_drag_source): function to set up a drag source for
20045	create object tool buttons.
20046	(create_tools): setup drag source for CREATE_OBJECT_TOOL's.
20047	(fill_sheet_wbox): same here.
20048	(create_display_shell): set up the display canvas as a drag
20049	destination.
20050	(display_drop_callback, display_data_received_callback): functions
20051	to handle drops of tool buttons.
20052
20053	* app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
20054	does weird shit to the user_data pointer for a menu item.  Object
20055	alignment should work again now.
20056
20057	* app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
20058	NULL, and mark this function static.
20059	(app_splash_init): use gtk_widget_show_now() instead of the
20060	gtk_main_iteration loop.
20061	(app_splash_init): connecting gtk_widget_destroy to the destroy
20062	signal of a widget seems pretty useless.
20063
200642000-11-23  Kevin Breit <battery841@users.sourceforge.net>
20065
20066	* doc/en/dia-manual.sgml:
20067		Added sect1 for advanced object types.  Starting development
20068                on that part.
20069
200702000-11-18  Kevin Breit <battery841@mediaone.net>
20071
20072	* doc/en/dia-manual.sgml:
20073		Stupid spelling fixes.
20074
200752000-11-18  Kevin Breit <battery841@mediaone.net>
20076
20077	* doc/en/dia-manual.sgml:
20078        	Just some small changes I made.  Props to Greg LeBlanc on the
20079                recommendations.
20080
200812000-11-17  Alexander Larsson  <alla@lysator.liu.se>
20082
20083	* app/display.c:
20084	(ddisplay_add_display_area): Clip input rectangle to
20085	the visible part of the display.
20086	(ddisplay_scroll): Optimization, don't scroll and
20087	redraw if moving to the same position as before.
20088
20089	* app/render_libart.c (renderer_libart_copy_to_window):
20090	Removed sanity check. Now moved to ddisplay_add_display_area().
20091
20092	* lib/diavar.h:
20093	Added return at end of file.
20094
200952000-11-13 Kevin Breit <battery841@mypad.com>
20096 	* doc/en/dia-manual.sgml
20097		Commited manual changes from Henry House <hajhouse@houseag.com>
20098
200992000-10-21 Hans Breuer <Hans@Breuer.Org>
20100	* lib/beziershape.c :
20101		The previous code was accessing unowned memory due to IHMO
20102		wrong index calculation. Now it appears to be fixed.
20103		*Please Review!*
20104
20105	* lib/makefile.msc
20106	* plug-ins/makefile.msc
20107	* objects/makefile.msc
20108	* app/makefile.msc: (new files)
20109		Makefiles for Dia on Win32, Micro$oft VC only.
20110
20111	* plug-ins/pstricks/render_pstricks.c
20112	* plug-ins/dxf/dxf-import.c
20113	* plug-ins/shape/shape-export.c
20114	* plug-ins/svg/render_svg.c
20115	* app/commands.c
20116	* app/filedlg.c
20117	* app/preferences.c
20118	* app/render_eps.c
20119	* lib/sheet.c
20120	* lib/plug-ins.c
20121	* objects/custom/custom.c
20122	* objects/standard/image.c
20123		portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
20124		where	appropriate, add missing prototypes like <string.h>
20125
20126	* plug-ins/wmf/wmf_gdi.cpp
20127	* plug-ins/wmf/wmf_gdi.h:
20128		start of wmf write functions for non Win32 platform. Not
20129		finished yet. The other way to get it working maybe to
20130		link the plug-in against wine libs.
20131
20132	* plug-ins/wpg/wpg.c : add missing brace
20133
20134	* app/load_save.c :
20135		Handling for unknown objects at load time. Previously Dia
20136		was crashing, if you try to load a file referencing objects
20137		whiches plug-ins aren't installed/available. Now it spits out
20138		a warning and ignores the unknown objects.
20139
20140	* app/interface.c
20141		toolbox DND support for files like The Gimp does it.
20142
20143	* app/main.c
20144	* app/app_procs.h
20145		Simple splash screen support and usage.
20146
20147	* app/app_procs.c
20148		Splash screen, portability fixes, dont' g_error if there is
20149		g_get_homedir return NULL. This may remove the one and only
20150		FAQ for Win32.
20151
20152	* app/menus.c :
20153		Make it compile without ENABLE_NLS
20154
20155	* app/render_libart.c :
20156		Sanity check to avoid calling libart with wrong window coordinates.
20157		They come from the update handler. Direct Gdk is dealing nicely
20158		with coordinates out of range, libart does access un-owned memory
20159		in this case, mostly causing crashes.
20160
20161	* app/winmain.c: (new file) Export the Win32 Gui version of the
20162		main function. This file is only required for Windoze.
20163
20164	* app/splash.c: (new file) splash screen implementation
20165
20166	* lib/color.h
20167	* lib/font.h
20168	* lib/diavar.h: (new file)
20169		moved special variable export code to diavar.h, because it is
20170		needed in color.h and font.h
20171
20172	* lib/paper.c :
20173		M$VC cann't export inlined functions. Quick hack to let it
20174		link again. Probably the glib mechanics should be used here?
20175
20176	* objects/UML/lifeline.c : initialize var before usage
20177
20178	* objects/GRAFCET/step.c : removed unused var
20179
201802000-10-14  James Henstridge  <james@daa.com.au>
20181
20182	* app/render_gnomeprint.c (draw_image): change code so images
20183	don't get flipped when printing.
20184
20185	* app/paginate_gnomeprint.c (diagram_print_gnome): check to make
20186	sure that the return value of
20187	gnome_print_context_new_with_paper_size is not NULL.
20188
20189	* app/render_gnomeprint.c (draw_arc): add code to convert arcs
20190	into a series of bezier segments.
20191	(fill_arc): similar code to handle filled arc segments.
20192
201932000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
20194
20195	* app/app_procs.c
20196	* app/commands.c
20197	* app/dia-props.c
20198	* app/diagram.c
20199	* app/diagram.h
20200	* app/disp_callbacks.c
20201	* app/display.c
20202	* app/linewidth_area.c
20203	* app/paginate_psprint.c
20204	* app/preferences.c
20205	* app/undo.c
20206	* app/font.c
20207	* app/message.c
20208	* app/neworth_conn.c
20209	* app/orth_conn.c
20210	* objects/standard/box.c: various small changes to get rid of
20211	annoying warnings (eg faulty prototypes and unused variables)
20212
20213	* app/disp_callbacks.c
20214	* app/cursor.h
20215	* app/magnify.c
20216	* app/magnify.h: update magnify tool icon when pressing/releasing
20217	shift. I will try to make something more general so that similar
20218	things can be used by other tools.
20219
20220	* shapes/SDL/inout.shape
20221	* shapes/SDL/return.shape: fixed some typos
20222
202232000-10-09  James Henstridge  <james@daa.com.au>
20224
20225	* objects/custom/shape_info.c (parse_path): apply patch from
20226	Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
20227	#25221
20228
202292000-10-08  James Henstridge  <james@daa.com.au>
20230
20231	* objects/standard/image.c (image_set_props): if the file could not
20232	be loaded, show the broken image icon.
20233
20234	* plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
20235
20236	* plug-ins/shape/*: the shape export plugin by Steffen Macke.
20237
20238	* app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
20239	object icon when loading from a file.  This allows you to have PNG
20240	icon files for shapes.
20241
202422000-10-07  James Henstridge  <james@daa.com.au>
20243
20244	* app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
20245
20246	* lib/Makefile.am, app/Makefile.am (INCLUDES): remove
20247	GDK_IMLIB_CFLAGS reference.
20248
20249	* app/commands.c (help_about_callback): remove imlib code.
20250
20251	* lib/dia_image.c: only include the pixbuf version of the image
20252	routines.
20253
20254	* acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
20255
20256	* configure.in (CPPFLAGS): remove the check for imlib, as we now
20257	require gdk-pixbuf.
20258
20259	* plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
20260	conditionally define \setfont as well.
20261
202622000-10-05  James Henstridge  <james@daa.com.au>
20263
20264	* plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
20265	preamble so that we define \setlinejoinmode and \setlinecaps
20266	commands conditionally on them being undefined.  This way, the
20267	pstricks output files should work without modification, and will
20268	support the commands when they are implemented in pstricks.
20269
202702000-10-05  Szabolcs Ban  <shooby@gnome.hu>
20271
20272	* dia.desktop: added hungarian translations to dia.desktop
20273
202742000-10-04  James Henstridge  <james@daa.com.au>
20275
20276	* sheets/UML.sheet: fix typo.
20277
20278	* objects/custom/shape_info.c: use strtod instead of g_strtod.
20279	(parse_path): actually call setlocale around strtod calls.
20280
20281	* lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
20282	call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
20283	the g_strtod wrapper.
20284
20285	* shapes/SDL/: add SDL shapes from Rubens Ramos
20286	<rubens_ramos@yahoo.com>
20287
20288	* acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
20289
20290	* sheets/Makefile.am (SHEETS): add SDL.sheet to list.
20291
20292	* shapes/MSE/: add Mobile Subscriber Equipment shapes from
20293	W. Michael Petullo <mike@flyn.org>.
20294
20295	* sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
20296	from the 0.86 tarball) and jigsaw.sheet.
20297
20298	* configure.in: add shapes/jigsaw/Makefile to list of generated files.
20299
20300	* shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
20301
20302	* shapes/network/: add network-additional shapes here.
20303
20304	* sheets/network.sheet: add the network-additional shapes from
20305	Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
20306	sheet.
20307
203082000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
20309
20310	* configure.in: Updated ALL_LINGUAS
20311
20312	* po/nl.po: Removed newline from translation
20313
203142000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
20315
20316	* app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
20317	logo filename generation.
20318
20319	* lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
20320	Avoiding "//dia_logo.png".
20321
203222000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
20323
20324	* app/filedlg.c: add include <sys/types.h> to
20325	remove warning. (OS/2)
20326
203272000-09-13  Cyrille Chepelov <chepelov@calixo.net>
20328
20329	* objects/chronogram/chronoline_event.c (reparse_clevent):
20330	the __checksum routine was simply bogus. Redone it in a slightly
20331	saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
20332
203332000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
20334
20335	* app/create_object.c (create_object_button_press):
20336	* app/modify_tool.c (click_select_object):
20337	* lib/object.h: select renamed to selectf to prevent
20338	compiler problems with function select().  OS/2 version.
20339
203402000-09-08  Karsten Weiss  <knweiss@gmx.de>
20341
20342	* po/de.po: Updated.
20343
203442000-09-07  Karsten Weiss  <knweiss@gmx.de>
20345
20346	* dia.desktop: Added German translation
20347	* app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
20348
203492000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
20350
20351        * configure.in (ALL_LINGUAS): added "es"
20352
203532000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20354
20355	* app/magnify.c:
20356	* app/cursor.h:
20357	* app/cursor.c:
20358	* app/scroll_tool.c:
20359	Standardized cursor function get_cursor().  Magnify now has
20360	looking-glass cursor with + and -.
20361
20362	* app/create_object.c (create_object_button_press):
20363	Newly created connections now snap to connection points even when
20364	off the grid.
20365
203662000-08-17  Daniel Egger  <egger@suse.de>
20367
20368	* app/menus.c: #ifdef'ed some code for the none GNOME
20369	case.
20370	* app/dia_embedd.c: Changed obvious hackery. Can anyone
20371	please have a look at the GNOME UI menu creation? The
20372	gnome-app-helper code is ages old and plainly broken!
20373
203742000-08-15  Daniel Egger  <egger@suse.de>
20375
20376	* app/commands.c:
20377	* app/commands.h:
20378	* app/diagram.c:
20379	* app/display.c:
20380	* app/menus.c:
20381	* app/select.c: First big patch to get the menus
20382	working again in the international version. Copied
20383	some code written by Sven and me from GIMP and
20384	thus implemented automatic tearoffmenu creation and
20385	proper translation. I also removed that pseudo
20386	radiomenu hack and cleaned up several translation
20387	hacks which have never really worked. All in all
20388	this is part I of the big menu patch. Enjoy and tell
20389	me if you detect any problems.
20390
203912000-08-14  Daniel Egger  <egger@suse.de>
20392
20393	* sheets/UML.sheet: Changed one German translation as
20394	suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
20395
203962000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
20397
20398	* app/diapagelayout.c:
20399	* lib/diagramdata.c:
20400	* lib/diagramdata.h:
20401	* lib/Makefile.am:
20402	* lib/paper.c:
20403	* lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
20404	selecting paper size for a new diagram. TODO: Use libpaper if
20405	available and use gnome_paper-stuff if using GNOME.
20406
20407	* sheets/Electric.sheet: fixed typo.
20408
204092000-08-08  James Henstridge  <james@daa.com.au>
20410
20411	* po/README: added a readme file to tell translators to translate
20412	the .sheet files as well.
20413
20414	* app/commands.c (help_about_callback): fix small bug where we tried
20415	to gdk_bitmap_unref() the mask for the about box image, even though
20416	it was NULL.  Now check for a NULL mask.
20417
204182000-08-07  Daniel Egger  <egger@suse.de>
20419
20420	* sheets/*.sheet: Added translations for the name
20421	in the toolbar tab. Brushed up some descriptions
20422	and some translations a bit.
20423
204242000-08-06  James Henstridge  <james@daa.com.au>
20425
20426	* plug-ins/svg/render_svg.c (new_svg_renderer): update public
20427	identifier and dtd url for SVG output.
20428	(new_svg_renderer): fix the output of the viewBox output.  The
20429	second two numbers are the width and height -- not the right
20430	and bottom sides of the box.
20431
20432	* shapes/*/*.shape: update svg namespace URI.
20433
20434	* objects/custom/shape_info.c (load_shape_info): change the
20435	namespace URI for custom shapes yet again to match the Candidate
20436	Recommedation.  It looks like this one will probably be the final
20437	one.
20438
20439	* app/display.c (new_display): remove the code that sets ic and
20440	ic_attr members to NULL, as one of the previous function calls
20441	causes the display to be realised.  This means that the ic gets
20442	lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
20443	this one.
20444
204452000-08-06  James Henstridge  <james@daa.com.au>
20446
20447	* shapes/Makefile.am (SUBDIRS): add Civil back to list.
20448
20449	* NEWS: fixed date in NEWS file, as I will release today.
20450
20451	* README: updated the README a little.  Added note that Dia is now
20452	a GNU program.
20453
20454	* dia.spec: fix up spec file.
20455
20456	* plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
20457
20458	* plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
20459	get heaps of warnings when you turn off debugging.
20460	Also made a few other warning fixes.
20461
204622000-08-02  James Henstridge  <james@daa.com.au>
20463
20464	* plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
20465
20466	* configure.in: update version number.
20467
204682000-08-01  James Henstridge  <james@daa.com.au>
20469
20470	* app/commands.c (help_about_callback): add Hans to about dialog.
20471
20472	* doc/shape.dtd: dtd for shape file format.
20473
20474	* doc/custom-shapes: update doc file about creating custom shapes.
20475
20476	* shapes/*/*.shape: change namespace URI for the SVG portion to the
20477	one for the latest draft.
20478
20479	* shapes/*/*.shape: fix up rect definitions.
20480
20481	* objects/custom/shape_info.c (load_shape_info): recognise newer
20482	namespace tag for SVG.
20483	(parse_svg_node): the rect element should take attributes x, y, width
20484	and height -- not x1,y1,x2,y2.
20485
20486	* plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
20487	output to use the newest draft DTD.
20488
20489	* plug-ins/svg/svg.c: initialisation code for plugin.
20490
20491	* plug-ins/svg/render_svg.c: move svg export code to a plugin.
20492
20493	* plug-ins/svg/Makefile.am: makefile for svg plugin.
20494
20495	* app/app_procs.c (internal_plugin_init): don't register the svg
20496	export filter here.
20497
20498	* app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
20499
205002000-07-31  James Henstridge  <james@daa.com.au>
20501
20502	* objects/standard/textobj.c (textobj_get_defaults):
20503	* objects/standard/polygon.c (polygon_get_defaults):
20504	* objects/standard/image.c (image_get_defaults):
20505	* objects/standard/ellipse.c (ellipse_get_defaults):
20506	* objects/standard/box.c (box_get_defaults):
20507	* objects/standard/beziergon.c (beziergon_get_defaults):
20508	* objects/flowchart/parallelogram.c (pgram_get_defaults):
20509	* objects/flowchart/ellipse.c (ellipse_get_defaults):
20510	* objects/flowchart/diamond.c (diamond_get_defaults):
20511	* objects/flowchart/box.c (box_get_defaults):
20512	* objects/custom/custom_object.c (custom_get_defaults):
20513	* objects/FS/flow.c (flow_get_defaults):
20514	* objects/FS/flow-poly.c (flow_get_defaults):
20515	* objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
20516	defaults widget.
20517
20518	* app/defaults.c (defaults_show): don't keep on ref'ing the defaults
20519	widgets for various object types.
20520	(create_dialog): ref and sink the no_defaults_dialog.
20521
20522	* app/preferences.c (prefs_create_dialog): change
20523	gtk_container_border_width call to gtk_container_set_border_width.
20524
205252000-07-29  James Henstridge  <james@daa.com.au>
20526
20527	* app/commands.c (view_aa_callback): show a warning dialog if
20528	you start AA mode.
20529
20530	* app/interface.c (fill_sheet_menu): don't add a menu item for
20531	empty sheets.
20532
205332000-07-26  James Henstridge  <james@daa.com.au>
20534
20535	* plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
20536
20537	* app/menus.c: remove edit grid menu item.
20538
20539	* app/commands.[ch] (view_edit_grid_callback): removed.
20540
20541	* app/display.c (new_display): don't initialise removed Grid members.
20542
20543	* app/grid.c: remove unused functions.
20544
20545	* app/grid.h: remove dialog related stuff from Grid structure.
20546	Remove prototypes for dialog functions.
20547
20548	* app/menus.c: add to menus
20549
20550	* app/commands.[ch] (view_diagram_properties_callback): new command
20551	for showing the diagram properties dialog.
20552
20553	* app/dia-props.[ch]: a new diagram properties dialog.  To replace
20554	the edit grid dialog.
20555
205562000-07-25  James Henstridge  <james@daa.com.au>
20557
20558	* app/grid.c (grid_x_update):
20559	(grid_y_update): as the grid setting is stored with the diagram,
20560	update all displays when a change is made.
20561
20562	* app/modify_tool.c (modify_motion): use new snap_to_grid sig.
20563
20564	* app/create_object.c (create_object_button_press):
20565	(create_object_motion): use new snap_to_grid signature.
20566
20567	* app/grid.c (grid_draw): use the grid settings in the DiagramData,
20568	and handle invisible grid lines.
20569	(snap_to_grid): use new grid settings.  Also changed signature to
20570	take a DDisplay rather than Grid pointer.
20571	(grid_show_dialog): get the defaults from the correct place.
20572
20573	* app/display.c (new_display): do not set ddisp->grid.width_[xy].
20574
20575	* app/diagram.c (new_diagram): set the grid size defaults from the
20576	user preferences.
20577
20578	* app/load_save.c (diagram_data_save): save grid and guide info to
20579	diagram file.
20580	(diagram_data_load): add guide and grid load support.
20581
20582	* lib/diagramdata.c (new_diagram_data): set the new DiagramData
20583	members.
20584
20585	* lib/diagramdata.h: add members to DiagramData for grid and guide
20586	settings.
20587
20588	* configure.in (BONOBO_LIBS): update configure scripts
20589
20590	* app/dia.oafinfo: oafinfo file for dia embeddables.
20591
20592	* app/dia_embedd.c: add OAF support.
20593
205942000-07-24  James Henstridge  <james@daa.com.au>
20595
20596	* plug-ins/wpg/Makefile.am:
20597	* plug-ins/pstricks/Makefile.am:
20598	* plug-ins/hpgl/Makefile.am:
20599	* plug-ins/dxf/Makefile.am: same here.
20600
20601	* plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
20602	the required libraries, and the link line was causing libtool not
20603	to build a shared library on some systems :(
20604
20605	* plug-ins/cgm/cgm.c (write_real): the initial if statement should
20606	be checking x, not n.
20607
206082000-07-23  James Henstridge  <james@daa.com.au>
20609
20610	* app/preferences.c (prefs_data): set the "reset tools after
20611	create" preference to true by default.  That seems to be what most
20612	people expect.
20613
20614	* app/interface.c (create_sheets): instead of a notebook, use an
20615	option menu that updates the sheet tools.  The notebook tabs were
20616	getting a bit unwieldly, so the option menu should fix that.  This
20617	also reduces the number of widgets in the tools radio button
20618	group, which should make the UI a little more responsive.
20619
206202000-07-19  Fatih Demir	<kabalak@gmx.net>
20621
20622	* configure.in: Added tr to ALL_LINGUAS.
20623		[ Yeah, we're now having a Turkish translation,
20624		   too. ]
20625
20626	* dia.desktop: Added the Turkish entries.
20627
206282000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
20629
20630	* doc/diagram.dtd: changed string-element so it conforms to the
20631	output from dia.
20632
206332000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
20634
20635	* configure.in: added chinese.
20636	Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
20637
20638	* app/app_procs.c:
20639	  app/load_save.c:
20640	  app/render_svg.c:
20641	  lib/dia_xml.c:
20642	  lib/plug-ins.c:
20643	  lib/sheet.c:
20644	  objects/custom/shape_info.c:
20645          shapes/Circuit/npn.shape:
20646	  shapes/Circuit/pnp.shape:
20647	  sheets/*.sheet: dia now works with libxml2.
20648 	Libxml2 is a bit more picky when parsing xml and reported errors on all
20649	sheet files because they use non ascii characters (added
20650	encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
20651	I commented out these.
20652
206532000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
20654
20655	* configure.in (ALL_LINGUAS): added Italian
20656
206572000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
20658
20659	* configure.in (ALL_LINGUAS): added Korean
20660
206612000-06-25  James Henstridge  <james@daa.com.au>
20662
20663	* objects/flowchart/parallelogram.c (pgram_create): use default font
20664	and add properties interface support.
20665
20666	* objects/flowchart/ellipse.c (ellipse_create): use default font and
20667	add properties interface support.
20668
20669	* objects/flowchart/diamond.c (diamond_create): use default font and
20670	add properties interface code.
20671
20672	* objects/flowchart/box.c (box_create): use default font.
20673
20674	* objects/custom/custom_object.c (custom_create): use default font
20675	here too.
20676
20677	* objects/standard/textobj.c (textobj_create): update to use default
20678	font.
20679
20680	* lib/attributes.c: add implementations.
20681
20682	* lib/attributes.h (attributes_[gs]et_default_font): add function
20683	prototypes for setting/getting a default font.
20684
206852000-06-24  James Henstridge  <james@daa.com.au>
20686
20687	* app/paginate_gnomeprint.h: updated prototype.
20688
20689	* app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
20690	diagram page settings.
20691
20692	* objects/standard/beziergon.c (beziergon_copy): same here.
20693
20694	* objects/standard/polygon.c (polygon_copy): copy the fill colour
20695	as well.
20696
20697	* app/undo.h:
20698	* app/tool.h (tool_options_dialog_show):
20699	* app/scroll_tool.h (free_scroll_tool):
20700	* app/render_svg.h:
20701	* app/render_libart.h (renderer_libart_copy_to_window):
20702	* app/render_gdk.h (renderer_gdk_copy_to_window):
20703	* app/properties.h (properties_hide_if_shown):
20704	* app/preferences.h (prefs_load):
20705	* app/object_ops.h:
20706	* app/modify_tool.h (free_modify_tool):
20707	* app/magnify.h (free_magnify_tool):
20708	* app/linewidth_area.h (linewidth_area_create):
20709	* app/layer_dialog.h:
20710	* app/handle_ops.h (handle_is_clicked):
20711	* app/group.h:
20712	* app/grid.h (grid_destroy_dialog):
20713	* app/defaults.h (defaults_show):
20714	* app/cut_n_paste.h (cnp_exist_stored_objects):
20715	* app/create_object.h (free_create_object_tool):
20716	* app/connectionpoint_ops.h (diagram_unconnect_selected):
20717	* app/commands.h:
20718	* app/color_area.h (color_area_create):
20719	* app/app_procs.h (app_is_embedded): remove extern keyword from
20720	function prototypes.
20721
20722	* lib/text.h:
20723	* lib/sheet.h (load_all_sheets):
20724	* lib/render_store.h:
20725	* lib/render_object.h (render_object_load):
20726	* lib/polyshape.h (polyshape_closest_segment):
20727	* lib/poly_conn.h (polyconn_closest_segment):
20728	* lib/orth_conn.h:
20729	* lib/object.h:
20730	* lib/objchange.h (new_object_state_change):
20731	* lib/neworth_conn.h (neworthconn_add_segment):
20732	* lib/message.h (message_error):
20733	* lib/lazyprops.h:
20734	* lib/geometry.h:
20735	* lib/font.h (font_descent):
20736	* lib/focus.h (remove_focus):
20737	* lib/element.h:
20738	* lib/diagramdata.h:
20739	* lib/dia_xml.h (data_add_composite):
20740	* lib/dia_image.h:
20741	* lib/connpoint_line.h:
20742	* lib/connection.h (connection_move_handle):
20743	* lib/color.h:
20744	* lib/attributes.h (attributes_set_default_line_style):
20745	* lib/arrows.h (arrow_draw): remove extern keyword from function
20746	definitions.  It is not required for functions.
20747
20748	* plug-ins/dxf/Makefile.am (INCLUDES):
20749	* plug-ins/pstricks/Makefile.am (INCLUDES):
20750	* plug-ins/cgm/Makefile.am (INCLUDES):
20751	* objects/SADT/Makefile.am (INCLUDES):
20752	* objects/chronogram/Makefile.am (INCLUDES):
20753	* objects/GRAFCET/Makefile.am (INCLUDES):
20754	* objects/flowchart/Makefile.am (INCLUDES):
20755	* objects/sybase/Makefile.am (INCLUDES):
20756	* objects/FS/Makefile.am (INCLUDES):
20757	* objects/standard/Makefile.am (INCLUDES):
20758	* objects/network/Makefile.am (INCLUDES):
20759	* objects/UML/Makefile.am (INCLUDES): same here.
20760
20761	* objects/ER/Makefile.am: changed inclusion of some macros to
20762	variables.
20763
20764	* lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
20765	handle the plug in extension, rather than have all the #ifdef's in
20766	the code.
20767
20768	* plug-ins/Makefile.am: add renderer.inc to dist.
20769
20770	* plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
20771
207722000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
20773
20774	* lib/plug-ins.c: Handle OS/2 dll's too.
20775
207762000-06-07  James Henstridge  <james@daa.com.au>
20777
20778	* app/plugin-manager.c (get_plugin_manager): set some table
20779	packing options to make it look a little nicer.
20780
20781	* plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
20782	makefiles for these plug-ins.
20783
20784	* plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
20785
20786	* configure.in: added hpgl and wpg directories to build.  Added
20787	note about whether gnome-print support was enabled, and noted that
20788	it is not recommended.
20789
207902000-06-06  James Henstridge  <james@daa.com.au>
20791
20792	* plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
20793	a little work, but I am checking them in so I don't lose them.
20794
207952000-06-01  James Henstridge  <james@daa.com.au>
20796
20797	* objects/standard/arc.c: added extra properties.
20798
20799	* lib/beziershape.c (beziershape_closest_handle): fix a bug where I
20800	was using the wrong index into the handles array.  This gets corner
20801	type changing working correctly.
20802
20803	* lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
20804	to properties code (no editing or loading yet though).  Also added
20805	support for point array manipulation through the offsets interfaces.
20806
20807	* lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
20808
20809	* app/interface.c (origin_button_press): changes so the origin
20810	button doesn't grab the pointer when we pop up the menu.
20811
20812	* app/commands.c (help_about_callback): fix small memory leak in
20813	about box code.
20814
20815	* app/menus.c (menus_init): fixed breakage I introduced in the non
20816	gnome menus when I was doing the menu changes.  The tearoffs work
20817	really nicely in plain gtk mode as well.
20818
20819	* objects/standard/beziergon.c (beziergon_create): changed the
20820	returned handles to match the handle numbering changes.  Now
20821	segment addition and removal works correctly with undo!
20822
20823	* lib/beziershape.c: various changes to the code.  Changed the
20824	numbering of handles, and fixed the segment removal code.
20825
208262000-05-31  James Henstridge  <james@daa.com.au>
20827
20828	* objects/standard/beziergon.c: remove connection point handling.
20829	There is still a bit of work to be done to get adding and removing
20830	of segments working correctly.
20831
20832	* lib/beziershape.c: add connection point handling to beziershape.
20833	I set it for two connection points per segment.
20834
208352000-05-30  James Henstridge  <james@daa.com.au>
20836
20837	* objects/standard/polygon.c: don't do connectionpoint handling.
20838
20839	* lib/polyshape.c: changed to handle connection points internally.
20840	Also, don't worry about connections to handles on polyshape, as
20841	all handles are non connectable.
20842
208432000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
20844
20845	* configure.in: Added finnish
20846
208472000-05-30  James Henstridge  <james@daa.com.au>
20848
20849	* sheets/*.sheet: translation updates to the .sheet files.
20850
20851	* po/fr.po: updated po file from Christophe Merlet.
20852
20853	* menus.h: removed prototypes for functions which have been removed.
20854
208552000-05-29  James Henstridge  <james@daa.com.au>
20856
20857	* app/layer_dialog.c (layer_dialog_set_diagram): set the selected
20858	item in the option menu when changing selected diagram.
20859
20860	* app/dia_embedd.c (view_factory): fix up function to work with new
20861	menus API.
20862
20863	* app/disp_callbacks.c (ddisplay_realize): remove call to
20864	display_set_active from here.
20865	(ddisplay_canvas_events): move call here.  This gets rid of all the
20866	warnings, as the renderer has been fully set up correctly at this
20867	point.
20868
20869	* app/menus.c (menus_init): add the tearoff item to the start of the
20870	right click menu.
20871
20872	* app/app_procs.c (create_user_dirs): we don't need to create the
20873	menus directory anymore.
20874
20875	* app/disp_callbacks.c (ddisplay_popup_menu): it should not be
20876	necessary to update the menu state here, as it was done when the
20877	active display was set.
20878
20879	* app/display.c (display_set_active): update the menu state when
20880	changing active displays.
20881
20882	* app/interface.c (origin_button_press): set the display as active
20883	when a click is made on the menu button.
20884
20885	* app/menus.c (menus_init): set up a quit function to save the accels
20886	at exit.
20887	Add tearoff items for the non GNOME menus, add accelerators for
20888	several GNOME menus.
20889
20890	* app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
20891	menus_get_image_menu().
20892
20893	* app/menus.c (menus_get_item_from_path): use display_menus here
20894	rather than ddisp->popup.
20895
20896	* app/display.h: remove the popup member in the DDisplay structure.
20897
20898	* app/interface.c: remove option of not using wrap box.
20899	(create_toolbox): change to always use menus_get_toolbox_menubar
20900	even when using gnome menus.
20901	(create_display_shell): use menus_get_image_menu to load accelerators
20902	only -- not the actual popup menu.
20903
20904	* app/menus.c (menus_init): new function to create the menus.
20905	(menus_get_toolbox_menubar): use this function whether gnome is
20906	in use or not.  Changed to use menus_init.
20907	(menus_get_image_menu): same here.  Also, now this function always
20908	returns the same menu, rather than a new one each time.
20909	(menus_init): read a menurc file to load accelerators here.
20910
209112000-05-28  James Henstridge  <james@daa.com.au>
20912
20913	* app/display.c (ddisplay_really_destroy): unset active display if
20914	active display is destroyed.
20915	(ddisplay_active): simplify function to return active_display as set
20916	by display_set_active.  This allows using a pinned menu with any
20917	display -- not just the one it was popped up from.
20918	(display_set_active): notify the layer dialog of change of diagrams
20919	when active diagram changes.
20920
20921	* app/disp_callbacks.c (ddisplay_canvas_events): set active display
20922	on button and key presses.
20923	(ddisplay_realize): set active display on realize.
20924
20925	* app/display.c (display_set_active): simple implementation of this
20926	function.
20927
20928	* app/display.h (display_set_active): add prototype for setting
20929	the active display.
20930
20931	* app/interface.c (create_display_shell): don't give focus to the
20932	menu button.
20933
20934	* app/menus.c: fix up menus for Beziergon.
20935
20936	* app/interface.c (create_display_shell): make the widget in the
20937	top left corner a button that can be used to pop up the right click
20938	menu, like in gimp and sketch.
20939
20940	* app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
20941	the display menu.
20942
20943	* objects/standard/beziergon.c (beziergon_set_corner_type_callback):
20944	add code to set corner types for beziergon.
20945
20946	* lib/beziershape.c (beziershape_set_corner_type): fix up corner type
20947	setting code.
20948	(beziershape_move_handle): use the previous corner type for right
20949	controls.
20950
20951	* app/interface.c (tool_data): add beziergon to toolbox.
20952
20953	* objects/standard/standard.c (dia_plugin_init): initialise the new
20954	Beziergon object type.
20955
20956	* objects/standard/beziergon.c: an object based on BezierShape.
20957
20958	* lib/dummy_dep.h (dummy_dep): added to dummy_dep.
20959
20960	* lib/beziershape.[ch]: new files implementing a bezier shape.
20961
209622000-05-26  James Henstridge  <james@daa.com.au>
20963
20964	* lib/text.c (text_key_event): handle multibyte inserts.
20965	(text_key_event): also add home and end keybindings.
20966
20967	* app/interface.c (create_display_shell): connect handlers for
20968	focus_in_event, focus_out_event, realize and unrealize signals.
20969
20970	* app/display.[ch] (new_display): initialise input context members.
20971
20972	* app/disp_callbacks.[ch]: added XIM support here.
20973
20974	* lib/font.c (suck_font): the black and white pixel values should be
20975	taken from a 1 bit colormap rather than the default colormap.
20976
20977	Hans Breuer's Windows patches ...
20978
20979	* lib/font.c: use Courier New for fixed width font on windows
20980	machines.
20981
20982	* lib/dia_image.h: change to "struct _DiaImage".
20983
20984	* lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
20985
20986	* app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
20987	mouse button for object menu.  This will make two button mouse owners
20988	happier.
20989
209902000-05-25  James Henstridge  <james@daa.com.au>
20991
20992	* app/filedlg.c (file_open_ok_callback): use diagram_load here.
20993
20994	* app/app_procs.c (app_init): add extra NULL argument to call of
20995	diagram_load.
20996
20997	* app/load_save.h: remove prototype.
20998
20999	* app/load_save.c: remove diagram_data function here.
21000
21001	* app/diagram.h: added prototype.
21002
21003	* app/diagram.c (diagram_load): new function here, which uses import
21004	filters.
21005
21006	* plug-ins/dxf/dxf.c: register the import filter as well.
21007
21008	* plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
21009	Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
21010
21011	* objects/standard/line.c: add start_point and end_point properties
21012	to standard line object.
21013
210142000-05-21  James Henstridge  <james@daa.com.au>
21015
21016	* app/paginate_psprint.c: added missing include of locale.h.
21017
21018	* objects/custom/custom_object.c (custom_draw): use fabs rather than
21019	abs for scaling factors.
21020	(custom_distance_from): same here.
21021
21022	* dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
21023
210242000-05-18  James Henstridge  <james@daa.com.au>
21025
21026	* po/POTFILES.in: updated POTFILES.in.
21027
21028	* dia.spec: incremented version number in spec file.
21029
21030	* NEWS: added (lots of) news items for the 0.85 release.
21031
21032	* app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
21033	the config file.
21034
21035	* configure.in: updated version number here.
21036
21037	* app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
21038
210392000-05-17  James Henstridge  <james@daa.com.au>
21040
21041	* app/app_procs.c (internal_plugin_init): register the native import
21042	filter.
21043
21044	* app/load_save.c (diagram_data_load, diagram_load): split this
21045	function into two -- one that does all the work on the DiagramData
21046	structure, and the other that provides compatibility with the old
21047	function.
21048	(dia_import_filter): use diagram_data_load to define an import
21049	filter.
21050
21051	* app/diagram.h (new_diagram): added const to prototype.
21052
21053	* app/filedlg.c (file_open_callback): change to use new import filter
21054	code.
21055
21056	* lib/filter.c: added import filter management functions.
21057
21058	* lib/filter.h: added prototypes for import filter interface.
21059
21060	* app/commands.c (help_about_callback): updated about dialog to
21061	contain a few more names.
21062
210632000-05-16  James Henstridge  <james@daa.com.au>
21064
21065	* configure.in (Configuration): added a status message to the end of
21066	the configure script to give the user some idea of what was
21067	configured.
21068
21069	* plug-ins/dxf/Makefile.am: Makefile for new plugin.
21070
21071	* plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
21072	plugin.
21073
21074	* plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
21075	filter for dia.
21076
21077	* configure.in (AM_PATH_LIBART): use the check function provided
21078	with libart rather than our own code.  It is more reliable, and
21079	it only requires that people who build out of CVS have libart.m4
21080	installed (not necessarily all of libart).
21081	(AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
21082
210832000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
21084
21085	* dia.desktop: Added Swedish translation.
21086
210872000-05-09  James Henstridge  <james@daa.com.au>
21088
21089	* lib/dia_xml.c: you can't free a const pointer, so remove const
21090	from variable definitions.
21091
21092	Explicitely set LC_NUMERIC where needed, as sometimes it isn't
21093	initialised correctly.
21094
21095	* app/render_svg.c (export_svg): set locale to C.
21096
21097	* app/paginate_psprint.c (paginate_psprint): set locale to C.
21098
21099	* app/render_eps.c (export_eps): set locale to C for EPS export.
21100
21101	* lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
21102	(data_add_point): same here.
21103	(data_add_rectangle): same here.
21104	(data_real): use g_strtod to convert strings to real numbers, so that
21105	locales are taken into account.
21106	(data_point): same here.
21107	(data_rectangle): same here.
21108
21109	* AUTHORS: added Henk and Jacek to authors file.
21110
21111	Daniel Egger's code cleanups.
21112
21113	* app/select.c (select_invert_callback): remove unused variable.
21114
21115	* app/plugin-manager.c (get_plugin_manager): fix typo.
21116
21117	* app/load_save.c (read_connections, write_objects):
21118	(write_connections): made some functions static.
21119
21120	* app/interface.c (toolbox_delete, toolbox_destroy): made some
21121	functions static.
21122
21123	* app/filedlg.c (file_export_callback): remove unused variable.
21124
21125	* app/app_procs.c: various warning fixes.
21126
21127	Integrating Jacek Pliszka's pstricks export filter.
21128
21129	* plug-ins/pstricks/pstricks.c: code to initialise the plugin.
21130
21131	* plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
21132	renderer (with a few small modifications by me).
21133
21134	* plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
21135
21136	* plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
21137
211382000-05-07  Alexander Larsson  <alla@lysator.liu.se>
21139
21140	* configure.in:
21141 	* sheets/Makefile.am:
21142	* shapes/Makefile.am:
21143	* shapes/Civil/Makefile.am:
21144 	* sheets/civil.sheet:
21145	* shapes/Civil/*:
21146	Added civil/hydraulic/structural engineering objects from
21147	sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
21148
211492000-05-07  Alexander Larsson  <alla@lysator.liu.se>
21150
21151	* objects/FS/flow-poly.c:
21152	* objects/FS/flow.c:
21153	Fix division by zero in point_normalize().
21154	Patch by David Thompson <dcthomp@mail.utexas.edu>
21155
211562000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
21157
21158	* lib/arrows.c:
21159	* lib/bezier_conn.c:
21160	* lib/connpoint_line.c:
21161	Added checks for zero-length lines before calls to point_normalize.
21162
211632000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21164
21165	* app/preferences.c (prefs_data): Changed
21166	reversed_dragging_intersects to not make the dialog ridiculously
21167	wide.
21168
211692000-04-22  James Henstridge  <james@daa.com.au>
21170
21171	Hans's win32 patches:
21172
21173	* app/export_png.c: include message.h
21174	* app/interface.c: include dia_dirs.h
21175	* app/linewidth_area.c: check for rint
21176	* app/main.c: include interface.h
21177	* app/paginate_psprint.c: remove unused variable.
21178	* app/preferences.c: include message.h
21179	* app/render_svg.c: include stdlib.h
21180	* app/select.c: include object_ops.h
21181	* lib/dia_dirs.c: miscelaneous fixes for win32.
21182	* lib/dia_image.c: include string.h
21183	* lib/plug-ins.c: look for .dll files rather than .la files on win32.
21184	* lib/properties.c: include stdlib.h
21185	* lib/properties.h: define extra data for standard properties as
21186	static variables on win32 (to get around dynamic linker problems).
21187	* objects/standard/polygon.c: polygon_create_change missing return
21188	statement.
21189
211902000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
21191
21192	* configure.in (ALL_LINGUAS): added Catalan
21193
211942000-04-18  James Henstridge  <james@daa.com.au>
21195
21196	* objects/standard/bezier.c (bezierline_get_object_menu): add a
21197	separator to the object menu between the add/remove segment items
21198	and the corner type items.
21199	(bezierline_get_object_menu): add code to disable the menu item for
21200	the current corner type.  Really just a cosmetic change.
21201
21202	* app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
21203	a NULL for the label or with no associated callback.
21204
21205	* objects/standard/bezier.c (bezierline_menu_items): use the
21206	enumeration values rather than numeric values for the corner types.
21207
21208	* lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
21209	structure, and add code to handle it.  Also, don't save the corner
21210	types inline in the bez_points node.  The way it is conditionally
21211	including the element just feels like it will break.
21212
21213	* lib/geometry.h (BezPoint): removed the corner_type stuff from
21214	BezPoint.  The corner type stuff is a user interface level idea rather
21215	than something required by the renderer, so should be taken care of
21216	at the object level.
21217
212182000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21219
21220	* configure.in: Fixed some problems with the gdk-pixbuf/imlib
21221	checks.  Weren't able to reproduce original bug, tough.
21222
212232000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
21224
21225	* sheets/Electric.sheet:
21226	* sheets/Contact.sheet:
21227	* sheets/Pneumatic.sheet:
21228	* sheets/Circuit.sheet: sprayed some <br/>'s around.
21229	(added a few French translations in the last file)
21230
212312000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21232
21233	* lib/geometry.h:
21234	* lib/bezier_conn.h:
21235	* objects/standard/bezier.c:
21236	* lib/bezier_conn.c: Support for cuspy, smooth and symmetric
21237	bezier points.  Only one minor problem known:  Menus are active
21238	for endpoints minor handles.
21239	11:28: Save and load now works, too.
21240	(bezierconn_closest_major_handle): 12:03: New function to get the
21241	non-control point handle associated with the nearest control
21242	point.
21243	Also fixed the menu activation problem, and made remove_segment
21244	not remove the endpoint.
21245
212462000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21247
21248	* configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
21249	new API is in use.
21250
212512000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
21252
21253	* lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
21254	<sys/stat.h>.   OS/2 patch.
21255
212562000-04-15  James Henstridge  <james@daa.com.au>
21257
21258	* objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
21259	Thompson's patch that adds undo support to the function structure
21260	diagram objects.
21261
212622000-04-14  James Henstridge  <james@daa.com.au>
21263
21264	* objects/custom/custom_object.c (custom_distance_from): new
21265	implementation of distance algorithm that actually takes the
21266	display list into account when calculating the distance.  Much nicer
21267	than a simple bounding box.
21268
212692000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>
21270
21271	* lib/geometry.c (line_crosses_ray): Fixed division by zero bug
21272
212732000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21274
21275	* objects/standard/polygon.c: Start of polygons own changes (for
21276	connectionpoints).  Need to do seperate changes in polyshape, too,
21277	rather than reuse the bezier changes.
21278
212792000-04-13  James Henstridge  <james@daa.com.au>
21280
21281	* lib/dia_image.c (dia_image_draw): use the new enumeration values
21282	from after the gdk-pixbuf cleanup.
21283
21284	* lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
21285	on for loop.  Last set of coefficients were not beeing calculated,
21286	which caused a bit of breakage.
21287
21288	* lib/bezier_conn.c (bezierconn_closest_segment): use the new
21289	functions in geometry.c for calculating the closest segment.
21290	(bezierconn_distance_from): use distance_bez_line_point to calculate
21291	the distance.
21292
21293	* lib/geometry.c (distance_bez_line_point): new function to calculate
21294	the distance from an open bezier line to a point.
21295	(distance_bez_shape_point): new function to calculate the distance
21296	from a closed bezier shape.
21297	(distance_ellipse_point): new function to calculate the distance from
21298	a filled ellipse to a point.
21299
21300	* lib/geometry.h (BezPoint): moved this structure here from render.h
21301
213022000-04-12  James Henstridge  <james@daa.com.au>
21303
21304	* lib/geometry.c (distance_bez_seg_point): new function to calculate
21305	the distance from a bezier segment.
21306
21307	* lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
21308	to calculate the distance from the object.
21309
21310	* lib/geometry.c (distance_polygon_point): function for calculating
21311	the distance from a polygon to a point.
21312
213132000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
21314
21315	* app/interface.c:
21316	* lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
21317	breaks can be inserted in the tool box.
21318
21319	* doc/sheet.dtd: updated the DTD
21320	* sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
21321
213222000-04-12  James Henstridge  <james@daa.com.au>
21323
21324	* app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
21325	macro if the dialog is a GtkDialog :(
21326
213272000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21328
21329	* objects/standard/polygon.c: Connectionpoints now properly
21330	managed in a GList.  As far as I can tell, this will not dieturb
21331	the order (but I have the nagging doubt...)
21332
21333	* lib/polyshape.c: No longer knows about connectionpoints.
21334
213352000-04-11  James Henstridge  <james@daa.com.au>
21336
21337	* app/Makefile.am: fix makefile for bonobo build.
21338
21339	* configure.in: fix checks for bonobo.
21340
21341	* app/menus.c: added entries for the plugin manager.
21342
21343	* app/Makefile.am (dia_core_files): added plugin manager to files
21344	list.
21345
21346	* app/plugin-manager.[ch]: the plugin manager dialog.
21347
21348	* app/display.c (display_update_menu_state): set the antialiased
21349	menu entry to the correct value.
21350
213512000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
21352
21353	* objects/custom/custom_object.c: not all renderers like ellipses with
21354	negative dimensions. This could cause ellipses to disappear when using
21355	the flip_h and flip_v functions.
21356
21357	* samples/grafcet.dia: fixed speling and correctness.
21358
213592000-04-11  James Henstridge  <james@daa.com.au>
21360
21361	* lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
21362	exposed the dia_plugin_load and dia_plugin_unload functions.
21363
21364	* lib/plug-ins.c (plugin_load): change plugin_load to work on an
21365	already created PluginInfo structure.
21366
21367	* app/app_procs.c (app_exit): call dia_pluginrc_write() to write
21368	the pluginrc file.
21369
21370	* lib/sheet.c: fix up call to dia_config_filename.
21371
21372	* lib/plug-ins.[ch]: started writing code for handling a pluginrc
21373	file.  This would save information such as which plugins not to
21374	load during startup.
21375
213762000-04-09  James Henstridge  <james@daa.com.au>
21377
21378	* lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
21379
213802000-04-10  Alexander Larsson  <alla@lysator.liu.se>
21381
21382	* lib/plug-ins.c (dia_register_plugins):
21383	Don't free the value returned from g_getenv.
21384
213852000-04-09  Anders Carlsson  <andersca@gnu.org>
21386
21387	* app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
21388
21389	* app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
21390
21391	* app/modify_tool.c (modify_button_release): If rubberbanding is done from
21392	right to left, select objects that intersect the rubberbanding rectangle
21393	instead of selecting objects that are in the rectangle.
21394
21395	* lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
21396
21397	* lib/diagramdata.h: Likewise.
21398
21399
214002000-04-09  James Henstridge  <james@daa.com.au>
21401
21402	* lib/plug-ins.[ch]: add copyright messages to files.
21403
21404	* plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
21405	plugin interface.
21406
21407	* objects/sybase/sybase.c (dia_plugin_init):
21408	* objects/network/network.c (dia_plugin_init):
21409	* objects/flowchart/flowchart.c (dia_plugin_init):
21410	* objects/custom/custom.c (dia_plugin_init):
21411	* objects/chronogram/chronogram.c (dia_plugin_init):
21412	* objects/UML/uml.c (dia_plugin_init):
21413	* objects/SADT/sadt.c (dia_plugin_init):
21414	* objects/GRAFCET/grafcet.c (dia_plugin_init):
21415	* objects/FS/fs.c (dia_plugin_init):
21416	* objects/ER/er.c (dia_plugin_init): updated plugin load code for
21417	object libraries.
21418
21419	* objects/standard/standard.c (dia_plugin_init): change over to new
21420	plugin interface.
21421
21422	* lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
21423	the version checker for plugins.
21424
21425	* app/app_procs.c: remove plugin loading code from here, and use
21426	code from plug-ins.[ch].  Also move registration of internal
21427	objects/filters to a `builtin' plugin.
21428
21429	* lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
21430
21431	* configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
21432
21433	* app/Makefile.am (EXTRA_DIST): you can't include a conditionally
21434	defined variable in EXTRA_DIST.
21435
21436	* app/preferences.h: removed dia_config_filename from header.
21437
21438	* app/preferences.c: removed dia_config_filename function.
21439
21440	* lib/dia_dirs.c (dia_config_filename): moved function over to this
21441	file.  Also changed implementation slightly so that it should work
21442	on the win32 port correctly (and use NT home directories).
21443
21444	* lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
21445	it should have been.
21446
21447	* lib/plug-ins.[ch]: new plugin loading code.
21448
214492000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21450
21451	* objects/standard/polygon.c: Fixed startup crash bug (do'h!).
21452
21453	* lib/polyshape.c: Fix closest segment finding, exposes deeper
21454	bugs in adding corners to 'wraparound' segment.
21455
21456	* objects/standard/polygon.c: Added connection points (fixed so
21457	far), set menu sensitivity.
21458
21459	* lib/polyshape.c: Changed to box-style handles, fixed for start
21460	and ends not being special, added initial connections,
21461
21462	* lib/dummy_dep.h: Added polyshape (gotcha!)
21463
21464	* objects/standard/pixmaps/ellipse.xpm:
21465	* objects/standard/pixmaps/box.xpm:
21466	Filled element pixmaps with white.
21467
21468	* lib/polyshape.c:
21469	* objects/standard/polygon.c:
21470	* lib/polyshape.h:
21471	* objects/standard/standard.c:
21472	* objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
21473	* lib/Makefile.am (libdia_a_SOURCES):
21474	* app/menus.c:
21475	* app/interface.c (tool_data):
21476	Added Standard/Polygon object and PolyShape lib object.  Still
21477	needs inside grab and connection points.
21478
21479	* app/commands.c (help_about_callback): Now uses gdk-pixbuf if
21480	available.
21481
21482	* configure.in: Made imlib a fallback if gdk-pixbuf is absent or
21483	not wanted.
21484
21485	* app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
21486	if (argv) outside ifdefs.
21487
214882000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21489
21490	* objects/standard/image.c (image_set_props):
21491	Aspect ratio is back in town.
21492
21493	* app/Makefile.am (dia_LDADD):
21494	* acconfig.h:
21495	* configure.in:
21496	Check for gdk_pixbuf (by default disabled, for now)
21497
21498	* app/render_eps.c (draw_image):
21499	* app/render_libart.c (draw_image):
21500	* app/render_gnomeprint.c (draw_image):
21501	Support for alpha mask in rendering.  Color postscript, too.
21502
21503	* lib/dia_image.c:
21504	* lib/dia_image.h:
21505	Support for gdk_pixbuf and proper masking for exports.
21506
215072000-04-01  Kjartan Maraas  <kmaraas@online.no>
21508
21509	* sheets/*.sheets: Updated Norwegian translations.
21510
215112000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
21512
21513	* lib/text.c (text_insert_char):
21514	* lib/render_store.c (add_data):
21515	Made realloc double the alloced space rather than add
21516	a fixed amount, to reduce memory stress.
21517
21518	* app/select.c: Added new select method 'Transitive'
21519	that select every reachable (by connections) object.
21520
215212000-03-27  Kjartan Maraas  <kmaraas@online.no>
21522
21523	* dia.desktop: Added Norwegian translation.
21524
215252000-03-26  Alexander Larsson  <alla@lysator.liu.se>
21526
21527	* app/render_eps.c:
21528	* app/render_svg.c:
21529	Don't dereference NULL pointer if the renderer
21530	couldn't open the file. Fix by Lars Clausen.
21531	Bug reported by Martin Chisholm <b1mt@unb.ca>
21532
215332000-03-26  Alexander Larsson  <alla@lysator.liu.se>
21534
21535	* dia.desktop:
21536	* po/pt.po:
21537	Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
21538
215392000-03-25  Alexander Larsson  <alla@lysator.liu.se>
21540
21541	* app/dia.gnorba (location_info):
21542	Changed to correct executable name.
21543
215442000-03-25  Alexander Larsson  <alla@lysator.liu.se>
21545
21546 	* app/app_procs.c:
21547	Don't do any argument parsing or initialization
21548	if argv==NULL.
21549
21550 	* app/dia_embedd.c:
21551	Call init_server_factroy before app_init.
21552	Call app_init with argv==NULL
21553	Now we don't get any critical error on startup.
21554
21555	* configure.in:
21556	Add Electric and Pneumatic to makefile list.
21557
215582000-03-24  Cyrille Chepelov <chepelov@calixo.net>
21559
21560	* shapes/Electric/*:
21561	* sheets/Electric.sheet:
21562	Add some Electric circuit shapes.
21563
21564	* shapes/Pneumatic/*:
21565	* sheets/Pneumatic.sheet:
21566	Add some Pneumatic & Hydraulic circuit shapes
21567	(both sheets are still incomplete, though feature enough
21568	things for basic circuits).
21569
21570	* shapes/Contact/l_*.(xpm|shape):
21571	* sheets/Contact.sheet
21572	* shapes/Contact/Makefile.am
21573	made the older electric circuit shapes in Contact obsolete (disabled
21574	them in the sheet, made that sheet Ladder only). Fixed the makefile
21575	for forgotten items.
21576
215772000-03-24  Alexander Larsson  <alla@lysator.liu.se>
21578
21579        * app/Makefile.am:
21580	Add support for Dia bonobo component.
21581	Currently a bit raw, so it's commented out.
21582
21583        * app/dia_embedd.c:
21584	* app/dia.gnorba:
21585	New files for embedding dia.
21586	The menu disabling hack is a bit gross. Esp. for GNOME.
21587
21588	* app/app_procs.h:
21589	Add new function app_is_embedded();
21590
21591	* app/diagram.c:
21592	Don't destroy diagram when last display is destroyed if embedded.
21593
21594	* app/display.c:
21595	Change initialization of display so it works with embedding.
21596
21597	* app/display.h:
21598	Clarify comment about display destruction.
21599
21600	* app/interface.[ch]:
21601	Added top_level_window argument to create_display_shell.
21602	Don't open a top-level window if embedding.
21603	Don't quit app if trying to close toolbox window when embedding.
21604	Add toolbox_show() and toolbox_hide().
21605
21606	* app/main.c:
21607	Added app_is_embedded() function (just returns false).
21608	Added toolbox_show() call in main().
21609
21610	* app/menus.c:
21611	Added code for getting toolbox menus. This is used to
21612	hide some menu items when running embedded.
21613
21614	* app/app_procs.c:
21615	Include sheet.h to remove warning.
21616
21617	* objects/UML/association.c:
21618	Clarify association direction text.
21619
216202000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
21621
21622	* dia.1
21623	Fixed man page so whatis parsing works.
21624
216252000-03-12  Alexander Larsson  <alla@lysator.liu.se>
21626
21627	* app/render_libart.c (new_libart_renderer):
21628	Fix from segg <segg@infonet.ca> to compile without libart.
21629	I forgot to change the stub for new_libart_renderer when doing
21630	the interactive renderer stuff for libart.
21631
216322000-03-11  Alastair McKinstry  <mckinstry@computer.org>
21633
21634	* dia.desktop: Added Irish translation.
21635
21636	* configure.in (ALL_LINGUAS): Added Irish (ga) translation.
21637
216382000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
21639
21640	* app/load_save.c (fchmod): OS/2 defines only.
21641
216422000-03-07  James Henstridge  <james@daa.com.au>
21643
21644	* lib/properties.c (prop_get_widget): set the position in the option
21645	menu correctly.
21646
216472000-03-06  Alexander Larsson  <alla@lysator.liu.se>
21648
21649	* app/display.c:
21650	* app/export_png.c:
21651	* app/render_libart.[ch]:
21652	Don't export png:s with an interactive libart renderer.
21653
216542000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
21655
21656	* lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
21657
216582000-03-02  James Henstridge  <james@daa.com.au>
21659
21660	* dia.spec (%build): unset LINGUAS before running configure.  This
21661	ensures that all translations get included in the RPM.
21662
21663	* lib/properties.c (object_create_props_dialog): put in a check for
21664	a NULL return from the describe_props() object method.
21665	(prop_desc_lists_union): make sure that the returned array is not
21666	NULL.
21667	(prop_desc_lists_intersection): same here.
21668
216692000-02-29  Alexander Larsson  <alla@lysator.liu.se>
21670
21671	* objects/ER/Makefile.am:
21672	* objects/FS/Makefile.am:
21673	* objects/UML/Makefile.am:
21674	Don't link object libs with gtk.
21675
216762000-02-29  James Henstridge  <james@daa.com.au>
21677
21678	* app/preferences.c (prefs_save): check to see if the file could
21679	be opened before writing the prefs.
21680
21681	* app/disp_callbacks.c (popup_object_menu): pass the button event
21682	to gtk_menu_popup.  This allows you to click and release to open
21683	the object menu.
21684	(ddisplay_canvas_events): same here.
21685	(create_object_menu): set the object type menu item in the object
21686	menu to be insensitive.
21687
21688	* app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
21689	as we are now requiring a new version of libxml.
21690
21691	* dia.spec: updated version number.  Added requirement for
21692	libxml >= 1.8.5
21693
21694	* configure.in: incremented version number to 0.84.
21695	Added check for libxml >= 1.8.5.  This will prevent some of the
21696	problems people have had with broken libxml versions.
21697
21698	* NEWS: added news items.
21699
21700	* app/interface.c (create_color_area): removed call to realize parent
21701	widget.  Segg <segg@infonet.ca> reported that it caused a warning,
21702	but I haven't seen it on my copy of dia.
21703
217042000-02-28  James Henstridge  <james@daa.com.au>
21705
21706	* app/export_png.c: added copyright notice, and made the band height
21707	a constant.
21708
217092000-02-27  Alexander Larsson  <alla@lysator.liu.se>
21710
21711	* lib/font.c (suck_font):
21712	Fixed off-by one bug in font pixmap height.
21713	Fixes the problem with garbage at the bottom of some text in aa mode
21714	and in png exported files.
21715
217162000-02-27  James Henstridge  <james@daa.com.au>
21717
21718	* app/app_procs.c: add the png export filter if it was compiled in.
21719
21720	* app/export_png.c (export_png): new PNG export filter.  This requires
21721	the libart renderer to work as it needs a renderer that renders to a
21722	pixel buffer.
21723
21724	* configure.in: add check for libpng.
21725
21726	* lib/message.c (message_internal): use a GNOME dialog here as well.
21727
21728	* app/display.c (ddisplay_close): use a GNOME dialog here.
21729
21730	* app/render_eps.c (create_eps_renderer): use diagram scaling factor
21731	when exporting to EPS.  This is because some people said the EPS
21732	output was too large
21733
217342000-02-26  James Henstridge  <james@daa.com.au>
21735
21736	* app/defaults.c (create_dialog): use a GNOME dialog for the defaults
21737	window.
21738
21739	* app/app_procs.c (app_exit): use a GNOME dialog here.
21740
21741	* app/preferences.c (prefs_create_dialog): if GNOME support is
21742	enabled, show a GNOME dialog.
21743
21744	* app/grid.c (grid_draw): use preferences when drawing page break
21745	lines.
21746
21747	* app/preferences.c: add page break preferences to dialog.
21748
21749	* app/preferences.h: added page break preferences.
21750
217512000-02-25  James Henstridge  <james@daa.com.au>
21752
21753	* sheets/UML.sheet: added new objects.
21754
21755	* objects/UML/uml.c: link in the two new objects.
21756
21757	* objects/UML/node.c:
21758	* objects/UML/branch.c: new UML objects from Stfan Seefeld
21759	<seefelds@magellan.umontreal.ca>.
21760
217612000-02-24  James Henstridge  <james@daa.com.au>
21762
21763	* objects/custom/custom_object.c: converted to use the properties
21764	interface.  In the future, it would be nice to add support for
21765	defining custom properties for custom objects, but that can wait.
21766
217672000-02-22  James Henstridge  <james@daa.com.au>
21768
21769	* sheets/Circuit.sheet: added new circuit shapes to sheet.
21770
21771	* plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
21772	<hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
21773	and adds a few new features.
21774
217752000-02-21  Daniel Egger  <egger@suse.de>
21776
21777	* sheets/*.sheets: Added German translations and made some
21778	corrections to the others.
21779
217802000-02-21  James Henstridge  <james@daa.com.au>
21781
21782	* shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
21783
21784	* shapes/Circuit/...: added new shapes from Erik Janssens.
21785
217862000-02-20  James Henstridge  <james@daa.com.au>
21787
21788	* app/interface.c (create_color_area): realize the parent window
21789	first.
21790
21791	* objects/standard/image.c: properties patch for standard image
21792	object, from Lars Clausen.
21793
21794	* lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
21795
21796	* lib/properties.h (PropType): added file property type.
21797
21798	* shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
21799	other shapes.
21800
21801	* app/interface.c: use wrap box for toolbox.
21802
21803	* app/Makefile.am: added new files.
21804
21805	* app/gtk*wrapbox.[ch]: added wrap box widget.
21806
218072000-02-19  James Henstridge  <james@daa.com.au>
21808
21809	* sheets/network.sheet: added extra shapes to networks sheet.
21810
21811	* configure.in (AC_OUTPUT): added shapes/network/Makefile
21812
21813	* shapes/network/*: added shapes that were posted to the list a while
21814	back.
21815
21816	* shapes/Makefile.am (SUBDIRS): added network subdirectory
21817
21818	* app/menus.c (toolbox_menu_items): don't right justify help menu for
21819	gtk+ version of menus.
21820
21821	* app/properties.c (create_dialog): use a GnomeDialog if we happen
21822	to be using gnome.
21823
218242000-02-18  James Henstridge  <james@daa.com.au>
21825
21826	* objects/flowchart/box.c: set extra data for corner radius and text
21827	padding properties.
21828
21829	* objects/standard/box.c: set extra data for corner radius property.
21830
21831	* lib/properties.h: set extra data in some standard properties.
21832
21833	* lib/properties.c (prop_get_widget): look at the extra data for
21834	int, real and enum property types.  They now use GtkSpinButton and
21835	GtkOptionMenu respectively.
21836
21837	* lib/properties.h: extra data members for creating property setting
21838	widgets.
21839
218402000-02-17  James Henstridge  <james@daa.com.au>
21841
21842	* objects/flowchart/box.c: reverted load/save functions back to
21843	previous implementations.  Made box use standard property names.
21844
21845	* plug-ins/cgm/cgm.c (set_linestyle): was missing a */
21846
21847	* app/grid.c: add more digits to the grid edit dialog.  This patch
21848	was also from Lars Clausen.
21849
21850	* objects/standard/zigzagline.c:
21851	* objects/standard/textobj.c:
21852	* objects/standard/polyline.c:
21853	* objects/standard/line.c:
21854	* objects/standard/ellipse.c:
21855	* objects/standard/box.c:
21856	* objects/standard/bezier.c:
21857	* objects/standard/arc.c: patches to add properties code to standard
21858	objects.  Based on patches from Lars Clausen.  I have also removed
21859	some dead code from the files.
21860
21861	* lib/properties.h (PROP_STD_*): define a number of standard
21862	properties.  Where appropriate, objects should include these
21863	properties in their PropDescription list.  This way, the intersection
21864	of properties of two different shapes will be greater.
21865
218662000-02-14  James Henstridge  <james@daa.com.au>
21867
21868	* objects/flowchart/box.c (box_load, box_save): use property save
21869	routines.  Make sure that any props not handled by object_load_props
21870	are loaded before calling object_load_props, or we get errors because
21871	update_data is called.
21872
21873	* lib/properties.c (object_get_props_from_offsets): fixed an indexing
21874	error that could cause properties to be loaded incorrectly.
21875	(object_set_props_from_offsets): similar here.
21876
21877	* lib/properties.[ch] (prop_{load,save}): functions for loading
21878	or saving a property in Dia's XML file format.
21879	(object_{load,save}_props): load or save some properties of an
21880	object.  These functions should help simplify the load/save methods
21881	of objects that implement the properties interface.
21882
218832000-02-13  James Henstridge  <james@daa.com.au>
21884
21885	* objects/flowchart/box.c: use offset code to simplify property
21886	get/set routines.
21887
21888	* lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
21889	properties.
21890	(ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
21891
21892	* lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
21893	properties.
21894	(OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
21895
21896	* lib/properties.[ch] (object_{get,set}_props_from_offsets): new
21897	functions
21898
218992000-02-12  Alexander Larsson  <alla@lysator.liu.se>
21900
21901	* app/Makefile.am:
21902	Add the custom object to DIA_LIB_PATH in run_dia.sh
21903
219042000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
21905
21906	* sheets/Circuit.sheet:
21907	* shapes/l_sout* (NEW):
21908	* shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
21909	variants of simple, inverted, set and reset outputs.
21910	Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
21911	probably a split of Contact and Ladder sheets. And then a major
21912	revamping of the Contact sheet.
21913
219142000-02-10  James Henstridge  <james@daa.com.au>
21915
21916	* app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
21917
21918	* app/app_procs.c (register_all_objects): don't explicitely
21919	register the custom objects library -- let it be loaded by the
21920	normal plugin loading methods.
21921
21922	* lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
21923
21924	* objects/custom/Makefile.am: build libcustom_objects as a shared
21925	library again.
21926
21927	* objects/custom/shape_info.[ch]: don't read the description field
21928	of custom shapes.  It makes more sense to have these in the sheet
21929	file to localise the parts of dia that translators have to deal
21930	with.
21931
21932	* objects/custom/custom_object.c (custom_object_new): do not
21933	create the sheet object for the new custom shape -- this is
21934	handled by the custom sheet code.
21935
21936	* objects/custom/custom.c: change over to being a normal plug-in
21937	rather than being linked with the main dia executable.
21938
219392000-02-09  James Henstridge  <james@daa.com.au>
21940
21941	* sheets/Circuit.sheet:
21942	* sheets/Flowchart.sheet:
21943	* sheets/Contact.sheet: fixed up sheets.
21944
21945	* objects/custom/custom_object.c (custom_object_new): set the
21946	extra ObjectType fields.
21947
21948	* lib/sheet.c: use extra ObjectType fields when creating sheet
21949	objects.  Give a warning if <shape> tags are found in a sheet
21950	file.  Now the custom sheet code does not know about custom
21951	shapes -- they look like any other object type.
21952
21953	* lib/object.h (ObjectType): added extra members
21954
219552000-02-08  Alexander Larsson  <alla@lysator.liu.se>
21956
21957	* app/linewidth_area.c:
21958	Added code to set arbitrary line width.
21959	Patch by Lars Clausen <lrclause@cs.uiuc.edu>
21960
219612000-02-08  Alexander Larsson  <alla@lysator.liu.se>
21962
21963	* app/linewidth_area.c:
21964	* lib/font.[ch]:
21965	Add support for font-sucking.
21966	Implementation borrowed from gnome-canvas.
21967
21968	* app/render_libart.[ch]:
21969	Implement text rendering.
21970
219712000-02-07  Alexander Larsson  <alla@lysator.liu.se>
21972
21973	* app/properties.c (create_dialog):
21974	ref and sink no_properties_dialog.
21975
219762000-02-07  James Henstridge  <james@daa.com.au>
21977
21978	* app/group.c (group_describe_props): new function.  Return the
21979	intersection of the properties of the contained objects that
21980	implement the describe_props interface.
21981	(group_get_props): implement by iterating through contained objects
21982	and calling their get_props method until all properties have been
21983	set.  Maybe this should go through all objects all the time??
21984	(group_set_props): implement by calling set_props method on all
21985	contained objects.
21986	(group_ops): use standard props dialog creation routines.
21987
21988	* lib/properties.c (prop_desc_lists_intersection): fix implementation
21989	of intersection -- I was using i++ instead of i-- in a for loop :(
21990
21991	* objects/custom/custom.c (custom_register_objects): fix usage
21992	of dia_get_data_directory again.
21993
21994	* lib/sheet.c: fix up use of dia_get_data_directory, so that we
21995	actually read the sheets.
21996
219972000-02-06  Alexander Larsson  <alla@lysator.liu.se>
21998
21999	Win32 port by Hans Breuer <Hans@Breuer.org>
22000
22001	* app/Makefile.am:
22002	Remove DATADIR and LIBDIR defines.
22003
22004	* lib/Makefile.am:
22005	Add dia_dirs.c and dia_dirs.h
22006	Added DATADIR and LIBDIR defines.
22007
22008	* lib/dia_dirs.[ch]:
22009	New files for handling special directories.
22010
22011	* app/app_procs.c:
22012	* app/commands.c:
22013	* lib/sheet.c:
22014	* objects/custom/custom.c:
22015	Fix warnings.  Use directory functions.
22016
22017	* app/diagram.h:
22018	Add prototype for diagram_redraw_all.
22019
22020	* app/diaunitspinner.c:
22021	* app/filedlg.c:
22022	* app/interface.c:
22023	* app/preferences.c:
22024	Fix warning.
22025
22026	* app/load_save.c:
22027	Win32 doesn't have mkstemp and fchmod.
22028
22029	* app/paginate_psprint.c:
22030	Win32 calls popen _popen and pclose _pclose.
22031
22032	* app/arrow.c:
22033	Win32 calls finite _finite.
22034
22035	* lib/color.h:
22036	Win32 needs to dllexport the color vars.
22037
22038	* objects/GRAFCET/step.c:
22039	* objects/chronogram/chronoref.c:
22040	snprintf -> g_snprintf
22041
220422000-02-05  James Henstridge  <james@daa.com.au>
22043
22044	* lib/properties.c: more fixes so that it doesn't crash when using
22045	properties.  The undo/redo stuff also works!!
22046
22047	* objects/flowchart/box.c (box_{describe, get, set}_props): test
22048	object where I have implemented the new properties interface
22049	complete with automatic properties dialog generation.
22050
22051	* lib/properties.c (object_apply_props): fixed stupid error when
22052	creating the old_props array.  Also, it no longer frees the props
22053	array -- you will have to do that yourself.
22054
220552000-02-04  James Henstridge  <james@daa.com.au>
22056
22057	* app/properties.c (properties_apply): pass object_part to
22058	apply_properties.
22059
22060	* lib/object.h (ApplyPropertiesFunc): added widget argument.
22061
22062	* lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
22063	created this way as well.
22064
22065	* objects/*/*.c: ref and sink the properties dialog window for each
22066	widget.  It can't rely on ref count being incremented by
22067	properties_show anymore.
22068
22069	* app/properties.c (properties_show): don't ref the widget before
22070	removing it, or its ref count will increase each time you open the
22071	properties dialog.  Don't unparent the widget, as container_remove
22072	does that for us.
22073
22074	* lib/object.h: fixed up prototypes for new object methods.
22075
22076	* lib/properties.[ch]: added functions for automatically creating
22077	a properties dialog from the output of describe_props, get_props and
22078	set_props.
22079	(object_apply_props): apply properties and return an ObjectChange
22080	structure that can be used for undo.
22081
220822000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
22083
22084	* objects/GRAFCET/transition.c: minor leak plugged.
22085
22086	* sheets/GRAFCET.sheet:
22087	* objects/GRAFCET/pixmaps/condition.xpm: (NEW)
22088	* objects/GRAFCET/condition.c: (NEW) added a new object type, action
22089	conditions.
22090	* objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
22091	new ones (for condition.c).
22092	* objects/GRAFCET/action.c: added connection points for the conditions.
22093	* samples/grafcet.dia: updated the sample to improve conformance to
22094	IEC 848 and take advantage of dia's new features.
22095
22096	* lib/geometry.h: (point_get_normed) fixed a typo.
22097
220982000-02-02  James Henstridge  <james@daa.com.au>
22099
22100	* lib/object.h: added object functions describe_props, get_props and
22101	set_props.  Do type definitions so that object.h doesn't need to
22102	include properties.h, since properties.h includes object.h.
22103
22104	* lib/properties.[ch]: more hacking.
22105
22106	* po/de.po: updated po file.
22107
221082000-01-30  James Henstridge  <james@daa.com.au>
22109
22110	* configure.in: don't add flags to CFLAGS unconditionally.  Instead,
22111	check to see if the C compiler accepts the flag beforehand.
22112
22113	* lib/properties.[ch]: start of properties code.
22114
22115	* shapes/Contact/Makefile.am (SHAPES): fix up makefile.
22116
221172000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
22118
22119	* sheets/GRAFCET.sheet:
22120	* sheets/GRAFCET/etapemc.xpm: (NEW)
22121	* sheets/GRAFCET/etapesp.xpm: (NEW)
22122	* objects/GRAFCET/step.c: Added the macro and
22123	sub-program call step types.
22124
22125	* objects/GRAFCET/receptivity.[ch]: renamed to
22126	objects/GRAFCET/boolequation.[ch].
22127	* objects/GRAFCET/transition.c: changed (Receptivity *) to
22128	(BoolEquation *)
22129
22130	* lib/connpoint_line.[ch]:
22131	* objects/chronogram/chronoline.c:
22132	* objects/chronogram/chronoref.c:
22133	* objects/GRAFCET/vergent.c:
22134	* objects/standard/line.c:
22135	* objects/SADT/box.c: Minor CPL interface changes, factored out the
22136	point count adjustment code into the CPL object.
22137
221382000-01-29  Alexander Larsson  <alla@lysator.liu.se>
22139
22140	* app/render_libart.c:
22141	Added support for images and bezier curves.
22142	Only text/fonts missing now.
22143
22144	* app/render_gdk.c:
22145	Removed old erronous comment.
22146
221472000-01-29  Cyrille Chepelov <chepelov@calixo.net>
22148
22149	* objects/chronogram/chronoline_event.c: removed references to
22150	lround(). Please don't insist, I'm already red of shame.
22151
221522000-01-29  Alexander Larsson  <alla@lysator.liu.se>
22153
22154	* app/render_libart.[ch]:
22155	* app/Makefile.am:
22156	Non-finished libart renderer.
22157
22158	* acconfig.h:
22159	Added HAVE_LIBART flag
22160
22161	* configure.in:
22162	Added libart probe
22163
22164	* app/app_procs.c:
22165	Call gdk_rbg_init().
22166
22167	* app/connectionpoint_ops.c:
22168	* app/disp_callbacks.c:
22169	* app/grid.c:
22170	* app/handle_ops.c:
22171	* app/magnify.c:
22172	* app/modify_tool.c:
22173	Change ddisp->renderer type from RendererGdk * to Renderer *
22174	Draw zoom and select rects in ddisp->canvas->window instead
22175	of ddisp->renderer->renderer->pixmap.
22176
22177	* app/display.[ch]:
22178	Add aa_renderer to DDisplay, and  support for it.
22179	New function ddisplay_set_renderer() for changing renderer.
22180	Add ddisplay_transform_coords_double() function, used by aa renderer.
22181	Change ddisp->renderer type from RendererGdk * to Renderer *
22182
22183	* app/menus.c:
22184	Add antialias to menu.
22185
22186	* app/commands.[ch]:
22187	add view_aa_callback function
22188	Change ddisp->renderer type from RendererGdk * to Renderer *
22189
22190	* lib/geometry.[ch]:
22191	Added IntRectangle and int_rectangle_union.
22192
221932000-01-28  James Henstridge  <james@daa.com.au>
22194
22195	* app/commands.h: removed prototypes.
22196
22197	* app/commands.c: removed the functions that have been moved to
22198	filedlg.c.
22199
22200	* app/filedlg.h: added new prototypes.
22201
22202	* app/filedlg.c (file_open_callback): move open dialog to this
22203	file.  This implementation should remember the current directory
22204	between file loads.
22205	(file_save_as_callback): moved this dialog as well.
22206	(file_save_callback): moved this function here.
22207
22208	* app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
22209	align page boundaries to the origin.
22210
22211	* app/diagram.c (diagram_update_extents): redraw the diagram if the
22212	scaling factor changes while updating the extents.  This is so the
22213	page breaks get redrawn correctly.
22214
22215	* app/pagesetup.c (pagesetup_apply): added diagram_flush call when
22216	applying changes.
22217
22218	* app/grid.c (grid_draw): draw page breaks as well as grid lines.
22219	For normal mode, use (0,0) as the origin.  For `fit to' mode, use
22220	the corner of the bounding box.
22221
22222	* app/pagesetup.c (create_page_setup_dlg): load new paper attributes
22223	into page setup dialog.
22224	(pagesetup_apply): apply new `fit to' attributes to the diagram.
22225
22226	* app/load_save.c (diagram_load): load new paper `fit to' attributes.
22227	(diagram_data_save): save `fit to' data.
22228
22229	* lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
22230	(data_update_extents): when in `fit to' mode, update scale factor
22231	when we update the extents.
22232
22233	* lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
22234	structure.
22235
22236	* .../.cvsignore: added some cvsignore files to quieten cvs.
22237
22238	* app/pagesetup.c (pagesetup_changed): added code to change the
22239	scaling/fit to values as you change the options in the page setup
22240	dialog.  I haven't added code so that the fit to options are saved
22241	though.
22242
22243	* app/diapagelayout.[ch]: changed the scaling portion of the widget
22244	to make it easier to set a `fit to' style scaling factor.
22245
222462000-01-27 Cyrille Chepelov <chepelov@calixo.net>
22247	* lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
22248	but connpoint_line-based, so that there's a connection point at the
22249	middle of each segment. Currently only the SADT arrow uses this.
22250
22251	* objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
22252
222532000-01-26 Cyrille Chepelov <chepelov@calixo.net>
22254	* lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
22255	saving and editing of properties (and default properties).
22256	See the new objects (GRAFCET, SADT, chonograms) for examples.
22257	For already too hairy stuff, see objects/chronogram/chronoline.c.
22258
22259	* lib/connpoint_line.[ch] (NEW): This subobject manages a line of
22260	evenly spaced connection points, which the user can add or remove at
22261	will. An object can own several connection point lines. See the SADT
22262	Box, or the GRAFCET vergents for examples.
22263
22264	* lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
22265	quiet about unused stuff.
22266
22267	* objects/GRAFCET (NEW):
22268	* samples/grafcet.dia (NEW):
22269	Added support for GRAFCET charts.
22270
22271	* objects/chronogram (NEW):
22272	* samples/chronograms.dia (NEW):
22273	Added support for chronograms (feature requested by Ronald L. Chichest;
22274	I found I'd use it often, too).
22275
22276	* objects/standard/line.c: Replace the middle connectionpoint by
22277	a whole connection point line, which defaults to one point (hint,
22278	hint). New Line object menu to take advantage of this.
22279	"Bothwards" compatibility is preserved (although you may loose
22280	connections if you load a newer file in a older dia).
22281
22282	* app/lineprops_area.c:
22283	* lib/arrows.[ch]:
22284	* lib/widgets.c: Added hollow and filled ellipse arrow head type.
22285	(feature requested by Benjamin Kahn).
22286	Merged in Steffen Macke's slashed arrow head type.
22287
22288	* app/Makefile.am (app/run_dia.sh actually):
22289	Added $DEBUGGER in front of dia's invocation, so that
22290	you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
22291	Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
22292	"EFENCE=-lefence" to link with Electric Fence.
22293
22294	* configure.in: Made gcc do more aggressive optimisations on i386, and
22295	enabled warnings.
22296
222972000-01-24  James Henstridge  <james@daa.com.au>
22298
22299	* lib/geometry.[ch]: added inline versions of functions.  Used
22300	glib's G_INLINE_FUNC stuff, so it should still work on systems
22301	without inline funcs.
22302
22303	* plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
22304	it outputs the correct element id for the ellipse objects.
22305
223062000-01-24 Cyrille Chepelov <chepelov@calixo.net>
22307
22308	* lib/object.[ch]: added object_add_connectionpoint_at, similar to
22309	object_add_handle_at. Message typo fixed.
22310
22311	* lib/sheet.c (load_register_sheet):
22312	potential bug fixed (warning hunt).
22313
22314	* objects/custom/custom.c (custom_object_load): disabled an assertion
22315        which made dia abort upon failure to load a shape file. Fixed a
22316        subsequent crash.
22317
22318	* objects/custom/shape_info.c (load_shape_info): Made the custom
22319	shape load code ignore XML comments between <?xml ...?> and the
22320	root object (mostly useful to put the emacs magic comments).
22321
22322	* app/load_save.c: Made dia do backup copies of files when saving,
22323        and complain in case of failure.
22324
223252000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
22326
22327	* AUTHORS: fixed my address (ISP thought it was a great idea to change
22328	the domain name)
22329
22330	* configure.in:
22331	* shapes/Contact:
22332	* shapes/Contact/*:
22333	* sheets/Contact.sheet:
22334	* sheets/Makefile.am:
22335	Added support for Contact and LADDER charts.
22336
22337	* dia.desktop: Added a French translation.
22338
223392000-01-23  James Henstridge  <james@daa.com.au>
22340
22341	* app/commands.c (help_about_callback): don't die if can't load
22342	logo image.
22343
22344	* app/render_gdk.c (bezier_add_lines): sanity check to try to weed
22345	out NaN's when performing bezier curve subdivision.
22346
22347	* objects/custom/custom_object.c: initialise memory of Custom structs
22348	to zero.
22349
22350	* app/render_svg.c (draw_image): added image support to the XML
22351	output filter.  The image is just referenced, rather than being
22352	included inline, so if you copy the SVG file somewhere else, you
22353	may need to move the images or fix up the links.
22354
22355	* plug-ins/cgm/cgm.c (draw_string): output a text colour element,
22356	so the text is not just displayed in black all the time.
22357
223582000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
22359
22360	* configure.in: fixed libpopt test so we wont try to build with
22361	too old libpopt.
22362
223631999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
22364
22365	* configure.in: Added "uk" to ALL_LINGUAS.
22366
223671999-12-24  James Henstridge  <james@daa.com.au>
22368
22369	* po/ru.po: updated russian translation from Valek Filippov.
22370
22371	* app/render_svg.c (new_svg_renderer): make output use 19991203
22372	version of SVG DTD.  Use viewBox to set the extents of the view.
22373
22374	* INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
22375	ftp.gnome.org as the download.
22376
22377	* TODO (TODO): weeded out completed todo items and added a few extra.
22378
22379	* Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
22380
22381	* doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
22382	be good to get rid of the object/shape distinction and separate
22383	the custom shape code out from the main application.
22384
22385	* objects/custom/README, diagram.dtd: moved to new doc directory.
22386	Renamed the custom shapes README to custom-shapes.  Also updated
22387	custom shape docs a bit and removed the section on sheet files, as
22388	that has changed a bit.
22389
22390	* plug-ins/cgm/cgm.c (draw_image): give an error if the row length
22391	of the image data is larger than the maximum cell array.  I should
22392	add code to break scan lines down further in this case, but for now
22393	an error message is better than an infinite loop.
22394
22395	* app/filedlg.c (file_export_ok_callback): show a dialog if we
22396	couldn't determine the export filter to use.
22397
22398	* app/commands.c (help_about_callback): fixed up about box logo
22399	expose bug.  Now just use a GtkPixmap widget rather than a
22400	GtkDrawingArea and calling gdk_imlib_paste_image.
22401
22402	* app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
22403	because automake does not always get things right.
22404
22405	* configure.in: updated version number to 0.83.
22406
22407	* app/preferences.c (prefs_save):
22408	* app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
22409	for fopen.  Text is the default file mode anyway.
22410
22411	* app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
22412	* app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
22413	* app/load_save.c (write_objects, write_connections):
22414	* app/filedlg.c (file_export_ok_callback):
22415	* lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
22416	* lib/dia_xml.c (data_add_point, data_add_rectangle):
22417	* lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
22418	snprintf to calls to g_snprintf.
22419
22420	* plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
22421	as the picture name.
22422
224231999-12-23  James Henstridge  <james@daa.com.au>
22424
22425	* plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
22426	negative numbers.  This fixes the upside down text problem I was
22427	having previously.
22428	(draw_image): implemented the image code.  It will try to split the
22429	image data up into bands if it is too big to fit into a single
22430	cgm cell array element.  It will have problems if you try to insert
22431	an image wider than about 10,000 pixels though.
22432
22433	* Makefile.am: use gnomedatadir for the files that need to be
22434	installed in gnome's datadir.  This is mainly to help people doing
22435	packages for weird setups.
22436
224371999-12-22  James Henstridge  <james@daa.com.au>
22438
22439	* plug-ins/cgm/cgm.c: added support for text.  Now only images and
22440	beziers are left to do.  The text seems to be the wrong way up
22441	still.  This is probably a problem with character orientation
22442	element, but I have used what the settings given in the standard.
22443	Other than this, the CGMs dia produces are readable (and displayable)
22444	by ralcgm and corel draw.
22445	(draw_string): subtract from the X coord rather than the Y coord for
22446	center and right aligned text.
22447
22448	* plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
22449	the size of a real number, and changed name of write_double to
22450	write_real.  Consider changing to fixed real encoding.  Also, now
22451	all element headers are correct.  Once the real number encoding is
22452	fixed, only text, beziers and images are left to do.
22453
224541999-12-21  James Henstridge  <james@daa.com.au>
22455
22456	* Makefile.am (SUBDIRS): recurse into plug-ins.
22457
22458	* configure.in: add plug-ins directory makefiles to list.
22459
22460	* plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
22461	not done yet.  Also, the output files are not quite correct.
22462
22463	* app/render_eps.c (print_reencode_font): don't reencode the Symbol
22464	font.  It doesn't work if you do.
22465
224661999-12-20  James Henstridge  <james@daa.com.au>
22467
22468	* app/app_procs.c (app_init): don't use diagram_export_to_eps to
22469	export the files.  Instead, use filter_guess_export_filter to
22470	guess the correct format to save in and use the appropriate filter.
22471	It defaults to postscript for compatibility.
22472
22473	* app/diagram.[ch] (diagram_export_to_eps): removed export to eps
22474	function.
22475
22476	* app/commands.[ch]: removed export to eps functions.
22477
22478	* app/menus.c: removed export to eps menu items.
22479
22480	* app/app_procs.c: register new export filters.
22481
22482	* app/load_save.[ch]: define dia native export filter.
22483
22484	* app/render_eps.[ch]: define eps export filter.
22485
22486	* lib/filter.h: added diafilename argument to the DiaExportFunc
22487	prototype.  This is useful for putting the source of the diagram
22488	into the output file for instance.
22489
22490	* app/app_procs.c (app_init): register the SVG export filter.  Have
22491	to get EPS code converted to this API, and maybe also allow saving in
22492	DIA's native format from the export dialog.  In fact, it is now
22493	possible to load an export filter from a shared library and it will
22494	integrate into the interface correctly.
22495
22496	* app/menus.c: removed references to the SVG renderer.
22497
22498	* app/commands.[ch]: removed svg stuff.
22499
22500	* app/diagram.[ch]: removed diagram_export_to_svg function.
22501
22502	* app/render_svg.[ch]: added a DiaExportFilter structure for this
22503	renderer.
22504
22505	* app/filedlg.[ch]: code for the new export diagram dialog.  Will
22506	probably move the open/save dialogs to this file as well.
22507
225081999-12-19  James Henstridge  <james@daa.com.au>
22509
22510	* lib/filter.[ch]: start of interface for generalised handling of
22511	filters.  I have only done code for export filters so far.  I still
22512	need to do the gui for this, and convert the current SVG and EPS
22513	filters to the new API.
22514
22515	* lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
22516	weren't setting the last handle correctly.  It was actually assigning
22517	to the wrong position in the handles array, so the last handle was
22518	left as NULL, which caused the segfault.
22519
22520	* objects/standard/image.c (image_copy): modified routine so that
22521	it just adds a reference to the DiaImage structure in the new image
22522	object.  This seems to have cleared up the problems with copying
22523	image objects.
22524
22525	* dia.spec: spec file additions from John Gotts.
22526
225271999-12-12  James Henstridge  <james@daa.com.au>
22528
22529	* configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
22530	has not been released yet though.
22531
22532	* Makefile.am (EXTRA_DIST): distribute diagram.dtd.
22533
22534
22535	The following based on a patch from Lars Clausen:
22536
22537	* objects/standard/bezier.c (bezierline_move_handle): when performing
22538	the initial drag of the bezierline, move the control points to keep
22539	the line straight.
22540
22541	* lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
22542	make the new control points a bit closer to the major point.
22543
22544	* app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
22545	as the reason for the move.
22546	(create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
22547	move reason.
22548
22549	* lib/handle.h: new handle move reasons.
22550
225511999-12-09  James Henstridge  <james@daa.com.au>
22552
22553	* dia.spec: include the new files in RPMs.
22554
22555	* Makefile.am: install these new files.
22556
22557	* dia.keys.in: file describing actions and icon for dia diagrams for
22558	use in the gnome file manager.
22559
22560	* dia.mime: a file defining the application/x-dia-diagram mime type.
22561
22562	* dia-diagram.png: an icon for dia diagrams.
22563
225641999-12-08  James Henstridge  <james@daa.com.au>
22565
22566	* plug-ins/python/pydia-diagram.c: added heaps of new methods.
22567
22568	* plug-ins/python/pydia-display.[ch]: wrapper for display.
22569
22570	* objects/standard/ellipse.c: applied Lars's patch to optionally not
22571	draw the background of the ellipse.
22572
22573	* app/load_save.c (read_connections): do some sanity checking on the
22574	handle and connection point numbers before performing the object
22575	connection.
22576
22577	* lib/bezier_conn.c (bezierconn_load): give the correct number of
22578	handles when loading a BezierConn.
22579
225801999-12-07  Kjartan Maraas  <kmaraas@online.no>
22581
22582	* sheets/*.sheet: Finished Norwegian translations.
22583
225841999-12-07  James Henstridge  <james@daa.com.au>
22585
22586	* plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
22587	(PyDia_GetObjectType): find object type function.
22588
22589	* plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
22590	method for diagrams.
22591
22592	* plug-ins/python/pydia-object.c: added methods for DiaObject and
22593	DiaObjectType.
22594
22595	* AUTHORS: added Lars and Cyrille to the authors file.
22596
22597	* objects/standard/bezier.c (bezierline_add_segment_callback): place
22598	new point correctly.
22599
22600	* lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
22601
22602	* lib/bezier_conn.c: applied Lars's patch for placement of the new
22603	point when adding a segment to a BezierConn.
22604
226051999-12-06  James Henstridge  <james@daa.com.au>
22606
22607	* plug-ins/python/test.py: test script for the python plug-in.
22608
22609	* plug-ins/python/python.c: this file contains the plug-in startup
22610	code for the python plugin.  Right now, it just initialises the
22611	dia module and executes a script.
22612
22613	* objects/standard/polyline.c (polyline_draw): fix start arrow size.
22614
22615	* objects/standard/bezier.c (bezierline_draw): draw control lines for
22616	bezier curve if we are using an interactive renderer (ie. only if
22617	displaying to the screen).
22618
22619	* lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
22620	to draw control lines on to a bezier curve.  Based on implementation
22621	from Lars.
22622
22623	* objects/standard/bezier.c (bezierline_delete_segment_callback):
22624	calculate segment number using closest_segment rather than
22625	closest_handle.  Sometimes the closest handle is part of a different
22626	segment.
22627	(bezierline_draw): use correct size for start arrow.
22628
22629	The next few entries are from Peter Moulder <reiter@netspace.net.au>:
22630	* lib/geometry.c (distance_line_point): added notes to documentation
22631	in comment.
22632	* app/object_ops.c (object_list_align_v):
22633	(object_list_align_h): fix of by one error when calculating free space
22634	for equal distance alignment.
22635	* app/menus.c (objects_align_h, objects_align_v): include align
22636	adjacent menu items in the gnome version of the menus.
22637	* app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
22638	align adjacent menu items correctly.
22639
22640
22641	* lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
22642	table.
22643
22644	* objects/standard/bezier.c: converted bezierline to use BezierConn.
22645	Still a few bugs.  It crashes on deleting line segments.
22646
22647	* lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
22648
226491999-12-05  James Henstridge  <james@daa.com.au>
22650
22651	* lib/bezier_conn.[ch]: start of BezierConn object
22652
22653	* app/interface.c: add bezierline to toolbox.
22654
22655	* objects/standard/standard.c: initialise bezierline.
22656
22657	* objects/standard/bezier.c: new object from Lars R. Clausen.  I have
22658	made a few modifications to get it working nicely.  It still needs
22659	a bit of work though.  Maybe create a BezierConn object in lib.
22660
226611999-12-02  James Henstridge  <james@daa.com.au>
22662
22663	* plug-ins/python/pydia-*.c: fixed compile errors in these files.
22664
22665	* plug-ins/python/Makefile.am: tried building everything.  It is
22666	building as a library at the moment.  I will have to convert it
22667	to a libtool library and add some initialisation code.
22668
22669	* plug-ins/python/diamodule.c: start of the dia module, using the
22670	other object wrappers.  Not complete.
22671
226721999-12-01  James Henstridge  <james@daa.com.au>
22673
22674	* plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
22675	the handles and connections attributes.
22676
22677	* plug-ins/python/pydia-layer.c: added functions that use
22678	ConnectionPoint's.
22679
22680	* plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
22681
22682	* plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
22683
22684	* plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
22685	I am currently wrapping the basic elements in the diagram in python
22686	objects -- nothing to see or play with yet.
22687
226881999-11-30  Alexander Larsson  <alla@lysator.liu.se>
22689
22690	* AUTHORS:
22691	* HACKING:
22692	James Henstridge <james@daa.com.au> is now the maintainer of Dia.
22693
226941999-11-29  Alexander Larsson  <alla@lysator.liu.se>
22695
22696	* configure.in:
22697	* po/ru.po:
22698	Added russian translation from Valek Filippov <frob@df.ru>
22699
227001999-11-24  James Henstridge  <james@daa.com.au>
22701
22702	* sheets/UML/*:
22703	* sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
22704	discussed with Alex.  Also added extra makefiles so that make install
22705	works correctly.
22706
227071999-11-23  Alexander Larsson  <alla@lysator.liu.se>
22708
22709	* app/preferences.[ch]:
22710	* app/display.c:
22711	Added snap to grid preference.
22712	Patch from Michael Leslie <mles@springboardwireless.com>
22713
227141999-11-21  Alexander Larsson  <alla@lysator.liu.se>
22715
22716	* app/load_save.c:
22717	* lib/dia_xml.c:
22718	* lib/sheet.c:
22719	* lib/text.c:
22720	* objects/custom/shape_info.c:
22721	All strings returned by libxml must be freed with free, not
22722	g_free, or there will be problems if you use memory debugging
22723	in glib.
22724
227251999-11-21  Alexander Larsson  <alla@lysator.liu.se>
22726
22727	* app/create_object.[ch]:
22728	* app/menus.c:
22729	* app/tool.[ch]:
22730	* app/commands.[ch]:
22731	* app/pixmaps.h:
22732	* app/interface.[ch]:
22733	Reverted the tool menu patch. It has some 'issues'.
22734	I liked it though, so it'll probably return.
22735
227361999-11-21  Alexander Larsson  <alla@lysator.liu.se>
22737
22738        Fixed a lot of memory leaks. Thanks to Bruce Mitchener
22739	<bruce@cybersight.com> for some purify runs and analysis.
22740	Also a great thank you to Owen Taylor for creating MemProf, a
22741	free memory leak detector that was used to find and verify a
22742	lot of these fixes.
22743
22744	* app/diagram.c:
22745	* app/paginate_psprint.c:
22746	* app/render_eps.[ch]:
22747	* app/render_svg.[ch]:
22748	Free renderers.
22749
22750	* app/interface.c:
22751	Don't add a reference to ddisp->shell. Why was this done in
22752	the first place?
22753
22754	* app/load_save.c:
22755	* lib/dia_xml.c:
22756	* lib/sheet.c:
22757	* lib/text.c:
22758	Free all strings returned from xmlGetProp
22759
22760	* app/modify_tool.c:
22761	Plug leak.
22762
22763	* objects/custom/custom.c:
22764	Use closedir() after opendir().
22765
22766	* objects/custom/shape_info.c:
22767	User g_free() instead of "if (tmp) free(tmp)".
22768
22769	* sheets/ER.sheet:
22770	Add newline at end of file.
22771
22772
227731999-11-20  Alexander Larsson  <alla@lysator.liu.se>
22774
22775        Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
22776	Adds tool menu and keyboard shortcuts.
22777
22778	* app/create_object.[ch]:
22779	Use tool_set() instead of tool_reset().
22780	create_create_object_tool() takes extra type argument
22781
22782	* menus.c:
22783	Add tools menu.
22784
22785	* tool.[ch]:
22786	Moved tool_data here, export it.
22787	Add separate tool type for all create objects tools.
22788	new functions tool_set().
22789
22790	* commands.[ch]:
22791	New callback tool_set_callback.
22792
22793	* pixmaps.h:
22794	Moved some pixmaps to interface.c.
22795
22796	* interface.[ch]:
22797	Remove tool_data array (moved to tool.c).
22798	Use the tool_data from tool.c.
22799	Remove modify_tool_button global var.
22800
228011999-11-20  Alexander Larsson  <alla@lysator.liu.se>
22802
22803        Patch from Patrick Reynolds <reynolds@cs.duke.edu>
22804
22805	* app/app_procs.c:
22806	Interprets command-line arguments as files to open even when
22807	HAVE_POPT is not defined.
22808
22809	* app/magnify.c:
22810	Shift-clicking when zooming zooms out, like the Gimp.
22811
22812	* app/menus.c:
22813	Has hotkeys for zoom-100% and snap-to-grid.
22814
228151999-11-17  James Henstridge  <james@daa.com.au>
22816
22817	* app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
22818	that it is not jumpy.
22819
22820	* app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
22821
22822	* app/scroll_tool.c (scroll_motion): added `grabbing hand' type
22823	scrolling by pressing the shift key when using the scroll tool.
22824
22825	* sheets/Makefile.am: fixed makefile so that install actually works
22826	if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
22827	don't exist.
22828	(SHEETS): install Circuit.sheet
22829
228301999-11-15  Alexander Larsson  <alla@lysator.liu.se>
22831	Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
22832
22833	* sheets/Circuit.sheet:
22834	* sheets/ER.sheet:
22835	* sheets/FS.sheet:
22836	* sheets/Flowchart.sheet:
22837	* sheets/UML.sheet:
22838	* sheets/network.sheet:
22839	* sheets/sybase.sheet:
22840	Changed name space
22841
22842	* sheets/Circuit.sheet:
22843	added some missing French translations
22844
22845	* lib/sheet.c:
22846	killed the temporary sheet namespace
22847
22848	* objects/custom/custom.c:
22849	obsolete comment cleaned up
22850
228511999-11-12  Alexander Larsson  <alla@lysator.liu.se>
22852
22853	* configure.in:
22854	* po/pt.po:
22855	Added portugese translation from Pedro Morais
22856	<pmmm@rnl.ist.utl.pt>
22857
228581999-11-11  Alexander Larsson  <alla@lysator.liu.se>
22859
22860        Changed all sheets to be specified in xml.
22861	All sheet objects removed from the C code.
22862	Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
22863
22864        * Makefile.am:
22865        * configure.in:
22866	Adding shapes dir.
22867	Updated version to 0.81cvs.
22868
22869        * app/Makefile.am:
22870	Update run_dia.sh with sheet-dir.
22871
22872	* app/app_procs.c:
22873	Load all sheets on startup.
22874	Create sheet directory first time.
22875	Don't call custom_register_sheets().
22876
22877	* lib/Makefile.am:
22878	Add sheetdir define
22879
22880	* lib/custom.h:
22881	Remove custom_register_sheets().
22882
22883	* lib/sheet.[ch]:
22884	Add sheet loading code.
22885
22886	* sheet/Circuit.sheet:
22887	* sheet/ER.sheet:
22888	* sheet/FS.sheet:
22889	* sheet/Flowchart.sheet:
22890	* sheet/UML.sheet:
22891	* sheet/network.sheet:
22892	* sheet/sybase.sheet:
22893	Added sheet files.
22894
22895	* sheet/ER/weakentity.xpm:
22896	* sheet/UML/aggregation.xpm
22897	* sheet/UML/umlclass_template.xpm
22898	Added sheet pixmaps.
22899	These are moved from their old places.
22900
22901	* sheet/.cvsignore:
22902	Shut up cvs.
22903
22904	* objects/*/*.c:
22905	Removed sheet objects and sheet registration.
22906
22907	* objects/ER/Makefile.am:
22908	* objects/ER/pixmaps/weakentity.xpm:
22909	* objects/UML/Makefile.am:
22910	* objects/UML/pixmaps/aggregation.xpm:
22911	* objects/UML/pixmaps/umlclass_template.xpm:
22912	Removed alternative pixmaps. (Moved to sheet).
22913
22914	* objects/custom/Makefile.am:
22915	* objects/custom/load_sheet.[ch]:
22916	Removed old sheet loading code.
22917
22918	* objects/custom/custom.c:
22919	Load all shapes instead of sheets.
22920	Removed custom_register_sheets().
22921
22922	* objects/custom/custom_object.c:
22923	Added debug code.
22924
22925	* objects/custom/shape_info.[ch]:
22926	Added shape_info_getbyname().
22927
22928	* objects/flowchart/Makefile.am:
22929	* objects/flowchart/collate.shape
22930	* objects/flowchart/delay.shape
22931	* objects/flowchart/display.shape
22932	* objects/flowchart/document.shape
22933	* objects/flowchart/extract.shape
22934	* objects/flowchart/flowchart.c
22935	* objects/flowchart/intstorage.shape
22936	* objects/flowchart/magdisk.shape
22937	* objects/flowchart/magdrum.shape
22938	* objects/flowchart/magtape.shape
22939	* objects/flowchart/manualinput.shape
22940	* objects/flowchart/manualop.shape
22941	* objects/flowchart/merge.shape
22942	* objects/flowchart/offlinestore.shape
22943	* objects/flowchart/offpageconn.shape
22944	* objects/flowchart/or.shape
22945	* objects/flowchart/predefdproc.shape
22946	* objects/flowchart/preparation.shape
22947	* objects/flowchart/punchedcard.shape
22948	* objects/flowchart/punchedtape.shape
22949	* objects/flowchart/sort.shape
22950	* objects/flowchart/sumjunction.shape
22951	* objects/flowchart/terminal.shape
22952	* objects/flowchart/transaction.shape
22953	* objects/flowchart/transmittape.shape
22954	* objects/flowchart/pixmaps/collate.xpm
22955	* objects/flowchart/pixmaps/delay.xpm
22956	* objects/flowchart/pixmaps/display.xpm
22957	* objects/flowchart/pixmaps/document.xpm
22958	* objects/flowchart/pixmaps/extract.xpm
22959	* objects/flowchart/pixmaps/intstorage.xpm
22960	* objects/flowchart/pixmaps/magdisk.xpm
22961	* objects/flowchart/pixmaps/magdrum.xpm
22962	* objects/flowchart/pixmaps/magtape.xpm
22963	* objects/flowchart/pixmaps/manualinput.xpm
22964	* objects/flowchart/pixmaps/manualop.xpm
22965	* objects/flowchart/pixmaps/merge.xpm
22966	* objects/flowchart/pixmaps/offlinestore.xpm
22967	* objects/flowchart/pixmaps/offpageconn.xpm
22968	* objects/flowchart/pixmaps/or.xpm
22969	* objects/flowchart/pixmaps/predefdproc.xpm
22970	* objects/flowchart/pixmaps/preparation.xpm
22971	* objects/flowchart/pixmaps/punchedcard.xpm
22972	* objects/flowchart/pixmaps/punchedtape.xpm
22973	* objects/flowchart/pixmaps/sort.xpm
22974	* objects/flowchart/pixmaps/sumjunction.xpm
22975	* objects/flowchart/pixmaps/terminal.xpm
22976	* objects/flowchart/pixmaps/transaction.xpm
22977	* objects/flowchart/pixmaps/transmittape.xpm
22978	Moved shapes and their pixmaps to shapes/flowchart
22979
22980	* shapes/Circuit/Makefile.am:
22981	* shapes/Circuit/index.sheet:
22982	Removed index.sheet.
22983
22984	* shapes/Makefile.am:
22985	* shapes/flowchart/Makefile.am:
22986	* shapes/flowchart/*.shape:
22987	* shapes/flowchart/*.xpm:
22988	Added flowchart shapes. (Moved from objects/flowchart)
22989
22990
229911999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
22992
22993	* app/app_procs.c: Fixed popt stuff.
22994
229951999-11-01  James Henstridge  <james@daa.com.au>
22996
22997	* shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
22998	Andreas Scherf.
22999
230001999-10-31  Alexander Larsson  <alla@lysator.liu.se>
23001
23002        * dia.spec:
23003	* configure.in:
23004	Update version to 0.81.
23005
23006	* NEWS:
23007	Update with news for 0.81.
23008
23009	* shapes/Circuit/*:
23010	* shapes/Circuit_eu/*:
23011	Moved european circuit objects to Circuit sheet.
23012
230131999-10-31  Alexander Larsson  <alla@lysator.liu.se>
23014
23015        * lib/diagramdata.[ch]:
23016	Added layer_set_object_list() function.
23017
23018	* app/undo.[ch]:
23019	Added support for undo of reordered objects.
23020	Fix the undo of delete to keep the right order on undo.
23021
23022	* app/diagram.c:
23023	changed loop to object_add_updates_list() calls.
23024	Added undo support to bring to front/back.
23025
23026	* app/disp_callbacks.c:
23027	* app/paginate_psprint.c:
23028	Remove warnings.
23029
230301999-10-30  Alexander Larsson  <alla@lysator.liu.se>
23031
23032	This plugs some leaks. Thanks to
23033	Bruce Mitchener <bruce@cybersight.com> for running
23034	Dia through purify for me.
23035
23036        * app/app_procs.c:
23037	Free displays and diagrams on exit.
23038
23039	* app/modify_tool.c:
23040	Free gc when freeing tool.
23041
23042	* lib/diagramdata.c:
23043	Free layer name.
23044
23045	* app/display.c:
23046	Free update and display lists when destroying display.
23047
23048	* lib/diagramdata.c:
23049	Don't leak layer name.
23050
23051	* objects/custom/load_sheet.c:
23052	* objects/custom/shape_info.c:
23053	Free loaded xml documents.
23054
230551999-10-28  Alexander Larsson  <alla@lysator.liu.se>
23056
23057	* app/commands.c:
23058	* app/object_ops.[ch]:
23059	Add undo handling to alignment ops.
23060	Based partially on patch by Dan Cohn <dan@internap.com>.
23061
23062	* objects/standard/image.c (image_move_handle):
23063	Don't divide by zero for small images.
23064	Patch by Dan Cohn <dan@internap.com>.
23065
23066	* objects/UML/class.c (umlclass_destroy):
23067	* objects/custom/custom_object.c (custom_destroy):
23068	Don't free connectionpoints before calling element_destroy
23069	which unconnects them.
23070
230711999-10-26  Alexander Larsson  <alla@lysator.liu.se>
23072
23073	* objects/custom/custom_object.c:
23074	Load and save padding too. Fixes strange load crashes.
23075
23076	* app/group.c (group_destroy):
23077	Don't unconnect already freed connectionpoints when
23078	destroying group. Probably fixes bug reported by
23079	Elliot Lee <sopwith@redhat.com>.
23080
23081	* app/render_gdk.c:
23082	Don't crash on zero-size (broken) bezier curves.
23083	Different sort of fix. This should work on closed bezier curves
23084	too.
23085
23086	* objects/standard/textobj.c:
23087	Activate default properties dialog for Text objects.
23088
23089	* app/render_eps.c:
23090	* app/load_save.c:
23091	* app/preferences.c:
23092	* app/render_svg.c:
23093	fopen files in binary or text mode.
23094
230951999-10-26  Alexander Larsson  <alex@cendio.se>
23096
23097	* app/render_gdk.c (bezier_add_lines):
23098	Don't crash on zero-size (broken) bezier curves.
23099	Fixes a crashing bug.
23100
231011999-10-25  James Henstridge  <james@daa.com.au>
23102
23103	* app/Makefile.am (run_dia.sh): allow dia to find internal shape files
23104	before it is installed.
23105
23106	* objects/flowchart/flowchart.c: use relative paths to find shapes.
23107
23108	* objects/custom/custom.c (custom_object_load): take file names
23109	relative to $(pkgdatadir)/shape-internal, and check an environment
23110	variable for an alternative directory.
23111
23112	* app/...: added copyright messages to the top of my new code.
23113
23114	* app/paginate_psprint.c: some general clean ups.  Also, give an error
23115	dialog if we can't open the command or output file for writing.
23116
23117	* app/diapagelayout.c (dia_page_layout_set_orientation): fixed
23118	function so it would set orientation to landscape correctly.
23119
23120	* app/paginate_psprint.c: use the paper settings that come with
23121	the diagram.  Also implemented landscape printing.
23122
23123	* app/render_eps.c (new_psprint_renderer): use diagram paper metrics
23124	in PS header.
23125
23126	* app/commands.[ch] (file_pagesetup_callback): added callback for
23127	the page setup dialog.
23128
23129	* app/menus.c: added page setup menu item.
23130
23131	* app/pagesetup.[ch]: implementation of the page setup dialog.
23132
23133	* app/diapagelayout.[ch]: added accessors for the scaling factor.
23134
23135	* app/load_save.c (diagram_load): load paper information from save
23136	file.
23137	(diagram_save): save the paper info.
23138
23139	* lib/diagramdata.c (new_diagram_data): initialise paper info section
23140	of DiagramData structure.
23141	(diagram_data_destroy): free the paper name.
23142
23143	* lib/diagramdata.h: added a paper member to the DiagramData structure
23144	that holds the page layout info for a diagram.
23145
231461999-10-21  Alexander Larsson  <alla@lysator.liu.se>
23147
23148	* objects/flowchart/box.c:
23149	* objects/flowchart/ellipse.c:
23150	* objects/flowchart/diamond.c:
23151	* objects/flowchart/parallelogram.c:
23152	Load and save padding too. Fixes strange load crashes.
23153
231541999-10-21  Alexander Larsson  <alla@lysator.liu.se>
23155
23156	* app/app_procs.c (name_is_lib):
23157	.dll, .sl and .so.0.0.0 are also libraries.
23158
231591999-10-20  James Henstridge  <james@daa.com.au>
23160
23161	* configure.in: added extra makefile.
23162
23163	* shapes/Circuit_eu/*: a new set of european circuit shapes from
23164	Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
23165	(added fuses to makefile, fill the area of some of the components).
23166
231671999-10-19  Alexander Larsson  <alla@lysator.liu.se>
23168
23169	* lib/Makefile.am:
23170	* app/Makefile.am:
23171	Add GDK_IMLIB_CFLAGS to includes.
23172	Changed --export-dynamic to -export-dynamic
23173
23174	* lib/widgets.c:
23175	* objects/UML/message.c:
23176	Removed c++ comment.
23177
23178	* lib/render_store.[ch]:
23179	Don't use empty structure. That is not Ansi C.
23180
231811999-10-19  James Henstridge  <james@daa.com.au>
23182
23183	* app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
23184	the margin entries, as they allow interpretation of units.
23185	(paper_size_change): display the current page dimensions.
23186
23187	* app/diaunitspinner.[ch]: a widget derived from the standard
23188	GtkSpinButton that tries to take units into account.  So if you enter
23189	"1in" into the entry, it will convert it to 2.54cm.
23190
231911999-10-18  Alexander Larsson  <alla@lysator.liu.se>
23192
23193	* app/app_procs.c:
23194	Removed include of dlfcn.h
23195
231961999-10-18  James Henstridge  <james@daa.com.au>
23197
23198	* app/diapagelayout.c (paper_size_change, orient_changed): set upper
23199	bound on margin widths.  It is set to the paper width/height.
23200
23201	* objects/flowchart/diamond.c (diamond_distance_from): fixed distance
23202	routine for the diamond.  This bug was found and fixed by Daniel Wang
23203	<danwang@CS.Princeton.EDU>
23204
23205Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
23206
23207	* app/commands.c: Add <sys/types.h> before <sys/stat.h> to
23208	remove warning (OS/2 version).
23209
232101999-10-17  Alexander Larsson  <alla@lysator.liu.se>
23211
23212	* README:
23213	Put a pointer to objects/custom/README.
23214
232151999-10-17  Alexander Larsson  <alla@lysator.liu.se>
23216
23217	* dia.spec:
23218	Updated version to 0.80
23219
23220	* configure.in:
23221	Updated version to 0.80cvs
23222
232231999-04-08  Alexander Larsson  <alla@lysator.liu.se>
23224
23225	* Released Dia 0.80
23226	Tag called DIA_0_80
23227
232281999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
23229
23230	* app/Makefile.am
23231	* lib/Makefile.am
23232	* objects/UML/Makefile.am
23233	* objects/ER/Makefile.am
23234	* objects/network/Makefile.am
23235	* objects/standard/Makefile.am
23236	* objects/FS/Makefile.am
23237	* objects/sybase/Makefile.am
23238	* objects/flowchart/Makefile.am
23239	* objects/custom/Makefile.am
23240	Added -I$(top_srcdir)/intl which is needed for
23241	--with-included-gettext.
23242
23243	* POTFILES.in
23244	Updated.
23245
23246	* po/sv.po
23247	Updated swedish translation.
23248
232491999-10-16  Alexander Larsson  <alla@lysator.liu.se>
23250
23251	* configure.in:
23252	Updated version number to 0.80.
23253
23254	* KNOWN_BUGS:
23255	New file.
23256
23257	* TODO:
23258	Updated. Moved bugs to KNOWN_BUGS.
23259
23260	* NEWS:
23261	Updated with 0.80 release notes.
23262
232631999-10-16  Alexander Larsson  <alla@lysator.liu.se>
23264
23265	* lib/orth_conn.c:
23266	For backwards compatibility, make sure handle 0 and 1 are the
23267	first and last handle. Fixes compatibility with 0.41, breaks
23268	compatibility with cvs version.
23269	Fixed bug in undo/redo of adding deleting endpoint segments
23270	when the endpoint was connected.
23271	Start OrthConn objects with three segments.
23272
232731999-10-16  James Henstridge  <james@daa.com.au>
23274
23275	* objects/custom/custom_object.c (custom_update_data): changed
23276	resizing behaviour a bit so that shapes don't grow huge when you try
23277	to resize them to smaller than the size required by the text box.
23278	Also, now shapes will not grow with fixed aspect ratio when you enter
23279	text into them unless the shape has the fixed aspect ratio flag set.
23280
232811999-10-15  James Henstridge  <james@daa.com.au>
23282
23283	* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
23284
23285	* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
23286
23287	* objects/flowchart/magdrum.shape:
23288	* objects/flowchart/offlinestore.shape:
23289	* objects/flowchart/punchedtape.shape:
23290	* objects/flowchart/transmittape.shape:
23291	* objects/flowchart/punchedcard.shape: new shapes.
23292
23293	* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
23294
23295	* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
23296
23297	* objects/flowchart/collate.shape:
23298	* objects/flowchart/delay.shape:
23299	* objects/flowchart/extract.shape:
23300	* objects/flowchart/intstorage.shape:
23301	* objects/flowchart/magdisk.shape:
23302	* objects/flowchart/magtape.shape:
23303	* objects/flowchart/merge.shape:
23304	* objects/flowchart/or.shape:
23305	* objects/flowchart/sort.shape:
23306	* objects/flowchart/sumjunction.shape: new shapes.
23307
233081999-10-15  Alexander Larsson  <alla@lysator.liu.se>
23309
23310	* TODO (BUGS):
23311	Added bug:
23312	Entering an erronous command as print command
23313	crashes dia.
23314
23315	* app/paginate_psprint.c:
23316	Save all print dialog values for next time.
23317
23318	* app/Makefile.am:
23319	Remove custom lib from DIA_LIB_PATH.
23320
233211999-10-14  James Henstridge  <james@daa.com.au>
23322
23323	* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
23324
23325	* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
23326
23327	* objects/flowchart/offpageconn.shape:
23328	* objects/flowchart/manualop.shape:
23329	* objects/flowchart/preparation.shape:
23330	* objects/flowchart/manualinput.shape:
23331	* objects/flowchart/predefdproc.shape:
23332	* objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
23333
233341999-10-13  James Henstridge  <james@daa.com.au>
23335
23336	* app/diapagelayout.[ch]: added accessors to paper information.  The
23337	widget should be just about complete now.
23338
23339	* app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
23340	It actually does something now.
23341
233421999-10-12  James Henstridge  <james@daa.com.au>
23343
23344	* app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
23345	for the page layout widget.
23346
23347	* app/diapagelayout.[ch]: start of page layout widget.  Not actually
23348	built yet as it is not complete.
23349
23350	* objects/flowchart/flowchart.c: added new shapes to sheet.
23351
23352	* objects/flowchart/display.shape:
23353	* objects/flowchart/transaction.shape: new shapes.
23354
23355	* AUTHORS: added my name to the spec file.
23356
23357	* dia.spec: include the dia desktop entry to the spec file.
23358
23359	* Makefile.am: install the dia.desktop file.
23360
23361	* dia.desktop: added a gnome desktop entry so you can start dia
23362	from the gnome panel menu.
23363
233641999-10-11  James Henstridge  <james@daa.com.au>
23365
23366	* objects/custom/custom_object.c:
23367	* objects/custom/shape_info.c: warning fixes.
23368
23369	* objects/flowchart/document.shape: a shape file for the `document'
23370	flowchart shape.
23371
23372	* lib/custom.h: new header with the custom shape prototypes.
23373
23374	* app/app_procs.c: register custom objects as well.
23375	(register_objects_in): close shared libraries if they don't load
23376	correctly, and call g_module_make_resident on libraries that load
23377	correctly.
23378
23379	* app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
23380
23381	* objects/custom/custom.c: removed get_version, added custom_ prefix
23382	to register_objects and register_sheets.
23383
23384	* objects/custom/Makefile.am: converted to a normal library.
23385
233861999-10-10  Alexander Larsson  <alla@lysator.liu.se>
23387
23388	* app/lineprops_area.c:
23389	* app/render_svg.c:
23390	* lib/objchange.c:
23391	* objects/custom/shape_info.c:
23392	* objects/flowchart/box.c:
23393	* objects/flowchart/diamond.c:
23394	* objects/flowchart/ellipse.c:
23395	* objects/flowchart/parallelogram.c:
23396	* objects/network/flash.c:
23397	* objects/network/scead-plug.c:
23398	* objects/sybase/client.c:
23399	Removed -Wall warnings.
23400
23401	* objects/network/bus.c:
23402	Removed unused functions.
23403
23404	* objects/FS/flow-ortho.c:
23405	* objects/FS/flow-poly.c:
23406	* objects/FS/flow.c:
23407	* objects/FS/function.c:
23408
23409	Implemented "non-implemented" undo for FS objects.
23410	Now at least it won't crash.
23411
234121999-10-10  Alexander Larsson  <alla@lysator.liu.se>
23413
23414	* objects/network/bus.c:
23415	Implemented undo.
23416	Handles are now added and removed using the object menu.
23417	Default to 6 handles instead of 10.
23418	Changed name from "Standard - Bus" to "Network - Bus". Kept old
23419	name for backwards compatibility.
23420
23421	* objects/network/network.c:
23422	Changed name from "Standard - Bus" to "Network - Bus". Kept old
23423	name for backwards compatibility.
23424
23425	* app/properties.[ch]:
23426	* app/undo.c:
23427	Update properties in properties dialog if the shown object
23428	is part of and ObjectChange (undo or redo).
23429
23430	* lib/poly_conn.c:
23431	Remove old known bugs list.
23432
23433	* objects/UML/class_dialog.c:
23434	Removed debug printf's.
23435
234361999-10-10  James Henstridge  <james@daa.com.au>
23437
23438	* objects/custom/custom.c (custom_object_load): new function that
23439	provides a nice entry point to the custom shape code for when it
23440	gets used by other libraries.
23441
23442	* configure.in: removed 11 makefiles from AC_OUTPUT list.  This
23443	speeds builds up a bit.
23444
23445	* */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
23446	(SUBDIRS): do not descend into pixmaps subdirs.
23447
23448	* */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
23449	This speeds up build process.
23450
23451	* objects/custom/custom.c (sheets): made variable static.
23452
23453	* objects/custom/custom_util.[ch] (custom_get_relative_filename):
23454	renamed function.
23455
23456	* objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
23457
23458	* objects/custom/custom.c: look in ~/.shapes instead of
23459	~/.dia_shapes as the per-user shapes directory.
23460
23461	* app/preferences.c (prefs_save): save config to ~/.diarc.
23462	(prefs_load): load configuration from ~/.diarc.  If the file
23463	does not exist, fallback on the old ~/.diarc location.
23464
23465	* app/app_procs.c (create_user_dirs): create the ~/.dia directory
23466	on startup.
23467	(register_all_objects): look for user specific objects in
23468	~/.objects rather than ~/.dia_libs.
23469
234701999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
23471
23472	* configure.in:
23473	* app_procs.c:
23474	* objects/flowchart/box.c
23475	* objects/flowchart/ellipse.c
23476	* objects/flowchart/flowchart.c
23477	Use gmodule for dynamic linking. As gmodule is using
23478	RTLD_GLOBAL i had to change flowchart box and ellipse
23479	so the typenames doesn't conflict with the standard
23480	box and ellipse.
23481
23482	* message.c
23483	* commands.c
23484	Use button box to make dialogs look better.
23485
234861999-10-09  Alexander Larsson  <alla@lysator.liu.se>
23487
23488	* objects/UML/class_dialog.c:
23489	* objects/UML/class.h:
23490	Implemented undo for "UML - Class" objects.
23491	Not 100% tested yet.
23492
23493	* objects/UML/classicon.c:
23494	* objects/UML/constraint.c:
23495	* objects/UML/dependency.c:
23496	* objects/UML/generalization.c:
23497	* objects/UML/implements.c:
23498	* objects/UML/large_package.c:
23499	* objects/UML/lifeline.c:
23500	* objects/UML/message.c:
23501	* objects/UML/object.c:
23502	* objects/UML/realizes.c:
23503	* objects/UML/state.c:
23504	* objects/UML/usecase.c:
23505	Removed warnings.
23506
23507	* lib/connectionpoint.h:
23508	Fixed typo.
23509
235101999-10-09  James Henstridge  <james@daa.com.au>
23511
23512	* objects/custom/*.[ch]: added copyright notices to custom object
23513	files.
23514
23515	* shapes/Circuit/hdiode.shape:
23516	* shapes/Circuit/hzener.shape:
23517	* shapes/Circuit/opamp.shape:
23518	* shapes/Circuit/vdiode.shape:
23519	* shapes/Circuit/vzener.shape: made adjustments to make the circuit
23520	shapes look nice after the custom shape code changes.
23521
23522	* objects/custom/README: updated docs to cover changes to drawing
23523	code.
23524
23525	* objects/custom/custom_object.c (custom_draw): honour the line
23526	properties when drawing the shape.
23527
23528	* objects/custom/shape_info.[ch]: added support for setting line
23529	properties for individual drawing elements in a custom shape.  You
23530	can set the dash style, dash length, cap style and join style.
23531
235321999-10-07  James Henstridge  <james@daa.com.au>
23533
23534	* objects/custom/shape_info.c (parse_style): added a few extra synonyms
23535	for foreground and background.
23536
23537	* objects/custom/custom_object.c (custom_draw): use the new style
23538	information when drawing the object.
23539
23540	* objects/custom/shape_info.[ch]: store all shape style info in the
23541	GraphicStyle structure.  This makes adding support for extra CSS
23542	attributes easier -- we don't have to keep adding extra arguments to
23543	a lot of functions.
23544
235451999-10-05  James Henstridge  <james@daa.com.au>
23546
23547	* lib/intl.c (unalias_lang): merged in changes from the i18n code
23548	swiped from gnome-libs.
23549
235501999-10-03  Alexander Larsson  <alla@lysator.liu.se>
23551
23552	* objects/standard/image.c (get_directory):
23553	Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
23554
235551999-09-28  Alexander Larsson  <alla@lysator.liu.se>
23556
23557	* lib/poly_conn.c (polyconn_destroy):
23558	Fix bug. Access of freed memory.
23559	Rememeber, you can't free the handles of an object
23560	before calling object_destroy(), as it unconnects the handles
23561	therefore referencing them.
23562
235631999-09-28  Alexander Larsson  <alla@lysator.liu.se>
23564
23565	* app/undo.c:
23566	undo_clear() didn't set stack->depth to zero.
23567	This made other undo functions crash after this had been called
23568	on a "full" stack.
23569
23570	* dia.xpm:
23571	Slightly modified by Chris Love <clove@exactis.com>
23572
235731999-09-19  Alexander Larsson  <alla@lysator.liu.se>
23574
23575	* objects/UML/class.h:
23576	* objects/UML/class_dialog.c:
23577	Retrun NULL ObjectChange on class property change.
23578	This means no crashes, but "UML - Class" doesn't support undo yet.
23579
235801999-09-19  Alexander Larsson  <alla@lysator.liu.se>
23581
23582	* lib/text.c:
23583	Indentation fix.
23584
23585	* objects/UML/classicon.c:
23586	* objects/UML/dependency.c:
23587	* objects/UML/generalization.c:
23588	* objects/UML/implements.c:
23589	* objects/UML/large_package.c:
23590	* objects/UML/lifeline.c:
23591	* objects/UML/message.c:
23592	* objects/UML/object.c:
23593	* objects/UML/realizes.c:
23594	* objects/UML/state.c:
23595	* objects/UML/usecase.c:
23596	Update to new undo (w. get/set_state).
23597	Add object menu to add/delete segments.
23598
235991999-09-17  Alexander Larsson  <alla@lysator.liu.se>
23600
23601	* app/menus.c:
23602 	Add equal distance alignment.
23603
23604	* app/object_ops.c:
23605	Add equal distance alignment.
23606	Fix bug in adjacent alignment.
23607
236081999-09-16  Alexander Larsson  <alla@lysator.liu.se>
23609
23610	* objects/UML/constraint.c:
23611	Update to new undo (w. get/set_state).
23612
236131999-09-15  Alexander Larsson  <alla@lysator.liu.se>
23614
23615	* app/paginate_psprint.c:
23616	Save (parts, more todo) of the info in the print dialog to the
23617	next time it's opened.
23618	Patch from Yo Ric Dude <ricdude@toad.net>
23619
236201999-09-14  Alexander Larsson  <alla@lysator.liu.se>
23621
23622	* configure.in:
23623	Updated version string to 0.41cvs.
23624
23625	* objects/UML/assocition.c:
23626	Update to new undo (w. get/set_state).
23627	Add object menu to add/delete segments.
23628
23629	* app/app_procs.c:
23630	Added function debug_break() and called it after all
23631	objects and sheets are loaded. Place a breakpoint here if you
23632	want to debug objects. All symbols should be loaded.
23633
236341999-09-12  James Henstridge  <james@daa.com.au>
23635
23636	* app/menus.c (display_menu_items): added print menu item.
23637	(filemenu): always add print menu item -- even if gnome-print is
23638	not installed.
23639
23640	* app/commands.h, app/commands.c (file_print_callback): the print
23641	menu item is now available for both gnome-print and non gnome-print
23642	setups.
23643
23644	* app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
23645	print with the non gnome-print driver.
23646
236471999-09-11  James Henstridge  <james@daa.com.au>
23648
23649	* app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
23650	printer dialog code out of commands.c.
23651
23652	* app/paginate_psprint.c: new file containing the pagination code for
23653	psprint.
23654
23655	* app/render_eps.c: made a few modifications so as well as producing
23656	EPS files, this renderer can be set up to do postscript printing.
23657	This basically entailed adding an extra function to create a RenderEPS
23658	renderer which did not bother setting the viewport for the document.
23659	That was left for the pagination code.
23660
236611999-09-10  James Henstridge  <james@daa.com.au>
23662
23663	* app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
23664	gnome-print does not support elliptic arcs at the moment, approximate
23665	the ellipse with eight bezier curves.  This gives a pretty good
23666	match to a true ellipse.
23667
236681999-09-09  James Henstridge  <james@daa.com.au>
23669
23670	* app/commands.c (file_gnome_print_callback): added support for
23671	scaling the diagram.  Also fixed a few other bugs.
23672
23673	* app/paginate_gnomeprint.c (print_page): added ability to scale
23674	document.  Fixed up test to see if the page has no objects on it.
23675	This should prevent some blank pages being printed.  Non square
23676	objects such as lines could still cause problems.
23677
236781999-09-08  James Henstridge  <james@daa.com.au>
23679
23680	* app/commands.c (file_gnome_print_callback): changed from using the
23681	standard printer selection dialog to one that also has a paper size
23682	selector as well.
23683
23684	* commands.[ch]: added callbacks for the print menu item.  Currently
23685	it only does A4 output.  I will make it configurable soon.
23686
23687	* app/menus.c: add a print diagram menu item if gnome-print support
23688	is enabled.
23689
23690	* app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
23691	bit higher level than the gnome-print renderer.  It splits the
23692	diagram into page size chunks and then renders them.  For each
23693	page, it only renders the objects whose bounding box intersects
23694	the page, and it sets the clip mask so that the diagram does not
23695	overlap the margins.
23696
23697	* app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
23698	that uses gnome-print as its back end.
23699
23700	* configure.in: added a check for gnome-print.  It is disabled by
23701	default because the code is not really working correctly yet.
23702
23703	* app/menus.c: the delete object menu item was missing from the
23704	GnomeUIInfo style menus.
23705
237061999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
23707
23708	* configure.in
23709	Added japanese to ALL_LINGUAS.
23710	Fix for Linux on Alpha.
23711
237121999-09-07  Alexander Larsson  <alla@lysator.liu.se>
23713
23714	* app/create_object.c (create_object_button_press):
23715	Always initialize tool->obj. Otherwise we store a null
23716	in the undo Change.
23717
23718	* lib/text.c:
23719	Set linestyle before drawing cursor.
23720	Fix undo of backwards delete.
23721
237221999-09-05  James Henstridge  <james@daa.com.au>
23723
23724	* dia.spec: updated spec file to distribute $(prefix)/share/dia.
23725
23726	* app/render_svg.c (draw_image): some fixes so that the appropriate
23727	style attributes are set.  Before it was setting line styles on
23728	fill_* functions.  Now it only does this for the draw_* variants.
23729
23730	* app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
23731	variable so that custom shapes can be loaded.
23732
23733	* shapes/: new directory for custom shapes.  The Circuit sheet has
23734	been moved here.
23735
237361999-09-02  James Henstridge  <james@daa.com.au>
23737
23738	* TODO: removed a few todo items that have been implemented.
23739
23740	* app/interface.c (create_sheets): enabled the popup page menu to the
23741	notebook.  This can make it easier to select different sheets.
23742
23743	* object/custom/Circuit/: added diode, zener diode, ground point and
23744	operational amplifier shapes.
23745
23746	* objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
23747	if you want the output.
23748
23749	* objects/custom/shape_info.c (parse_path): same here.
23750
23751	* objects/custom/load_sheet.c (load_with_readdir): don't print so
23752	much debugging output.  To get the previous level of output, define
23753	DEBUG_CUSTOM.
23754
23755	* objects/custom/shape_info.c (parse_svg_node): polygons were being
23756	recorded as polylines in the ShapeInfo structure.
23757
23758	* objects/custom/README: some notes on writing new custom shapes.
23759
237601999-09-01  James Henstridge  <james@daa.com.au>
23761
23762	* objects/custom/Circuit/hinductor.*:
23763	* objects/custom/Circuit/vinductor.*: added inductor shapes that
23764	also test out the bezier curve and SVG path support.
23765
23766	* objects/custom/custom_object.c (custom_draw): added support for
23767	drawing bezier paths and filled shapes.
23768
23769	* objects/custom/shape_info.c (parse_path): new function to parse
23770	SVG path elements.  It does not do quadratic beziers or elliptic
23771	arcs though.  Only moves, lines and cubic beziers.
23772	(*): added support for paths.
23773
237741999-08-31  James Henstridge  <james@daa.com.au>
23775
23776	* objects/sybase/ltm.c (render_to_store): use the newer bezier API.
23777
23778	* app/render_svg.c (draw_bezier, fill_bezier): updated renderer
23779	interface
23780
23781	* app/render_eps.c (draw_bezier, fill_bezier): updated renderer
23782	interface
23783
23784	* app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
23785	interface.
23786
23787	* lib/render_store.[ch]: use newer bezier functions.
23788
23789	* lib/render.h: changed the bezier drawing functions to use an array
23790	of BezPoint structures instead of normal Point structures to allow
23791	lineto's mixed in with the curveto's.
23792
23793	* objects/custom/Circuit/pnp.*: added pnp transistor shape.
23794
23795	* objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
23796	xpm images for different shapes to Makefile.
23797
23798	* objects/custom/custom_object.c (custom_object_new): set the icon
23799	for the sheet button if there is one.  Otherwise fall back on the
23800	default custom object icon.
23801
23802	* objects/custom/shape_info.c (load_shape_info): read the sheet
23803	icon name from the shape file.
23804
23805	* app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
23806	check the pixmap_file field for the name of a pixmap file to load
23807	for the tool.
23808
23809	* lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
23810	at the end of the structure, and it isn't used if the pixmap field
23811	is non NULL, so it should not break binary compatibility.
23812
23813	* objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
23814	added support for the use of an index.sheet file so you can specify
23815	the ordering of the shapes in the sheet, and also internationalise
23816	the sheet name and actually be able to give a description.  The old
23817	readdir based sheet loading code acts as a fallback if an index.sheet
23818	file can not be found.
23819
23820	* objects/custom/custom_util.[ch]: new file containing useful routines
23821	needed by the custom object code.  Currently only contains a simple
23822	routine for resolving relative paths.
23823
23824	* objects/custom/custom_object.c (custom_draw): fixed problem with
23825	drawing rectangles if the shape has been flipped.
23826
238271999-08-30  James Henstridge  <james@daa.com.au>
23828
23829	* objects/custom/custom_object.c (custom_get_object_menu): allow
23830	flipping of custom shapes.  This uses the miggle click object
23831	menu.
23832
23833	* objects/custom/Circuit/npn.shape: fix aspect ratio.
23834
23835	* objects/custom/custom_object.c (custom_update_data): honour the
23836	aspect ratio constraints.
23837
23838	* objects/custom/shape_info.c (load_shape_info): updated aspect ratio
23839	tag parsing, so you can specify a free, fixed or a range for aspect
23840	ratios for the shape.
23841
238421999-08-29  James Henstridge  <james@daa.com.au>
23843
23844	* objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
23845	up shape namespace tag.
23846
23847	* objects/custom/shape_info.c (load_shape_info): check xml:lang
23848	attribute on <description> elements to support i18n for custom
23849	shape descriptions.
23850	Also changed the shape namespace for custom shapes to something
23851	a little more sensible.
23852
23853	* lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
23854
23855	* lib/intl.c: new file containing some functions for i18n stuff.
23856
23857	* app/layer_dialog.c (create_button_box): fixed a warning.
23858
23859	* objects/custom/custom_object.c: use current line style.  Save dash
23860	length.
23861
23862	* objects/flowchart/diamond.c: use current line style.  Save dash
23863	length.
23864
23865	* objects/flowchart/parallelogram.c: use current line style.  Save
23866	dash length.
23867
23868	* objects/flowchart/ellipse.c: use current line style.  Save dash
23869	length.
23870
23871	* objects/flowchart/box.c: use current line style.  Save dash length.
23872
23873	* objects/standard/ellipse.c: make ellipse use current line style.
23874
23875	* objects/standard/box.c: use the line style set in the toolbox for
23876	new boxes, and remember the dash length.
23877
23878	* app/commands.c (view_toggle_rulers_callback): fix reshowing of
23879	rulers.
23880
238811999-08-24  James Henstridge  <james@daa.com.au>
23882
23883	* objects/flowchart/ellipse.c (ellipse_update_data): made some changes
23884	to try to stop ellipse to get infinite width/height when we resize,
23885	while trying to keep the text inside the ellipse.
23886
23887	* objects/flowchart/box.c, objects/flowchart/parallelogram.c,
23888	* objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
23889	resizing behaviour, so that you can't push objects round the screen
23890	with the resize handles.
23891
23892	* app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
23893	get the OK buttons in the dialogs to take default clicks.
23894
23895	* objects/custom/custom_object.c: added code so that resizing the
23896	shape does not end up pushing it round the screen.
23897
238981999-08-23  Alexander Larsson  <alla@lysator.liu.se>
23899
23900        * app/display.[ch]:
23901	Generate rectangle with the union of the damaged regions.
23902	This is used to optimize the grid paint and the object rendering.
23903	display_render_pixmap passes this info to grid_draw() and data_render().
23904
23905	* app/grid.[ch]:
23906	grid_draw doesn't draw grid lines outside of damaged rectangle.
23907	Sets dashlength when drawing non-solid grid.
23908
23909	* lib/diagramdata.[ch]:
23910	data_render() and layer_render() takes an optional damaged rectangle
23911	argument. No objects not intersecting this are drawn.
23912
23913	* app/diagram.c:
23914	Fix warning.
23915	Call data_render with NULL update rectangle.
23916
239171999-08-23  James Henstridge  <james@daa.com.au>
23918
23919	* objects/custom/custom_object.c (custom_update_data): if the aspect
23920	ratio is fixed, make sure the shape is not distorted.
23921
23922	* object/custom/shape_info.h, objects/custom/shape_info.c: notice if
23923	a <fixaspectratio/> tag is given in the shape file.
23924
23925	* objects/custom/shape_info.[ch], objects/custom/custom_object.c:
23926	added support for stroke-width, stroke and fill CSS attributes
23927	specified in style attributes of the SVG elements.  The line width
23928	is relative to the user specified line width.  The stroke and fill
23929	attributes can only be used to swap the foreground/background
23930	colours.
23931
23932	* lib/widgets.c (dia_line_style_selector_set_linestyle): set the
23933	sensitivity on the dash length selector when this function is called.
23934
23935	* objects/standard/arc.c: same.  Also handle dash length.
23936	* objects/standard/zigzagline.c: same.
23937	* objects/standard/polyline.c: same.  Also handle dash length.
23938	* objects/standard/line.c: use default arrow/line styles.
23939
23940	* app/interface.c: added callbacks to set the default attributes.
23941
23942	* lib/attributes.c: added implementations of these functions.
23943
23944	* lib/attributes.h: added extra prototypes for the new line properties
23945	area in the toolbox.
23946
23947	* app/interface.c (create_lineprops_area): added line properties
23948	area to bottom of toolbox.
23949
23950	* app/lineprops_area.h: a header exporting a few routines of the
23951	line properties area widgets.
23952
23953	* app/lineprops_area.c: new file containing a selector for arrows
23954	and line styles to go in the main toolbox.
23955
239561999-08-22  Alexander Larsson  <alla@lysator.liu.se>
23957
23958	* HACKING:
23959	Update Gtk+ 1.0.5 comment to 1.2.0.
23960
23961	* INSTALL:
23962	Demand libtool 1.3
23963
23964	* acconfig.h:
23965	Add HAVE_LIBPOPT
23966
23967	* configure.in:
23968	Make sure we don't propagate -ldl and -lpopt to all LIBS
23969	by adding new var APP_LIBS that only app/dia links with.
23970
23971	* app/Makefile.am:
23972	Update run_dia.sh to load custom and flowchart objects.
23973
23974	* objects/ER/Makefile.am:
23975	* objects/FS/Makefile.am:
23976	* objects/UML/Makefile.am:
23977	* objects/network/Makefile.am:
23978	* objects/standard/Makefile.am:
23979	* objects/sybase/Makefile.am:
23980	Don't build versioned libs.
23981
239821999-08-22  James Henstridge  <james@daa.com.au>
23983
23984	* configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
23985	list.
23986
23987	* objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
23988	should actually work a bit now.
23989
23990	* objects/custom/Circuit/*: a test sheet for the custom shape code.
23991	It is a small collection of circuit elements.
23992
23993	* objects/custom/shape_info.c: fixed up loading of polylines and
23994	polygons.  Before it was removing negative signs :(
23995
23996	* objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
23997	placeholder was here before.  I still need to work out how to set
23998	icons for individual custom shapes.
23999
24000	* objects/custom/custom.c: added code to load the shapes into sheets
24001	properly.  The shape files should be arranged into directories, and
24002	each directory represents a different sheet in the toolbox.  This
24003	will make it very easy to distribute a collection of dia shapes as
24004	a tarball.  I still need to work out internationalisation, and maybe
24005	also shape ordering in the sheet.
24006
24007	* objects/custom/custom_object.c: fixed up dialogs for these objects.
24008	(custom_create): fix for objects without text areas.
24009
24010	* objects/custom/shape_info.h, objects/custom/custom_object.c: loading
24011	and saving of custom object works correctly now.
24012
240131999-08-21  James Henstridge  <james@daa.com.au>
24014
24015	* objects/flowchart/ellipse.c:
24016	* objects/flowchart/diamond.c:
24017	* objects/flowchart/parallelogram.c:
24018	* objects/flowchart/box.c: Fixed up a few bugs in these objects when
24019	copying or loading these object types.  Not all the connection
24020	points would be initialised correctly.
24021
24022	* objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
24023	similar here.
24024
24025	* objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
24026	build a versioned library.  It will only ever be dlopen'd, so this
24027	is not a problem.
24028
24029	* objects/custom/custom_object.c (custom_distance_from): allow
24030	selecting the object by clicking on the text.  This fixes problems
24031	where the text box is outside the graphic.
24032
24033	* objects/custom/shape_info.c (load_shape_info): fixed up reading
24034	of connections points.  It should be possible to add connections
24035	to custom objects now.
24036
24037	* objects/custom/custom_object.c (custom_update_data): fixed resizing
24038	due to changes to text.
24039
24040	* configure.in: added extra makefiles.
24041
24042	* objects/custom/shape_info.[ch]:
24043	* objects/custom/custom_object.c:
24044	* objects/custom/custom.c: the starts of custom shape support in dia.
24045	This is not built by default at the moment, since it is not quite
24046	complete.  When it is, it will let you create more shapes for dia
24047	without writing a line of C.  Its implementation includes buzzwords
24048	such as XML and SVG, so it must be good :)
24049
240501999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
24051
24052	* app/app_procs.c (app_exit): Use button labels "Quit" and
24053	"Cancel" instead of "Yes" and "No".
24054	Set default action to "Cancel" instead of "Quit".
24055
240561999-08-19  James Henstridge  <james@daa.com.au>
24057
24058	* objects/flowchart/flowchart.c: added ellipse object.
24059
24060	* objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
24061
240621999-08-18  James Henstridge  <james@daa.com.au>d
24063
24064	* app/color_area.c (color_area_edit): small fix to prevent dia from
24065	segfaulting when you try to change the default foreground/background.
24066
240671999-08-17  Alexander Larsson  <alla@lysator.liu.se>
24068
24069	* app/diagram.[ch] (diagram_redraw_all):
24070	Added function that redraws all diagrams.
24071
24072	* app/preferences.c (prefs_apply):
24073	Call diagram_redraw_all when prefs are changed.
24074
24075	* app/render_svg.c:
24076	Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
24077	older libxml's, and the old version works good enought here.
24078
240791999-08-17  James Henstridge  <james@daa.com.au>
24080
24081	* lib/widgets.c: changed handlers that were connected to the GtkButton
24082	"pressed" signal to connect to the "clicked" signal.  This removes the
24083	problem where dialogs are inactive until you click a mouse button
24084	after using a colour selector.
24085
24086	* configure.in: added extra makefiles to AC_OUTPUT list.
24087
24088	* objects/Makefile.am (SUBDIRS): added flowchart module
24089
24090	* objects/flowchart/*: a collection of shapes for use in flowcharts.
24091
24092	* app/color_area.c (color_area_events): similar here.
24093
24094	* app/linewidth_area.c (linewidth_area_events): sometimes a configure
24095	event is recieved with event->width == 0, which causes a warning if we
24096	try to create a pixmap of that width.
24097
24098	* app/preferences.c, app/preferences.h, app/grid.c: added code to
24099	allow you to configure the colour of the grid, and also lets you
24100	set the grid to use dotted lines instead of solid ones.
24101
24102	* app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
24103	app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
24104
24105	* app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
24106	export filter.  It is not quite complete, but for most shapes it
24107	works as expected.  Fonts still need a bit of work.
24108
241091999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
24110
24111	* configure.in: Added "en_GB" to ALL_LINGUAS.
24112
241131999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
24114
24115	* menus.c
24116	Added Undo and Redo to GNOME menus.
24117
24118	* objects/ER/attribute.c:
24119	* objects/ER/entity.c:
24120	* objects/ER/participation.c:
24121	* objects/ER/relationship.c:
24122	Added get/set_state functions.
24123
24124	* objects/ER/participation.c:
24125	Added add/delete segment.
24126
24127	* po/sv.po
24128	Updated Swedish translation.
24129
241301999-07-25  Alexander Larsson  <alla@lysator.liu.se>
24131
24132        * app/preferences.[hc]:
24133	Added undo_depth pref.
24134
24135	* app/undo.[ch]:
24136	Never grow stack larger than pref.undo_depth.
24137	undo_depth == 0 means unlimited.
24138	Converted printfs to conditionally compiled DEBUG_PRINTFs.
24139
241401999-07-25  Alexander Larsson  <alla@lysator.liu.se>
24141
24142        * app/diagram.c:
24143	* app/group.c:
24144	* lib/object.h:
24145	* lib/render_object.c:
24146	* objects/ER/attribute.c:
24147	* objects/ER/entity.c:
24148	* objects/ER/participation.c:
24149	* objects/ER/relationship.c:
24150	* objects/FS/flow-ortho.c:
24151	* objects/FS/flow-poly.c:
24152	* objects/FS/flow.c:
24153	* objects/FS/function.c:
24154	* objects/UML/actor.c:
24155	* objects/UML/association.c:
24156	* objects/UML/class.c:
24157	* objects/UML/classicon.c:
24158	* objects/UML/component.c:
24159	* objects/UML/constraint.c:
24160	* objects/UML/dependency.c:
24161	* objects/UML/generalization.c:
24162	* objects/UML/implements.c:
24163	* objects/UML/large_package.c:
24164	* objects/UML/lifeline.c:
24165	* objects/UML/message.c:
24166	* objects/UML/note.c:
24167	* objects/UML/object.c:
24168	* objects/UML/realizes.c:
24169	* objects/UML/small_package.c:
24170	* objects/UML/state.c:
24171	* objects/UML/usecase.c:
24172	* objects/network/bus.c:
24173	* objects/standard/arc.c:
24174	* objects/standard/box.c:
24175	* objects/standard/ellipse.c:
24176	* objects/standard/image.c:
24177	* objects/standard/line.c:
24178	* objects/standard/polyline.c:
24179	* objects/standard/textobj.c:
24180	* objects/standard/zigzagline.c:
24181	Removed all traces of is_empty(). It doesn't work in an
24182	Undo/Redo world.
24183
241841999-07-25  Alexander Larsson  <alla@lysator.liu.se>
24185
24186        * app/diagram.c:
24187	* app/group.[ch]:
24188	* app/undo.[ch]:
24189	Undoable grouping and ungrouping.
24190
24191	* app/layer_dialog.c:
24192	* lib/diagramdata.[ch]:
24193	Undoable layer ops.
24194
24195	* app/modify_tool.c:
24196	Undoable unconnect on handle move.
24197
24198	* lib/orth_conn.[ch]:
24199	Working undoable add/remove segment.
24200	Removed endpoint_handles from OrthConn, renamed
24201	midpoint_handles to handles and put the endpoint
24202	handles there.
24203
24204	* objects/standard/zigzagline.c:
24205	* objects/ER/participation.c:
24206	* objects/UML/association.c:
24207	* objects/UML/dependency.c:
24208	* objects/UML/generalization.c:
24209	* objects/UML/realizes.c:
24210	Update for the changes in OrthConn
24211
242121999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
24213
24214	* configure.in: Added "de" to ALL_LINGUAS.
24215
242161999-07-17  Alexander Larsson  <alla@lysator.liu.se>
24217
24218	* dia.1:
24219	Fixed typo.
24220
24221	* app/display.c:
24222	* po/da.po:
24223	* po/fr.po:
24224	* po/hu.po:
24225	* po/no.po:
24226	* po/pl.po:
24227	* po/sv.po:
24228	Don't have the <Display> etc part of the menu strings
24229	i18n:ed. Patch from Fabrice.Bellet@imag.fr.
24230
24231	* app/diagram.c:
24232	Don't have the <Display> etc part of the menu strings
24233	i18n:ed. Patch from Fabrice.Bellet@imag.fr.
24234	Don't remove is_empty() objects, that don't work with undo.
24235
24236	* lib/objchange.[ch]:
24237	New files.
24238	Definition of ObjectChange. This is essentially an Change
24239	exported to the object libs. It encapsulates a change made
24240	to an objects internals. It can be applied, reverted and freed.
24241	There are also utility functions for doing ObjectChanges that
24242	only get/set the whole state of an object to store the change.
24243	This cannot be used when the object change deletes or adds a
24244	object which has references from other objects, eg. Handles which
24245	might be connected.
24246
24247	* lib/Makefile.am:
24248	Added objchange.c and objchange.h.
24249
24250	* lib/dia_image.c:
24251	Return NULL when loading fails.
24252
24253	* lib/diamenu.h:
24254	Menu callbacks return an ObjectChange.
24255
24256	* lib/dummy_dep.h:
24257	Reference objchange.o
24258
24259	* lib/focus.h:
24260	Key events return ObjectChange if they modify the object.
24261
24262
24263	* lib/object.h:
24264	Added object_add_handle_at() function.
24265	Apply properties returns an ObjectChange.
24266	Remove ObjectState and the get/set state functions, these
24267	don't always work. Use the new ObjectChange instead.
24268
24269	* lib/object.c:
24270	Added object_add_handle_at() function implementation.
24271
24272	* lib/orth_conn.[ch]:
24273	Use ObjectChange. Not finished yet.
24274	Removed get/set/free state functions
24275
24276	* lib/poly_conn.[ch]:
24277	Use ObjectChange.
24278	Don't remove segments that are small.
24279	Removed get/set/free state functions
24280
24281	* lib/text.[ch]:
24282	Use ObjectChange.
24283	Added functions to get/set all text attributes.
24284
24285	* objects/standard/arc.c:
24286	* objects/standard/box.c:
24287	* objects/standard/ellipse.c:
24288	* objects/standard/image.c:
24289	* objects/standard/line.c:
24290	* objects/standard/polyline.c:
24291	* objects/standard/textobj.c:
24292	* objects/standard/zigzagline.c:
24293	Use ObjectChange.
24294	fixed bug in image_set_state.
24295	zigzagline.c not finished yet.
24296
24297	* app/disp_callbacks.c:
24298	Use ObjectChange that are returned from menu callbacks and
24299	key_events for undo.
24300
24301	* app/properties.c:
24302	Use ObjectChange that are returned from properties apply
24303	for undo.
24304
24305	* app/undo.c:
24306	* app/undo.h:
24307	New undo type: ObjectChangeChange. This wraps a change to the
24308	internals of an object (and ObjectChange) in code that does
24309	app specific stuff (object_add_updates etc.)
24310
243111999-07-11  Alexander Larsson  <alla@lysator.liu.se>
24312
24313	* lib/orth_conn.[ch]:
24314	Added code for add/delete segment.
24315
24316	* objects/standard/zigzagline.c:
24317	Use the new orth_conn code.
24318
24319
243201999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
24321
24322	* objects/FS/Makefile.am
24323	Removed fs.h from sources.
24324
24325	* Makefile.am
24326	* dia.1
24327	Added man page.
24328
243291999-07-07  Alexander Larsson  <alla@lysator.liu.se>
24330
24331	* app/disp_callbacks.c (ddisplay_canvas_events):
24332	Fix for bug. Every other arrow-key press got lost.
24333	patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
24334
24335	* INSTALL:
24336	change automake.sh to autogen.sh
24337
243381999-06-24  Alexander Larsson  <alla@lysator.liu.se>
24339
24340	* app/diagram.c:
24341	Don't remove 'empty' objects.
24342	This violent destruction of objects won't work
24343	with the new undo framework.
24344
24345	* app/disp_callbacks.c:
24346	Save undo info for object menu calls and key_events.
24347
24348	* app/properties.c:
24349	Save undo info on properties apply.
24350
24351	* lib/dia_image.[ch]:
24352	Add refcounting for images.
24353
24354	* app/render_eps.c:
24355	* app/render_gdk.c:
24356	* lib/render.h:
24357	DiaImage * -> DiaImage
24358
24359	* app/undo.[ch]:
24360	Add undo functions for object state changes.
24361
24362	* lib/focus.h:
24363	* lib/text.c:
24364	change of semntics for focus->key_event.
24365	Now returns TRUE if the object recieving the event
24366	was changed.
24367
24368	* lib/object.h:
24369	Comment changes.
24370
24371	* lib/orth_conn.[ch]:
24372	Don't automatically create and delete segments when
24373	handles are moved. This is incompatible with undo.
24374	Added state get, set and free functions.
24375
24376	* lib/orth_conn.[ch]:
24377	Added state get, set and free functions.
24378
24379	* objects/UML/object.c:
24380	* objects/UML/uml.c:
24381	Fixed typo "UML - Objet" -> "UML - Object".
24382	Saved old for backwards compatibility.
24383
24384	* objects/standard/arc.c:
24385	* objects/standard/box.c:
24386	* objects/standard/ellipse.c:
24387	* objects/standard/image.c:
24388	* objects/standard/line.c:
24389	* objects/standard/polyline.c:
24390	* objects/standard/textobj.c:
24391	* objects/standard/zigzagline.c:
24392	Added get/set state functions.
24393	Textobj has a redo crash-bug.
24394	Zigzagline needs object menus to add segments.
24395
24396
243971999-06-20  Alexander Larsson  <alla@lysator.liu.se>
24398
24399	* app/render_eps.c (set_dashlength):
24400	Don't generate eps files with zero dash-length.
24401
244021999-06-16  Alexander Larsson  <alla@lysator.liu.se>
24403
24404	* app/commands.c:
24405	* app/create_object.c:
24406	* app/undo.[ch]:
24407	Finished undo for create and paste.
24408
24409	* lib/object.h:
24410	Started properties undo.
24411
244121999-06-14  Alexander Larsson  <alla@lysator.liu.se>
24413
24414	* TODO:
24415	Added resizeable groups.
24416
24417	* app/app_procs.c:
24418	Removed unused variable.
24419
24420	* app/commands.c:
24421	* app/undo.[ch]:
24422	Undo/redo for cut/delete done.
24423
24424	* app/create_object.c:
24425	* app/modify_tool.c:
24426	* lib/diagramdata.[ch]:
24427	* app/diagram.[ch]:
24428	renamed diagram_add_selected -> diagram_select
24429	renamed diagram_remove_selected -> diagram_unselect
24430
24431	* app/properties.[ch]:
24432	Added properties_hide_if_shown() function.
24433
244341999-06-13  Alexander Larsson  <alla@lysator.liu.se>
24435
24436	* app/undo.[ch]:
24437	* app/Makefile.am:
24438	Undo functions.
24439
24440	* app/commands.[ch]
24441	* app/modify_tool.[ch]
24442	* app/object_ops.[ch]
24443	* app/connectionpoint_ops.c
24444	* app/menus.c
24445	Use undo functions.
24446	WARNING: Not finished. Will break.
24447	Finished: move object, move handle.
24448
24449	* app/diagram.[ch]
24450	Added diagram_selected_break_external() function.
24451	It removes all connections between selected objects
24452	and non-selected.
24453	Add undo stack to Diagram.
24454
24455	* lib/diagramdata.[ch]
24456	Added layer_remove_objects() function
24457
244581999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
24459
24460	* objects/FS/Makefile.am
24461	* objects/sybase/Makefile.am
24462	Now uses GNOME_CFLAGS.
24463
24464	* app/app_procs.c
24465	Now compiles with GNOME even if popt.h isn't available.
24466
244671999-06-10  Alexander Larsson  <alla@lysator.liu.se>
24468
24469	* configure.in
24470	* objects/Makefile.am
24471	* objects/sybase/*
24472	First version of sybase objects from
24473	Brian Bruns <camber@umcc.ais.org>
24474
244751999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
24476
24477	* configure.in
24478	Added fr to ALL_LINGUAS
24479
244801999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
24481
24482	* configure.in
24483	* app/app_procs.c
24484	Popt-code is activated if popt is available.
24485
244861999-06-08  Alexander Larsson  <alla@lysator.liu.se>
24487
24488        This is a patch from David Thompson <dcthomp@mail.utexas.edu>
24489
24490	* lib/orth_conn.[ch]:
24491	Added orthconn_get_middle_handle()
24492
24493	* lib/text.[ch]:
24494	Added text_set_cursor_at_end()
24495
24496	* objects/FS/*
24497	Added first version of functions structure diagrams.
24498
244991999-05-24  Alexander Larsson  <alla@lysator.liu.se>
24500
24501	* app/modify_tool.c:
24502	Include math.h to remove warning.
24503
24504	* app/commands.c (dialogs_properties_callback):
24505	Bring up correct properties dialog when selected
24506	from menu.
24507	From Dan Cohn <dan@internap.com>
24508
245091999-05-20  Alexander Larsson  <alla@lysator.liu.se>
24510
24511	Patch from Lars R. Clausen
24512
24513	* app/modify_tool.c:
24514	Changed abs to fabs.
24515
245161999-05-19  Alexander Larsson  <alla@lysator.liu.se>
24517
24518	* INSTALL:
24519	* configure.in:
24520	Require Gtk+ 1.2.0
24521
245221999-05-18  Alexander Larsson  <alla@lysator.liu.se>
24523
24524	Patches from Dan Cohn <dan@internap.com>
24525
24526	* app/commands.[ch]:
24527	* app/display.[ch]:
24528	* app/menus.c:
24529	* app/preferences.[ch]:
24530	Implements ability to turn on/off connection points in
24531	current drawing and in global prefs.
24532
245331999-05-18  Alexander Larsson  <alla@lysator.liu.se>
24534
24535	* lib/widgets.c (dia_line_style_selector_init):
24536	Fixed warnings.
24537
24538	* lib/diagramdata.c (layer_update_extents):
24539	Fixed uninitialized variable error.
24540
245411999-05-17  Alexander Larsson  <alla@lysator.liu.se>
24542
24543	* lib/dia_image.c:
24544	Made some changes to the gdk_imlib visual+colormap setup.
24545
245461999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24547
24548	* objects/UML/usecase.c:
24549       * objects/UML/lifeline.c
24550	Fine tunning.
24551
24552	* objects/UML/object.c:
24553	* objects/UML/message.c:
24554 	Changed font from Courier to Helvetica.
24555
24556	* lib/widgets.c:
24557	* lib/widgets.h:
24558 	Added dash lenth to the LineStyle widget.
24559
24560	* objects/standard/ellipse.c :
24561	* objects/standard/zigzagline.c:
24562	* objects/standard/line.c:
24563	Added dash lenght property.
24564
245651999-05-16  Alexander Larsson  <alla@lysator.liu.se>
24566
24567	* app/render_eps.c:
24568	First shot at latin1 encoded eps files.
24569	Works, but the eps files get a bit large.
24570
245711999-05-16  Alexander Larsson  <alla@lysator.liu.se>
24572
24573	* objects/UML/class.[ch]:
24574	* objects/UML/uml.[ch]:
24575	Reverted the line wrap changes.
24576	Some day this might return, but it has to be selectable and
24577	default to off for loaded objects, otherwise it breaks file
24578	format compatibility.
24579	There was also some complains about how it looked, so a making it
24580	selectable is good for this too.
24581
245821999-05-15  Alexander Larsson  <alla@lysator.liu.se>
24583
24584	* objects/UML/class.[ch]:
24585	Some indentation cleanup.
24586	Added wrap_lines variable to class.
24587	I'll fix the line break stuff tomorrow.
24588
245891999-05-13  Alexander Larsson  <alla@lysator.liu.se>
24590
24591	* lib/dummy_dep.h:
24592	Added ref to poly_conn.o.
24593
24594	* objects/standard/polyline.c (polyline_draw):
24595	* objects/standard/zigzagline.c (zigzagline_draw):
24596	* objects/standard/arc.c (arc_draw):
24597	* objects/standard/line.c (line_draw):
24598	Draw lines before arrows. This makes hollow arrows not
24599	show the line.
24600
246011999-05-13  Alexander Larsson  <alla@lysator.liu.se>
24602
24603	Changes from Kim Peasley <kpeasley@ior.com>
24604
24605	* objects/UML/class.c:
24606	Break lines with long operations so classes won't be
24607	so wide.
24608
24609	* objects/UML/uml.[ch]:
24610	Helperfunctions for the above.
24611
24612	* objects/UML/objects.c:
24613	Fix bug that duplicated the text in the attributes
24614	textwidget each time the object was selected.
24615
246161999-05-12  Alexander Larsson  <alla@lysator.liu.se>
24617
24618	Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
24619
24620	* app/modify_tool.c:
24621	* app/modify_tool.h:
24622	Control-drag is restricted to vertical/horizontal movement
24623
24624	* lib/object.h:
24625	ModifierKeys argument added to object_move_handle
24626
24627	* app/connectionpoint_ops.c:
24628	* app/create_object.c:
24629	* app/object_ops.c:
24630	* objects/ER/attribute.c:
24631	* objects/ER/entity.c:
24632	* objects/ER/participation.c:
24633	* objects/ER/relationship.c:
24634	* objects/UML/actor.c:
24635	* objects/UML/association.c:
24636	* objects/UML/class.c:
24637	* objects/UML/classicon.c:
24638	* objects/UML/component.c:
24639	* objects/UML/constraint.c:
24640	* objects/UML/dependency.c:
24641	* objects/UML/generalization.c:
24642	* objects/UML/implements.c:
24643	* objects/UML/large_package.c:
24644	* objects/UML/lifeline.c:
24645	* objects/UML/message.c:
24646	* objects/UML/note.c:
24647	* objects/UML/object.c:
24648	* objects/UML/realizes.c:
24649	* objects/UML/small_package.c:
24650	* objects/UML/state.c:
24651	* objects/UML/usecase.c:
24652	* objects/network/bus.c:
24653	* objects/standard/arc.c:
24654	* objects/standard/box.c:
24655	* objects/standard/ellipse.c:
24656	* objects/standard/image.c:
24657	* objects/standard/line.c:
24658	* objects/standard/polyline.c:
24659	* objects/standard/textobj.c:
24660	* objects/standard/zigzagline.c:
24661	Changed calls to move_handle to pass the new argument.
24662
24663	* lib/widgets.c:
24664	* lib/widgets.h:
24665	Default line width, color etc #define'd
24666
24667	* po/da.po:
24668	Updates of danish menus
24669
246701999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
24671
24672	* dia.xpm
24673	* dia_gnome_icon.png
24674	* dia_gnome_menu_icon.png
24675	* dia_logo.png
24676	Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
24677
24678	* app/commands.c
24679	About dialog shows dia_logo.png. Removed the GNOME about dialog.
24680
24681	* Makefile.am
24682	Distribute the icons and install logo in pkgdatadir.
24683
24684	* app/Makefile.am
24685	Added DATADIR-define.
24686
246871999-04-28  Alexander Larsson  <alla@lysator.liu.se>
24688	Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
24689
24690	* dia.spec:
24691	Updated version number, made setup quiet, can build from cvs,
24692	--enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
24693
24694	* lib/Makefile.am
24695	* objects/ER/Makefile.am
24696	* objects/UML/Makefile.am
24697	* objects/network/Makefile.am
24698	* objects/standard/Makefile.am
24699	now builds better with gnome
24700
24701	* objects/UML/class_dialog.c
24702	Fixed typo -> po files must be updated too!!
24703
247041999-04-28  Alexander Larsson  <alla@lysator.liu.se>
24705
24706	* lib/dummy_dep.h:
24707	Added reference so that widgets.o gets linked to the app.
24708
247091999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24710
24711	* objects/UML/classicon.c:
24712	Added object mode.
24713
24714	* objects/UML/actor.c:
24715	Changed position of 'snap-to-grid' so connection points are
24716	in the grid.
24717
247181999-04-22  Alexander Larsson  <alla@lysator.liu.se>
24719
24720	* objects/UML/classicon.c:
24721	Changed position of 'snap-to-grid'.
24722	By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
24723
247241999-04-22  Alexander Larsson  <alla@lysator.liu.se>
24725
24726	* objects/network/antenna.c
24727	* objects/network/flash.c
24728	* objects/network/hub.c
24729	* objects/network/modem.c
24730	* objects/network/modularswitch.c
24731	* objects/network/rj45plug.c
24732	* objects/network/scead-plug.c
24733	* objects/network/network.c
24734	* objects/network/Makefile.am
24735	* objects/network/pixmaps/antenna.xpm
24736	* objects/network/pixmaps/flash.xpm
24737	* objects/network/pixmaps/hub.xpm
24738	* objects/network/pixmaps/modem.xpm
24739	* objects/network/pixmaps/modularswitch.xpm
24740	* objects/network/pixmaps/rj45plug.xpm
24741	* objects/network/pixmaps/sceadplug.xpm
24742	* objects/network/pixmaps/Makefile.am
24743	Lots of new network objects from
24744	Roland Steinbach <roland@support-system.com>.
24745
247461999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24747
24748        * objects/UML/classicon.c:
24749        Fixed connection positions, saved type as int (it has 3 states),
24750        and other small fixes.
24751
247521999-04-14  Alexander Larsson  <alla@lysator.liu.se>
24753
24754	* app/preferences.c:
24755	* app/load_save.c:
24756	Added preference compress_save. It lets dia save uncompressed
24757	xml files.
24758
24759	* objects/UML/class.c:
24760	Fixed bug with size calculation on methods that had class scope.
24761
247621999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24763
24764	* objects/UML/usecase.c:
24765	Added collaboration mode
24766	Fixed connection points with text > ellipse bug and other
24767	small things
24768
24769	* objects/UML/state.c:
24770 	Fixed bug of bad position of text after being either end
24771	or begin, moved and returned to text
24772
247731999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24774
24775        * app/preferences.c: Add prototype declaration for prefs_apply.
24776
247771999-04-11  Alexander Larsson  <alla@lysator.liu.se>
24778
24779	* app/preferences.c:
24780	Added 'ok' button.
24781	Apply don't hide window.
24782
24783	* app/properties.c:
24784	Add 'ok' button.
24785
24786	* objects/UML/object.c:
24787	* objdcts/UML/state.c:
24788	Some data was not copied on copy.
24789
24790	This patch is from
24791	Ben Hochstedler <benh@eeyore.moneng.mei.com>
24792
247931999-04-09  Alexander Larsson  <alla@lysator.liu.se>
24794
24795	* app/Makefile.am:
24796	Changed link order between X and libxml.
24797	Some people had problems with an old libz in their
24798	x11 directory.
24799
248001999-04-09  Kjartan Maraas  <kmaraas@online.no>
24801
24802	* po/no.po: updated translation.
24803
248041999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
24805
24806	* lib/message.c (message_error):
24807	Fixed small error.
24808
24809	* app/commands.[ch]:
24810	* app/diagram.[ch]:
24811	Added begining of xfig importing
24812
248131999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24814
24815	* objects/UML/pixmaps/state.xpm:
24816 	* objects/UML/state.c:
24817 	New UML object state machine.
24818
24819	* objects/UML/uml.c:
24820	* objects/UML/Makefile.am:
24821	* objects/UML/pixmaps/Makefile.am:
24822	Added the state object.
24823
248241999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
24825
24826	* objects/UML/usecase.c:
24827	Added dialog to allow move text outside the ellipse.
24828
248291999-04-08  Alexander Larsson  <alla@lysator.liu.se>
24830
24831	* Released Dia 0.41
24832	Tag called DIA_0_41
24833
24834	* NEWS:
24835	Updates for 0.41.
24836
248371999-04-08  Alexander Larsson  <alla@lysator.liu.se>
24838
24839	* configure.in:
24840	Updated version number to 0.41
24841
24842	* po/*.po:
24843	Update po-files
24844
248451999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
24846
24847	* app/app_procs.c
24848	Changed errormessage for --export-to-ps. Removed call to
24849	g_log_set_always_fatal().
24850
24851	* app/diagram.c
24852	* app/disp_callbacks.c
24853	* app/load_save.c
24854	(i18n) Removed gettext from some debugmessages.
24855
24856	* app/menus.c
24857	Small fix in GNOME-menus. Added warning that will help track
24858	problems with translations.
24859
24860	* po/sv.po
24861	(i18n) Updated swedish translation.
24862
248631999-04-02  Alexander Larsson  <alla@lysator.liu.se>
24864
24865	* po/da.po:
24866	New updates
24867
248681999-04-01  Alexander Larsson  <alla@lysator.liu.se>
24869
24870	* po/da.po:
24871	* po/no.po:
24872	Some fixes.
24873
248741999-04-01  Alexander Larsson  <alla@lysator.liu.se>
24875
24876	* po/da.po:
24877	(i18n) Updated the danish translation.
24878	From Lars R. Clausen.
24879
248801999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
24881
24882	* app/menus.c
24883	(i18n) The popup menu is translated now.
24884
24885	* po/sv.po
24886	(i18n) Updated swedish translation.
24887
248881999-03-29  Alexander Larsson  <alla@lysator.liu.se>
24889
24890	* Released Dia 0.40
24891	Tag called DIA_0_40
24892
24893	* NEWS:
24894	Updated for new release
24895
248961999-03-29  Alexander Larsson  <alla@lysator.liu.se>
24897
24898	* objects/network/bus.c:
24899	Added initialization of properties dialog to NULL.
24900
24901	* app/commands.c (edit_cut_callback):
24902	Update menu sensitivity when cut object.
24903
24904	* app/modify_tool.c (click_select_object):
24905	* app/modify_tool.c (modify_button_release):
24906	Call diagram_update_menu_sensitivity() when
24907	selecting objects to update stuff that depends
24908	on selected/not selected.
24909
249101999-03-29  Alexander Larsson  <alla@lysator.liu.se>
24911
24912	* Makefile.am:
24913	Change order of subdir so that libintl.a builds.
24914	Now passed make distcheck.
24915
249161999-03-28  Alexander Larsson  <alla@lysator.liu.se>
24917
24918	* lib/font.c (init_x11_font):
24919	Stupid bug fixed.
24920
249211999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
24922
24923	* objects/UML/pixmaps/classicon.xpm:
24924	* objects/UML/classicon.c:
24925	* objects/UML/uml.c:
24926	Added the class stereotype icon objects.
24927
24928	* app/commands.c:
24929	Changed default ps extension from .ps to .eps.
24930
249311999-03-28  Alexander Larsson  <alla@lysator.liu.se>
24932
24933	* lib/Makefile.am:
24934	Added diamenu.h and intl.h
24935
24936	* lib/font.c:
24937	Stupid typo fix.
24938
24939	* objects/UML/pixmaps/Makefile.am:
24940	Added message.xpm
24941
24942	* objects/standard/pixmaps/Makefile.am:
24943	Added image.xpm
24944
249451999-03-28  Alexander Larsson  <alla@lysator.liu.se>
24946
24947	* lib/font.c:
24948	Use a scalable font before fixed when real font not found.
24949
24950	* app/commands.c:
24951	Removed warning.
24952
24953	* objects/standard/image.c:
24954	Better handling of loading/saving of images.
24955
24956	* INSTALL:
24957	Added some text about cvs, fonts and rewrote some parts.
24958
24959	* TODO:
24960	Updated with new stuff.
24961
24962	* configure.in:
24963	Bump up version number to 0.40.
24964
249651999-03-28  Alexander Larsson  <alla@lysator.liu.se>
24966
24967	* app/display.c:
24968	Moved diagram_add_ddisplay() call into new_display().
24969	Fixed new_display to not use uninitialized variables
24970	causing loaded files to show up as black (or garbage).
24971
24972	* app/commands.c:
24973	* app/app_procs.c:
24974	Removed unneeded calls to diagram_add_ddisplay().
24975
249761999-03-28  Alexander Larsson  <alla@lysator.liu.se>
24977
24978	* objects/UML/lifeline.c:
24979	Fixed bug in copy.
24980	Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
24981
24982	* objects/UML/message.c:
24983	Fixed bug loading messages with null-text.
24984	Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
24985
249861999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
24987
24988	* po/sv.po
24989	Updated swedish translation.
24990
24991	* app/menus.c
24992	(GNOME) Removed help-browser from help menu. Fixed typo.
24993
24994	* app/interface.c
24995	(GNOME) Accelerators in diagrams should work now.
24996
249971999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
24998
24999	* app/app_procs.c
25000	* app/commands.c
25001	* app/defaults.c
25002	* app/disp_callbacks.c
25003	* app/display.c
25004	* app/interface.c
25005	* app/menus.c
25006	* app/preferences.c
25007	* app/render_eps.c
25008	* lib/diagramdata.c
25009	* lib/font.c
25010	* lib/message.c
25011	* lib/widgets.c
25012	* objects/ER/*.c
25013	* objects/UML/*.c
25014	* objects/network/*.c
25015	* objects/standard/*.c
25016	* po/update_pofiles_in.sh
25017	* po/POFILES.in
25018	More i18n. All strings (expect rare debug messages) can be
25019	translated now. Moved intl.h from app to lib. Updated
25020	update_pofiles_in.sh to check all .c-files.
25021
250221999-03-23  Alexander Larsson  <alla@lysator.liu.se>
25023
25024	* app/disp_callbacks.c (ddisplay_canvas_events):
25025	Don't drop keys while num-lock, scroll-lock etc is on.
25026
250271999-03-22  Alexander Larsson  <alla@lysator.liu.se>
25028
25029	* app/render_eps.c (draw_image):
25030	Fixed exporting of images.
25031	Still not perfect, but not outright buggy.
25032
250331999-03-22  Alexander Larsson  <alla@lysator.liu.se>
25034
25035	* configure.in:
25036	* po/hu.po:
25037	Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
25038
25039	* app/Makefile.am:
25040	Added $* to the dia call in run_dia.sh
25041
250421999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
25043
25044	* lib/color.[ch]:
25045	Added color_equals() call.
25046
25047	* objects/standard/arc.c:
25048	* objects/standard/line.c:
25049	Don't save unneccesary data.
25050
25051	* objects/standard/box.c:
25052	* objects/standard/ellipse.c:
25053	* objects/standard/image.c:
25054	* objects/standard/polyline.c:
25055	* objects/standard/zigzagline.c:
25056	Share properties dialog.
25057	Don't save unneccesary data.
25058
250591999-03-22  Seth Alves  <alves@hungry.com>
25060
25061	* app/menus.c:
25062	* app/diagram.c:
25063	* app/display.c:
25064	small changes so that gnome menus aren't broken
25065
250661999-03-22  Alexander Larsson  <alla@lysator.liu.se>
25067
25068	* po/da.po:
25069	Added danish translation from lrclause@cs.uiuc.edu.
25070
25071	* po/POFILES.in:
25072	Updated file.
25073
25074	* po/update_pofiles_in.sh:
25075	Added script that updates POFILES.in.
25076	This should probably be run automatically from somewhere.
25077
250781999-03-19  Alexander Larsson  <alla@lysator.liu.se>
25079
25080	* app/diagram.[ch]:
25081	Added function diagram_update_menu_sensitivity() which
25082	sets the sensitivity of some menu items. This function
25083	is called at each diagram state change (from diagram_modified()).
25084	This is needed 	because otherwise the keyboard accelerators
25085	don't work correctly.
25086
25087	* app/display.[ch]:
25088	Changed display_set_menu_sensitivity() to display_update_menu_state().
25089	Moved lots of code to diagram_update_menu_sensitivity() in
25090	diagram.c. Optimized to only look up menu-items from path:s once.
25091
25092	* app/disp_callbacks.c:
25093	* app/interface.c:
25094	When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
25095	Need to set GDK_FOCUS_CHANGE_MASK.
25096
25097	* app/create_object.c:
25098	Call diagram_modified when an object has been created and
25099	selected so that the menu sensitivity is updated.
25100
25101	* app/menus.[ch]:
25102	removed menus_set_sensitive() and menus_set_state(). Exported
25103	renamed function menus_get_item_from_path().
25104
251051999-03-15  Alexander Larsson  <alla@lysator.liu.se>
25106
25107	* app/disp_callbacks.c:
25108	Show (empty) object menus on object that has none.
25109	Show title on object menus.
25110
25111	* app/display.c:
25112	Set zoom factor correctly when opening new displays.
25113	Better setting of scrollbars.
25114
25115	* app/grid.c:
25116	* app/menus.h:
25117	Some reformating cleanup.
25118
25119	* lib/diamenu.h:
25120	Added title to object menus.
25121
25122	* objects/*/*.c:
25123	Added object menu method (NULL-valued) to all objects.
25124
25125	* objects/standard/polyline.c:
25126	Added title to object menu.
25127
251281999-03-14  Alexander Larsson  <alla@lysator.liu.se>
25129
25130	* app/preferences.[ch]:
25131	New files. Implements the preferences dialog and
25132	loading/saving of ~/.diarc.
25133
25134	* app/Makefile.am:
25135	Added preferences.[ch].
25136
25137	* app/app_procs.c:
25138	Load preferences on startup.
25139
25140	* app/commands.[ch]:
25141	Added file_preferences_callback to show the preferences dialog.
25142
25143	* app/create_object.c:
25144	Update extents when creating object.
25145	Use the reset_tools_after_create preferences setting.
25146
25147	* app/display.c:
25148	Use preferences when creating new display.
25149
25150	* app/menus.c:
25151	Add preferences to menu.
25152
25153	* app/defaults.c:
25154	* app/layer_dialog.c:
25155	* app/properties.c:
25156	Don't allow shrinking of dialog.
25157	Add i18n of some strings.
25158
251591999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
25160        * po/no.po:
25161	Norwegian translation added.
25162
251631999-03-11  Alexander Larsson  <alla@lysator.liu.se>
25164
25165	* objects/standard/line.c:
25166	* objects/standard/arc.c:
25167	* objects/standard/polyline.c:
25168	* objects/standard/zigzagline.c:
25169	Loading of arrow data fixed.
25170
251711999-03-09  Alexander Larsson  <alla@lysator.liu.se>
25172
25173	* app/commands.c:
25174	Update extents when saving and exporting to postscript.
25175	Fixes a bug with postscript bounding-box being wrong.
25176
25177	* app/defaults.c:
25178	Changed border width from 5 to 2.
25179
25180	* app/group.c:
25181	Move grouped objects by the move-point of the first object.
25182	Fixes bug that made all objects in the group be off-grid
25183	when moving the group, even though all objects was on-grid.
25184
25185	* app/layer_dialog.c:
25186	Update extents when changing layer.
25187
251881999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25189
25190       * objects/UML/uml.c:
25191       * objects/UML/component.c:
25192       * objects/UML/pixmaps/component.xpm:
25193       Added the UML component object
25194
251951999-03-04  Seth Alves  <alves@hungry.com>
25196
25197	* objects/UML/generalization.c (generalization_create): avoid
25198	math on uninitialized genlz->text_width (NaN causes sigfpe)
25199
25200	* objects/UML/realizes.c (realizes_create): same
25201
25202	* objects/UML/dependency.c (dependency_create): same
25203
252041999-03-01  Seth Alves  <alves@hungry.com>
25205
25206	* app/display.c (ddisplay_active): don't fly a warning panel
25207	if ddisplay_active is called when no views are open.
25208
25209	* app/commands.c (set_default_file_selection_directory): set
25210	file selector's default directory if there is already
25211	a document open.
25212
252131999-02-28  Alexander Larsson  <alla@lysator.liu.se>
25214
25215	* INSTALL:
25216	New info about imlib requirements.
25217
25218	* Configure.in:
25219	Added lib/pixmaps/Makefile to created makefiles.
25220
25221	* app/app_procs.c:
25222	* app/commands.c:
25223	Change from obsoleted to newer gtk calls.
25224
25225	* load_save.c:
25226	Pass filename of the diagram when loading and saving.
25227	This creates better oportunities to handle filename saving.
25228
25229	* lib/object.h:
25230	Pass filenames to load and save methods.
25231
25232	* lib/dia_image.[ch]:
25233	Added dia_image_get_broken() call that returns a image which
25234	is used for 'broken' images.
25235
25236	* lib/pixmaps/.cvsignore:
25237	* lib/pixmaps/Makefile.am:
25238	* lib/pixmaps/broken.xpm:
25239	New files for the broken image bitmap.
25240
25241	* lib/widgets.c:
25242	Fixed bug with double destroyed filedialog.
25243
25244	* objects/*/*.c:
25245	Updated load and save prototypes to use the new filename argument.
25246
25247	* objects/image.c:
25248	Render broken image instead of line when got no image.
25249	Use the new filename in load and save to save (if possible)
25250	relative pathnames and to better try to find loaded images.
25251
252521999-02-28  Alexander Larsson  <alla@lysator.liu.se>
25253
25254	* TODO:
25255	Some updates to the todo file.
25256
25257	* app/menus.c:
25258	* app/display.c:
25259	Place over/place over => sent to back/bring to front.
25260	Added some keyboard shortcuts to menus.
25261
252621999-02-28  Alexander Larsson  <alla@lysator.liu.se>
25263
25264	* lib/dia_xml.c:
25265	Changed string saving/loading to a new method. This should
25266	be much better att handling &,<,> and whitespaces.
25267	Loading strings of the old kind is still supported for backwards
25268	compatibility.
25269
25270	* samples/ER-demo.dia:
25271	* samples/UML-demo.dia:
25272	Updated to use the new strings.
25273
25274	* app/load_save.c:
25275	statusbar modified update fix.
25276
252771999-02-27  Seth Alves  <alves@hungry.com>
25278
25279	* app/app_procs.c (app_init): added a --export-to-ps option
25280	which will cause dia to load a dia file and save it as ps
25281	and then exit.  this is a little bogus, because it still
25282	pops up a window.  this option only shows up if --enable-gnome
25283	is used
25284
25285	* app/display.c (display_set_menu_sensitivity): no Edit/Delete
25286	menu when built with --enable-gnome
25287
25288	* app/interface.c (create_display_shell): build status bar
25289	even if --enable-gnome is used
25290
25291	* app/menus.c: menu fixes for --enable-gnome
25292
25293	* app/commands.c (file_open_dialog_ok_callback): fixed up
25294	menus when --enable-gnome is used
25295	(file_export_to_eps_callback): set a default file name
25296	when dialog is created
25297
252981999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
25299
25300	* objects/UML/association.c (association_create):
25301	Fixed usage of not initialized variable.
25302	Pointed out by Seth Alves <alves@hungry.com>.
25303
253041999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
25305
25306	* configure.in:
25307	Fixed detection of gnome-xml.
25308	From Valtteri Vuorikoski <vuori@k.notcom.org>.
25309
25310	* app/app_procs.c:
25311	Fixed error detection on dlsym calls.
25312	From Valtteri Vuorikoski <vuori@k.notcom.org>.
25313
253141999-02-23  Alexander Larsson  <alla@lysator.liu.se>
25315
25316	* objects/UML/message.c (fill_in_dialog):
25317	Fixed warnings.
25318
253191999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
25320
25321	* objects/standard/zigzagline.c:
25322	* objects/standard/polyline.c:
25323	* objects/standard/line.c:
25324	* objects/standard/arc.c:
25325	* lib/widgets.h:
25326	* lib/arrows.h:
25327	* lib/widgets.c:
25328	Support for sizeable arrows.
25329
25330	* objects/standard/box.c:
25331	* objects/standard/ellipse.c:
25332	* objects/standard/image.c:
25333	Changed creation handle to lower-right.
25334	Transparent box/ellipse.
25335
25336	* objects/standard/image.c:
25337	Better layout of properties boxes.
25338
253391999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25340
25341	* objects/UML/message.c (fill_in_dialog):
25342	Fixed dialog fill in. Common dialog for all messages.
25343
25344	* objects/UML/object.c:
25345	Added multiple instance. Dialog related bugs fixed.
25346	Common dialog for all instances. Completed copy and destroy.
25347
25348	* objects/UML/lifeline.c (lifeline_load):
25349	Conn initialization bug fixed and few bad loading prevention flags.
25350	Common dialog for all lifeline objects.
25351
253521999-02-15  Alexander Larsson  <alla@lysator.liu.se>
25353
25354	* lib/dia_image.[ch]:
25355	More work on the DiaImage abstraction.
25356
25357	* app/app_procs.c:
25358	* app/render_eps.c:
25359	* app/render_gdk.c:
25360	* objects/standard/image.c:
25361	Use the new DiaImage calls.
25362
253631999-02-15  Alexander Larsson  <alla@lysator.liu.se>
25364
25365	* app/menus.c:
25366	* app/display.c:
25367	Reversed the meaning of align horizontal/vertical.
25368
253691999-02-15  Alexander Larsson  <alla@lysator.liu.se>
25370
25371	* app/load_save.c (diagram_load):
25372	Statusbar update fix.
25373
253741999-02-15  Alexander Larsson  <alla@lysator.liu.se>
25375
25376	* app/interface.c (create_display_shell):
25377	Fixed status bar size.
25378
253791999-02-15  Alexander Larsson  <alla@lysator.liu.se>
25380
25381	* lib/dia_image.[ch]:
25382	Added extern declaration for dia_image_release.
25383	Removed dia_image_draw, as it's not neseccary.
25384
253851999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25386
25387	* app/object_ops.c:
25388	* app/menus.c:
25389	Added equal distance alignment both vertical and horizontal.
25390
25391	* objects/UML/object.c:
25392	Added a couple of attributes to load/read that were missing.
25393
25394	* objects/UML/lifeline.c:
25395	Better handling of handles. Fixed another bug I forgot to add
25396	to my last patch.
25397
253981999-02-13  Alexander Larsson  <alla@lysator.liu.se>
25399
25400	Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
25401
25402	* lib/dia_image.[ch]:
25403	* lib/Makefile.am:
25404	New files. DiaImage wraps the GdkImlibImage.
25405
25406	* lib/render.h:
25407	* app/render_eps.c:
25408	* app/render_gdk.c:
25409	* lib/render_store.[ch]:
25410	* objects/standard/image.c:
25411	Use the new DiaImagetype.
25412
25413	* lib/widgets.c:
25414	Removed unused variable to eliminate  warning.
25415
254161999-02-11  Alexander Larsson  <alla@lysator.liu.se>
25417
25418	* objects/standard/box.c:
25419	Added rounded corners on the box object.
25420
25421	* lib/widgets.[ch]:
25422	Updated the DiaFileSelector widget.
25423
254241999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25425
25426	* objects/UML/object.c (objet_draw):
25427	Completed underlining of all object name lines.
25428
25429	* objects/UML/message.c (fill_in_dialog):
25430	Fixed a bug that filled incorrectly the message's dialog.
25431
25432	* objects/UML/lifeline.c (lifeline_load):
25433	Some cleanning and fixed a couple of bugs that caused
25434	crashes after reading diagrams with lifelines.
25435
25436	* lib/text.c:
25437	Added flags to prevent crash with void strings
25438
254391999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
25440	* app/display.[ch]:
25441	Added statusbar to the display widget. Currently shows the zoom
25442	factor and modified flag of the viewed diagram. The statusbar is
25443	updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
25444	This caused the following additions:
25445
25446	* app/diagram.[ch]:
25447	Added function diagram_set_modified. Calls
25448	ddisplay_update_statusbar for all displays showing the modified diagram.
25449	Changed diagram_modified to call diagram_set_modified.
25450
25451	* app/interface.c:
25452	Added the creation of the statusbar.
25453
25454	* app/load_save.c:
25455	diagram_save now calls diagram_set_modified instead of setting
25456	dia->modified. Needed to force call to display_update_statusbar
25457
25458	* app/commands.c:
25459	Changed the way view_show_all works. Now calls ddisplay_zoom
25460	instead of directly setting the zoom_factor, so the zoom factor is
25461	correctly shown in the statusbar.
25462
25463	* app/magnify.c:
25464	Fixed rubberband zoom to use ddisplay_zoom().
25465
254661999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
25467
25468	* app/app_procs.c
25469	Rudimentary GNOME session management.
25470
25471	* app/disp_callbacks.c
25472	* app/interface.c
25473	* app/menus.c
25474	* app/menus.h
25475	GNOME menus. Problems:
25476	Callbacks doesn't get user_data.
25477	Weird warnings when creating popup menus.
25478	menus_set_sensitive(), menus_set_state() doesn't work.
25479
254801999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
25481
25482	* configure.in:
25483	Add AM_PATH_GDK_IMLIB() call.
25484
25485	* app/Makefile.am:
25486	Add gdk_imlib to linking flags.
25487
25488	* app/app_procs.c:
25489	Init gdk_imlib.
25490	Print library-loading error messages on stdout too.
25491
25492	* app/interface.c:
25493	Add standard image to toolbox.
25494
25495	* app/render_eps.c:
25496	Set a more reasonable dot length.  Fixed
25497	missing initialization of dot length.
25498	Added draw_image methods.
25499
25500	* app/render_gdk.c (new_gdk_renderer):
25501	Dot a bit wider.  Looks good in normal mode now.
25502
25503	* objects/standard/image.c:
25504	* objects/standard/pixmaps/image.xpm:
25505	New files. Standard object for images.
25506
25507	* app/render_eps.c (set_linestyle):
25508	* app/render_gdk.c (set_linestyle):
25509	* lib/widgets.c (dia_line_style_selector_init):
25510	* lib/render.h:
25511	New line style DOTTED.
25512
25513	* lib/render.h:
25514	* lib/render_store.c:
25515	Change DrawImage call to use gdk_imlib.
25516
25517	* lib/widgets.[ch]:
25518	Added widgets for selecting files.
25519	Added dotted to the linestyle selector.
25520
255211999-02-06  Alexander Larsson  <alla@lysator.liu.se>
25522
25523	* objects/network/printer.c:
25524	* objects/network/network.c:
25525	* objects/network/pixmaps/printer.xpm:
25526	* objects/network/.cvsignore:
25527	* objects/network/Makefile.am:
25528	* objects/network/pixmaps/Makefile.am:
25529	New printer object in network.
25530	From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
25531
25532	* TODO:
25533	Added known XML bug.
25534
255351999-02-06  Alexander Larsson  <alla@lysator.liu.se>
25536
25537	* app/load_save.c:
25538	* lib/dia_xml.c:
25539	Reverted back from #include <gnome-xml/tree.h> to
25540	#include <tree.h> as this is fixed by the xml-config program.
25541	The former way broke for some people.
25542	Reported by blizzard@redhat.com.
25543
25544	* objects/UML/lifeline.c:
25545	* objects/UML/message.c:
25546	* objects/UML/object.c:
25547	Removed some warnings.
25548
255491999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25550
25551	* objects/UML/lifeline.c:
25552	Fixed connection points over the life line when the focus of
25553	control is not drawn.
25554
25555	* objects/UML/message.c:
25556	Now a recursive message can be freely resized using the handles.
25557
255581999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25559
25560	* objects/UML/lifeline.c:
25561 	Added connection points.
25562	Added properties dialog with the option to draw/hide focus of control
25563	box and destruction mark.
25564
25565	* objects/UML/object.c:
25566	Added properties dialog and stereotype, explicit state and attributes.
25567	It's also possible to mark the object as active.
25568
25569	* objects/UML/pixmaps/object.xpm:
25570	Cosmetic change.
25571
25572	* objects/UML/message.c:
25573	Added "recursive" message type (was not necessary to use OrthConn).
25574
255751999-02-02  Alexander Larsson  <alla@lysator.liu.se>
25576
25577	* objects/standard/arc.c:
25578	Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
25579
255801999-02-01  Alexander Larsson  <alla@lysator.liu.se>
25581
25582	Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
25583
25584	* app/load_save.c:
25585	* lib/dia_xml.c:
25586	Update xml includes to gnome-xml/*.h.
25587
25588	* objects/standard/arc.c:
25589	Only one property dialog per type.
25590	Fix arrows directions.
25591
25592	* objects/standard/box.c:
25593	* objects/standard/ellipse.c:
25594	* objects/standard/textobj.c
25595	Added default properties dialog.
25596
25597
255981999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
25599
25600	* objects/UML/Makefile.am:
25601	* objects/UML/uml.c:
25602	* objects/UML/lifeline.c:
25603	* objects/UML/object.c:
25604	* objects/UML/message.c:
25605	* objects/UML/pixmaps/lifeline.xpm:
25606	* objects/UML/pixmaps/object.xpm:
25607	* objects/UML/pixmaps/message.xpm:
25608	Added 3 new UML objects for dynamic modeling. To avoid internal
25609	conflicts, the name "objet" is used for object "object".
25610
25611	* lib/arrows.[ch]:
25612	Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
25613	UML messages.
25614
256151999-01-30  Alexander Larsson  <alla@lysator.liu.se>
25616
25617	* app/display.[ch]:
25618	* app/modify_tool.c:
25619	Added autoscrolling while doing rubber-band select.
25620	This patch from Matthias Köster
25621	(Matthias.Koester@Informatik.Uni-Oldenburg.DE)
25622
25623
256241999-01-28  Alexander Larsson  <alla@lysator.liu.se>
25625
25626	* app/defaults.[ch]:
25627	New files, deals with default properties dialog.
25628
25629	* lib/diamenu.h:
25630	New file. Contains definitions for the new object menu.
25631
25632	* lib/poly_conn.[ch]:
25633	New file. Base class for poly-line like objects.
25634
25635	* objects/standard/polyline.c:
25636	* objects/standard/pixmaps/polyline.xpm:
25637	New files. Polyline object.
25638
25639	* app/app_procs.c:
25640	Fixed bug with infinite loop when registering sheets.
25641
25642	* app/commands.c:
25643	Removed unneccesary stuff.
25644
25645	* app/disp_callbacks.c:
25646	Support for object menus.
25647
25648	* app/interface.c:
25649	Added polyline to toolbox.
25650	Added call to tool_options_dialog_show() when double clicking on
25651	tool.
25652
25653	* app/tool.[ch]:
25654	New function tool_options_dialog_show() for tool properties.
25655
25656	* lib/arrows.[ch]:
25657	Added ARROW_NONE.
25658
25659	* lib/object.h:
25660	Added ObjectType methods for handling object default dialogs.
25661	Added Object method for handling object_menu.
25662	Added unused methods to ObjectTypeOps for future binary
25663	compatibility.
25664
25665	* lib/widgets.[ch]:
25666	Added DiaArrowTypeSelector widget.
25667
25668	* objects/standard/arc.c:
25669	* objects/standard/zigzagline.c:
25670	Added support for default properties.
25671
25672	* objects/standard/line.c:
25673	Added support for default properties.
25674	Just use one properties dialog for all line objects. NOTE: This
25675	seems to have a bug. We're working on it.
25676
25677	* standard/standard.c:
25678	Add the polyline object.
25679
256801999-01-27  Alexander Larsson  <alla@lysator.liu.se>
25681
25682	* app/modify_tool.c:
25683	Commented out buggy transitive select function. It wasn't really
25684	meant to go into cvs.
25685
25686
256871999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
25688
25689	* autogen.sh:
25690	* acconfig.h:
25691	* configure.in:
25692	* Makefile.am:
25693	* app/Makefile.am:
25694	* po/POTFILES.in:
25695	* app/intl.h
25696	i18n-support.
25697
25698	* po/sv.po:
25699	Swedish translation. Not completed.
25700
25701	* configure.in:
25702	* acconfig.h:
25703	Added possibility to enable GNOME specific code with configure.
25704
25705	* configure.in:
25706	Added possibility to set debug level with configure.
25707
25708	* commands.[hc]:
25709	Added about dialog.
25710
25711	* app_procs.c
25712	* commands.c
25713	* interface.c
25714	* menus.c
25715	Added some GNOME specific code. Not ready for use.
25716
257171999-01-24  Alexander Larsson  <alla@lysator.liu.se>
25718
25719	* INSTALL:
25720	Added text about needing gtk 1.1.13 and gnome-xml.
25721
25722	* NEWS:
25723	Described changes since last version (0.20).
25724
25725	Released version 0.30, tagged DIA_0_30.
25726
257271999-01-22  Alexander Larsson  <alla@lysator.liu.se>
25728
25729	* app/magnify.c (magnify_button_release):
25730	Fixed a problem when zooming in on a very small box would
25731	not release the grabbed pointer-focus.
25732
257331999-01-21  Alexander Larsson  <alla@lysator.liu.se>
25734
25735	* app/load_save.c (diagram_load):
25736	Be somewhat more robust when loading files that
25737	are not diagrams.
25738
257391999-01-21  Alexander Larsson  <alla@lysator.liu.se>
25740
25741	* app/app_procs.c:
25742	* objects/ER/er.c:
25743	* objects/UML/uml.c:
25744	* objects/network/network.c:
25745	* objects/standard/standard.c:
25746	Added versioning of object libraries.
25747
25748	* app/create_object.c:
25749	Don't change tool when an object is created.
25750
25751	* objects/network/network.c:
25752
25753	* TODO:
25754	Update
25755
257561999-01-19  Alexander Larsson  <alla@lysator.liu.se>
25757
25758	* configure.in:
25759	Updated gtk requirement to Gtk+ 1.1.13.
25760
25761	* app/display.c:
25762	Always add one screenful of scrolling space on
25763	each side of a diagram window.
25764
257651999-01-19  Jeff Garzik  <jgarzik@pobox.com>
25766
25767	* autogen.sh:
25768	Tell automake to auto-install missing files.
25769
25770	* app/menus.c:
25771	Renamed deprecated Gtk+ function.
25772
257731999-01-16  Alexander Larsson  <alla@lysator.liu.se>
25774
25775	* Makefile.am:
25776	* configure.in:
25777	* samples/Makefile.am:
25778	* samples/ER-demo.dia:
25779	* samples/UML-demo.dia:
25780	Added samples directory.
25781	Added samples for ER and UML.
25782
25783	* app/commands.c:
25784	* app/disp_callbacks.c:
25785	* app/menus.c:
25786	Zoom is done by sqrt(2) instead of 2.
25787	Lots of more zoom options in the menu.
25788
25789	* objects/ER/relationship.c:
25790	Relationships have 8 connectionpoints instead of 4.
25791
25792	* objects/UML/class.c:
25793	UML class name font a bit smaller.
25794	Fixed stupid bug in the copy operation.
25795
25796	* app/display.c:
25797	Displays are opened at 500x400 instead of 256x256.
25798
25799	* app/load_save.c:
25800	Fixup of internal error message.
25801
25802	* app/color_area.c:
25803	* app/diagram.c:
25804	* app/modify_tool.c:
25805	* lib/object.c:
25806	Removed debug printf's.
25807
25808	* TODO (BUGS):
25809	Added new known bug.
25810
258111999-01-16  Alexander Larsson  <alla@lysator.liu.se>
25812
25813	* app/interface.c:
25814	* app/menus.c:
25815	Fixed so accelerator groups work in all windows.
25816	Updated to new gtk function names.
25817
25818	* TODO (BUGS):
25819	Removed fixed bug.
25820
25821	* app/display.c:
25822	Updated to new gtk function names.
25823	Set sensitivity of the align menu items.
25824
25825	* objects/ER/pixmaps/Makefile.am:
25826	* objects/UML/pixmaps/Makefile.am:
25827	* objects/network/pixmaps/Makefile.am:
25828	Fix so that make dist works.
25829
25830	* app/app_procs.c:
25831	* app/color_area.c:
25832	* app/commands.c:
25833	* app/diagram.c:
25834	* app/grid.c:
25835	* app/layer_dialog.c:
25836	* app/load_save.c:
25837	* app/object_ops.c:
25838	* app/properties.c:
25839	* lib/diagramdata.[ch]:
25840	* lib/message.c:
25841	* lib/objects/ER/attribute.c:
25842	* lib/objects/ER/entity.c:
25843	* lib/objects/ER/participation.c:
25844	* lib/objects/ER/relationship.c:
25845	* lib/objects/ER/.c:
25846	* objects/UML/actor.c:
25847	* objects/UML/association.c:
25848	* objects/UML/class_dialog.c:
25849	* objects/UML/dependency.c:
25850	* objects/UML/generalization.c:
25851	* objects/UML/large_package.c:
25852	* objects/UML/realizes.c:
25853	* objects/UML/.c:
25854	* objects/UML/.c:
25855	Updated to new gtk function names.
25856	Removed warnings.
25857
258581999-01-15  Alexander Larsson  <alla@lysator.liu.se>
25859
25860	* TODO:
25861	Update TODO.
25862
25863	* app/app_procs.c:
25864	Fixed loading of diagrams specified as arguments.
25865
25866	* objects/ER/attribute.c:
25867	* objects/ER/entity.c:
25868	* objects/ER/er.c:
25869	* objects/ER/participation.c:
25870	* objects/ER/relationship.c:
25871	Updated the ER objects.
25872
25873
258741999-01-14  Alexander Larsson  <alla@lysator.liu.se>
25875
25876	* configure.in:
25877	* app/Makefile.am:
25878	* objects/Makefile.am:
25879	* objects/ER/attribute.c:
25880	* objects/ER/entity.c:
25881	* objects/ER/er.c:
25882	* objects/ER/participation.c:
25883	* objects/ER/relationship.c:
25884	* objects/ER/pixmaps/Makefile.am:
25885	* objects/ER/pixmaps/attribute.xpm:
25886	* objects/ER/pixmaps/entity.xpm:
25887	* objects/ER/pixmaps/participation.xpm:
25888	* objects/ER/pixmaps/relationship.xpm:
25889	* objects/ER/pixmaps/weakentity.xpm:
25890	First commit of entity relationship objects.
25891	These were done by hallon@lysator.liu.se.
25892	There are still stuff to do on these.
25893
258941999-01-14  Alexander Larsson  <alla@lysator.liu.se>
25895
25896	* TODO:
25897	Updates.
25898
25899	* app/diagram.[ch]:
25900	Change diagram_remove_all_selected to take new argument
25901	delete_empty. Empty objects are deleted only if it is TRUE.
25902	Removed call to close_eps_renderer. This is now done in end_render
25903	in the eps renderer.
25904
25905	* app/create_object.c:
25906	* app/layer_dialog.c:
25907	Update calls to diagram_remove_all_selected.
25908
25909	* app/commands.c:
25910	Update calls to diagram_remove_all_selected.
25911	Some code reformating.
25912	Changed order of adding updates i align_h and align_v.
25913
25914	* app/modify_tool.c:
25915	Update calls to diagram_remove_all_selected.
25916	Added pointer grab when doing rubber-band selection, this fixes
25917	the bug when draging the box over to another window.
25918
25919	* app/connectionpoint_ops.[ch]:
25920	diagram_update_connections_object changed to take an argument
25921	update_nonmoved. This lets connections that has not moved, but
25922	the stuff they're connected to has been moved work.
25923	Update calls to the new diagram_update_connections_object.
25924
25925	* app/properties.c:
25926	Update calls to the new diagram_update_connections_object.
25927	Update extents when properties are applied.
25928
25929	* app/disp_callbacks.c:
25930	Added support for zooming with the '+' and '-' keys.
25931
25932	* app/menus.c:
25933	Removed old keyboard shortcuts for zoom.
25934
25935	* lib/render.h:
25936	Added calls begin_render and end_render to renderer.
25937	These can be used for setup and cleanup.
25938
25939	* lib/diagramdata.c:
25940	Added calls to begin_render and end_render in data_render.
25941
25942	* app/render_gdk.c:
25943	Added begin_render and end_render.
25944
25945	* app/render_eps.[ch]:
25946	Added begin_render and end_render.
25947	Moved close_eps_renderer code to end_render.
25948	Various fixes to the generated eps code. This fixes importing
25949	generated eps into LYX.
25950
259511999-01-12  Alexander Larsson  <alla@lysator.liu.se>
25952
25953	* TODO:
25954	Update of todo.
25955
25956	* app/menus.c:
25957	Menus for alignment updated.
25958
25959	* app/object_ops.[ch]:
25960	Functions for object alignment updated.
25961
25962	* app/commands.[ch]:
25963	Object alignment callbacks updated.
25964	New diagrams are called Untitled-<nr>.
25965
25966	* app/layer_dialog.c:
25967	Active layer selected when showing layers from new
25968	diagram.
25969
25970	* app/load_save.c:
25971	Compress xml files when saving.
25972	Use xml namespace 'dia'.
25973
25974	* lib/object.h:
25975	Minor comment update.
25976
25977	* objects/UML/class_dialog.c:
25978	Cleanup of the gkt_list_item moving code.
25979	Fixed bug with update of operation when moving parameters.
25980
259811999-01-10  Alexander Larsson  <alla@lysator.liu.se>
25982
25983	* app/layer_dialog.[ch]:
25984	Fixed the rest of the layers dialog.
25985
25986	* app/dialog.c:
25987	Added call to redo layer dialogs diagram list when changing
25988	diagram name.
25989
25990	* lib/diagramdata.[ch]:
25991	Added data_raise_layer and data_lower_layer functions for
25992	raising/lowering layers. Added data_add_layer_at for adding a
25993	layer at a specified index.
25994
259951999-01-05  Alexander Larsson  <alla@lysator.liu.se>
25996
25997	This is the asierra-990105 patch done by asierra@servidor.unam.mx.
25998
25999	* app/app_procs.c:
26000	Added support for reading diagrams from the command line.
26001
260021998-12-21  Alexander Larsson  <alla@lysator.liu.se>
26003
26004	This is the asierra-981220 patch done by asierra@servidor.unam.mx.
26005
26006	* app/commands.[ch]:
26007	Added objects_align_callback().
26008
26009	* app/menus.c:
26010	Added align objects to menu.
26011
26012	* app/object_ops.[ch]:
26013	Add object_list_align().
26014
260151998-12-17  Alexander Larsson  <alla@lysator.liu.se>
26016	* app/layer_dialog.[ch]:
26017	New files. Handles the layers dialog. Needs a bugfix for glib to
26018	work. Sent patch to gtk-list.
26019
26020	* app/pixmaps/new.xpm:
26021	* app/pixmaps/eye.xbm:
26022	* app/pixmaps/lower.xpm:
26023	* app/pixmaps/raise.xpm:
26024	* app/pixmaps/delete.xpm:
26025	New files. Images for the layer dialog buttons.
26026
26027	* lib/diagramdata.h
26028	* lib/diagramdata.c
26029	New files for the DiagramData and Layer structures and functions.
26030
26031	* app/app_procs.c:
26032	Added call to create_layer_dialog() on startup.
26033
26034	* app/commands.[ch]:
26035	New callbacks for showing the properties and layout dialog.
26036	Changes for the new DiagramData structure.
26037
26038	* app/connectionpoint_ops.c:
26039	* app/cut_n_paste.c:
26040	* app/diagram.[ch]:
26041	* app/display.[ch]:
26042	* app/group.c:
26043	* app/modify_tool.c:
26044	* app/object_ops.[ch]:
26045	* app/render_eps.c:
26046	* lib/object.[ch]:
26047	Changes for the new DiagramData structure.
26048
26049	* app/interface.c:
26050	* app/properties.c:
26051	Set correct wmclasses.
26052
26053	* app/load_save.c:
26054	Fix load and save of layers.
26055
26056	* diagram.dtd:
26057	Update DTD for layers.
26058
26059	* app/menus.c:
26060	New menus for dialogs.
26061
26062
26063	* TODO:
26064	Some updates.
26065
260661998-12-06  Alexander Larsson  <alla@lysator.liu.se>
26067
26068	* TODO:
26069	Removed the gtk 1.1.5 stuff.
26070
26071	* configure.in:
26072	Updated gtk check to version 1.1.5.
26073	Updated version from 0.20 to 0.30
26074
26075	* app/commands.[ch]:
26076	Updated some callbacks to be of type GtkItemFactoryCallback1.
26077	Not all are done yet, but it works anyway.
26078
26079	* app/display.h:
26080	Removed Gtk 1.0.0 GtkAcceleratorTable references.
26081
26082	* app/interface.c:
26083	* app/menus.[ch]:
26084	Update to Gtk 1.1.x functions.
26085	Use ItemFactory instead of MenuFactory.
26086
26087	* app/render_gdk.c:
26088	Removed Gtk 1.0.0 references.
26089
26090	* objects/UML/class_dialog.c:
26091	Scrolled window updates for Gtk 1.1.5.
26092
26093	* lib/dia_xml.c:
26094	Removed ugly fix for gnome-xml bug. Make sure you get the
26095	newest version of gnome-xml from CVS.
26096
260971998-12-05  Alexander Larsson  <alla@lysator.liu.se>
26098
26099	* TODO:
26100	Removed the xml load/save line.
26101
26102	* lib/files.[ch]:
26103	Removed files.
26104
26105	* lib/Makefile.am:
26106	Removed building of files.c
26107
26108	* app/load_save.c:
26109	* lib/connection.c:
26110	* lib/element.c:
26111	* lib/object.c:
26112	* lib/orth_conn.c:
26113	* lib/render_object.c:
26114	* objects/UML/actor.c:
26115	* objects/UML/association.c:
26116	* objects/UML/class.c:
26117	* objects/UML/constraint.c:
26118	* objects/UML/dependency.c:
26119	* objects/UML/generalization.c:
26120	* objects/UML/implements.c:
26121	* objects/UML/large_package.c:
26122	* objects/UML/note.c:
26123	* objects/UML/realizes.c:
26124	* objects/UML/small_package.c:
26125	* objects/UML/uml.c:
26126	* objects/UML/usecase.c:
26127	* objects/network/bus.c:
26128	* objects/standard/arc.c:
26129	* objects/standard/box.c:
26130	* objects/standard/ellipse.c:
26131	* objects/standard/line.c:
26132	* objects/standard/textobj.c:
26133	* objects/standard/zigzagline.c:
26134	Removed all includes of files.h
26135
26136
261371998-12-05  Alexander Larsson  <alla@lysator.liu.se>
26138
26139	* dialog.dtd:
26140	Made the val property of string be implied.
26141	This makes it possible to save strings that
26142	are NULL. Just leave out val.
26143
26144	* objects/lib/dia_xml.c:
26145	Fixed string so that it is possible to save strings
26146	that are NULL. Also made an ugly workaround of a
26147	bug in gnome-xml which removes empty properties.
26148
26149	* objects/lib/orth_conn.c:
26150	Fixed a bug in saving. Forgot to step through the
26151	directions.
26152
26153	* objects/UML/association.c:
26154	* objects/UML/class.c:
26155	* objects/UML/constraint.c:
26156	* objects/UML/dependency.c:
26157	* objects/UML/generalization.c:
26158	* objects/UML/implements.c:
26159	* objects/UML/large_package.c:
26160	* objects/UML/note.c:
26161	* objects/UML/small_package.c:
26162	* objects/UML/realizes.c:
26163	* objects/UML/usecase.c:
26164	* objects/UML/actor.c:
26165	Fixed UML objects to save as xml.
26166	The last two were done by asierra@servidor.unam.mx (asierra-981204)
26167
26168	* objects/UML/uml.[ch]:
26169	Updated *_write() and *_read() functions to use xml.
26170
26171	* objects/network/bus.c:
26172	* objects/network/computer.c:
26173	* objects/network/disc.c:
26174	* objects/network/monitor.c:
26175	Updated network diagrams to use xml.
26176
261771998-12-02  Alexander Larsson  <alla@lysator.liu.se>
26178
26179	* dialog.dtd:
26180	New file. DTD that describes the xml file format
26181	dia uses.
26182
26183	* lib/dia_xml.[ch]:
26184	New files. Support for saving object to xml files.
26185
26186	* configure.in:
26187	* app/Makefile.am:
26188	* lib/Makefile.am:
26189	Added check for and usage of gnome-xml library.
26190
26191	* app/load_save.c:
26192	Major chages. Now saves/loads diagrams as xml.
26193
26194	* lib/object.[ch]:
26195	* lib/element.[ch]:
26196	* lib/connection.[ch]:
26197	* lib/orth_conn.[ch]:
26198	* lib/render_object.[ch]:
26199	* lib/text.[ch]:
26200	Updated object support load/save functions for xml:
26201
26202	* object/standard/arc.c:
26203	* object/standard/box.c:
26204	* object/standard/ellipse.c:
26205	* object/standard/line.c:
26206	* object/standard/textobj.c:
26207	* object/standard/zigzagline.c:
26208	Updated all standard objects to use xml.
26209
26210	NOTE NOTE NOTE
26211	Only the standard objects are converted right now, don't
26212	save or load uml or network diagrams yet. Also, since this
26213	is new code it is deemed a bit unstable.
26214
26215	* TODO
26216	Added a know bug.
26217
262181998-12-01  Alexander Larsson  <alla@lysator.liu.se>
26219
26220	* objects/UML/class.c:
26221	Changed classname font to Helvetica.
26222	Added more space above the classname
26223
26224	* objects/UML/usecase.c:
26225	Correct placements of connectionpoints on ellipse.
26226	Better algorithm for deciding aspect ration on
26227	ellipse.
26228
26229	These changes were made by Alejandro Aguilar Sierra
26230	<asierra@servidor.unam.mx>. (asierra-981201)
26231
262321998-11-30  Alexander Larsson  <alla@lysator.liu.se>
26233
26234	* objects/UML/actor.c:
26235	Changed the extents and alignment of the element
26236	and the text.
26237
26238	* objects/UML/.cvsignore:
26239	Added usecase.lo and actor.lo.
26240
262411998-11-30  Alexander Larsson  <alla@lysator.liu.se>
26242
26243	* objects/UML/actor.c:
26244	* objects/UML/usecase.c:
26245	* objects/UML/pixmaps/actor.xpm:
26246	* objects/UML/pixmaps/case.xpm:
26247	New files. Implements usecase and actor UML objects.
26248	These objects are done by Alejandro Aguilar Sierra
26249	<asierra@servidor.unam.mx>.
26250
26251	* objects/UML/Makefile.am:
26252	* objects/UML/pixmaps/Makefile.am:
26253	Added usecase and actor to makefile.
26254
26255	* AUTHORS:
26256	Added Alejandro and Jerome to autors list.
26257
262581998-11-25  Alexander Larsson  <alla@lysator.liu.se>
26259
26260	* objects/UML/class.c (umlclass_load):
26261	Fixed typo. Reported by Jerome.Abela@solsoft.fr
26262
262631998-11-24  Alexander Larsson  <alla@lysator.liu.se>
26264
26265	* app/properties.c:
26266	Update connections when doing apply in the properties window.
26267
26268	* objects/UML/uml.[ch]:
26269	* objects/UML/class.[ch]:
26270	* objects/UML/class_dialog.c:
26271	Added connection points on both sides of attributes and
26272	operations in UML classes.
26273	Based on idea from Jerome.Abela@solsoft.fr
26274
262751998-11-24  Alexander Larsson  <alla@lysator.liu.se>
26276
26277	* README:
26278	Some new documentation about handles and connectionpoints.
26279
26280	* lib/object.[ch]:
26281	Added functions object_add_connectionpoint and
26282	object_remove_connectionpoint for handling a dynamic
26283	number of connectionpoints.
26284
26285	* objects/UML/class.c:
26286	Only reserve space for stereotype when it is shown.
26287
26288	These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
26289
262901998-11-08  Alexander Larsson  <alla@lysator.liu.se>
26291
26292	* app/connectionpoint_ops.c:
26293	* app/commands.c:
26294	* app/disp_callbacks.c:
26295	* app/display.[ch]:
26296	* app/grid.c:
26297	* app/handle_ops.c:
26298	* app/magnify.c:
26299	* app/modify_tool.c:
26300	* app/render_gdk.[ch]:
26301	* lib/render.h:
26302	Huge cleanup of internal rendering system.
26303	Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
26304	This gives a few new methods for Interactive Renderers for setting
26305	clipping regions and drawing pixel based lines and rects.
26306	Updated the rest of the code to use the new stuff.
26307
26308	* app/render_eps.c:
26309	Fixed warning.
26310
26311	* lib/widgets.c:
26312	* objects/standard/zigzagline.c
26313	Fixed unused variable warnings.
26314
26315	* lib/font.c:
26316	Fixedbug with stringwidth where width==0.
26317
26318	* TODO:
26319	Added known bug.
26320
263211998-11-02  Alexander Larsson  <alla@lysator.liu.se>
26322
26323	* lib/widgets.[ch]:
26324	Added suppot for setting the font of a
26325	DiaFontSelector widget.
26326	Also fixed some typos in the header.
26327
26328	* lib/object.h:
26329	Added a comment about the GetPRoperties method call.
26330	You have to make sure to update widget state when
26331	this method is called. (Not all objects do this yet,
26332	to be fixed.)
26333
26334	* TODO:
26335	Some small updates
26336
263371998-11-01  Alexander Larsson  <alla@lysator.liu.se>
26338
26339	* lib/font.c
26340	Fixed problem with height of ascent and descent for fonts.
26341	It didn't use the whole height (==ascent+descent) when calculatine
26342	ascent_ratio and descent_ratio.
26343
26344	* objects/standard/textobj.c:
26345	* objects/standard/box.c:
26346	* objects/standard/ellipse.c:
26347	* objects/standard/line.c:
26348	* objects/standard/arc.c:
26349	Updated and added property dialogs for these objects.
26350	Also added line width/color/style to those objects
26351	that didn't have it.
26352	This change breaks fileformat compatibility for these objects.
26353
26354	* objects/standard/zigzagline.c:
26355	Changed zigzagline to be based on OrthConn, much nicer.
26356	Also added line style and color to properties.
26357	This change breaks fileformat compatibility for zigzagline.
26358
26359	* lib/message.c:
26360	Fixed bug in message(). Forgot a pair of '&'.
26361
263621998-10-29  Alexander Larsson  <alla@lysator.liu.se>
26363
26364	* lib/widgets.[ch]:
26365	Added DiaColorSelector widget.
26366	This is a colored button that pops up a color selection
26367	dialog when pressed.
26368
263691998-10-28  Alexander Larsson  <alla@lysator.liu.se>
26370
26371	* lib/widgets.[ch]:
26372	* lib/Makefile.am:
26373	New files, added widgets for selecting fonts, alignment
26374	and line-style. Will be used later.
26375
263761998-10-12  Alexander Larsson  <alla@lysator.liu.se>
26377
26378	* app/Makefile.am:
26379	* lib/Makefile.am:
26380	* objects/UML/Makefile.am:
26381	* objects/network/Makefile.am:
26382	* objects/standard/Makefile.am:
26383	Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
26384	in all Makefile.am.
26385
263861998-10-03  Alexander Larsson  <alla@lysator.liu.se>
26387
26388	* app/handle_ops.c (handle_draw):
26389	connected HANDLE_MINOR_CONTROL also becomes red.
26390
263911998-10-02  Alexander Larsson  <alla@lysator.liu.se>
26392
26393	* Makefile.am:
26394	removed -ldl from linking. This is added if needed by configure.
26395
26396	* app/app_procs.c:
26397	Open dlls with RTLD_LAZY if it is defined.
26398	Some cleanups: char *error -> const char *error
26399	Added fprintf()'s to where we exited because of errors.
26400
26401	* lib/files.c:
26402	Include <sys/types.h>
26403
264041998-10-01  Alexander Larsson  <alla@lysator.liu.se>
26405
26406	* acconfig.h:
26407	* configure.in:
26408	* app/app_procs.c:
26409	Detect dlopen better.
26410	Detect wether dlopen needs an underscore in the identifier.
26411	This code was mostly borrowed from guile.
26412
26413	* lib/sheet.[ch]:
26414	* app/app_procs.c:
26415	* objects/standard/standard.c:
26416	* objects/network/network.c:
26417	* objects/UML/uml.c:
26418	* most objects:
26419	Changed the way sheets reference objects to use just the
26420	name. Changed module loading to a two stage model:
26421	First register_objects() is called for all modules.
26422	Then register_sheets() is called. This means that
26423	sheets can safely include objects from other modules.
26424
26425
264261998-09-30  Alexander Larsson  <alla@lysator.liu.se>
26427
26428	* objects/network/bus.c:
26429	* objects/network/network.c:
26430	* objects/network/Makefile.am:
26431	New file bus.c. Added new object: Ethernet bus.
26432
26433	* objects/standard/box.c:
26434	Added call to gtk_spin_button_set_numeric for linewidth spinner
26435	in property dialog.
26436
264371998-09-30  Alexander Larsson  <alla@lysator.liu.se>
26438
26439	* app/connectionpoint_ops.c:
26440	* app/create_object.c:
26441	* app/group.c:
26442	* app/handle_ops.c:
26443	* app/modify_tool.c:
26444	* lib/connection.c:
26445	* lib/element.c:
26446	* lib/handle.h:
26447	* lib/object.c:
26448	* lib/orth_conn.c:
26449	* loads of objects:
26450	Changed handle->connectable to handle->connect_type.
26451	Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
26452	that their connections don't break when moving objects.
26453
26454	* app/diagram.c:
26455	Always select the last handle in an object that has
26456	the closest distance.
26457
26458	* lib/geometry.[ch]:
26459	Added rectangle_add_point function.
26460
26461
264621998-09-27  Alexander Larsson  <alla@lysator.liu.se>
26463
26464	* app/properties.[ch]: New files. Handles the new properties
26465	dialog.
26466
26467	* app/modify_tool.c: Changed to use new properties dialog.
26468
26469	* app/object_ops.[ch]: Removed object_changed_callback, as it's
26470	not needed anymore. This is now handled differently in
26471	properties.c
26472
26473	* lib/object.[ch]:
26474	Changed the properties ops for objects. Removed typedefs
26475	ChangedObjectTime and ObjectChangedFunc needed for the old way.
26476	Added object_return_null function.
26477
26478	* app/group.c:
26479	* lib/render_object.c:
26480	* objects/*/*.c:
26481	Changed objects to use the new properties dialog.
26482
26483
264841998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
26485
26486	* */Makefile.am (INCLUDES): Changes to work with srcdir !=
26487	builddir.
26488
26489	* autogen.sh: New file. Copied from gtk and added a call to
26490	libtoolize. Anyone knows why this isn't done in gtk?
26491
26492	* Removed autogenerated files.
26493
264941998-09-12  Alexander Larsson  <alla@lysator.liu.se>
26495
26496	* Added call setlocale(LC_NUMERIC, "C") so that formating of
26497	  floating-point numbers in postscript output will be correct.
26498	* Did some cleanup of generated postscript files.
26499