*** Recent ChangeLog entries: 2001-05-16 Cyrille Chepelov <[EMAIL PROTECTED]> * plug-ins/svg/render_svg.c: typo made exported ellipses corrupted (zero Y pseudo-radius). * objects/network/network.c: * objects/network/disc.c: * shapes/network/disc.(shape|xpm): Converted the first Renderobject into a shape. Normally, old diagrams should reload without problems (please check this against your diagrams). More flexibility should be gained that way. I intend to hunt and eradicate all renderobjects as I can commit cycles to that. * objects/Makefile.am: * configure.in: * app/Makefile.am: * objects/sybase/sybase.c: * shapes/sybase/Makefile.am(NEW): * shapes/sybase/client.(xpm|shape) (NEW): * shapes/sybase/dataserver.(xpm|shape) (NEW): * shapes/sybase/ltm.(xpm|shape) (NEW): * shapes/sybase/repserver.(xpm|shape) (NEW): * shapes/sybase/rsm.(xpm|shape) (NEW): * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase renderobjects into shapes. The Sybase objects are now not compiled anymore, and ready to be nuked if nobody objects in the next few weeks. * app/commands.c: * app/diagram.[ch]: * app/disp_callbacks.c: * app/display.[ch]: * app/interface.[ch]: * app/menus.[ch]: * app/modify_tool.c: * app/preferences.[ch]: * app/recent_files.c: * app/select.c: Added patch #52364 from Hubert Figuiere. This adds a menu bar reflecting the popup menu, to each display window. This is optional (changing the preference currently doesn't affect already opened windows; a few other rough edges to cut). * plug-ins/wpg/wpg.c: * plug-ins/xfig/xfig-import.c: * plug-ins/python/pydia-property.c: * plug-ins/python/pydia-properties.c: * plug-ins/python/pydia-geometry.c: * plug-ins/pstricks/render_pstricks.c: * lib/arrows.c: * objects/EML/dbox.c: * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix #53054. * lib/ps-utf8.c: improved the clustering of alphabetic character definitions in custom encodings pages. 2001-05-02 Hans Breuer <[EMAIL PROTECTED]> * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type of 'obj_bb' to PROP_TYPE_RECT * objects/custom/custom_object.c : take all quarks into account, not only 4 as copy&paste suggests * objects/uml/objects.c : completed the implementation of the property api to avoid reading of totally bogus data. Removed the PROBABLY_DEAD_CODE. It actually was dead code, but not because there was too much but too less ... The above changes removed all known crashes (mentioned below) from the Property API. Property access is still incomplete though. * objects/flowchart/box.c : * objects/flowchart/diamond.c : * objects/flowchart/ellipse.c : * objects/flowchart/parallelogram.c : * objects/uml/classicon.c : * objects/uml/state.c : calculate number of quarks from quark array size instead of using hardcoded values for consistence and to avoid future bugs like the above * objects/eml/nlist.c : include <string.h> for strcmp() * lib/dia_xml.c : relax g_warning for values, which appear to be too small. There is nothing which prevents them while saving * plug-ins/python/pydia-geometry.c : changed stringifying of geometry objects accept BezPoint back to %f, which does not crash anymore, because all the data is intialized now and it simply is more readable than %e ... * plug-ins/python/python-startup.py : removed dependency to PyGtk, because it isn't required here and probably won't in i.e.: export filters. * plug-ins/python/gtkcons.py : create the gtkoutfile even if sys.stderr.fileno() isn't supported * app/makefile.msc : make version 0.88 * plug-ins/makefile.msc : make version 0.88 an added new xfig files to build 2001-05-11 James Henstridge <[EMAIL PROTECTED]> * NEWS: remember to add news items this time. * dia.spec: update spec file for 0.88 release. * configure.in: up version number to 0.88 * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was preventing any of the useful python scripts from being distributed. * sheets/Makefile.am (sheet-translation-report): fix bustage I introduced in my fixups for the 0.87 release :( 2001-05-10 Lars Clausen <[EMAIL PROTECTED]> * plug-ins/xfig/xfig-import.c: Finally got groups working. 2001-05-09 Lars Clausen <[EMAIL PROTECTED]> * plug-ins/xfig/xfig-import.c: Improvements to error handling and group manipulation. 2001-05-09 Cyrille Chepelov <[EMAIL PROTECTED]> * lib/ps-utf8.[ch]: * lib/Makefile.am: fix makefile breakage which led to not including ps-utf8.[ch] in the released tarballs. 2001-05-09 James Henstridge <[EMAIL PROTECTED]> * Makefile.am (core-translation-report): dist scripts needed for this target, and change to $(srcdir) before running. * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA files aren't automatically included in the tarball by automake because they could be generated files. * objects/EML/Makefile.am (EXTRA_DIST): fix directory names. * doc/en/Makefile.am (install-data-hook): fix up where graphics are installed. * configure.in: up version number to 0.87 * plug-ins/python/*.py: no longer necessary to explicitly set sys.argv, as python.c does it for us now (like it should). * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia python plugin. * plug-ins/python/python-startup.py: startup script that imports all modules in $(datadir)/dia/python and ~/.dia/python. * plug-ins/python/python.c (dia_plugin_init): change so that it only runs the $(datadir)/dia/python-startup.py script. Make sure that sys.argv and __main__.__file__ are set when calling the startup script. * plug-ins/python/Makefile.am: update makefile. Make it install gtkcons.py plugin. I haven't set any other plugins to install, as they look like they are mainly for debugging purposes. * configure.in: add tests to detect if python is available, so we can build the python plugin. Only run if --with-python passed to configure. 2001-05-08 James Henstridge <[EMAIL PROTECTED]> * acinclude.m4: add macros for detecting python. * app/menus.c (dia_gnome_menu_get_widget): handle paths that point at GNOME_APP_UI_SUBTREE entries. (menus_add_path): function to add a menu item to the menubars. Uses a hash table to keep track of extra menu items it adds. Also notifies the item factory about the entries so that accels can be saved for them. (menus_add_path): implement gtk only version. (menus_init): use menus_add_path() to add the menu. (plugin_callback): simplify. 2001-05-08 Steffen Macke <[EMAIL PROTECTED]> * app/menu.c: removed #ifndef GNOME; GNOME build was broken 2001-05-08 Lars Clausen <[EMAIL PROTECTED]> * plug-ins/xfig/xfig-export.c: * plug-ins/xfig/xfig-common.c: * plug-ins/xfig/xfig-import.c: * plug-ins/xfig/xfig.c: * plug-ins/xfig/xfig.h: * app/Makefile.am: Added support for exporting to Fig format (except splits, which are less powerful in Fig). Some refactoring along the way. 2001-05-02 Hans Breuer <[EMAIL PROTECTED]> * plug-ins/python/debug_objects.py : added another test to get massive crashes from the Property API due to unintialized data. * app/menu.c : the callback_action wasn't incremented (should have checked my last optimization). Now more than one plug-in callback is supported again. * plug-ins/python/pydia-geometry.c : avoid crashes from glib, when trying to g_strdup_printf unintialized floats. * plug-ins/python/pydia-property.c : avoid crashes from because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)