2007-03-18 Hans Breuer * NEWS: * RELEASE-PROCESS: * config.h.win32: * doc/en/dia.xml: * doc/pl/dia.xml: * doc/eu/dia.xml: * configure.in: Pre9 hot on the heels of pre8. * app/app_procs.c plug-ins/wmf/wmf.cpp : portability fixes 2007-03-17 Hans Breuer * app/app_procs.c app/autosave.c app/commands.c app/diaconv.c app/export_png.c app/filedlg.c app/load_save.c app/paginate_psprint.c app/preferences.c app/render_eps.c app/sheets_dialog.c app/sheets_dialog_callbacks.c lib/dia_dirs.c lib/dia_xml.c lib/diagdkrenderer.c plug-ins/cgm/cgm.c plug-ins/dxf/dxf-export.c plug-ins/dxf/dxf-import.c plug-ins/hpgl/hpgl.c plug-ins/metapost/render_metapost.c plug-ins/pgf/render_pgf.c plug-ins/pstricks/render_pstricks.c plug-ins/python/pydia-render.c plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c plug-ins/vdx/vdx-export.c plug-ins/vdx/vdx-import.c plug-ins/wmf/wmf.cpp plug-ins/wpg/wpg.c plug-ins/xfig/xfig-export.c plug-ins/xfig/xfig-import.c plug-ins/xslt/xslt.c : use to match GLib's filename encoding to the io functions used, that is: g_open, g_fopen, g_stat, g_unlink, g_mkdir, g_rename (, g_access, g_lstat, g_remove, g_freopen, g_chdir, g_rmdir). Also replace gzopen() with gzdopen(g_open(), ...) to properly handle unicode filenames; finally use g_mkstemp(). Fixes bug #131210 and bug #397159. To make this fully work on win32 a recent enough version of libxml2 is required - tested with 2.6.27 - but anything from 2.6.24 should do. * plug-ins/cairo/diacairo.c : special handling for cairo which currently only supports filenames in the C runtime locale. 2007-03-17 Hans Breuer * plug-ins/python/aobjects.py : if created a diagram, display it ... * app/display.c : ... and don't crash with display update before we had the chance to reate a renderer. * app/filedlg.c : plugged some leaks and made the filter sensitive extension update work, by relying less on what we get back from gtk+ Fixes bug #403195. [some playing with valgrind : memory leaks] * lib/text.c(text_set_line_text) : removed superfluous g_strdup() * app/interface.c : gtk_accelerator_get_label() and g_strconcat() return newly allocated strings and gtk_tooltips_set_tip() does not free them [jump or move depends on uninitialised value(s)] * objects/network/radiocell.c : dont call polyshape_update_data() without initialized points * plug-ins/python/aobjects.py : somehow an extra 'd' got commited :) * plug-ins/python/aobjects.py plug-ins/python/Makefile.am : Self Documenation Part III and stress test, creates all Dia Objects * objects/FS/flow-ortho.c objects/FS/flow.c : removed partial left over of 'static DiaFont*' which caused a crash on creation * objects/UML/umlattribute.c objects/UML/umlformalparameter.c objects/UML/umloperation.c : don't crash on name being NULL * objects/custom/custom_object.c : call *_update_data in *_copy Fixes the disappearance of object drawing after cut&paste (bug #416414, Stein Somers) * plug-ins/python/pydia-font.c : cmpfunc is supposed to return out of (-1, 0, 1) * lib/utils.h lib/message.h : added C++ guards 2007-03-17 Steffen Macke * installer/win32/locale/slovak.nsh: Use Codepage 1250, fixed errors