2009-04-13 Hans Breuer * plug-ins/python/python.c : found and fixed the immediate crash when loading the Python plug-in under win32 with Python version newer than 2.3. Still did not get prebuilt pygtk running with it, so the requirement of Python 2.3 (on win32) remains the same. * data/integrated-ui.xml app/menus.c : removed Layers/Layers... from the integrated UI menu and assigned L also to ShowLayers (the two menu entries are never available together, so no conflict) Fixes bug #576879. * app/preferences.[ch] :removed "Integrated UI" option here ... (together with the annoying change-needs-restart message) * app/app_procs.c : ... and made it a start-up option, aka. command line switch. If the UI type some day can be switch at runtime the prefernce setting may be added again. 2009-04-11 Hans Breuer * lib/propdialogs.c : derive initial scrolling area of properties dialog from screen size, only use hardcoded values as fallback * app/app_procs.c : patch from Arunan Balasubramaniam, bug #573921 to to reduce wakeups prefer g_timeout_add_seconds() over g_timeout_add() * app/modify_tool.c(modify_button_press) : don't got to single handle movement if there is more than one object selected, bug #525011 * app/handle_ops.c : consider the selection state in choosing the handle color, to give some feedback on the handles behavior change 2009-04-06 Hans Breuer * app/display.c : something called ddisplay_flush() while we were already in ddisplay_destroy() - moved removing the idle handler to ddisplay_really_destroy(), the last possible moment - bug #578173 2009-04-05 Hans Breuer * objects/AADL/aadlbox.c : one const too much, build error with gcc * plug-ins/python/wdeps.py : intended tinting on win32, too. * plug-ins/python/dot2dia.py : don't let a single unknown color make the whole import fail * objects/AADL/aadlbox.c(aadlbox_destroy) : free ports after calling element_destroy(), which needs valid handles, should fix bug #575224 Replaced some leaking, superfluous heap allocations with stack allocs. * lib/diarenderer.c(get_text_width) : complain if the derived renderer does not implment the method and does not maintian DiaRenderer::font. * plug-ins/cairo/diacairo-renderer.c : actually maintain the font field to make text cursor position calculation work, part of bug #576548 * app/display.c : make the tab use the short name again and adjust the (integrated UI) application title HIC compliant, fixing bug #527288 * objects/network/basestation.c : don't move non-movable handles, fixing bug #574637 * objects/UML/association.c : force an internal state update after changing properties, fixes bug #576843 * lib/persistence.c : instead of trying to manage the open state of our windows 'by hand' just use GTK_WIDGET_MAPPED(window), fixes bug #574388 2009-04-04 Hans Breuer * app/interface.c : don't translate g_warning * lib/sheet.c : fix typo in translatebale string 2009-03-31 Hans Breuer * plug-ins/python/wdeps.py : tinting of nodes now working as intended (also on windows) * samples/Self/dia-win32-2.dot samples/Self/dia-win32-2.dia : sample dependency graph with instructions 2009-03-30 Hans Breuer * plug-ins/python/wdeps.py : implement another coloring theme, fix the previous tinting; allow to leave out C-Runtime on Linux, too * plug-ins/python/dot2dia.py : the assumption of every node name being in quotes broke with dia-linux.dot; now fixed and ... * samples/Self/dia-linux-2.dia : ... updated the diagram also with new colors and passing --remove-crt to wdeps.py * app/find.and-replace.c : ensure visibility of the object found * app/display.[ch](ddisp_present_object) : new function to move an object into view with minimum scrolling 2009-03-29 Hans Breuer * app/app_procs.c : slightly hacked version to avoid double request of "Exit without save" for integrated UI case, bug #573635 * app/display.c : the interactive cairo renderer has highlighting issues (bug #576548). For now default to the libart renderer for the antialiased display renderer (only fall back to cairo if the libart plug-in is not loaded) * plug-ins/libart/dialibartrenderer : initialize DiaRenderer::is_interactive to allow entering text edit mode * app/display.h : increased the arbitrary zoom limits to make my current stress test diagram fit * plug-ins/python/wdeps.py : my dependency analysis script is finally running on Linux and together with dot can produce pretty nice images (last change was the introduction of tinting by layer) * samples/Self/dia-linux-2.dia : dependency graph of Dia * samples/Self/dia-linux-2.dot : dot file produced by wdeps.py and preocessed by dot 2009-03-28 Hans Breuer * plug-ins/cairo/diacairo-renderer.c : apparently I've found a workaround for pango bug #341481. Or maybe bug #573261 always we mine. * lib/prop_text.c : for 'multistring' connect to the 'change' signal of the TextBuffer rather than to the unreliable 'insert-at-cursor' of the TextView -> "Chronogram - line" works again, bug #576905 * lib/propinternals.h lib/prop_attr.c lib/prop_geomtypes.c lib/prop_inttypes.c lib/prop_text.c lib/prop_widgets.c lib/propdialogs.c : make prophandler_connect() take a GObject* to do the above without warnings 2009-03-27 Hans Breuer * plug-ins/python/dot2dia.py plug-ins/python/Makefile.am : initial version of dot (http://www.graphviz.org) import for Dia 2009-03-26 Hans Breuer * plug-ins/python/pydia-property.c : check for a correct number of bezier points before assigning them. So evem a broken PyDia script can not crash the core (this way) 2009-03-25 Hans Breuer * plug-ins/diapsrenderer.c : dont't throw away alignment information an don't scale text arbitrary, we can't predict the Latin-1 font size exactly enough. Fiyes bug #575186. * lib/textline.[ch] : more const correct, avoids warning above 2009-03-24 Hans Breuer * plug-ins/python/diastddia.py : almost finished, a bug left in Arc's curve_distance calculation. Implemented the insane load/save property name mapping - bug #576468, implmented draw_text and draw_arc. Some comments on bezier related file format weakness. Write some paper info; convert strings before writing to avoid invalid XML (text and filename) * plug-ins/python/otypes.py : 'meta' is part of every object type * samples/Self/dia-standard-objects.dia : new file documenting the structure of Dia's "Standard - *" objects, see also bug #576468 2009-03-23 Hans Breuer * plug-ins/python/diastddia.py : a new renderer implementation which outputs Dia's native format, but restricted to "Standard - *"-objects. Initial version: buggy and incomplete (e.g. bug #576468). * plug-ins/python/Makefile.am : added to EXTRA_DIST * plug-ins/python/pydia-render.c : if the PyDia renderer does not implement an optional method just fall back to the base classes render implmentation. Also (try to) warn about missing, not optional methods with PyErr_Warn(), but can't find these messages yet. * plug-ins/python/diasvg.py : self.line_width was not initialized * samples/UML-demo.dia : converted to be readable, not a single line of uncpompresed XML. 2009-03-22 Hans Breuer * plug-ins/UML/class_dialog.c : some more NULL pointer checks to avoid crash bug #576247 2009-03-15 Hans Breuer * doc/en/usage-objects-basic.xml : removed old workaround for DEL, we have put quite some work to make it behave as expected. Still it would be nice to have described the new text edit mode in more detail ... * doc/en/usage-customization.xml doc/en/graphics/file-preferences-*.png doc/en/graphics/preferences-gridlines.png : updated to show the new layout, also initial description of the Favorites pane. Whitespace changes to have it more readable with tab width 8. * doc/en/graphics/preferences-fig.png : unused -> deleted * doc/en/Makefile.am : reflect above changes * doc/en/usage-objects-basic.xml en/graphics/toolbox-basic.png : reflect the recent addition of the twelves basic object - Outline * en/usage-quickstart.xml : add more appeal(ees) * plug-ins/cairo/diacairo-renderer.c : some unused test-code attempting to work around bug #573261 but no luck. * plug-ins/python/allprops.py : alpha-numeric sorting by type; after by number of users * plug-ins/python/aobjects.py : to make the resulting diagram more interesting we set every sting property with it's name * plug-ins/python/bbox.py : create annotated bounding boxes * plug-ins/python/diagx.py : handling more tags/types like Ellipsis, EnumValue and Function, some other are silently ignored * plug-ins/python/doxrev.py : try to arrange before inserting the classes into the diagram * plug-ins/python/arrange.py : added for the above * plug-ins/python/otypes.py : a better fix for running standalone or from the toolbox menu * plug-ins/python/pydiadoc.py : work better from toolbox and filter out the SWIG noise when running from the other bindings, some more objects * plug-ins/python/pydia-paperinfo.c : fixed typo in docu * samples/Self/PyDiaObjects.dia : updated to 0.97 interface (e.g. PaperInfo and fixed the same typo) * objects/Database/compound.c : now there is no DiaObject any longer which does not deliver at least OBJECT_COMMON_PROPERTIES * bindings/test.py : make it work again (on win32) 2009-03-13 Hans Breuer * plug-ins/cairo/diacairo.c : rather than using broken ellipse approximation convert to translate/scale/arc dance, fixes bug #574868 2009-03-09 Hans Breuer * plug-ins/python/codegen.py : PascalRenderer by Johann Glaser and some adjustments to (Cxx/Py/Java)Renderer to almost get on par (now really commited) 2009-03-08 Hans Breuer * lib/filter.c(filter_guess_*_filter) : make the no-guess flag work as intended, i.e. when there is just one filter per extension it's no guess * plug-ins/python/pydia-property.c : implement PyDia_set_Arrow() to allow modification of line ends from python scripts, like: o.properties["start_arrow"] = (17, .5, .5) * app/filedlg.c : drop using GTK_WIN_POS_MOUSE on the file dialogs. Nowadays that almost inevitable would lead to a partial off-screen dialog, see e.g. bug #314084 and bug #512580 * lib/dia_xml_libxml.h lib/dia_xml.[ch] lib/prop_geomtypes.h plug-ins/shape/shape-export.c : removed some cruft from lixml1 days while investigating bug #570592 * config.h.win32 : insignificant changes slightly related bug #570592 * app/menus.c : don't pass diagram and filename to plug-ins called from the toolbox-menu, otherwise the pydia help series could unintentinally modify unrelated open diagrams 2009-03-07 Hans Breuer * app/menus.c(create_or_ref_display_actions) : only create the action group once, not per display, so the right actions are sensitive for the "Use menu bar", too. Fixes bug #574472 * app/layer_dialog.[ch] : implement "Add Layer" and "Rename Layer" also without the indirection Layer dialog * app/menus.c : activate both commands * lib/diagramdata.[ch] lib/libdia.def : implement and export data_layer_get_index() used for the above * data/display-ui.xml data/integrated-ui.xml data/popup-ui.xml app/menus.c : move "Edit/Properties" to "File/Diagram Properties" as suggested by bug #573259, also create a Layers submenu to hold formerly "Edit/Layers", "Objects/Move (selection) to layer [...]" * app/pixmaps/objects-layer-above.png app/pixmaps/layer-add.png app/pixmaps/objects-layer-below.png app/pixmaps/layers.png app/pixmaps/layer-rename.png : stock icons stolen from Inkscape for the new Layers menu * app/Makefile.am app/makefile.msc : generate inline icons * app/commands.[ch] : new callbacks for layer add/rename (not enabled) * app/preferences.c(prefs_set_value_in_widget) : don't choke on val==NULL and have a matching default initialization for units, both fixing bug #573625 (prefs_get_value_from_widget) : only call the props update function if something has changed, get rid of spurious restart message, bug #574387 * lib/persistence.c : updating/serializing window positions had issues, now hopefully fixed, bug #574388 * app/textedit_tool.c : ensure the action sensitivity is updated after entering textedit mode. No tool activation by entering text, bug #572307 * app/menus.c : unique accelerators again, bug #573257 2009-03-01 Steffen Macke * makefile.msc: Fixed typo (dia.exe was copied to dia-app.dll when doing "make full") * installer/win32/dia.nsi: Don't install Desktop shortcut. Patch from Niels Martin Hansen 2009-02-26 Steffen Macke * po/POTFILES.in: * configure.in: * installer/win32/Makefile.am: * installer/win32/gennsh.c: * Makefile.am: Add gennsh.c, a dummy C program to create NSIS installer locale files. Bugzilla bug #572202 2009-02-25 Steffen Macke * app/sheets_dialog_callbacks.c: * lib/libdia.def: * lib/sheet.c: * lib/dia_dirs.[ch]: Save relative path for icons in user created sheets; allow icon loader to fall back to system directoy if icon is not found in config directory; fixes bug #573027 2009-02-24 Steffen Macke * app/sheets_dialog_callbacks.c: Write to instead of , fixes part of bug #573027 2009-02-20 Steffen Macke * doc/en/dia.xml: Bumped revisions and dates to indicate progress for 0.97 release. 2009-02-19 Steffen Macke * installer/win32/dia.nsi: Include missing SISSI icons 2009-02-16 Steffen Macke * installer/win32/dia.nsi: Various small updates * installer/win32/locale/*.nsh: Use Python 2.3 instead of 2.2 * makefile.msc: Consequent use of build/win32