2008-05-23 Peter Moulder * share/extensions/*.py: Use gettext for (many) error messages. share/extensions/inkex.py: (errormsg): New function. 2007-06-24 Joel Holdsworth * modified the windows RC files to add version info and manifest data 2007-03-16 Tim Dwyer * src/graphlayout/graphlayout.cpp: handle null bounding boxes 2007-03-01 Markus Schwarzenberg Solaris 8 / gcc-3.2.3 fixes (selectively effecting only this special * src/display/nr-filter-gaussian.cpp: * include compatibility header "isnormal.h" * template calcTriggsSdikaInitialization needs to be specified explicitely for gcc 3.2.3 * src/display/pixblock-transform.cpp, src/display/nr-filter.cpp, src/display/nr-filter.cpp * include compatibility header "round.h" * using Inkscape::round * src/extension/internal/ps.cpp, src/print.cpp include on SOLARIS_2_8 for open, unlink * src/libcola/gradient_projection.cpp include and use compatibility headers "isnan.h" "isinf.h" * removed obsolete src/libvpsc/isnan.h * added src/isinf.h * configure.ac: Added Detection of solaris2.8 --> CXXFLAGS += -DSOLARIS_2_8 2006-08-05 John Bintz * node-context.cpp, nodepath.cpp: add checks to make sure given nodepath pointers are not null before working with them 2006-08-01 MenTaLguY * configure.ac: refactor pkg-config tests and add explicit cairo test 2006-07-29 John Bintz * src/nodepath.cpp: Fix bug where deleting a node broke the symmetry of neighboring smooth nodes and failed to convert those nodes to cusp nodes 2006-07-29 MenTaLguY * src/sp-object.cpp: remove GObject signals from SPObject * src/desktop.cpp, src/desktop.h, src/sp-gradient.cpp, src/sp-gradient.h, src/sp-pattern.cpp, src/sp-pattern.h, src/sp-switch.cpp, src/sp-switch.h, src/widgets/desktop-widget.cpp, src/widgets/desktop-widget.h, src/widgets/gradient-image.cpp, src/widgets/gradient-image.h, src/widgets/gradient-toolbar.cpp, src/widgets/gradient-toolbar.cpp: switch to sigc++ SPObject signals 2006-07-27 MenTaLguY * src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h, src/sp-offset.cpp, src/sp-offset.h, src/sp-shape.cpp, src/sp-shape.h, src/sp-use-reference.cpp, src/sp-use-reference.h: switch to sigc++ SPObject signals 2006-07-26 MenTaLguY * src/dialogs/object-attributes.cpp: switch to sigc++ "release" 2006-07-26 MenTaLguY * src/style.cpp, src/style.h: finish switching to sigc++ SPObject signals for SPStyle 2006-07-25 MenTaLguY * src/widgets/gradient-vector.cpp, src/widgets/gradient-vector.h: switch to sigc++ SPObject signals for SPGradientVectorSelector 2006-07-25 MenTaLguY * autogen.sh, configure.ac, debian/control, tools-version.sh: un-libtoolize the build process (yay!) -- we haven't actually used libtool for ages 2006-07-25 MenTaLguY * src/extension/plugin, src/extension/plugin/Makefile_insert, src/extension/plugin/makefile.in, src/extension/plugin/.cvsignore, src/Makefile.am, configure.ac: remove vestigal plugin support 2006-07-24 MenTaLguY * configure.ac: further work on LSB build configuration 2006-07-23 John Bintz * src/verbs.cpp, src/event-context.cpp, src/node-context.cpp: forced redraw of canvas upon completion of zooming or upon starting rubber band selection events to work around event starvation issue at high zoom levels 2006-07-23 MenTaLguY * src/widgets/paint-selector.cpp: Update pattern creation help text to reflect new menu layout. We probably need some way to automatically generate "menu navigation strings" for a given verb. 2006-07-23 Michael Wybrow * packaging/osx-app.sh, packaging/macosx/inkscape.ds_store packaging/macosx/dmg_background.svg, packaging/macosx/osx-dmg.sh, packaging/macosx/dmg_background.png, Makefile.am, packaging/macosx/dmg_set_style.scpt: Improve the disk image layout for Mac OS X releases. This is based on Jean-Olivier Irisson's work and patches, submitted as #1516212. 2006-07-23 John Bintz * src/desktop.cpp, src/desktop.h: added SPDesktop::updateNow() * src/event-context.cpp, src/select-context.cpp, src/node-context.cpp: forced redraw of canvas upon completion of selection or panning to work around event starvation issue at high zoom levels 2006-07-22 John Bintz * src/desktop.cpp, src/desktop.h, src/document-undo.cpp, src/document.h, src/document-private.h, src/document.cpp: forced redraw of canvas upon document commit to work around event starvation issue at high zoom levels 2006-07-21 MenTaLguY * src/splivarot.cpp: patch from John Bintz, adding pref to simplify multiple paths separately 2006-07-21 MenTaLguY * configure.ac: first shot at implementing --enable-lsb 2006-07-21 MenTaLguY * src/style.cpp, src/style.h: switch to using sigc++ signals 2006-07-21 MenTaLguY * src/layer-manager.cpp, src/layer-manager.h: switch to sigc++ signals and manually clean up signal connections (although it may not be strictly necessary to do so here) 2006-07-21 MenTaLguY * src/document-subset.cpp, src/object-hierarchy.cpp, src/object-hierarchy.h, src/selection.cpp, src/selection.h, src/ui/view/edit-widget.cpp, src/ui/view/edit-widget.h, src/uri-references.cpp, src/uri-references.h: switch to sigc++ signals for "modified" and "release" 2006-07-21 MenTaLguY * src/document.cpp, src/sp-object.cpp, src/sp-object.h: sp_object_invoke_release -> SPObject::releaseReferences, plus the introduction of sigc++ signals for "release" and "modified" which will eventually replace the GObject signals 2006-07-20 MenTaLguY * src/libnrtype/RasterFont.h, src/libnrtype/font-instance.h: replace two uses of hash_map with standard STL map 2006-07-18 Bryce Harrington * src/document.h, src/document.cpp: Refactoring from mental & bryce to consolidate document update functionality from sp_document_ensure_is_up_to_date() and sp_document_idle_handler(). This is the first step in getting updates of defs (and markers) fixed. 2006-07-18 Tim Dwyer * src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.h: We now use connector spacing to determine the minimum space required between shape bounding boxes when graph layout with avoid overlap constraints is applied. This means that there should always be enough room for connectors to route between shapes. Also changed the default connector spacing to a less extreme 3. 2006-07-17 Tim Dwyer * src/libcola/cola.h, src/libcola/connected_components.cpp, src/graphlayout/graphlayout.cpp: Disconnected graphs are now handled more gracefully, connected components are arranged separated (in place) and then overlaps between components are removed. 2006-07-13 Michael Wybrow * src/Makefile_insert, src/Makefile.am, src/svg/Makefile_insert, src/xml/Makefile_insert, src/libnr/Makefile_insert: Add "$(srcdir)/" to some things so that "make check" works in the case that the build directory is somewhere other than the source directory. * src/sp-conn-end-pair.cpp, src/connector-context.cpp, src/document.cpp, src/libavoid/*: Update libavoid with upstream fixes, optimisations and new features. 2006-07-13 Tim Dwyer * src/libvpsc/*, src/graphlayout/graphlayout.cpp: Toggle on connector toolbar can force connectors with end-markers (arrows) to point downwards 2006-07-13 Michael Wybrow * src/libavoid/router.cpp: Fixed a bug in the libavoid function Router::attachedConns(). Previously unused, but needed by Tim for new Graph Layout code. 2006-07-13 Jon Phillips * src/inkview: Added commandline option capability to inkview and got code ready to add a timer for an automatic slideshow capability. 2006-07-12 Tim Dwyer * src/libvpsc/*, src/libcola/*, src/graphlayout/graphlayout.cpp, src/removeoverlaps/removeoverlaps.cpp: Boost graph layout algorithms replaced by custom constraint layout algorithm (implemented in libcola). New layout supports constraints such as downward pointing connectors (directed graph layout) or non-overlapping shapes. libvpsc contains updated code for quadratic program solver used by libcola and removeoverlaps. Fixes bug #1441411. 2006-07-02 Colin Marquardt * AUTHORS, src/ui/dialog/aboutbox.cpp: Add Niko, Hugo, Dale and Gustav. 2006-06-30 Michael Wybrow * src/connector-context.cpp, src/widgets/toolbox.cpp: Add undo event descriptions for the connector context. 2006-06-27 Michael Wybrow * packaging/macosx/ScriptExec/main.c: Add some quotes to fix a problem for people on OS X with spaces in their home directory path. Fixes bug #1512019. 2006-06-21 Colin Marquardt * share/templates/DVD_cover_regular_300dpi.svg, share/templates/DVD_cover_slim_300dpi.svg, share/templates/DVD_cover_superslim_300dpi.svg, share/templates/DVD_cover_ultraslim_300dpi.svg: DVD templates by Aleksandar Urosevic. Closes #1507164. 2006-06-19 Michael Wybrow * packaging/macosx/Resources/script, packaging/macosx/Resources/bin/inkscape: Improve quoting of shell variables. * packaging/macosx/ScriptExec/ScriptExec.xcodeproj/project.pbxproj: Xcode 2 project file for the OS X launcher. This will build a Universal version of the launcher by default. The project files for different versions are named differently, so this will be picked up and used if the package builder has a sufficiently new version of Xcode. * packaging/macosx/ScriptExec/ScriptExec.xcode/sveinbjornt.pbxuser, packaging/macosx/ScriptExec/ScriptExec.xcode/voisine.pbxuser: Remove unnecessary user preference files. * Makefile.am: Update the Xcode project files included when creating releases. 2006-06-13 Jon A. Cruz * TRANSLATORS, src/ui/dialog/aboutbox.cpp: Applied patch #1505715. 2006-06-13 Jon A. Cruz * packaging/macosx/Resources/etc/fonts/fonts.conf: Applied patch #1505765. 2006-06-09 Jon A. Cruz * src/object-snapper.cpp, src/selection.cpp, src/selection.h, src/seltrans.cpp: Applied patch #1503864. 2006-06-09 Jon A. Cruz * src/widgets/toolbox.cpp: Handle case when function call fails. Fixes bug #1501150. 2006-06-07 Jon A. Cruz * src/seltrans.cpp: Work-around for seltrans not getting calls to grab() and ungrab() as expected. Fixes bug #1501156. 2006-06-07 Jon A. Cruz * src/widgets/toolbox.cpp: Applied patch #1502407. Fixes bug #1500049. 2006-06-07 Jon A. Cruz * packaging/macosx/ScriptExec/main.c, packaging/osx-app.sh: Fixing OS X fc-cache problem. Applied patch #1502063. 2006-06-07 Jon A. Cruz * src/sp-item-group.cpp, src/sp-path.cpp, src/sp-star.cpp, src/sp-switch.cpp, src/ui/widget/ruler.cpp: Applied patch #1501709. 2006-06-05 Jon A. Cruz * trace/siox.cpp, trace/siox.h, trace/trace.cpp, src/ui/dialog/tracedialog.cpp: Applied patch #1501375. 2006-06-05 Jon A. Cruz * trace/siox.cpp, trace/trace.cpp: Applied patch #1501134. 2006-06-05 Jon A. Cruz * src/dialogs/layers-panel.cpp: Allow action when no layer selected. Fixes bugs #1494646. 2006-06-05 Jon A. Cruz * trace/siox.cpp: Applied patch #1500659. 2006-06-05 Jon A. Cruz * src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: Blocked signal when changes are not from the layers UI. Fixes bugs #1495406 and most of #1494646. 2006-06-02 Colin Marquardt * TRANSLATORS: Add Stefan Graubner. 2006-06-01 Jon A. Cruz * src/extension/internal/pdf-mini.h Fix for delete[] mismatch and binary tweak from Ulf Erikson. 2006-06-01 Jon A. Cruz * src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: Added layer opacity slider. Fixes RFE #1496569. 2006-05-31 Colin Marquardt * TRANSLATORS: Add vonHalenbach for tutorial translations. 2006-05-29 Jon A. Cruz * src/extension/internal/odf.cpp: Corrected deletes and uninitizlied variables. Fixes bug# 1489961. 2006-05-30 John Cliff src/trace/potrace/inkscape-potrace.cpp Changed bitsPerSample from hardcoded to calculated for multi color traces to fix bugs 1188811 and 1484076 2006-05-29 Jon A. Cruz * src/xml/repr-io.cpp: Changed to strip leading BOM from input. Fixes bug# 1121666. 2006-05-29 Bryce * sp-shape.cpp: Adding documentation 2006-05-29 Jon A. Cruz * src/desktop.cpp, src/layer-manager.cpp, src/dialogs/layers-panel.cpp: Workaround to avoid assertion upon file revert. 2006-05-28 Bryce * sp-marker.cpp: Adding documentation 2006-05-28 MenTaLguY * src/dialogs/clonetiler.cpp, src/dialogs/iconpreview.cpp, src/dialogs/stroke-style.cpp, src/display/curve.cpp, src/display/sp-canvas.cpp, src/dyna-draw-context.cpp, src/extension/internal/gnome.cpp, src/extension/internal/pdf.cpp, src/extension/internal/ps.cpp, src/extension/internal/win32.cpp, src/file.cpp, src/inkview.cpp, src/libnr/nr-macros.h, src/libnr/nr-object.cpp, src/libnr/nr-path.cpp, src/libnr/nr-pixblock.cpp, src/libnr/nr-pixblock-pattern.cpp, src/libnr/nr-svp.cpp, src/libnr/nr-svp-render.cpp, src/libnrtype/FontFactory.cpp, src/libnrtype/Layout-TNG-Output.cpp, src/libnrtype/nr-type-primitives.cpp, src/path-chemistry.cpp, src/splivarot.cpp, src/sp-marker.cpp, src/ui/widget/icon-widget.cpp, src/widgets/icon.cpp: replace nr_new() with g_new(), and try to converge on using the glib allocator a little more instead of the others (aside from libgc) 2006-05-28 MenTaLguY * share/icons/icons.svg: correct vertical text flow icon to correctly reflect lines stacking right-to-left, as well as improving pixel alignment on both text flow icons 2006-05-28 MenTaLguY * src/widgets/toolbox.cpp: add tooltips to text toolbar widgets 2006-05-28 Jon A. Cruz * src/layer-manager.cpp, src/layer-manager.h, src/preferences-skeleton.h, src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/inkscape-preferences.h, src/widgets/layer-selector.cpp, src/dialogs/layers-panel.cpp: Finished option to turn on or off deslecting when switching layers. Fixes RFE #1495701. 2006-05-28 Jon A. Cruz * src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: Changed clicking on visibility and locked toggles to not switch selected layer. Fixes bug #1495856. 2006-05-28 Michael Wybrow * src/sp-conn-end-pair.cpp: Detach connectors from empty groups before trying to route connectors to them. This is required since empty groups have no physical position. Fixes bug #1448811. 2006-05-27 Kees Cook * src/extension/implementation/script.cpp: allow output extension parameters to be prompted and used, closes bug #1495310. 2006-05-26 MenTaLguY * src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: make button labels translatable, and use HButtonBox instead of HBox for better appearance 2006-05-26 Jon A. Cruz * src/layer-manager.cpp, src/layer-manager.h, src/dialogs/layer-properties.cpp, src/dialogs/layers-panel.cpp: Prevent layer name duplication. Fixes bug #1115407. 2006-05-26 Jon A. Cruz * src/widgets/desktop-widget.cpp: Fixed resize handle in corner of main UI. Fixes bug #1493995. 2006-05-26 Jon A. Cruz * src/layer-manager.cpp, src/layer-manager.h, src/widgets/layer-selector.cpp: Cleaned up propagation of status changes. Fixes bug #1495333. 2006-05-26 Michael Wybrow * src/path-prefix.h: Add missing CREATE_* directory locations for building an OS X application bundle. Fixes bug #1495284. 2006-05-25 Bryce Harrington * src/inkscape.cpp: i18n on error messages (fix for bug 1490928) 2006-05-23 Jon A. Cruz * src/dialogs/layers-panel.cpp, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/preferences-skeleton.h, src/ui/previewfillable.h, src/ui/previewholder.cpp, src/ui/previewholder.h, src/ui/widget/panel.cpp, src/ui/widget/panel.h, src/verbs.cpp, src/widgets/desktop-widget.cpp: Refactored panels. Fixes RFE #1453153. Fixes RFE #1453152. 2006-05-23 MenTaLguY * src/extension/internal/ps.cpp: move %%EOF to end of output document 2006-05-22 Jon A. Cruz * src/dialogs/swatches.cpp, src/ui/widget/panel.cpp, src/ui/widget/panel.h: Removed panel menu unless requested. Fixes bug #1492597. 2006-05-22 MenTaLguY * src/extension/internal/svg.cpp: replace EXTREMELY inefficient (O(n^2), I think?) stacked C string concatenations with appends to a std::vector, which is amortized O(1) 2006-05-21 Marco Scholten * src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/inkscape-preferences.h: Added 'Show close button on dialogs' option. 2006-05-21 MenTaLguY * src/ui/view/view-widget.cpp: request collection pass after destruction of a view widget 2006-05-21 MenTaLguY * src/gc-core.h, src/gc.cpp: add GC::request_early_collection() to force a collection from the idle loop at opportune times * src/dialogs/filedialog.cpp: call GC::request_early_collection() after switching preview images 2006-05-21 Jon A. Cruz * src/layer-manager.cpp, src/layer-manager.h, src/dialogs/layers-panel.cpp, src/dialogs/layers-panel.h: Adding notification when managed layers change. 2006-05-21 Michael Wybrow * src/extension/internal/pdf.cpp: Compilation fix. For versions of glib older that 2.9.0, use g_date_set_time() instead of g_date_set_time_t(). 2006-05-20 MenTaLguY * src/extensin/internal/ps.cpp: add %%EOF trailer for DSC-compliance 2006-05-20 Colin Marquardt * share/extensions/lindenmayer.inx, share/extensions/kochify_load.inx, share/extensions/kochify.inx: Rename slightly, also makes for easier translation. 2006-05-20 Jon A. Cruz * src/widgets/icon.h, src/widgets/icon.cpp, src/dialogs/layers-panel.cpp: Changled dialog from checkboxes to icons for visible and locked. 2006-05-20 Michael Wybrow * src/libnrtype/FontInstance.cpp: patch from David Turner of the FreeType Project. Fixes a compilation problem and a possible segmentation fault. 2006-05-19 Jon A. Cruz * src/preferences-skeleton.h, src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: Selection and event handling cleanup. Added deeper display. 2006-05-18 Jon A. Cruz * src/layer-manager.cpp, src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp: Next round of layer dialog updates. 2006-05-17 Kees Cook * src/dialogs/rdf.cpp: corrected localization on array, added comments. * src/ui/widget/licensor.cpp: Localized the license name. * configure.ac: added comment about why sigc++ was upgraded 2006-05-17 Jon A. Cruz * src/dialogs/layers-panel.cpp: Flipped top/bottom in layers UI to reflect visible stacking. 2006-05-16 verbalshadow * src/desktop-style.h, src/desktop-style.cpp: Fixes calligraphy tool so drawing now uses the the correct opacity. 2006-05-17 Jon A. Cruz * src/dialogs/layers-panel.cpp, src/dialogs/layers-panel.h: Switched icons to stock generic. 2006-05-17 Michael Wybrow * src/dialogs/layers-panel.cpp: Compile fix from Mathieu Dimanche. 2006-05-16 Jon A. Cruz * src/document-subset.cpp: Corrected ordering of children in subset. 2006-05-15 Jon A. Cruz * src/Makefile_insert, src/desktop.cpp, src/desktop.h, src/layer-manager.cpp, src/menus-skeleton.h, src/verbs.cpp, src/verbs.h, src/dialogs/layers-panel.cpp, src/dialogs/layers-panel.h, src/dialogs/Makefile_insert: Base implementation of a layers dialog. 2006-05-14 Colin Marquardt * src/ui/dialog/inkscape-preferences.cpp (initPageTools): Typofix ("conector"). 2006-05-14 Jon A. Cruz * src/document-subset.cpp, src/layer-manager.h, src/layer-manager.cpp: Corrected base structure and avoiding infinite loop. 2006-05-14 Michael Wybrow * src/widgets/toolbox.cpp: Slightly increase size of the connector toolbar buttons to match button sizes on other toolbars. 2006-05-13 verbalshadow * src/dyna-draw-context.cpp, src/desktop-style.cpp, src/desktop-style.h: Calligraphy tool now draws in the last used color or the tool style depending on the Preference setting. 2006-05-11 Michael Wybrow * src/selection-chemistry.cpp, src/sp-conn-end-pair.cpp: When moving/transforming connectors, only detach connectors from objects that are not part of the selection. Previously, connectors moved as part of a selection would be detached from all objects. This has been requested several times via email. The change also fixes bug #1383806. * src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/inkscape-preferences.h, src/connector-context.cpp: Add a preferences setting to the connector tool for setting whether or not connectors attach to text objects. This change addresses feature request #1434292. 2006-05-09 Carl Hetherington * src/nodepath.cpp: fix silly bug with snapping node edits. * src/snapper.cpp, src/snapper.h, src/sp-namedview.cpp: re-enable link between grid visibility and grid snap. 2006-05-08 Michael Wybrow * conn-avoid-ref.cpp: Fix a crashbug that could occur in files containing connectors if they were loaded from the file chooser or from the recent file list. Fixes bug #1458820. 2006-05-08 MenTaLguY * src/display/curve.cpp: always make local copy of path data so that we have control over memory policy 2006-05-08 MenTaLguY * src/display/curve.h, src/display/curve.cpp, src/dropper-context.cpp: get rid of sp_curve_new_from_static_bpath() in a bid to simplify curve memory management 2006-05-08 MenTaLguY * src/display/canvas-bpath.cpp, src/display/curve.cpp, src/display/curve.h, src/display/nr-arena-shape.cpp, src/draw-context.cpp, src/extension/internal/odf.cpp, src/extension/internal/pov-out.cpp, src/nodepath.cpp, src/object-snapper.cpp, src/path-chemistry.cpp, src/sp-flowregion.cpp, src/splivarot.cpp, src/sp-offset.cpp, src/sp-path.cpp, src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/sp-use-reference.cpp: eliminate direct accesses to SPCurve::bpath 2006-05-08 MenTaLguY * src/streams-zlib.cpp, src/streams-jar.cpp, src/splivarot.cpp, src/extension/internal/bluredge.cpp: use std::vector rather than dynamically-sized automatic arrays, plus cleanups and minor fixes, and dead code removal 2006-05-08 MenTaLguY * src/debug/demangle.cpp, src/debug/demangle.h, src/sp-object.cpp, src/gc-anchored.cpp, src/debug/Makefile_insert: use c++filt for symbol demangling if available 2006-05-08 MenTaLguY * src/xml/repr-util.cpp: comments explaining namespace mapping for the broken sodipodi namespace 2006-05-08 Carl Hetherington * src/seltrans.cpp, src/snap.cpp, src/snap.h: fix ctrl-scaling when there is no snap. More snapping cleanups. 2006-05-07 Michael Wybrow * knot.h, knot.cpp, connector-context.cpp: Fix glib-gobject-warnings for knots in the connector tool. 2006-05-07 Jon A. Cruz * src/document-subset.cpp: Corrected two bugs, with the minor one hiding the more severe. 2006-05-06 MenTaLguY * src/xml/repr-util.cpp, src/xml/repr.h: add fixup for incorrect sodipodi namespace 2006-05-06 MenTaLguY * doc/NewAppArchitecture/01-title.svg, doc/NewAppArchitecture/04-current-main.svg, doc/NewAppArchitecture/05-current-objects.svg, doc/NewAppArchitecture/06-current-desktop-view.svg, doc/NewAppArchitecture/07-current-problems.svg, doc/NewAppArchitecture/08-inkscape-gtkmm.svg doc/NewAppArchitecture/09-future-capabilities.svg, doc/NewAppArchitecture/10-future-main.svg, doc/NewAppArchitecture/11-future-ink-app.svg, doc/NewAppArchitecture/12-future-run-modes.svg, doc/NewAppArchitecture/13-future-ink-app-editor.svg, doc/NewAppArchitecture/14-evolving.svg, share/examples/art-nouveau-P3.svg, share/examples/eastern-motive-P4G.svg, share/examples/i18n.svg, share/examples/markers.svg, share/examples/tesselation-P3.svg, share/examples/text-on-path.svg, share/icons/David_icons.svg, share/icons/icons.svg, share/icons/legacy_icons.svg, share/screens/about.svg, share/templates/business_card_85x54mm.svg, share/templates/default.cs.svg, share/templates/default.lt.svg, share/templates/default.pl.svg, share/tutorials/gpl-2.svg, share/tutorials/tutorial-advanced.es.svg, share/tutorials/tutorial-advanced.fr.svg, share/tutorials/tutorial-advanced.ja.svg, share/tutorials/tutorial-advanced.sl.svg, share/tutorials/tutorial-advanced.svg, share/tutorials/tutorial-basic.ca.svg, share/tutorials/tutorial-basic.de.svg, share/tutorials/tutorial-basic.es.svg, share/tutorials/tutorial-basic.fr.svg, share/tutorials/tutorial-basic.ja.svg, share/tutorials/tutorial-basic.nn.svg, share/tutorials/tutorial-basic.sl.svg, share/tutorials/tutorial-basic.svg, share/tutorials/tutorial-calligraphy.es.svg, share/tutorials/tutorial-calligraphy.fr.svg, share/tutorials/tutorial-calligraphy.sl.svg, share/tutorials/tutorial-calligraphy.svg, share/tutorials/tutorial-elements.es.svg, share/tutorials/tutorial-elements.fr.svg, share/tutorials/tutorial-elements.sl.svg, share/tutorials/tutorial-elements.svg, share/tutorials/tutorial-shapes.ca.svg, share/tutorials/tutorial-shapes.es.svg, share/tutorials/tutorial-shapes.fr.svg, share/tutorials/tutorial-shapes.ja.svg, share/tutorials/tutorial-shapes.sl.svg, share/tutorials/tutorial-shapes.svg, share/tutorials/tutorial-tips.es.svg, share/tutorials/tutorial-tips.fr.svg, share/tutorials/tutorial-tips.sl.svg, share/tutorials/tutorial-tips.svg, share/tutorials/tutorial-tracing.de.svg, share/tutorials/tutorial-tracing.es.svg, share/tutorials/tutorial-tracing.fr.svg, share/tutorials/tutorial-tracing.sl.svg, share/tutorials/tutorial-tracing.svg, src/extension/dxf2svg/dxf2svg.cpp, src/menus-skeleton.h, src/preferences-skeleton.h: get the CORRECT sodipodi namespace in there 2006-05-06 MenTaLguY * src/xml/repr-util.cpp: fix for #1483198 ("infectious namespaces") 2006-05-01 Jon A. Cruz * src/verbs.h, src/verbs.cpp, src/verbs-test.h: Fixed problem with std::map use making last verb inaccessible. 2006-05-05 Carl Hetherington * src/draw-context.cpp, src/line-snapper.h, src/snap.cpp, src/snapper.cpp, src/line-snapper.cpp, src/snap.h, src/context-fns.cpp, src/object-snapper.h, src/seltrans.cpp, src/nodepath.cpp, src/snapper.h, src/object-snapper.cpp: various snapping fixes and cleanups. 06-05-04 Carl Hetherington * src/guide-snapper.h, src/line-snapper.h, src/snap.cpp, src/snap.h, src/object-snapper.h, src/sp-namedview.cpp, src/grid-snapper.h: clean up knutux's fix for the snapper crash. 2006-05-03 Michael Wybrow * po/pt_BR.po: Fix some "Unmatched closing " warnings. * src/jabber_whiteboard/pedrodom.cpp: Compile fix for Mac OS. 2006-05-03 Carl Hetherington * src/arc-context.cpp, src/connector-context.cpp, src/context-fns.cpp, src/desktop.cpp, src/draw-context.cpp, src/nodepath.cpp, src/object-edit.cpp, src/pencil-context.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/snap.cpp, src/snap.h, src/sp-namedview.cpp, src/sp-namedview.h, src/spiral-context.cpp, src/star-context.cpp, src/ui/dialog/document-properties.cpp: Give SPNamedView a SnapManager instance and use it for all management of snapping settings. * src/snap.cpp, src/snap.h: remove the unused namedview_dim_snap_list() 2006-05-01 Jon A. Cruz * src/Makefile.am, src/Makefile_insert, src/attributes-test.h, src/color-profile-test.h, src/mod360-test.cpp, src/mod360-test.h, src/round-test.cpp, src/round-test.h, src/sp-gradient-test.cpp, src/sp-gradient-test.h, src/sp-style-elem-test.cpp, src/sp-style-elem-test.h, src/style-test.h, src/test-helpers.h: Replaced four more tests with CxxTest versions. 2006-05-01 MenTaLguY * src/display/nr-arena-item.cpp: use GC allocator for bitmap cache and transform 2006-05-01 Marco Scholten * src/dialogs/inkscape-preferences.cpp: Moved 'compass like display of angles' from 'windows' to 'steps'. 2006-04-30 MenTaLguY * src/libnr/nr-object.cpp: log finalization of NRObjects 2006-04-29 Jon Phillips * src/dialogs/rdf.cpp: Updated cc licenses to 2.5 by default. * src/ui/dialog/document-metadata.cpp: Made metadata window resizable so that one can see the licenses and enter long entries. 2006-04-29 MenTaLguY * src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp, src/display/nr-arena-item.h, src/display/nr-arena-shape.cpp: rationalize function names and remove spurious soft_ptr 2006-04-29 MenTaLguY * src/document.cpp: use proper unref function on SPRoot to avoid appearance of leak 2006-04-29 MenTaLguY * src/gc-anchored.cpp, src/xml/simple-node.cpp, src/sp-object.cpp: switch everyone to simpler debug event API 2006-04-29 MenTaLguY * src/Makefile_insert, src/gc-finalized.cpp, src/gc-finalized.h: add finalizer logging 2006-04-29 MenTaLguY * src/debug/simple-event.h: simplify the SimpleEvent API more 2006-04-29 MenTaLguY * src/debug/simple-event.h: make Debug::SimpleEvent more convenient * src/debug/event.h, src/debug/logger.cpp: add FINALIZERS category 2006-04-29 MenTaLguY * src/debug/logger.cpp: finish interrupted refactoring of log filter configuration 2006-04-29 MenTaLguY * src/doc/Makefile.am, src/doc/refcounting.txt: some developer documentation about refcounting 2006-04-29 MenTaLguY * src/ui/view/view.cpp: Wait a minute -- UI::View::View and SPDocument are both managed by the collector -- the view doesn't need to ref the document! 2006-04-29 MenTaLguY * src/ui/view/view.cpp: add missing unref 2006-04-29 MenTaLguY * src/gc-anchored.cpp, src/gc-anchored.h: added refcount logging to GC::Anchored * src/util/Makefile_insert, src/util/format.h: shared string printf 2006-04-28 MenTaLguY * src/sp-object.cpp: make refcount logging a little more useful by including the relevent class name 2006-04-28 Jon A. Cruz * src/Makefile_insert, src/Makefile.am, src/dir-util-test.h, src/dir-util-test.cpp, src/extract-uri-test.h, src/extract-uri-test.cpp: Replaced two tests with CxxTest versions. 2006-04-28 Jon A. Cruz * src/Makefile_insert, src/MultiPrinter.h, src/verbs.h, src/verbs-test.h: Adding unit test for verbs. 2006-04-27 verbalshadow * src/io/resource.h, src/io/resource.cpp, src/dialogs/swatches.cpp, src/helper/stock-items.cpp: Added CREATE v0.1 support for gradients/swatches/patterns Support for Linux & Win32. Mac support waiting final support Directory info. 2006-04-26 Jon A. Cruz * src/Makefile.am, src/MultiPrinter.h, src/PylogFormatter.h, src/TRPIFormatter.h, src/selfname.tpl, src/libnr/Makefile_insert, src/svg/Makefile_insert, src/xml/Makefile_insert: Adding multiple test output formats. 2006-04-23 verbalshadow * path-prefix.h: Added beginnings of CREATE support in path-prefix.h 2006-04-23 verbalshadow * src/object-ui.cpp, src/object-ui.h: moved to src/ui/context-menu.cpp, src/ui/context-menu.h to make it easier to find 2006-04-20 MenTaLguY * src/dyna-draw-context.cpp, src/dyna-draw-context.h: remove unused timer code 2006-04-19 Andrius R. * src\display\nr-arena-item.cpp, src\display\canvas-arena.cpp, src\display\nr-arena-shape.cpp, src\display\sp-canvas.h, src\display\nr-arena.cpp, src\display\nr-arena-shape.h, src\display\nr-arena-glyphs.cpp, src\display\nr-gradient-gpl.cpp, src\display\sp-canvas.cpp, src\display\sp-ctrlline.cpp, src\livarot\ShapeSweep.cpp, src\livarot\Shape.h, src\livarot\Shape.cpp, src\livarot\Path.h, src\livarot\PathConversion.cpp, src\livarot\ShapeMisc.cpp, src\livarot\Path.cpp, src\libnr\nr-pixblock.h, src\libnr\nr-pixblock.cpp Rendering optimisation, which gives best results for zoomed in drawings with complex (multi-node) paths. Optimisation focus - eliminating cubicTo and LineTo nodes outside of visible area, so no unneeded calculations is needed and less memory is consumed (this avoids crashes which were occurring previously if zooming into a complex drawing) 2006-04-18 njh * share/extensions/measure.inx, share/extensions/measure.py, share/extensions/Makefile.am Added the measure extension that marks lengths onto paths. 2006-04-17 MenTaLguY * src/application/editor.cpp, src/arc-context.cpp, src/conn-avoid-ref.cpp, src/connector-context.cpp, src/desktop-events.cpp, src/desktop-handles.h, src/dialogs/clonetiler.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp, src/dialogs/find.cpp, src/dialogs/iconpreview.cpp, src/dialogs/item-properties.cpp, src/dialogs/layer-properties.cpp, src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/swatches.cpp, src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp, src/dialogs/xml-tree.cpp, src/draw-anchor.cpp, src/draw-context.cpp, src/dropper-context.cpp, src/dyna-draw-context.cpp, src/event-context.cpp, src/extension/implementation/script.cpp, src/file.cpp, src/gradient-context.cpp, src/gradient-drag.cpp, src/helper/stock-items.cpp, src/inkscape.cpp, src/interface.cpp, src/jabber_whiteboard/callbacks.cpp, src/jabber_whiteboard/chat-handler.cpp, src/jabber_whiteboard/message-processors.cpp, src/jabber_whiteboard/message-queue.cpp, src/jabber_whiteboard/session-manager.cpp, src/knot.cpp, src/node-context.cpp, src/nodepath.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/pencil-context.cpp, src/pen-context.cpp, src/rect-context.cpp, src/rubberband.cpp, src/satisfied-guide-cns.cpp, src/selcue.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/selection.cpp, src/seltrans.cpp, src/sp-flowtext.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/sp-namedview.cpp, src/sp-text.cpp, src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/tools-switch.cpp, src/trace/potrace/inkscape-potrace.cpp, src/trace/trace.cpp, src/ui/dialog/align-and-distribute.cpp, src/ui/dialog/dialog.cpp, src/ui/dialog/document-metadata.cpp, src/ui/dialog/document-properties.cpp, src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/session-player.cpp, src/ui/dialog/transformation.cpp, src/ui/widget/color-picker.cpp, src/ui/widget/page-sizer.cpp, src/ui/widget/registered-widget.cpp, src/ui/widget/ruler.cpp, src/ui/widget/selected-style.cpp, src/ui/widget/tolerance-slider.cpp, src/verbs.cpp, src/widgets/gradient-toolbar.cpp, src/widgets/layer-selector.cpp, src/widgets/select-toolbar.cpp, src/widgets/sp-xmlview-content.cpp, src/widgets/toolbox.cpp: Get rid of the SP_DT_* macros which do nothing more than provide additional, confusing, names for other functions. If shorter names are desired, the actual functions should be renamed -- or better, made into member functions. 2006-04-09 Jon A. Cruz * share/icons/icons.svg: Fixed jumping eye (layer visibility). 2006-04-07 Jon A. Cruz * po/eu.po: Fix a "Unmatched closing " warnings. 2006-04-07 Jon A. Cruz * src/widgets/paint-selector.cpp, src/widgets/gradient-toolbar.cpp, src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp, src/dialogs/clonetiler.cpp, src/dialogs/object-properties.cpp: Shrunk a few icon sizes. 2006-04-07 Jon A. Cruz * src/widgets/desktop-widget.cpp, src/widgets/icon.cpp, src/widgets/layer-selector.cpp: Added implementation of smaller icon size. 2006-04-06 Jon A. Cruz * src/color-profile.cpp, src/sp-image.cpp: Simple debugging #ifdefs added. 2006-04-06 Jon A. Cruz * src/interface.cpp, src/dialogs/clonetiler.cpp, src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp, src/dialogs/xml-tree.cpp, src/ui/dialog/align-and-distribute.cpp, src/ui/widget/labelled.cpp, src/widgets/button.cpp, src/widgets/button.h, src/widgets/desktop-widget.cpp, src/widgets/gradient-toolbar.cpp, src/widgets/icon.cpp, src/widgets/icon.h, src/widgets/layer-selector.cpp, src/widgets/paint-selector.cpp, src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp, src/widgets/toolbox.h, src/icon-size.h: Decoupling from direct use of GtkIconSize to allow for smaller custom ones. 2006-04-06 Jon A. Cruz * src/Makefile_insert, src/Makefile.am, src/color-profile.cpp src/color-profile.h, src/color-profile-fns.h, src/color-profile-test.h, src/sp-image.cpp: Adding rendering-intent to . 2006-04-05 MenTaLguY * configure.ac, share/keyboards/.cvsignore, share/keyboards/Makefile.am, share/keyboards/README, share/keys/.cvsignore, share/keys/Makefile.am, share/keys/Makefile.in, share/Makefile.am: share/keyboards -> share/keys * share/keys/Makefile.am, share/keys/default.xml, src/Makefile_insert, src/shortcuts.cpp, src/shortcuts-default-xml.cpp: first shot at configurable keymaps 2006-04-05 MenTaLguY * src/io/Makefile_insert, src/io/resource.cpp, src/io/resource.h: introduce uniform resource path API to replace copy-and-pasted hacks 2006-04-05 Jon A. Cruz * src/svg/svg-color-test.h, src/svg/svg-color.cpp: Tuned icc-color() parsing. 2006-04-02 Jon A. Cruz * src/color-profile.h, src/color-profile.cpp, src/color-profile-fns.h, src/sp-image.h, src/sp-image.cpp: Initial support of color-profile on elements. 2006-04-02 Jon A. Cruz * src/color-profile.h, src/color-profile.cpp, src/color-profile-fns.h, src/Makefile_insert, src/attributes.cpp, src/attributes.h, src/sp-object-repr.cpp: Adding support for element. 2006-04-02 Jon A. Cruz * src/knot.h: Fixed warning messages. 2006-04-01 Jon A. Cruz * src/ui/widget/selected-style.cpp: Safety check for null pointer. 2006-04-01 Jon A. Cruz * configure.ac, src/interface.cpp, src/dialogs/swatches.cpp: Introducing optional LittleCms use. 2006-03-31 MenTaLguY * src/dyna-draw-context.cpp, src/dyna-draw-context.cpp: merge ::dragging and ::dynahand 2006-03-31 MenTaLguY * src/dyna-draw-context.h: add documentation 2006-03-29 Andrius R. * src/enums.h, src/selection-chemistry.cpp, src/selection.h, src/selection.cpp, src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/inkscape-preferences.h: patch #1450307 - option for select all to work in layer with it's sub-layers 2006-03-29 Andrius R. * po/lt.po: Translated and added new language - Lithuanian. 2006-03-28 Jon A. Cruz * src/interface.cpp, src/dialogs/swatches.cpp: Fixing name of temporary non-standard tag attributes. 2006-03-28 MenTaLguY * src/layer-manager.cpp, src/layer-manager.h: draft of layer manager 2006-03-28 Jon A. Cruz * src/interface.cpp, src/dialogs/eek-color-def.h, src/dialogs/eek-preview.h, src/dialogs/eek-preview.cpp, src/dialogs/swatches.h, src/dialogs/swatches.cpp: Changed objects to only get liked to "linkable" colors. 2006-03-28 Jon A. Cruz * src/interface.cpp, src/dialogs/swatches.cpp: Objects now change when linked colors change. 2006-03-28 Jon A. Cruz * src/dialogs/eek-color-def.h, src/dialogs/eek-color-def.cpp, src/dialogs/eek-preview.h, src/dialogs/eek-preview.cpp, src/dialogs/swatches.h, src/dialogs/swatches.cpp: Experimenting with linked colors. 2006-03-26 Aaron C. Spike * inkscape.pod, src/main.cpp: Added --export-area-canvas (-C). Area specifying options (--export-area, --export-area-canvas and --export-area-drawing) can now be used in combination with --export-id. 2006-03-23 Jon A. Cruz * src/dialogs/eek-color-def.cpp, src/dialogs/eek-color-def.h, src/dialogs/Makefile_insert, src/dialogs/swatches.h, src/dialogs/swatches.cpp: Bringing in new color class. 2006-03-23 Michael Wybrow * packaging/macosx/Resources/bin/inkscape: Fix a packaging problem on Mac OSX where Inkscape wouldn't open if one of the parent directories containing the app bundle contained a '#' in its name. Fixes bug #1443072. 2006-03-15 Michael Wybrow * share/icons/Makefile.am: Update a makefile after the icon file renaming. 2005-03-14 MenTaLguY * src/layer-fns.h, src/dialogs/layer-properties.cpp, src/dialogs/layer-properties.h, src/layer-fns.cpp: merged patch #1447043 from Andrius "knutux" R. to create sub-layers 2006-03-14 MenTaLguY * src/Makefile_insert, src/display/nr-arena-item.cpp, src/display/nr-arena-item.cpp, src/gc-finalized.h, src/gc-managed.h, src/gc-soft-ptr.h, src/selection.h, src/selection.cpp: Replace GC::Managed<>::clearOnceInaccessible with GC::soft_ptr<> 2006-03-14 MenTaLguY * src/debug/event.h, src/debug/gc-heap.h, src/debug/heap.h, src/debug/logger.cpp, src/debug/simple-event.h, src/debug/sysv-heap.h, src/jabber_whiteboard/deserializer.cpp, src/jabber_whiteboard/message-utilities.cpp, src/jabber_whiteboard/message-utilities.h, src/jabber_whiteboard/node-tracker-observer.h, src/jabber_whiteboard/serializer.cpp, src/jabber_whiteboard/serializer.h, src/sp-object.cpp, src/util/share.cpp, src/util/share.h, src/xml/attribute-record.h, src/xml/comment-node.h, src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h, src/xml/event.cpp, src/xml/event.h, src/xml/log-builder.cpp, src/xml/log-builder.h, src/xml/node-observer.h, src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h, src/xml/simple-session.cpp, src/xml/simple-session.h, src/xml/text-node.h: shared_ptr -> ptr_shared 2006-03-13 Peter Moulder * src/svg/svg-color.cpp (sp_svg_write_color): More readable colour names when possible: e.g. `red', `#cfc'. 2006-03-10 Jon A. Cruz * src/interface.cpp: Shift-drop now sets stroke on target objects. 2006-03-11 MenTaLguY * src/sp-object.cpp: experiment to verify that we can safely release before removing object from document tree 2006-03-10 Jon A. Cruz * src/dialogs/swatches.cpp: Changed color dragging to have a color preview. 2006-03-09 Jon A. Cruz * src/interface.cpp: Initial cut of color drag-n-drop to items on canvas. 2006-03-09 Peter Moulder * src/path-chemistry.cpp (sp_selected_path_reverse): Fix when multiple paths are selected. Also fix a small memory leak. 2006-03-06 MenTaLguY * src/document-subset.h, src/document-subset.cpp: add DocumentSubset::_clear 2006-03-05 MenTaLguY * src/document-subset.h, src/document-subset.cpp: remove unneeded document parameter from constructor 2006-03-05 MenTaLguY * src/document-subset.cpp: Wire up new SPObject signal to DocumentSubset, so order changes will be reflected in the subset. 2006-03-05 MenTaLguY * src/sp-object.h, src/sp-object.cpp: Add signal for notification of object position changes. 2006-03-05 MenTaLguY * src/Makefile_insert, src/document-subset.cpp, src/document-subset.h: Add DocumentSubset as groundwork for layers. 2006-03-04 Jon A. Cruz * src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp: Style minibar now only accepts color drag-n-drop when not N/A. Final tweak for completing RFE #1429027. 2006-02-28 Jon A. Cruz * src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp: Made the style minibar a target for color drag-n-drop. 2006-03-01 Michael Wybrow * src/conn-avoid-ref.cpp, src/libavoid/connector.h, src/libavoid/shape.cpp, src/libavoid/graph.cpp, src/libavoid/shape.h, src/libavoid/graph.h, src/libavoid/router.cpp, src/libavoid/router.h, src/libavoid/connector.cpp, src/libavoid/debug.h: Some speed improvements and interface cleanups to libavoid. 2006-02-28 Jon A. Cruz * src/dialogs/swatches.cpp: Fixed drag-n-drop out of color to match GTK+ standard. 2006-02-27 Jon A. Cruz * src/dialogs/swatches.cpp, src/ui/previewfillable.h, src/ui/previewholder.h, src/ui/previewholder.cpp: Finished cleanup of embedded swatches when switching palettes. 2006-02-26 Jon A. Cruz * src/dialogs/swatches.cpp, src/ui/previewholder.h, src/ui/previewholder.cpp: Changing embedded swatches resizing. 2006-02-26 Jon A. Cruz * src/text-context.cpp: Allow Private Use Area characters. Fixes bug #1439016. 2006-02-18 Jon A. Cruz * src/dialogs/swatches.cpp, src/dialogs/iconpreview.cpp, src/ui/widget/panel.cpp, src/ui/widget/panel.h: Refactoring panel containment. Purged ugly 'X'. 2006-02-18 Jon A. Cruz * src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/ui/widget/panel.cpp, src/ui/widget/panel.h, src/ui/previewholder.cpp, src/ui/previewholder.h: Adding spacer to get swatches scrollbar enough room to move. Tuning up API for better embedding. 2006-02-18 Jon A. Cruz * src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/ui/previewholder.cpp, src/ui/previewfillable.h, src/ui/previewholder.h: Removed horizontal scroll bar from swatches when embedded. 2006-02-15 Michael Wybrow * src/document.cpp, src/document.h, src/sp-conn-end-pair.cpp, src/connector-context.cpp, src/conn-avoid-ref.cpp: Keep a seperate connector router for each document. * src/libavoid/Makefile_insert, src/libavoid/connector.cpp, src/libavoid/connector.h, src/libavoid/debug.h, src/libavoid/geometry.cpp, src/libavoid/geometry.h, src/libavoid/geomtypes.h, src/libavoid/graph.cpp, src/libavoid/graph.h, src/libavoid/incremental.cpp, src/libavoid/incremental.h, src/libavoid/libavoid.h, src/libavoid/makepath.cpp, src/libavoid/makepath.h, src/libavoid/polyutil.cpp, src/libavoid/polyutil.h, src/libavoid/router.cpp, src/libavoid/router.h, src/libavoid/shape.cpp, src/libavoid/shape.h, src/libavoid/static.cpp, src/libavoid/static.h, src/libavoid/timer.cpp, src/libavoid/timer.h, src/libavoid/vertices.cpp, src/libavoid/vertices.h, src/libavoid/visibility.cpp, src/libavoid/visibility.h: Upstream changes to libavoid that allow multiple connector router instances, as well a few other minor bugfixes. 2006-02-14 Michael Wybrow * src/display/sp-canvas.cpp, display/sp-canvas.h, connector-context.cpp: Revert a previous change that generated enter events for canvas items other than the current one when mouse buttons were depressed. These events are now only generated in the connector context, where they are required. 2006-02-13 Michael Wybrow * src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/libavoid/connector.cpp, src/libavoid/connector.h: Change the behaviour and naming of some connector querying code after feedback from Tim Dwyer in implementing graph drawing functionality. 2006-02-11 Michael Wybrow * src/sp-conn-end-pair.cpp, src/conn-avoid-ref.cpp: Fix two bugs from my commit yesterday. 2006-02-10 Michael Wybrow * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/libavoid/connector.cpp, src/libavoid/connector.h, src/libavoid/visibility.cpp: Add some code to allow querying of items and connectors to find out what is attached to them. This will allow graph layout algorithms (currently being worked on by Tim Dwyer) to determine a graph structure from the diagram. 2006-02-07 MenTaLguY * src/widgets/icon.cpp: get rid of icon prerender time messages 2006-02-07 MenTaLguY * src/debug/gc-heap.h, src/debug/logger.cpp, src/debug/sysv-heap.h, src/jabber_whiteboard/deserializer.cpp, src/sp-object.cpp, src/util/share.h, src/xml/simple-node.cpp: share_static -> share_static_string 2006-02-07 Michael Wybrow * src/jabber_whiteboard/message-utilities.h, src/jabber_whiteboard/serializer.cpp, src/jabber_whiteboard/deserializer.cpp, src/jabber_whiteboard/message-utilities.cpp, src/ui/dialog/whiteboard-connect.cpp: Some fixes to allow the codebase to compile with Inkboard support after the recent Util::shared_ptr<> and Dialog::present() changes. 2006-02-05 Marco Scholten * src/verbs.cpp: updated to make double clicking a tool button open the new preferences dialog. * src/ui/dialog/inkscape-preferences.cpp: updated to enable opening the dialog on the correct page. * src/ui/dialog/dialog.cpp: added virtual void present() so that InkscapePreferences::present() will be called from DialogManager::showDialog() 2006-02-05 MenTaLguY * src/debug/event.h, src/debug/gc-heap.h, src/debug/heap.h, src/debug/logger.cpp, src/debug/simple-event.h, src/debug/sysv-heap.h, src/jabber_whiteboard/deserializer.cpp, src/jabber_whiteboard/message-utilities.cpp, src/jabber_whiteboard/message-utilities.h, src/jabber_whiteboard/node-tracker-observer.h, src/jabber_whiteboard/node-utilities.cpp, src/jabber_whiteboard/serializer.cpp, src/jabber_whiteboard/serializer.h, src/sp-object.cpp, src/util/Makefile_insert, src/util/share.cpp, src/util/shared-c-string-ptr.cpp, src/util/shared-c-string-ptr.h, src/util/share.h, src/xml/attribute-record.h, src/xml/comment-node.h, src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h, src/xml/event.cpp, src/xml/event.h, src/xml/log-builder.cpp, src/xml/log-builder.h, src/xml/node-observer.h, src/xml/repr.cpp, src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h, src/xml/simple-session.cpp, src/xml/simple-session.h, src/xml/text-node.h: replace Util::SharedCStringPtr with the nicer and more general Util::shared_ptr<> 2006-02-03 Jon Phillips * src/verbs.cpp: Added "..." to "Trace Bitmap" text. Yes, what a simple and dumb thing to add for consistency. 2006-01-24 Michael Wybrow * src/libavoid/connector.cpp, src/libavoid/connector.h, src/libavoid/shape.cpp, src/libavoid/graph.cpp, src/libavoid/incremental.cpp, src/libavoid/incremental.h, src/libavoid/static.cpp, src/libavoid/visibility.cpp, src/libavoid/makepath.cpp: Some minor upstream libavoid fixes. 2006-01-23 Carl Hetherington * src/selection.cpp: fix a typo in one of my previous commits. Closes #1401357. * src/xml/repr-io.cpp: catch failures in fopen of XML files. Closes #1374551. 2006-01-20 Michael Wybrow * src/widgets/toolbox.cpp, src/widgets/desktop-widget.cpp, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/sp-namedview.cpp, src/sp-namedview.h, src/attributes.cpp, src/attributes.h, src/attributes-test.cpp: Added a "Spacing" control to the connector toolbar which allows the user to adjust the amount of space left around avoided shapes for the purpose of determining auto-routing connector paths. 2006-01-17 Marco Scholten * /src/ui/dialog/inkscape-preferences.cpp: Added style swatches, Changed Gtk::Requisition Gtk::Widget::size_request() to void Gtk::Widget::size_request(const Requisition& requisition) * /src/ui/dialog/preferences-widget.cpp & .h: Added DialogPage::set_tip() 2006-01-17 Michael Wybrow * packaging/osx-app.sh, packaging/macosx/Resources/etc/fonts/fonts.conf: Use a modified fonts.conf file for Mac OS X that includes the standard user font directory ~/Library/Fonts. 2006-01-16 Michael Wybrow * src/svg/Makefile_insert: Updated to reflect a previous header file renaming. 2006-01-12 Marco Scholten * /src/ui/dialog/inkscape-preferences.cpp & .h: Converted preferences dialog to gtkmm * src/ui/widget/preferences-widget.cpp & .h: New files. * src/verbs.cpp: updated to start new dialog. 2006-01-11 Michael Wybrow * src/sp-item-group.cpp, src/sp-path.cpp, src/sp-star.cpp, src/extension/internal/svg.cpp, src/ui/widget/ruler.cpp: Fix some compilation problems on Mac OS X after recent includes cleanup. 2006-01-05 Jon A. Cruz * src/widgets/desktop-widget.cpp: Corrected resize behavior of canvas/swatches split. 2006-01-06 Mathieu Dimanche * src/util/units.cpp: forcin 'C' locale for reading units.txt file Fixes bug #1391348. 2006-01-05 MenTaLguY * src/libnr/nr-maybe.h: fix constness/local reference issues 2006-01-04 MenTaLguY * src/Makefile_insert, src/shortcuts-default-xml.cpp, src/shortcuts.cpp, src/shortcuts.xml: Moved default shortcuts XML file into a string constant (for now); replaced hard-coded structure with code to read XML file. 2006-01-04 Peter Moulder * src/extension/internal/ps.cpp (setup): Clarify the meaning of `Print destination', mentioning the new possibility of leaving as empty. * (PrintPS::begin) If print destination is an empty string, then don't pass `-P %s' to lpr: just let lpr use its default. * (PrintPS::init) Change default print destination from `lp' to empty string. 2006-01-04 Jon A. Cruz * src/widgets/desktop-widget.cpp: Adding split pane for swatches. 2006-01-03 Michael Wybrow * src/libavoid/visibility.cpp: Add operator!= for the EdgePair class. This is needed to compile on Tru64 UNIX. Fixes bug #1386755. 2005-12-30 Josh Andler * src/ui/widget/selected-style.cpp, src/ui/widget/selected-style.h Added "invert" function to right-click menu of style selector. 2005-12-22 Jon A. Cruz * share/palettes/Tango-Palette.gpl: Updated to newer version from the Tango project. 2005-12-21 Jon A. Cruz * src/interface.cpp, src/preferences-skeleton.h, src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp: Adding panels/swatches to main UI. 2005-12-23 Tim Dwyer * src/removeoverlap/*.{cpp,h}: Bug fix in removeoverlap algorithm that should finally get timestamps working properly. Specifically, heap timestamps are now refreshed before a merge. 2005-12-19 Michael Wybrow * src/sp-conn-end.cpp, src/connector-context.cpp: Have connectors draw to the correct position on shape bounding boxes. Previously the point where connectors were drawn was on straight line between the two endpoints. These points now lie on the line between the second last point on the polyline and the center of the shape. * src/display/curve.cpp, src/display/curve.hpp: Added a couple of functions that return the second and second-last points in a curve. * src/removeoverlap/generate-constraints.cpp: Moved the #include "isnan.h" to be the final include. This fixes a compilation error on OS X. 2005-12-16 Carl Hetherington * src/conn-avoid-ref.cpp, sp-conn-end-pair.cpp, sp-conn-end.cpp, sp-item.cpp, sp-shape.cpp, dialogs/clonetiler.cpp, dialogs/stroke-style.cpp, dialogs/tiledialog.cpp, dialogs/unclump.cpp, display/nr-arena-shape.cpp, display/nr-arena-shape.h, widgets/icon.cpp: more NRRect removal. * src/desktop.cpp, src/desktop.h, src/dyna-draw-context.cpp, src/selection-chemistry.cpp, src/sp-namedview.cpp, src/verbs.cpp, src/display/sp-canvas.cpp, src/display/sp-canvas.h, src/ui/view/edit-widget.cpp, src/ui/widget/zoom-status.cpp, src/widgets/desktop-widget.cpp: more NRRect removals and cleanups. * src/grid-snapper.cpp: snap only to visible grid lines (patch from mtou). 2005-12-15 Carl Hetherington * src/conn-avoid-ref.cpp, src/gradient-chemistry.cpp, src/sp-conn-end.cpp, src/sp-item.{cpp,h}: NR::Rect version of sp_item_invoke_bbox (SPItem::invokeBbox). Use it in some places. 2005-12-14 Carl Hetherington * src/dyna-draw-context.cpp, src/gradient-context.cpp, src/selection.h, src/sp-flowtext.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-shape.cpp, src/sp-text.cpp, src/dialogs/layer-properties.cpp, src/extension/internal/bluredge.cpp, src/extension/internal/grid.cpp, src/ui/dialog/transformation.cpp, src/widgets/desktop-widget.cpp: remove NRMatrix version of sp_item_i2d_affine(). Some include file adjustments. * src/arc-context.cpp: some very minor cleanups. * src/svg/svg-length.{cpp,h}, src/helper/units.cpp: use INCH rather than IN to avoid breaking the compile on some systems. 2005-12-13 Carl Hetherington * src/arc-context.cpp, src/connector-context.cpp, src/context-fns.cpp, src/desktop-affine.cpp, src/desktop-affine.h, src/desktop-events.cpp, src/desktop.cpp, src/desktop.h, src/draw-anchor.cpp src/dropper-context.cpp, src/dyna-draw-context.cpp, src/event-context.cpp src/gradient-context.cpp, src/knot.cpp, src/node-context.cpp, src/object-snapper.cpp src/pen-context.cpp, src/pencil-context.cpp, src/rect-context.cpp src/select-context.cpp, src/selection-chemistry.cpp, src/sp-item.cpp, src/sp-item.h src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp src/zoom-context.cpp, src/ui/widget/ruler.cpp: make desktop's transforms private members. * src/document.cpp, src/object-edit.cpp, src/sp-ellipse.cpp, src/sp-ellipse.h, src/sp-gradient.cpp, src/sp-image.cpp, src/sp-image.h, src/sp-line.cpp, src/sp-line.h, src/sp-linear-gradient.h, src/sp-marker.cpp, src/sp-marker.h, src/sp-pattern.cpp, src/sp-pattern.h, src/sp-radial-gradient.h, src/sp-rect.cpp, src/sp-rect.h, src/sp-root.cpp, src/sp-root.h, src/sp-star.cpp, src/sp-symbol.h, src/sp-text.cpp, src/sp-textpath.h, src/sp-tspan.cpp, src/sp-use.cpp, src/sp-use.h, src/text-tag-attributes.h, src/helper/units.cpp, src/helper/units.h, src/libnrtype/Layout-TNG-Compute.cpp, src/libnrtype/Layout-TNG-Input.cpp, src/libnrtype/Layout-TNG-OutIter.cpp, src/libnrtype/Layout-TNG-Output.cpp, src/libnrtype/Layout-TNG.h, src/libnrtype/TextWrapper.cpp, src/svg/svg-length.cpp, src/svg/svg.h: partial C++-ificiation of SPSVGLength. Rename it to SVGLength. 2005-12-13 Mathieu Dimanche * src/snapped-point.{cpp,h} : new files. * src/Makefile_insert : Added the new files * src/arc-context.cpp, src/connector-context.cpp, src/context-fns.cpp, src/draw-context.cpp, src/nodepath.cpp, src/object-edit.cpp, src/pencil-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/snap.cpp, src/spiral-context.cpp, src/star-context.cpp, src/line-snapper.cpp, src/line-snapper.h, src/object-snapper.cpp, src/object-snapper.h src/snapper.cpp, src/snapper.h, src/event-context.cpp, src/rect-context.cpp, src/select-context.cpp : Use SnappedPoint class * src/color-rgba.h : Added rgba32 unsigned int handling and "inverse" members (NEED TO BE TESTED) 2005-12-12 MenTaLguY * src/widgets/desktop-widget.cpp: moved some widgets into statusbar widget for more aesthetic appearance 2005-12-12 Carl Hetherington * src/arc-context.cpp: minor cleanups. Use SnapManager more. Use Inkscape::setup_for_drag_start. * src/connector-context.cpp, src/draw-context.cpp, src/object-edit.cpp, src/pencil-context.cpp, src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp: use SnapManager. * src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp: use Inkscape::setup_for_drag_start(). * src/snapper.{cpp,h}: simplify snap point types code. * src/context-fns.{cpp,h}: add setup_for_drag_start(). * src/dyna-draw-context.cpp: remove unused and erroneous snapping code. * src/pen-context.cpp: remove unused variable. * src/draw-context.cpp: use SnapManager. * src/nodepath.cpp: const fixes. Use SnapManager. * src/selection-chemistry.cpp, src/seltrans.cpp: some cleanups. Use new snap API. * src/snap.{cpp,h}: remove some dead code. * src/sp-item.{cpp,h}, src/node-context.cpp, src/draw-context.cpp: remove an unnecessary parameter from sp_item_dt2i_affine(). 2005-12-09 Carl Hetherington * src/object-snapper.cpp: make node snapping work again. * src/star-context.cpp: use SnapManager. Some other minor cleanups. * src/arc-context.cpp, src/connector-context.cpp, src/dyna-draw-context.cpp, src/pen-context.cpp, src/pencil-context.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp: use Inkscape::have_viable_layer. * src/context-fns.{cpp,h}: new files. * src/arc-context.cpp, src/context-fns.{cpp,h}, src/rect-context.cpp: abstract common code into context-fns and clean it up a bit. 2005-12-08 Carl Hetherington * src/grid-snapper.cpp, src/guide-snapper.cpp, src/line-snapper.h: coding style. Change how lines are defined. * src/grid-snapper.h, src/guide-snapper.h: coding style. * src/line-snapper.cpp, src/object-snapper.{cpp,h}: Coding style. Various cleanups. Small API changes. * src/snap.cpp: changes to Snapper API. Added work-in-progress SnapManager. * src/snapper.{cpp,h}: API cleanups. * src/sp-namedview.{cpp,h}: added getSnappers(). * src/seltrans.cpp: Cleanup and fix moveTo(). Go back to snapping to snap points rather than the convex hull, at least for a bit. 2005-12-07 Carl Hetherington * src/libnr/nr-convex-hull.h: remove unnecessary includes. * src/line-snapper.{cpp,h}, src/object-snapper.{cpp,h}, src/attributes.{cpp,h}, src/desktop.cpp, src/dyna-draw-context.cpp src/arc-context.cpp, src/grid-snapper.h, src/nodepath.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/snap.{cpp,h}, src/snapper.{cpp,h}, src/sp-namedview.{cpp,h}, src/spiral-context.cpp, src/star-context.cpp, src/dialogs/desktop-properties.{cpp,h}, src/Makefile_insert: first cut of object snapping. * src/grid-snapper.cpp, src/guide-snapper.{cpp,h}: use Inkscape namespace. 2005-12-06 Carl Hetherington * src/libnr/nr-maybe.h: add missing public: to class IsNot. * src/splivarot.{cpp,h}: declare some more functions. Fix get_nearest_position_on_Path to not crash if you call it with an Item that isn't Shape or Text. * src/node-context.cpp: adapt for changes in splivarot.{cpp,h}. * src/nodepath.cpp: remove declaration of a function now declared in splivarot.h. 2005-12-05 Carl Hetherington * src/desktop.cpp, src/tools-switch.cpp, src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp: re-jig #includes slightly. * src/seltrans.{cpp,h}, src/selcue.{cpp,h}: C++-ification and cleanup. * src/select-context.{cpp,h}, src/seltrans-handles.h: adapt for changes to SelTrans. * src/event-context.{cpp,h}: adapt for changes to SelCue. * src/rect-context.cpp, src/gradient-context.cpp: remove unnecessary include. * src/connector-context.h, src/draw-context.h: add a forward declaration. * src/dropper-context.{cpp,h}: remove an unused variable and its associated includes. * src/main.cpp: fix comment for renamed SPSelCue. * src/dialogs/display-settings.cpp: adapt for slightly re-jigged SelCue. 2005-12-04 Ted Gould * po/POTFILES.in: Adding the .inx files as [type: gettext/xml] so that they will get translated. Good stuff. * share/extensions/addnodes.inx, share/extensions/ai_input.inx, share/extensions/ai_output.inx, share/extensions/bluredge.inx, share/extensions/dia.inx, share/extensions/dots.inx, share/extensions/dropshadow.inx, share/extensions/dxf_input.inx, share/extensions/dxf_output.inx, share/extensions/embedimage.inx, share/extensions/eps_input.inx, share/extensions/epsi_output.inx, share/extensions/ffmet.inx, share/extensions/ffms.inx, share/extensions/ffset.inx, share/extensions/ffss.inx, share/extensions/gimpgrad.inx, share/extensions/grid.inx, share/extensions/handles.inx, share/extensions/interp.inx, share/extensions/kochify.inx, share/extensions/kochify_load.inx, share/extensions/lindenmayer.inx, share/extensions/motion.inx, share/extensions/pdf_output.inx, share/extensions/ps_input.inx, share/extensions/radiusrand.inx, share/extensions/randompnt.inx, share/extensions/randompos.inx, share/extensions/rtree.inx, share/extensions/sk_input.inx, share/extensions/straightseg.inx, share/extensions/summersnight.inx, share/extensions/svgz_input.inx, share/extensions/svgz_output.inx, share/extensions/txt2svg.inx, share/extensions/wavy.inx, share/extensions/whirl.inx, share/extensions/wmf_input.inx: Marking the user visible strings as translatable. * src/extension/dependency.cpp, src/extension/extension.cpp, src/extension/init.cpp, src/extension/input.cpp, src/extension/output.cpp, src/extension/parameter.cpp: Changed to handle translated .inx files. They will find the data, and mark the right strings as translated. * src/extension/effect.cpp, src/extension/effect.h, src/interface.cpp: Changed menu handling to be push instead of pull 2005-12-02 Carl Hetherington * src/dropper-context.cpp: coding style. * src/sp-namedview.cpp, src/sp-namedview.h, src/desktop.cpp: some C++-ification of SPNamedView. 2005-12-01 MenTaLguY * src/widgets/desktop-widget.cpp: shuffle status bar around again; add a grippie so we don't have to care about the corner of the window getting covered up 2005-12-01 MenTaLguY * src/widgets/icon.cpp: refactored a bit around the icon prerendering code and added a timer; also kick off the task immediately rather than waiting for the first expose event 2005-12-01 MenTaLguY * src/widgets/desktop-widget.cpp: moved zoom selector away from the right edge so it won't get covered by window manager decorations 2005-12-01 MenTaLguY * src/help.cpp, src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp: Moved creation of the splash widget into the about dialog code, and tweaked the appearance of the dialog in a lot of subtle ways -- we now use an AspectFrame to constrain the aspect ratio of the splash view, and also finally get the correct initial size for the dialog while still allowing it to be arbitrarily resized. 2005-12-01 Carl Hetherington * src/sp-namedview.cpp: coding style. 2005-12-01 Jon A. Cruz * src/widgets/icon.cpp: added idle calback pre-render. 2005-11-30 MenTaLguY * src/ui/dialog/aboutbox.cpp: make 'close' button default widget, and rename "About" tab to "_Splash" 2005-11-30 Carl Hetherington * src/svg/svg-path.cpp: add missing #include of assert.h for assert() * src/dialogs/xml-tree.cpp: fix uninitialised variable warnings, move some declarations to first use, coding style fixes. * src/snap.cpp, src/snap.h, src/sp-namedview.cpp: split snap.{cpp,h} up into snapper.{cpp,h}, grid-snapper.{cpp,h}, guide-snapper.{cpp,h}. Refactor and simplify. Add another namedview_free_snap(). * src/geom.cpp, src/geom.h: cosmetic renaming. * src/pen-context.cpp: a few minor cleanups to pen_handle_button_press(). Other snapping cleanups. * src/draw-context.cpp, src/draw-context.h: split spdc_endpoint_snap_internal() into two functions. * src/pencil-context.cpp: snapping cleanups. * src/ui/widget/unit-menu.cpp: remove definition of a variable that's just been made static. 2005-11-26 MenTaLguY * src/ui/dialog/aboutbox.cpp, src/ui/dialog/aboutbox.h: clean up and simplify About dialog; fix memory management (mostly) 2005-11-25 Robert Crosbie * replaced sp_repr_ref with direct cal to Inkscape::GC::anchor * replaced sp_repr_unref with direct call to Inkscape::GC::release * replaced sp_repr_set_attr with direct call to repr->setAttribute 2005-11-24 MenTaLguY * src/shortcuts.cpp, src/interface.cpp: prune back shortcuts API in preparation for configurable key bindings work 2005-11-24 MenTaLguY * src/sp-item.cpp: remedy erroneous initialization of doubles with NULL 2005-11-24 MenTaLguY * src/seltrans.cpp: prune dead wood (sp_sel_trans_handle_click) 2005-11-24 MenTaLguY * src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp, src/display/canvas-grid.cpp, src/display/guideline.cpp, src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp, src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h, src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp: cosmetic renaming 2005-11-23 Robert Crosbie * replaced sp_repr_change_order with direct cal to repr->changeOrder * replaced sp_repr_add_child with direct call to repr->addChild * replaced sp_repr_remove_child with direct call to repr->removeChild 2005-11-23 Peter Moulder * src/ui/dialog/align-and-distribute.h, src/ui/dialog/align-and-distribute.cpp: Add new action ActionRemoveOverlaps, and add new button & two spin buttons to the Align & Distribute dialog box, to remove overlaps between objects. * configure.ac: New directory src/removeoverlap. * src/Makefile.am: Build new library removeoverlap/libremoveoverlap.a. * src/Makefile_insert: Link against new library removeoverlap/libremoveoverlap.a. 2005-11-23 Michael Wybrow * packaging/osx-app.sh, packaging/macosx/Resources/bin/inkscape: Include some missing modules required by gnome-vfs and set shell variables to point to these modules within the OS X app bundle. Fixes bug #1363390. 2005-11-21 Michael Wybrow * packaging/osx-app.sh: Fix a typo resulting from last change. 2005-11-18 Michael Wybrow * packaging/osx-app.sh: Add libXinerama.1.dylib to the app bundle since users of OS X 10.3.x will not have this file. 2005-11-12 Jon Phillips * po/it.po po/sr.po po/sr@Latn.po: Fixed these po files so that Inkscape builds okay. 2005-11-12 Ralf Stephan * src/ui/view/edit-widget.h, src/ui/view/edit-widget.cpp: new-gui: made complete statusbar widget, equals old-gui now * src/widgets/layer-selector.h, src/ui/widget/selected-style.h: classes have now a constructor with default parameter * src/ui/widget/zoom-status.cpp: smaller font 2005-11-12 MenTaLguY * src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp, src/display/canvas-grid.cpp, src/display/guideline.cpp, src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp, src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h, src/display/sp-canvas.cpp, src/display/sp-canvas.h, src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp: Refactor canvas buffer code a little. Hint: if you have two flags and an invariant that one will be false if the other is true and vice-versa, you can represent them with a single flag. Fixed cut-and-paste madness between sp_canvas_buf_ensure_buf and sp_canvas_clear_buf also. Finally, renamed sp_canvas_buf_ensure_buf to sp_canvas_prepare_buf. 2005-11-09 Michael Wybrow * src/sp-item.cpp: Call updateRepr before emitting the transformed signal in sp_item_write_transform. This fixes bug #1303423. * packaging/osx-app.sh: Fixes to allow building app bundles on both OS X 10.4 and earlier versions of the OS without altering the script. Also, add a note that Inkscape needs to be configured with --enable-osxapp when building the OS X package. * po/nl.po: Fix an "Unmatched closing " warning. 2005-11-08 Ralf Stephan merged with branch CXXIFICATION_VIEW_AND_WIDGET * src/arc-context.cpp, src/dyna-draw-context.cpp, src/event-context.cpp, src/file.cpp, gradient-context.cpp, src/inkscape.cpp, src/interface.cpp, src/rect-context.cpp, src/select-context.cpp, src/seltrans.cpp, src/sp-namedview.cpp, src/spiral-context.cpp, src/star-context.cpp, src/verbs.cpp, dialogs/dialog-events.cpp, src/dialogs/layer-properties.cpp, src/ui/dialog/dialog.cpp, src/widgets/desktop-widget.cpp, src/widgets/desktop-widget.h: move gtk code into desktop-widget.cpp, called via desktop * src/ui/view/Makefile_insert: added files edit-widget-interface.h, edit-widget.cpp, edit-widget.h the EditWidget is the Gtkmm version of the SPDesktopWidget * src/ui/widget/Makefile_insert: added files ruler.cpp, ruler.h, svg-canvas.cpp, svg-canvas.h, zoom-status.cpp, zoom-status.h these are widgets part of the EditWidget * src/file.cpp, src/inkscape.cpp, src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h, src/application/application.h, src/application/application.cpp: divide code /wrt Application::getNewGui(): if true, it's called by the Gtkmm application and the inkscape object is meaningless * src/application/app-prototype.h: replace UI specific return value of getWindow() with void* * src/application/editor.cpp, src/application/editor.h: made Editor a singleton, collect global UI code here that (for Gtk+) lives in inkscape.cpp and elsewhere * src/desktop-events.cpp, src/desktop.cpp, src/event-context.cpp, src/nodepath.cpp, src/seltrans.cpp: simplify calls to desktop->set_coordinate_status * src/desktop-handles.cpp, src/desktop-handles.h, src/extension/internal/ps.cpp, src/widgets/gradient-toolbar.cpp, src/widgets/toolbox.cpp: widget is no longer available through desktop * src/Makefile_insert: added files preferences.h preferences.cpp src/inkscape.h, src/inkscape.cpp, src/application/editor.cpp: move preferences handling into preferences.cpp/h * src/desktop.cpp, src/desktop.h: use EditWidgetInterface, more cosmetics * src/desktop.cpp, src/inkview.cpp, src/slideshow.cpp, src/svg-view-widget.cpp, src/svg-view.cpp, src/svg-view.h, src/ui/view/view.cpp, src/ui/view/view.h: streamline setDoc()/setDocument() logic * src/inkview.cpp: include empty func bodies to make linker happy 2005-11-08 ------------0.43 2005-11-06 Ted Gould * 0.43pre2 2005-11-01 Jon A. Cruz * src/io/base64stream.h, src/io/base64stream.cpp: Applied modified patch 1341198. 2005-10-31 Jon A. Cruz * src/verbs.cpp: Applied patch from RFE 1247694. 2005-10-26 Jon A. Cruz * share/screens/about.svg: Trimmed bad lines. Fixed bug 1310742. 2005-10-24 Ted Gould * 0.43pre1 2005-10-22 Jon A. Cruz * Makefile.mingw, src/io/sys.cpp: Patch 1334818. 2005-10-22 Jon A. Cruz * src/main.cpp, src/io/sys.cpp: Updating Win32 parameter filename handling. 2005-10-22 Michael Wybrow * src/connector-context.cpp: Correct two typos. Fixes bug #1333915. 2005-10-21 Michael Wybrow * src/connector-context.cpp: Fix a bug where undoing creation of new connectors revealed intermediate steps. * src/libavoid/connector.cpp, src/libavoid/connector.h, src/libavoid/makepath.cpp, src/libavoid/static.cpp: Applied a couple of libavoid fixes. One of which addresses a possible crash bug. 2005-10-19 Ted Gould * 0.43pre0 2005-10-19 Jon A. Cruz * inkscape32-16.ico: patch 1323419 2005-10-17 Michael Wybrow * src/conn-avoid-ref.cpp: Don't pass avoided objects to libavoid if they have the 'cloned' flag set. Fixes bug #1328401. 2005-10-17 Jon A. Cruz * src/main.cpp, src/io/sys.h, src/io/sys.cpp: Switched command-line name conversion from filename to locale. Fixes bug #1250124. 2005-10-16 Michael Wybrow * src/sp-conn-end.cpp: Don't update the repr for the curve while manually rerouting connector endpoints. This speeds up undo/redo and allows responsive rerouting with the xml editor window open. Fixes bug #1315489. * po/ca.po: Fix unclosed found in translations. 2005-10-15 Michael Wybrow * src/isnan.h: Update to allow compilation on OSX 10.4. * src/connector-context.cpp, src/connector-context.h, src/tools-switch.cpp: Allow double-clicking on connectors in the selector tool to swap to the connector tool. 2005-10-14 Jon A. Cruz * share/palettes/Makefile.am, share/palettes/Tango-Palette.gpl: Adding the Tango palette. 2005-10-13 MenTaLguY * share/screens/about.svg: New copy for about dialog; did some vector clean-up and re-enabled the coffee stains. 2005-10-10 Michael Wybrow * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h: Reroute connector lines if the object itself is moved or transformed. Previously a routed line would not unroute if it was moved away from the blocking objects. Fixes bug #1303493. 2005-10-07 Michael Wybrow * packaging/macosx/Resources/script, src/path-prefix.h: Don't assume the OSX app bundle will be named "Inkscape.app". This caused things like tool icons to disappear if the app bundle was renamed, e.g., to "Inscape-0.42.2.app". Fixes bug #1289648. 2005-10-06 Michael Wybrow * src/sp-conn-end-pair.cpp: Fix a bug where connectors could sometimes be given strange routes if there was a transform on either of the objects that the connector was attached to. * src/conn-avoid-ref.cpp, src/sp-conn-end.cpp: Add a call to sp_document_ensure_up_to_date before checking bounding boxes in response to a transform signal. This is because some objects (e.g., text) will not give the correct bbox until its update function has been called and its internal representation has been updated. This fixes bug #1303523. * src/dialogs/display-settings.cpp, src/dialogs/display-settings.h: Restore the Connector tool preferences tab. Use same ordering for tools as on the toolbar. Add the standard selection cue option to the connector tool preferences. Fixes bug #1303360. 2005-10-05 Michael Wybrow * packaging/osx-app.sh: Include locale files in the OSX package and a couple of minor updates for building packages on OSX 10.4.x. * packaging/macosx/Resources/bin/inkscape: Fix a problem in setting LANG to the current OSX language before launching Inkscape. With this fix, the Inkscape app bundle will obey the user's language setting in the system preferences on OSX. 2005-09-30 Ralf Stephan * src/desktop.*, src/widget/desktop-widget.cpp: make empty destructor, fixes #1291009 2005-09-29 Michael Wybrow * Info.plist.in: Associate .svgz files with Inkscape on OSX. Fixes bug #1307083. 2005-09-27 MenTaLguY * src/gc-anchored.h: emphasize initial refcount * src/desktop.h, src/svg-view-widget.cpp, src/ui/view/view-widget.cpp, src/ui/view/view.cpp, src/ui/view/view.h, src/widgets/desktop-widget.cpp: Move _whole_ UI::View::View hierarchy over to the garbage collector and fix anchor imbalances; you can't do this piecemeal. 2005-09-23 Ben Fowler * autogen.sh: Cleanup error message. 2005-09-20 Carl Hetherington * src/file.cpp, src/file.h, src/help.cpp: don't replace empty desktops with help files / tutorials. Fixes 1249067. 2005-09-17 Ralf Stephan * src/jabber_whiteboard/typedefs.h: gcc4 needs more const correctness, fixes #1294298 2005-09-17 Ralf Stephan * src/desktop.h, src/desktop.cpp, src/interface.cpp, src/dialogs/layer-properties.cpp, src/ui/view/view.cpp, src/widgets/desktop-widget.cpp: correcting old and new oversights, fixes #1290982 2005-09-15 Peter Moulder * src/xml/repr-util.cpp (sp_repr_set_double): Split into two functions (sp_repr_set_svg_double, sp_repr_set_css_double) according to whether or not an exponent is allowed. Update callers. (sp_repr_set_double_default): Remove this unused function. 2005-09-15 Carl Hetherington * src/object-edit.cpp: fix idiotic bug introduced in previous commit. 2005-09-14 Carl Hetherington * src/knot.cpp, src/knotholder.cpp: coding style. 2005-09-13 Ralf Stephan * src/desktop.h, src/desktop.cpp, src/svg-view.h, src/svg-view.cpp, src/ui/view/view.h, src/ui/view/view.cpp, src/ui/view/edit.h: View::setDocument() did not call same function in subclass * src/widgets/select-toolbar.cpp: removed usage of SP_DT_WIDGET * src/desktop.cpp: removed last sp_desktop_* function names 2005-09-13 Carl Hetherington * src/object-edit.cpp: Add some comments. Minor refactoring. Snap points when editing rectangles; partial fix for bug 1282399. * packaging/win32/inkscape.nsi: Correct spelling of associations and associated; fix for bug 1283916. 2005-09-12 Jon A. Cruz * src/dialogs/iconpreview.cpp, src/dialogs/iconpreview.h, src/widgets/icon.cpp: Icon preview now toggles between selection or whole document. Fixes REF #1281883. 2005-09-12 Ralf Stephan * src/widgets/ruler.cpp: fixed precision problem (bug #1242995) 2005-09-12 Peter Moulder * src/libnrtype/Layout-TNG-Compute.cpp (Calculator::_measureUnbrokenSpan): Fix line breaking for [supposedly] non-breaking whitespace characters. 2005-09-11 Ralf Stephan * po/nl.po: replaced all instances of "verkleint" with "verkleind" (bug #1277695) 2005-09-10 Jon A. Cruz * src/preferences-skeleton.h, src/dialogs/iconpreview.cpp: Made icon preview sizes configurable. Fixes REF #1281885. 2005-09-08 Carl Hetherington * src/object-edit.cpp: Coding style in SPRect portion. Add Emacs/vim mode blocks. 2005-09-08 Ralf Stephan * src/desktop.cpp, src/ui/view/view.cpp: removed placement new signal construction * src/desktop.cpp: selection is no longer anchored * src/desktop.cpp, src/desktop.h: further cleanup * src/main.cpp: minor changes in doxygen main page 2005-09-08 MenTaLguY * src/xml/document.h, src/xml/session.h, src/xml/simple-session.cpp, src/xml/simple-session.h: Add Session and Document createElementNode, createCommentNode, and createTextNode methods 2005-09-06 Ralf Stephan * src/desktop-handles.h, src/desktop-handles.cpp: added macros SP_DT_MSGSTACK/NAMEDVIEW/WIDGET, moved last macros from desktop.h * src/desktop.h src/desktop.cpp, src/sp-namedview.h, src/sp-namedview.cpp: moved default_metric and default_unit into namedview * src/desktop.h src/desktop.cpp, src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp: moved window member into desktop widget * src/dialogs/clonetiler.cpp, src/dialogs/color-picker.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/dialog-events.cpp , src/dialogs/display-settings.cpp, src/dialogs/export.cpp, src/dialogs/stroke-style.cpp, src/dialogs/swatches.cpp, src/dialogs/transformation.cpp, src/dropper-context.cpp, src/extension/internal/ps.cpp, src/gradient-context.cpp, src/jabber_whiteboard/callbacks.cpp, src/jabber_whiteboard/chat-handler.cpp, src/jabber_whiteboard/message-processors.cpp, src/jabber_whiteboard/message-queue.cpp, src/jabber_whiteboard/session-manager.cpp, src/path-chemistry.cpp, src/satisfied-guide-cns.cpp, src/sp-text.cpp, src/text-chemistry.cpp, src/trace/potrace/inkscape-potrace.cpp, src/trace/trace.cpp, src/ui/dialog/align-and-distribute.cpp: removed dependency on desktop.h * src/arc-context.cpp, src/desktop-events.cpp, src/inkscape.cpp, src/interface.cpp, src/nodepath.cpp, src/rect-context.cpp, src/select-context.cpp, src/seltrans.cpp, src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp, src/ui/dialog/dialog.cpp, src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp: minor adaptation due to the above changes * src/ui/dialog/session-player.cpp: didn't #include config.h 2005-09-06 Michael Wybrow * doc/keys.html, doc/keys.xml, share/screens/keys.svg, src/shortcuts.cpp: Add keyboard shortcuts for the connector tool -- Ctrl+F2 and 'o'. 2005-09-05 Ralf Stephan * src/document.cpp, src/draw-anchor.cpp, src/knotholder.cpp, src/main.cpp, src/object-ui.cpp, src/selcue.cpp, src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-tspan.cpp, src/dialogs/docker.cpp, src/dialogs/extensions.cpp, src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp, src/extension/system.cpp, src/widgets/gradient-vector.cpp, src/jabber_whiteboard/session-file-player.cpp, src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp, src/widgets/spw-utilities.cpp, src/extension/implementation/script.cpp, src/ui/dialog/transformation.cpp, src/seltrans.h, src/widgets/sp-widget.h: removed dependency on desktop.h * src/select-context.cpp, src/tools-switch.cpp, src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp, src/dialogs/object-properties.cpp, src/dialogs/clonetiler.cpp: added dependencies because of above changes 2005-09-04 Kees Cook * TRANSLATORS, Makefile.am, src/verbs.cpp, src/help.cpp, src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp, src/menus-skeleton.h, src/ui/dialog/Makefile_insert: Implemented AboutDialog following the Gnome style. * packaging/win32/inkscape.nsi: added quotes around execution name. 2005-09-04 Ralf Stephan * src/desktop.cpp, src/dropper-context.cpp, src/forward.h, src/interface.cpp, src/main.cpp, src/sp-anchor.cpp, src/sp-text.cpp, src/splivarot.cpp, src/svg-view-widget.cpp, src/svg-view-widget.h, src/svg-view.h, src/extension/effect.h, src/extension/implementation/plugin-link.h, src/jabber_whiteboard/session-manager.cpp, src/ui/dialog/dialog.cpp, src/ui/view/edit.h, src/ui/view/view-widget.cpp, src/ui/view/view-widget.h, src/ui/view/view.cpp, src/ui/view/view.h: minor edits to completely remove SPView identifier, and some dependencies 2005-09-04 Michael Wybrow * src/sp-conn-end-pair.cpp: Fix a crash bug when undoing connectors on Linux x86 where we were calling a signal destructor. * src/io/sys.cpp: Build fix - conditionally include if using glib 2.6.0 or greater, since it is not available in earlier versions. 2005-09-04 Ralf Stephan * src/svg-view-widget.h, src/svg-view-widget.cpp, src/Makefile_insert: separated SPSVGViewWidget from SPSVGView * src/desktop.h, src/svg-view.h, src/ui/view/edit.h, src/ui/view/view-widget.h, src/ui/view/view.h, src/widgets/desktop-widget.h, src/desktop.cpp, src/svg-view.cpp, src/ui/view/view-widget.cpp, src/ui/view/view.cpp, src/widgets/desktop-widget.cpp: moved SPDesktop from GObject to C++/sigc++ * src/forward.h: removed SP_DESKTOP*, SP_SVG_VIEW* macros and dependencies * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp: changed to sigc++ but disabled call * src/desktop-events.cpp: removed desktop_enter_notify() * src/sp-anchor.cpp: removed handling of mouse over/out * src/helper/action.h, src/sp-use.cpp: added missing dependency * src/arc-context.cpp, src/desktop-affine.cpp, src/desktop-events.cpp, src/desktop-handles.cpp, src/dyna-draw-context.cpp, src/event-context.cpp, src/file.cpp, src/gradient-context.cpp, src/gradient-drag.cpp, src/help.cpp, src/inkscape.cpp, src/inkview.cpp, src/interface.cpp, src/knot.cpp, src/knotholder.cpp, src/node-context.cpp, src/nodepath.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/rubberband.cpp, src/satisfied-guide-cns.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/shortcuts.cpp, src/slideshow.cpp, src/sp-anchor.cpp, src/sp-flowtext.cpp, src/sp-namedview.cpp, src/sp-text.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-context.cpp, src/text-editing.cpp, src/tools-switch.cpp, src/verbs.cpp, src/zoom-context.cpp, src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/dialog-events.cpp, src/dialogs/export.cpp, src/dialogs/filedialog.cpp, src/dialogs/iconpreview.cpp, src/dialogs/layer-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp, src/extension/effect.cpp, src/extension/implementation/script.cpp, src/extension/internal/grid.cpp, src/extension/internal/ps.cpp, src/helper/window.cpp, src/ui/dialog/dialog.cpp, src/ui/widget/imageicon.cpp, src/widgets/gradient-toolbar.cpp, src/widgets/layer-selector.cpp, src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp: minor adaptations due to the above changes * src/desktop-events.h: removed dependencies * src/selection.cpp: improved doxygen documentation 2005-09-04 Michael Wybrow * src/connector-context.cpp: Fix a bug where a data structure was not being freed, triggering an assertion failure and Inkscape to crash sometimes when the connector tool context was switched. 2005-09-03 Aaron Spike * src/node-context.cpp, src/livarot.cpp: Fixing a problem where node adding and curve dragging operate on fills. A special thank you to Simon Budig of GIMP fame for working with me and giving very thorough explanations of his curve dragging code. 2005-09-03 Michael Wybrow * src/libavoid/connector.cpp, src/libavoid/connector.h: Autoroute connectors while they are being drawn in the connector context. * src/sp-conn-end.cpp: Fix a bug where connectors attached to shapes were not always getting updated. Their path was sometimes thought to be valid even when it was not. 2005-09-02 Michael Wybrow * src/sp-conn-end.cpp: Fix a bug where connectors not attached to shapes were not updating correctly if an object was dropped on their path. 2005-09-01 Michael Wybrow * src/sp-conn-end.cpp, src/sp-conn-end.h, src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h, src/sp-path.cpp, src/libavoid/graph.cpp, src/libavoid/incremental.cpp: Connectors now automagically reroute as a result of any 'avoided' object being placed on their path. They also update to better paths when blocking shapes are removed. * src/connector-context.cpp: Update TODO list. Only show endpoints and allow manipulation of paths marked as connectors. * src/libavoid/connector.cpp, src/libavoid/connector.h: Connectors with invalid paths can now notify other code via a callback, rather than just setting a boolean flag. * src/conn-avoid-ref.cpp: Fix an obscure crash bug in the connector routing code where we were still using a freed data structure. 2005-08-31 Michael Wybrow * src/conn-avoid-ref.cpp, src/conn-avoid-ref.h: Use the correct coordinate system when passing shape geometry to libavoid. Add a small amount of buffer space around objects. * src/attributes-test.cpp, src/attributes.cpp, src/attributes.h, src/path.cpp: Add code to handle the "inkscape:connector-type" attribute. * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h: Store information about type paths, to determine whether they are connectors. Keep a reference to the libavoid representation if necessary. Add code to call libavoid to get a path for a connector. * src/sp-conn-end.cpp: Call the connector routing code when connector ends are moved. Move connector endpoints rather than stretching when adjusting to draw to shape edge. * src/libavoid/connector.cpp, src/libavoid/connector.h: Make the connector references aware of their own initialisation state. * src/connector-context.cpp: Update TODO list. Update for other changes. Fix a bug where multi-segment connectors had a solid black fill while being dragged. * src/display/curve.cpp, src/display/curve.h: Add a function to simply move the two endpoints of a curve. 2005-08-30 Michael Wybrow * src/conn-avoid-ref.cpp, src/libavoid/connector.cpp, src/libavoid/graph.cpp, src/libavoid/makepath.cpp, src/libavoid/shape.cpp, src/libavoid/vertices.cpp, src/libavoid/vertices.h, src/libavoid/visibility.cpp: Use a better system for unique IDs within libavoid. This properly addresses a hack in SPAvoidRef that was unsafe on amd64 machines. * configure.ac: Add the src/libavoid subdir. 2005-08-29 Michael Wybrow * src/attributes.cpp, src/connector-context.cpp, src/sp-item.cpp: Use "inkscape:connector-avoid" instead of "inkscape:avoid". 2005-08-29 Michael Wybrow * src/libavoid/timer.cpp: Remove some code assuming a fixed size for timer types. 2005-08-29 Michael Wybrow * src/connector-context.cpp: Fix a problem where the context didn't notice the current selection when it was entered. Also, fix a problem where connectors disappeared for a moment when an endpoint was clicked (for rerouting), but before the mouse was moved. 2005-08-29 David Yip * src/ui/dialog/whiteboard-connect.{cpp,h}, src/ui/dialog/whiteboard-sharewithchat.{cpp,h}: Improved widget layout (switched to Gtk::Table) * src/jabber_whiteboard/session-manager.cpp: Fixed crash that occurred when connecting via SSL to a Jabber server that does not support SSL 2005-08-28 Michael Wybrow * src/Makefile_insert, src/attributes-test.cpp, src/attributes.cpp, src/attributes.h, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/forward.h, src/sp-item.cpp, src/sp-item.h: Add code that handles the "inkscape:avoid" attribute, used to mark whether an item should be avoided for the purposes of routing connectors. This code also calls libavoid when an 'avoided' item is moved/transformed. * src/connector-context.cpp, src/connector-context.h, src/widgets/toolbox.cpp: Add a couple of buttons to the connector context's toolbar to allow selected objects to be marked as avoided or ignored for the purpose of connector routing. * src/libavoid/debug.h, src/libavoid/geomtypes.h, src/libavoid/polyutil.cpp, src/libavoid/polyutil.h, src/libavoid/shape.cpp: Misc fixes: turn off debugging output, put types in the Avoid namespace, and add an assertion for a special case that can cause problems. 2005-08-28 Michael Wybrow * share/icons/icons.svg: Add a couple of icons for the connector context toolbar. 2005-08-27 Michael Wybrow * src/Makefile.am, src/Makefile_insert, src/libavoid/*: Add libavoid code, the library that does all the path planning work for autorouting connectors. 2005-08-27 Michael Wybrow * src/Makefile_insert: Remove a reference to the previously moved src/desktop-widget.h. This wasn't breaking the build, but was stopping me from generating tags files. 2005-08-25 Ralf Stephan * src/ui/view/edit.h, src/ui/view/view.h, src/ui/view/view.cpp, src/ui/view/view-widget.h, src/ui/view/view-widget.cpp, src/widgets/desktop-widget.h, src/svg-view.h, src/desktop.cpp: separated SPViewWidget from SPView * src/connector-context.cpp, src/dyna-draw-context.cpp, src/file.cpp, src/gradient-context.cpp, src/knot.cpp, src/node-context.cpp, src/nodepath.cpp, src/path-chemistry.cpp, src/pen-context.cpp, src/pencil-context.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/verbs.cpp, src/dialogs/display-settings.cpp, src/dialogs/layer-properties.cpp, src/dialogs/find.cpp, src/dialogs/clonetiler.cpp, src/trace/trace.cpp, src/trace/potrace/inkscape-potrace.cpp: all these files relied on a dependency in view.h to include code for MessageStack and/or MessageContext which is now removed * dialogs/desktop-properties.cpp: improved doxygen documentation 2005-08-25 Ralf Stephan * src/desktop.cpp, src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp: abstracted out all Gtk+ calls from SPDesktop into SPDesktopWidget * src/Doxyfile, src/main.cpp, src/desktop.cpp: improved doxygen documentation 2005-08-25 Michael Wybrow * src/connector-context.cpp, src/connector-context.h: Change the connector context to use Inkscape's standard selection mechanism. Show connector endpoint handles for single connectors in the selection. This is the proposed interaction changes as discussed on the mailing list. See the post there for a greater description of the change. 2005-08-24 Ralf Stephan * src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp: separated SPDesktopWidget from SPDesktop * src/desktop-widget.h: removed * src/toolbox.cpp, src/toolbox.h, src/select-toolbar.cpp, src/select-toolbar.h, src/gradient-toolbar.cpp, src/gradient-toolbar.h: moved into src/widgets * src/desktop.h, src/desktop.cpp, src/desktop-events.cpp, src/verbs.cpp, src/Makefile_insert, src/widgets/Makefile_insert, src/arc-context.cpp, src/dyna-draw-context.cpp, src/gradient-context.cpp, src/rect-context.cpp, src/select-context.cpp, src/spiral-context.cpp, src/star-context.cpp, src/interface.cpp, src/seltrans.cpp: adapted following SPDesktopWidget separation 2005-08-24 David Yip * src/jabber_whiteboard/session-manager.{cpp.h}, src/jabber_whiteboard/callbacks.cpp, src/ui/dialog/whiteboard-connect.{cpp,h}: added support for XMPP over SSL to Inkboard 2005-08-22 Ralf Stephan * src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp: both dialogs are now unresizable (bug #1237865) * src/main.cpp: enhanced doxygen main page 2005-08-21 Michael Wybrow * packaging/osx-app.sh: Added a command line option which allows the executable and bundled dylibs to be stripped, significantly reducing the package size. 2005-08-20 Ralf Stephan * src/desktop-style.cpp: fixed bug 1247989: nonstroked objects are no longer counted in stroke_average_width() * src/Doxyfile: added 3 more files * src/main.cpp: introduced doc hierarchy on doxygen main page * src/desktop-style.cpp: improved doxygen documentation 2005-08-20 Michael Wybrow * src/connector-context.cpp, src/connector-context.h: Rework connector context to extend SPEventContext instead of SPDrawContext, and remove most of the borrowed draw context code. 2005-08-20 Michael Wybrow * src/menus-skeleton.h: correct the verb for "Select All In All Layers" since it was just showing a verb error in the menu. 2005-08-19 Kees Cook * autogen.sh, tools-version.sh, distro: report Ubuntu correctly, detect and reject unsafe automake versions (1.9.0 -> 1.9.6). 2005-08-19 Michael Wybrow * src/dialogs/display-settings.cpp: Align the "Oversample bitmaps" option in the preferences dialog with all the other options. 2005-08-18 Michael Wybrow * src/Makefile_insert: Added connector-context.{cpp,h} * src/connector-context.cpp, src/connector-context.h: New code for the connector context. Handles the interaction of creating and modifying connectors. * src/sp-conn-end.cpp, src/sp-conn-end.h: Added sp_conn_adjust_path for adjusting the path of connectors to the edge of shapes, and sp_conn_end_detach to detach a connector endpoint from a shape. Also, when there is only a single shape attached to a connector and it is moved, then reroute the connector leaving its unattached endpoint where it is, rather than just moving the whole thing with the shape. * src/preferences-skeleton.h, src/toolbox.cpp, src/tools-switch.cpp, src/tools-switch.h, src/verbs.cpp, src/verbs.h, src/dialogs/display-settings.cpp, src/dialogs/display-settings.h: Enable the connector context. Give it a preferences tab, toolbox, icon, etc. Also, correct some vim modelines. * src/display/sp-canvas.cpp: Allow enter and leave events to be generated for canvas items when mouse buttons are depressed. * src/pixmaps/cursor-connector.xpm: A cursor for connector context. 2005-08-18 Jon A. Cruz * src/knot.cpp: Corrected type conflict for crash bugs. 2005-08-18 Ralf Stephan * src/Doxyfile: added 4 more files * src/extension/implementation/plugin-link.h, src/extension/internal/gimpgrad.cpp: improved doxygen documentation 2005-08-16 Ralf Stephan * src/desktop.h, src/desktop.cpp: replaced gboolean with bool * src/display/curve.cpp: made is_moveto() inline * src/knot.cpp, src/extension/extension.cpp, src/helper/action.cpp: added editor footer * src/desktop.h, src/desktop.cpp, src/knot.cpp, src/sp-gradient.cpp, src/display/curve.cpp, src/extension/extension.cpp, src/extension/implementation/plugin.h, src/extension/implementation/plugin.cpp, src/extension/internal/gimpgrad.cpp, src/helper/action.cpp: improved doxygen documentation 2005-08-14 MenTaLguY * src/widgets/layer-selector.cpp: quick fix for crash bug when deleting unnamed layer [bug 1255843] 2005-08-14 Michael Wybrow * packaging/macosx/ScriptExec/main.c: Allow the user to ignore the automatic fixing of the fontconfig problem and fix the problem manually. Don't pop up the dialog again in this case when they relaunch Inkscape. 2005-08-13 Ralf Stephan * src/menus-skeleton.h: fixed cvs bug where, in the default menus.xml, given submenus didn't have correct names, so translation on non-English systems was missed. 2005-08-13 Michael Wybrow * packaging/macosx/Resources/script, packaging/macosx/ScriptExec/main.c: Fix for the fontconfig cache problem on OS X 10.4. The first time Inkscape is launched on 10.4 machines, after checking X11 is available, a dialog is brought up informing users of the fontconfig problem. The dialog has a button to run fc-cache as root. If chosen, an OS X authentication dialog in launched and fc-cache is run following the authentication. A file is stored in ~/.inkscape to mark that fc-cache has been run. 2005-08-11 Ralf Stephan * src/sp-gradient.cpp,src/sp-gradient-fns.h,src/event-context.h, src/event-context.cpp: replaced gboolean with bool * src/document-undo.cpp: added editor footer * src/sp-gradient.cpp, src/desktop.cpp, src/document.h, src/document.cpp, src/document-undo.cpp, src/event-context.h, src/event-context.cpp, src/selection.h: improved doxygen documentation 2005-08-10 David Yip * src/Makefile_insert: added composite-undo-stack-observer.{cpp,h} * src/document.{cpp.h}, src/document-undo.cpp, src/document-private.h: added hooks for undo stack observer * src/jabber_whiteboard/Makefile_insert: added new classes * src/jabber_whiteboard/callbacks.cpp: moved document initialization actions here (not the best idea, admittedly...) * src/jabber_whiteboard/connection-establishment.cpp, src/jabber_whiteboard/session-manager.*, src/jabber_whiteboard/chat-handler.cpp: updated to work with new listeners * src/jabber_whiteboard/message-contexts.cpp, src/jabber_whiteboard/message-handler.*, src/jabber_whiteboard/message-tags.*, src/jabber_whiteboard/defines.h: new message types (TODO: trim out dead types) * src/jabber_whiteboard/message-queue.*, * src/jabber_whiteboard/message-node.h: made MessageNode capable of representing more message types, as required by callbacks.cpp and new commit model * src/jabber_whiteboard/message-utilities.*: new utilities, although this entire class should be going bye-bye soon (its main tasks have been taken over by SerializerNodeObserver) * src/jabber_whiteboard/node-tracker.*: removal of node-level locks * src/jabber_whiteboard/node-utilities.*: removal of unnecessary methods; this class should also be removed soon * src/jabber_whiteboard/session-file-selector.cpp: miscellaneous tweaks * src/jabber_whiteboard/typedefs.h: new type definitions to handle the new commit model (TODO: prune unnecessary types) * src/xml/event.cpp: small hack to get Inkboard working (shouldn't be there, but I'm still learning my way around XML::Node and XML::Session...help welcome) * src/undo-stack-observer.h: interface for classes that watch undo, redo, and undo log commit events * src/composite-undo-stack-observer.*: similar to CompositeNodeObserver; combines multiple undo stack observers * src/jabber_whiteboard/serializer-node-observer.*: XML::Event serializer * src/jabber_whiteboard/deserializer.*: XML::Event deserializer * src/jabber_whiteboard/tracker-action-observer.*: simple observer to watch for added and removed nodes in undo/redo actions (put aside for now) * src/jabber_whiteboard/undo-stack-observer.*: Inkboard's undo stack observer implementation 2005-08-10 Ralf Stephan * src/main.cpp: introduced doxygen doc main page with links 2005-08-09 Ralf Stephan * src/Doxyfile: added 5 more files * src/display/curve.h, src/display/curve.cpp, src/knot.cpp, src/dialogs/export.cpp: replaced gboolean with bool * src/display/curve.cpp: removed sp_curve_finish() as it is nowhere called, made sp_curve_ensure_space() static * src/sp-object.cpp, src/sp-item.cpp, src/libnr/n-art-bpath.h, src/libnr/nr-path-code.h, src/ui/view/view.cpp, src/dialogs/export.cpp, src/display/bezier-utils.cpp, src/display/curve.h, src/display/curve.cpp, src/knot.h, src/knot.cpp: improved doxygen documentation 2005-08-08 MenTaLguY * README.txt, README: make autotools happy 2005-08-06 MenTaLguY * Makefile.am, HACKING, HACKING_de, HACKING_fr, HACKING_it, HACKING.txt, HACKING.de.txt, HACKING.fr.txt, HACKING.it.txt, README, README_ca, README_de, README_fr, README_it, README.txt, README.ca.txt, README.de.txt, README.fr.txt, README.it.txt: saner filenames 2005-08-06 MenTaLguY * src/xml/Makefile_insert, src/xml/log-builder.cpp, src/xml/log-builder.h, src/xml/simple-session.cpp, src/xml/simple-session.h: Implement XML::LogBuilder class and use it from XML::SimpleSession. 2005-08-06 MenTaLguY * src/xml/event.h, src/xml/event.cpp, src/xml/event-fns.h: rejigger the way XML event logs are handled, based on NodeObservers 2005-08-06 MenTaLguY * src/xml/simple-session.cpp: minor formatting cleanups 2005-08-06 Ted Gould * src/interface.cpp, src/verbs.cpp, src/verbs.h: Adding in a hash table for Verb ID lookups. This makes searching for them in the dynamic menus much faster. 2005-08-06 Ralf Stephan * src/sp-offset.cpp: removed a dependency, made refresh_offset_source() static * src/svg-view.cpp, src/svg-view.h, src/sp-spiral.cpp, src/sp-spiral.h: replaced gboolean with bool * src/sp-offset.cpp, src/sp-root.cpp, src/sp-stop.h, src/sp-spiral.h, src/sp-spiral.cpp, src/svg-view.h, src/svg-view.cpp, src/style.cpp: improved doxygen documentation 2005-08-05 MenTaLguY * inkscape.spec.in: include translated manpages 2005-08-05 Michael Wybrow * po/nl.po: fix a typo: close a bold tag. 2005-08-03 David Yip * src/jabber_whiteboard/typedefs.h: fixed incorrect template specialization syntax, removed duplicate definitions (oops...) * src/gc-alloc.h: removed explicit keyword from allocator constructors, as it is necessary to allow implicit conversion for rebinding. Some containers in the libstdc++ in GCC 3.4.x require this, such as anything using the standard library's red-black tree implementation -- std::set, std::map, std::multimap 2005-08-03 Ralf Stephan * src/pen-context.cpp: made sp_pen_context_root_handler static * src/snap.h: removed getSnapToBBox() declaration * src/sp-stop.h: removed three dependencies * src/Doxyfile: added further 3 files * src/object-hierarchy.cpp, src/pen-context.h, src/pen-context.cpp, src/pencil-context.h, src/pencil-context.cpp, src/snap.h, src/snap.cpp, src/sp-stop.h, src/sp-gradient.h, src/sp-gradient.cpp, src/sp-linear-gradient.h, src/sp-radial-gradient.h: improved doxygen documentation 2005-08-03 David Yip * src/jabber_whiteboard/Makefile_insert, src/jabber_whiteboard/message-handler.cpp, src/jabber_whiteboard/empty.cpp: fixing some build issues (Apple's ar doesn't like creating archives with an empty member list, so empty.cpp is a null placeholder to be used as the sole member in the jabber_whiteboard archive in the event that a user does not wish to enable Inkboard) 2005-08-02 Bryce Harrington * src/ui/dialog/*.*: Update copyrights * doc/WISHLIST: s/Sodipodi/Inkscape/ * src/desktop.cpp: Rename SPView to Inkscape::UI::View::View * changing include file syntax from "" to <> where appropriate * Changing copyrights to be consistent 2005-08-03 David Yip * src/menus-skeleton.h: added WITH_INKBOARD ifdef to prevent Inkboard options from being compiled into the menu skeleton if the Inkboard code is not enabled 2005-08-03 Michael Wybrow * src/display/curve.cpp: Correctly free an array with "delete []". 2005-08-02 David Yip * src/jabber/whiteboard/node-tracker.cpp: removed unnecessary anchoring of XML::Nodes in XMLNodeTracker 2005-08-02 David Yip * src/jabber_whiteboard/typedefs.h: moved back to GC::Alloc from traceable_allocator * src/jabber_whiteboard/node-tracker.cpp: fixed anchor-release problem with XML::Nodes in XMLNodeTracker 2005-08-01 MenTaLguY * src/gc.cpp, src/gc-core.h: Hans says it's okay to use GC_malloc_atomic_uncollectable 2005-08-01 MenTaLguY * src/gc-alloc.h: fix improper allocation size 2005-08-01 David Yip * src/jabber_whiteboard/message-handler.cpp: removed some debug output * src/dialogs/whiteboard-sharewithchat.cpp: removed some excess debugging code * src/jabber_whiteboard/session-manager.cpp: removed redundant if (x == NULL) tests surrounding delete 2005-08-01 David Yip * src/ui/icons.cpp, src/ui/stock-items.cpp, src/ui/stock.cpp, src/ui/stock.h: added Inkboard UI stock items * src/dialogs/whiteboard*: old C/Gtk Inkboard dialogs for collecting user input necessary to establish Jabber connections and Inkboard sessions (they're still used in some parts of the Inkboard code) * src/Makefile.am, src/Makefile_insert, src/desktop.cpp, src/desktop.h, src/document.cpp, src/file.cpp, src/file.h, src/menus-skeleton.h, src/verbs.cpp, src/verbs.h: added necessary UI code to access Inkboard functions * src/jabber_whiteboard/Makefile_insert, src/jabber_whiteboard/buddy-list-manager.*, src/jabber_whiteboard/callbacks.*, src/jabber_whiteboard/chat-handler.*, src/jabber_whiteboard/connection-establishment.*, src/jabber_whiteboard/defines.h, src/jabber_whiteboard/error*, src/jabber_whiteboard/internal-constants.*, src/jabber_whiteboard/invitation-confirm-dialog.*, src/jabber_whiteboard/jabber-handlers.*, src/jabber_whiteboard/makefile*, src/jabber_whiteboard/message-*, src/jabber_whiteboard/node-*, src/jabber_whiteboard/received-message-helpers.cpp, src/jabber_whiteboard/player-functors.*, src/jabber_whiteboard/session-*, src/jabber_whiteboard/tracker-node.h, src/jabber_whiteboard/typedefs.h: Initial commit of Inkboard code * src/ui/dialog/session-player*, src/ui/dialog/whiteboard*: C++/Gtkmm replacements for some old C/Gtk dialogs * configure.ac: added Inkboard configure checks * src/ui/view/edit.cpp, src/ui/view/edit.h, src/ui/view/view.cpp: added Inkboard code stubs to new Gtkmm code * share/ui/menus-bars.xml: added Inkboard code stubs to menu UI XML 2005-08-01 Ralf Stephan * src/sp-object.cpp: improved doxygen documentation 2005-07-31 Ralf Stephan * src/nodepath.cpp: removed three dependencies 2005-07-31 MenTaLguY * src/sp-object.cpp, src/sp-object.h, src/sp-use.cpp: adopt more consistent refcounting policy * src/sp-object.h: make second parameter to sp_object_ref and sp_object_unref optional 2005-07-30 Ralf Stephan * src/draw-anchor.cpp, src/nodepath.h: reduced dependencies * src/nodepath.cpp: removed duplicate dependency, added two from nodepath.h, made triangle_area() inline * src/node-context.cpp: added dependency removed from nodepath.h * src/Doxyfile: added 2 further files to the scanned list * src/nodepath.h: moved function docs into nodepath.cpp * src/color.cpp: made file work with src/Doxyfile * src/color.cpp, src/draw-anchor.cpp, src/geom.cpp, src/nodepath.cpp: improved doxygen documentation * src/event-context.cpp: added a \todo * src/geom.cpp: added editor footer 2005-07-30 Ted Gould * src/Makefile_insert, src/inkscape.cpp, src/inkscape.h, src/interface.cpp, src/selection.cpp, src/verbs.cpp, src/verbs.h, src/extension/effect.cpp, src/extension/effect.h, src/menus-skeleton.h: Doing two things. One, making menus configurable by an external xml file and the second is enabling sensitivity in the verbs. These are both in pretty basic states right now, but workable. 2005-07-29 MenTaLguY * src/shortcuts.cpp: made Ctrl+Shift+G the "primary" ungroup shortcut 2005-07-28 Carl Hetherington * src/arc-context.cpp: CodingStyle. Replace gboolean with bool. * src/desktop-events.cpp: CodingStyle: whitespace. Add editor variables block. gboolean exorcism. Declaration-to-first-use fixes. 2005-07-27 Peter Moulder * src/style.h (SP_SCALE24_MAX): Change from 0xffffff to 0xff0000, and add documentation for choice of value. (SP_SCALE24_TO_FLOAT) Return a double instead of a float. (SP_SCALE24_FROM_FLOAT) Change rounding behaviour. These changes are intended to combat float rounding bugs on x86. * src/style.cpp (sp_style_merge_from_style_string): Use libcroco to parse style="..." attribute strings, to improve CSS parsing. 2005-07-27 Ralf Stephan * src/Doxyfile: added 10 further files to the scanned list * src/gc-anchored.h, src/gc-managed.h, src/object-hierarchy.h, src/pencil-context.h, src/selection.h, src/sp-object.h, src/sp-spiral.h, src/svg-view.h, src/verbs.h, src/livarot/float-line.h, src/util/list.h, src/widgets/paint-selector.h, src/xml/repr.h: made file work with src/Doxyfile * src/livarot/int-line.h, src/livarot/float-line.h: moved part of documentation into *.cpp file * src/gc-anchored.h, src/knot-holder-entity.h, src/nodepath.h, src/pen-context.h, src/pencil-context.h, src/selection.h, src/sp-gradient.h, src/sp-gradient.cpp, src/sp-item.h, src/sp-object.h, src/sp-spiral.h, src/style.h, src/svg-view.h, src/extension/extension.h, src/libnr/nr-matrix.h, src/livarot/int-line.h, src/livarot/int-line.cpp, src/livarot/float-line.h, src/livarot/float-line.cpp, src/livarot/sweep-event.h, src/livarot/sweep-event-queue.h, src/util/list.h, src/widgets/paint-selector.h, src/xml/repr.h, src/xml/repr.cpp: documentation improvements * src/sp-item.h: added editor footer 2005-07-26 Peter Moulder * src/svg/stringstream.h, src/svg/stringstream.cpp: Trim trailing zeros from after the decimal point when writing float or double to Inkscape::SVGOStringStream. * src/style-test.cpp: Update expected output accordingly. * src/svg/stringstream-test.h: New unit test. * src/Makefile.am, src/svg/Makefile_insert: Add the new unit test. * src/svg/Makefile_insert: Don't link unused ftos.cpp, but do link new file stringstream.cpp. 2005-07-26 Michael Wybrow * share/icons/icons.svg: Add icon for connector context. 2005-07-25 Ralf Stephan * src/libnr/nr-pixblock.h: interface cleanup of NRPixBlock: size and mode are now named enums, empty is now bool, changes to function interfaces because of that, changed C macros to C++ inline functions, changed clean flag in some function interfaces from int to bool. * src/libnr/nr-pixblock.cpp: adaptations due to changes in nr-pixblock.h, added assert to ...setup_extern() which remains a bit ... risky, * src/display/sp-canvas.cpp: made sp_canvas_item_construct() static, inlined two other functions * src/svg-view.cpp: piped emit_resized through C++ façade (incomplete) * src/ui/view/view.h: removed legacyMessageContext() member * src/Doxyfile: added files, and options to collect todo and bugs * src/display/curve.cpp: moved member docs into curve.h * src/event-context.cpp: long line cosmetics, moved a function for clarity * src/sp-offset.h, src/sp-spiral.cpp, src/svg-view.cpp, src/libnr/nr-types.h: added editor footer * src/color-rgba.h, src/draw-anchor.h, src/event-context.*, src/knot-*.h, src/message-*.h, src/modifier-fns.h, src/nodepath.h, src/pencil-context.cpp, src/pen-context.*, src/snap.*, src/sp-gradient.h, src/sp-gradient-fns.h, src/sp-item.cpp, src/sp-item-notify-moveto.h, src/sp-linear-gradient*, src/sp-offset.*, src/sp-radial-gradient*, src/sp-spiral.cpp, src/style.cpp, src/svg-view.cpp, src/verbs.cpp, src/dialogs/export.cpp, src/display/bezier-utils.cpp, src/display/curve.*, src/diplay/sp-canvas.*, src/extension/implementation/plugin*, src/extension/internal/gimpgrad.h, src/libnr/nr-matrix.h, src/libnr/nr-matrix-scale-ops.h, src/libnr/nr-matrix-translate-ops.h, src/libnr/nr-pixblock.*, src/libnr/nr-point.h, src/libnr/nr-rotate.h, src/libnr/nr-rotate-fns.h, src/libnr/nr-scale-matrix-ops.h, src/libnr/nr-types.h, src/livarot/int-line.h, src/ui/view/view.*: made file work with src/Doxygen, doxygen documentation improvements 2005-07-24 Ted Gould * 0.42 Release 2005-07-21 Ted Gould * 0.42pre3 2005-05-21 Kees Cook * share/icons/*xpm, src/ui/dialog/transformation.cpp, src/ui/widget/labelled.cpp, src/ui/widget/labelled.h: Hooked up Gtkmmified Icon manager correctly. (bug 1217367) * Makefile.mingw, Makefile.mingw.common: patch 1241293 for build fixes 2005-07-12 Ted Gould * 0.42pre2 2005-07-11 MenTaLguY * src/debug/logger.cpp: wrap stack vector in method to avoid potential static initialization issues * src/sp-object.cpp: add refcount logging 2005-07-09 MenTaLguY * src/document-undo.cpp, src/inkscape.cpp, src/debug/event.h, src/debug/logger.cpp, src/debug/logger.h, src/debug/simple-event.h, src/xml/composite-node-observer.cpp, src/xml/event.cpp, src/xml/simple-node.cpp: Categorize debugging events and add the ability to filter them via setting the INKSCAPE_DEBUG_FILTER environment variable to a comma-separated list of debug event categories. 2005-07-06 Ben Fowler * src/interface.cpp: Spackle for Bug 1217361 "freeze on quitting with transform dialog" 2005-07-06 Ben Fowler * src/interface.cpp: Whitespace changes only 2005-07-06 Michael Wybrow * Info.plist.in, packaging/osx-app.sh, packaging/macosx/*: Changes and new files required to build an Inkscape dmg on Mac OS X. 2005-07-05 Ted Gould * 0.42pre1 2005-07-04 MenTaLguY * src/sp-metadata.cpp: strip id= attributes under rdf:RDF elements 2005-07-04 MenTaLguY * src/sp-object.cpp, src/xml/node-fns.h, src/xml/node-fns.cpp: don't force id= attributes on anything except elements in the SVG, Sodipodi, or Inkscape namespaces. 2005-07-04 MenTaLguY * src/verbs.cpp: redo cryve's fix to use defaultLabel() rather than label() 2005-07-04 Bryce Harrington * src/livarot/float-line.cpp: Patch from Ralf Stephan to suppress two warnings. 2005-06-28 Ted Gould * src/verbs.h: Changing from gnu::hash_map to std::map. The only reason this was a hash_map before is because I was stealing code that I didn't understand, and a std::map works as well. This fixes bug #1172199 for Tru64. 2005-06-28 Ted Gould * src/extension/dependency.cpp: Fix for #1169396 -- setting the default type for a dependency to file, this seems to be the only way that the print function could end up using undefined memory, and then passing it on the gettext. 2005-06-28 Ted Gould * src/extension/implementation/script.cpp, src/extension/implementation/script.h: Adding support for information coming back on STDERR from scripts. This fixes bug #1220959 and RFE #1178941 2005-07-04 Peter Moulder * src/sp-stop.h, sp-gradient.cpp, widgets/gradient-vector.cpp: Implement currentColor as possible value for stop-color, as per spec. 2005-07-02 Kees Cook * src/dialog/rdf.cpp: Added FreeArt license, RFE #1230981. 2005-06-30 Bryce Harrington * inkscape.nsi: Fix for bug #1230744 'wrong installer language' by theadib. * src/swatches.cpp: Fix for bug #1217973. The KDE swatches file consists of 3 column numbers (missing 4th column), and also lacks an ending newline. In this situation, the name variable returned from trim() could be null, thus causing a segfault when used as an input to Glib::ustring. * src/sp-image.cpp: Patch for bug #1210100 by bpfowler to help narrow in on the cause of the bug. * README: Requested change for bug #1174991. Directions for installation of perl libs 2005-07-01 Ben Fowler * src/desktop.cpp src/svg-view.cpp src/dialogs/display-settings.cpp src/dialogs/export.cpp src/dialogs/find.cpp src/extension/internal/ps.cpp: Replaced calls to gtk_widget_set_usize with GTK2 version. 2005-06-30 Bryce Harrington * inkscape.pod, src/main.cpp: Applying Makzu's patch to implement --vacuum-defs 2005-06-28 Ted Gould * 0.42pre0 2005-06-23 MenTaLguY * src/extension/implementation/script.cpp: support for ruby scripts (interpreter="ruby") 2005-06-20 Ted Gould * src/desktop.cpp, src/desktop.h, src/document-private.h, src/document.cpp, src/document.h, src/extension/effect.h, src/extension/implementation/script.cpp: Adding in a signal to show that the document is being reconstructed from another document. This is used by the scripting extensions implementation to say to the desktops that they need to save their object references as strings instead of pointers -- and then recreate them when the reconstruction is complete. * src/extension/prefdialog.cpp: Making "OK" have focus. * src/verbs.cpp, src/verbs.h: Some prototype code to start making verbs sensitive or not. Not tied in to anything currently. 2005-06-20 MenTaLguY * src/xml/repr-io.cpp: whoops... don't emit xmlns:xml 2005-06-18 Richard Hughes * src/text-context.cpp, src/text-context.h, src/libnrtype/Layout-TNG.h: implement double- and triple-clicking of text for selecting the current word and line respectively 2005-06-16 MenTaLguY * src/interface.cpp: removed "Go to root" context menu item * src/widgets/layer-selector.cpp: hide "(root)" unless it is the current layer 2005-06-11 Aaron Spike * confiugre.ac, packaging/autopackage/default.apspec.in: Adding the autopackage specfile 2005-06-10 Richard Hughes * src/text-context.cpp: use ctrl-left/right for moving cursor by word in text mode, and ctrl-a for select all text 2005-06-09 Bryce Harrington * src/ui/dialogs/align-and-distribute.cpp, src/ui/dialogs/align-and-distribute.h, src/verbs.cpp: Hooking up Aubanel's new align and distribute dialog 2005-06-09 Peter Moulder * src/text-context.cpp (sp_text_context_root_handler): Greater conformance to ISO 14755 for unicode entry. We now implement all of the ``Basic method'' portion of that spec except for non-latin hexadecimal digits (first 6 letters of other alphabets). (Instead, we do the same as for all other shortcuts, viz. force a group0 (latin) interpretation of the keypress.) 2005-06-07 Peter Moulder * src/pen-context.cpp (spdc_endpoint_snap): Pen tool: do snapping (i.e. namedview_free_snap_all_types) even for initial point. * src/Makefile.am (INCLUDES), src/extension/script/Makefile_insert (extension_script_libscript_a_CXXFLAGS): Put PERL_CFLAGS PYTHON_CFLAGS into global INCLUDES rather than using a libscript_a_CXXFLAGS var (which involved creating .o files specific to that lib). 2005-06-06 Ted Gould * src/extensions/effect.cpp: Adding in the code so that effects can be undoable. * src/extensions/implementation/script.[cpp,h] Adding in the code so that a new window is not displayed when an effect is executed. Now it is in the same window (much nicer). * src/extensions/internal/latex*.[cpp,h] Patches from the mailing list to add LaTeX output. 2005-06-04 MenTaLguY * src/extensions/init.cpp: That tears it. Showing the error dialog on startup goes. I've had to respond to one too many bloody bug reports. If we released 0.42 with this too we'll drive away users permanently. As it was, a lot of people were assuming 0.41 was broken when they saw this and reverted to 0.40. 2005-05-31 MenTaLguY * src/preferences-skeleton.h: disable extension error dialog on startup -- I'm sick of hearing that Inkscape is broken because people see this dialog on startup. It makes us look bad. We're not going to repeat this for 0.42 -- find a better approach. 2005-05-28 MenTaLguY * src/document.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp, src/sp-flowtext.cpp, src/sp-object.cpp, src/sp-object.h, src/sp-path.cpp, src/sp-rect.cpp, src/sp-root.cpp, src/sp-root.h, src/sp-shape.cpp, src/version.cpp, src/version.h: propagate SVG version upwards, and move SPVersion into Inkscape namespace 2005-05-24 Simarilius * src/verbs.cpp, src/dialogs/tiledialog.cpp, src/dialogs/tiledialog.h, src/ui/dialogs/dialog-manager.cpp Converted the tiledialog over to the inkscape:ui:dialog class and hooked it into dialog manager 2005-05-24 Ted Gould * src/extension/dependency.cpp, src/extension/extension.cpp, src/extension/extension.h, src/extension/init.cpp, src/extension/implementation/script.cpp: Applying patch 1199856 which allows Inkscape to have multiple directories for extensions. Currently those are /share/inkscape/extensions and ~/.inkscape/extensions. The patch was written by Aaron Spike. 2005-05-23 Ted Gould * share/extensions/ Adding in Aaron Spike's extensions so that they come with the standard build. Lot's of useful stuff that is worth having for most users. 2005-05-19 MenTaLguY * src/verbs.cpp, src/ui/dialog/align-and-distribute.h, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h, src/ui/dialog/document-preferences.h, src/ui/dialog/export.h, src/ui/dialog/extension-editor.h, src/ui/dialog/fill-and-stroke.h, src/ui/dialog/find.h, src/ui/dialog/inkscape-preferences.h, src/ui/dialog/layer-editor.h, src/ui/dialog/messages.h, src/ui/dialog/text-properties.h, src/ui/dialog/transformation.h, src/ui/dialog/xml-editor.h, src/ui/view/edit.cpp: refactoring of the dialog manager code, introducing factory functions and a method specifically for showing a dialog 2005-05-19 MenTaLguY * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: fix layer property undo crash bugs (#1192708 and #1171704) 2005-05-19 MenTaLguY * src/debug/Makefile_insert, src/debug/sysv-heap.cpp, src/debug/sysv-heap.h, src/gc.cpp, src/debug/gc-heap.h, src/debug/heap.cpp: moved GC Heap statistics stuff into libdebug to ease circular dependencies 2005-05-17 MenTaLguY * src/ui/dialog/memory.cpp: reduce magnitude of memory jitter somewhat by avoiding some vector resizing and copying 2005-05-16 MenTaLguY * src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h: revised Debug::Heap API slightly * src/ui/dialog/memory.cpp, src/ui/dialog/memory.h: thousands separators and other niceties. 'apply' now forces a garbage collection and immediate update. 2005-05-16 MenTaLguY * src/ui/dialog/memory.cpp: re-use existing rows, though it doesn't seem to help memory jitter much 2005-05-15 MenTaLguY * src/debug/heap.cpp: fix bounds error * src/ui/dialog/memory.cpp, src/ui/dialog/memory.h: flesh out basic memory info dialog 2005-05-15 MenTaLguY * configure.ac: cleaned up tests * src/debug/heap.cpp: fixed feature macro names 2005-05-15 MenTaLguY * configure.ac: added tests for mallinfo and malloc.h * src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h: fix up Debug::Heap API slightly 2005-05-14 MenTaLguY * src/interface.cpp, src/verbs.cpp, src/verbs.h, src/ui/dialog/Makefile_insert, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h, src/ui/dialog/memory.cpp, src/ui/dialog/memory.h: added skeletal memory statistics dialog 2005-05-12 Juerg Billeter * configure.ac: Have pkgconfig explicitly require gdkmm-2.4 & glibmm-2.4 (used directly by Inkscape), rather than relying on transitive dependencies. It's said that this is required in some cases with pkgconfig 0.17 and later. 2005-05-08 Bryce Harrington * ChangeLog configure.ac src/Makefile_insert src/desktop-widget.h src/desktop.h src/dropper-context.cpp src/file.cpp src/shortcuts.cpp src/sp-text.cpp src/splivarot.cpp src/svg-view.h src/text-context.cpp src/verbs.cpp src/extension/implementation/plugin-link.h src/extension/internal/grid.cpp src/helper/action.h src/helper/window.cpp src/ui/dialog/dialog.cpp src/ui/dialog/messages.cpp src/ui/view/view.cpp src/ui/view/view.h: Moving view.* into src/ui/view/ 2005-05-09 MenTaLguY * src/gc-alloc.h: const-correctness fix 2005-05-08 Bryce Harrington * configure.ac: Defaulting with-gnome-vfs to on if library is present. * po/POTFILES.in : Fixed error causing compile failure * src/Makefile_insert src/arc-context.cpp src/desktop-events.cpp src/desktop.cpp src/desktop.h src/dyna-draw-context.cpp src/gradient-context.cpp src/gradient-toolbar.cpp src/interface.cpp src/make.dep src/make.files src/rect-context.cpp src/select-context.cpp src/select-toolbar.cpp src/seltrans.cpp src/spiral-context.cpp src/star-context.cpp src/toolbox.cpp src/verbs.cpp src/view.cpp src/view.h src/application/application.cpp src/application/application.h src/application/editor.cpp src/application/editor.h src/ui/dialog/align-and-distribute.cpp src/ui/dialog/align-and-distribute.h src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h src/ui/dialog/dialog.cpp src/ui/dialog/dialog.h src/ui/dialog/document-preferences.cpp src/ui/dialog/document-preferences.h src/ui/dialog/export.cpp src/ui/dialog/export.h src/ui/dialog/extension-editor.cpp src/ui/dialog/extension-editor.h src/ui/dialog/fill-and-stroke.cpp src/ui/dialog/fill-and-stroke.h src/ui/dialog/find.cpp src/ui/dialog/find.h src/ui/dialog/inkscape-preferences.cpp src/ui/dialog/inkscape-preferences.h src/ui/dialog/layer-editor.cpp src/ui/dialog/layer-editor.h src/ui/dialog/messages.h src/ui/dialog/text-properties.cpp src/ui/dialog/text-properties.h src/ui/dialog/transformation.cpp src/ui/dialog/transformation.h src/ui/dialog/tree-editor.h src/ui/dialog/xml-editor.cpp src/ui/dialog/xml-editor.h src/ui/view/Makefile_insert src/ui/view/edit.cpp src/ui/view/edit.h : Renaming sp-desktop-widget.h to desktop-widget.h for consistency with other desktop files. Beginning migration of desktop-* and view* files into ui/view/ subdir. Incorporating DialogManager into existing SPDesktop code. Making SPView derive from GObject. Changing Messages dialog to run via DialogManager. Removing getName() and getDesc() routines from Dialogs. 2005-05-08 MenTaLguY * src/Makefile_insert: change link order since the GC code now depends on the debugging stuff * src/debug/Makefile_insert, src/debug/heap.cpp, src/debug/heap.h: added heap statistics stuff * src/gc.cpp: register the GC heap with the heap statistics facility 2005-05-07 MenTaLguY * src/gc-anchored.h, src/gc-core.h, src/gc-finalized.h, src/gc-managed.h, src/gc.cpp: hide the global Ops structure from the outside world, and expose some additional libgc API. 2005-05-07 Ted Gould * src/extension/parameter.cpp: bug fix for empty string parameter * share/extensions/dropshadow.inx, src/extension/implementation/script.cpp: Adding in an "interpreter" attribute for "command" that will prepend the command with the interpreter. Right now only "perl" and "python" work, and they only prepend "perl" and "python", but more will be added later. 2005-05-07 MenTaLguY * src/xml/composite-node-observer.cpp: bug fixes * src/xml/simple-node.cpp, src/xml/simple-node.h: switch to using CompositeNodeObserver, which has saner add/remove semantics * src/util/list-container-test.cpp: add another test, just to be sure * src/dialogs/xml-tree.cpp: remove need for is_interactive flag on attribute changes (the flag is effectively disabled by the other changes) 2005-05-05 MenTaLguY * src/debug/event.h, src/debug/logger.cpp: PropertyPair is now its own class * src/xml/simple-node.cpp: add logging of XML node mutation * src/xml/Makefile_insert, src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h: added CompositeNodeObserver class, which will eventually replace the existing notifier lists 2005-05-05 MenTaLguY * src/inkscape.cpp: try to cleanly terminate log in case of crashes 2005-05-05 MenTaLguY * src/document-undo.cpp, src/debug/Makefile_insert, src/debug/logger.cpp, src/debug/simple-event.h, src/xml/event.cpp: add debug logging for undo+redo+transactions 2005-05-05 MenTaLguY * src/inkscape.cpp, src/main.cpp: initialize and shutdown debug log from more reliable place * src/debug/logger.cpp: clean up log via std::atexit() 2005-05-04 MenTaLguY * configure.ac, src/Makefile.am, src/Makefile_insert, src/debug/Makefile_insert, src/debug/makefile.in: added src/debug/ subdir * src/gc-alloc.h: no default management type for now * src/debug/event-tracker.h, src/debug/event.h, src/debug/logger.cpp, src/debug/logger.h: simple XML logging facility * src/util/Makefile_insert: fixed cut-and-paste error 2005-04-29 Jon A. Cruz * src/dialogs/swatches.cpp, src/dialogs/eek-preview.h, src/dialogs/eek-preview.cpp: Added property to swatch to block taking focus. 2005-04-28 Jon A. Cruz * src/dialogs/Makefile_insert, src/dialogs/eek-preview.cpp, src/dialogs/eek-preview.h, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/ui/previewholder.cpp, src/ui/previewable.h, src/ui/widget/panel.cpp: Adding new widget for color swatch usage. 2005-04-24 Bryce Harrington * src/Makefile.am src/Makefile_insert, src/application/Makefile_insert, src/application/editor.cpp, src/application/editor.h, src/extension/internal/svg.cpp, src/ui/Makefile_insert, src/ui/view/Makefile_insert, src/ui/view/edit.cpp, src/ui/view/edit.h, src/ui/view/makefile.in, src/application/editor-impl.cpp, src/application/editor-impl.h: Renaming EditorImpl to UI::View::Edit Fixing bug 1185873 "batch mode crasher" caused by VFS being called with relative paths. Adding a check to see whether the input is a valid uri, and if not, just calling sp_document_new directly. 2005-04-23 Ted Gould * src/extension/input.cpp, src/extension/input.h, src/extension/output.cpp, src/extension/output.h, src/extension/system.cpp, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/plugin-link.h, src/extension/implementation/plugin.cpp, src/extension/implementation/plugin.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h: Changing the prototype for the input/output preferences to be closer to that of Effects. This is a good thing because now autogui can be used for all, and it is much cleaner. Unfortunately, this caused alot of files to be changed. Also, this sets up the extensions dialog (we're only using one now) to be integrated into the GTKmm codebase easier. 2005-04-21 Jon A. Cruz * src/widgets/sp-color-wheel-selector.cpp, src/widgets/sp-color-scales.h, src/widgets/sp-color-slider.cpp, src/widgets/sp-color-scales.cpp: Changed CMYK selector to display values as 0-100. Fixes REF #1124499. 2005-04-21 Jon A. Cruz * src/xml/repr-io.cpp: Expand entities; matches 0.41 behavior. Fixes bug #1157478. 2005-04-20 Jon A. Cruz * src/sp-object-repr.cpp: Turned off the half-done element. Fixes bug #1119935. 2005-04-19 Carl Hetherington * src/pen-context.cpp: snap first point to grid correctly, fixing #1152057. Remove a pointless call to spdc_endpoint_snap(). * src/main.cpp: support for command-line export of PS and EPS, with options. 2005-04-19 Piers Titus van der Torren * src/seltrans.cpp: Fixed skew so it displays and snaps to angle instead of percentage. 2005-04-18 Peter Moulder * src/extension/internal/pov-out.cpp (PovOutput::save): Was dividing component bytes by 256 instead of the usual 255 to get floating point component. Changed to use sp_color_get_rgb_floatv instead. (N.B. This change is wrong if pov files disallow 1.0.) Multiply opacity by product of all ancestors' opacity property computed value. 2005-04-18 Carl Hetherington * src/sp-line.cpp, src/dialogs/unclump.cpp, src/extension/internal/ps.cpp, src/libnrtype/Layout-TNG-Output.cpp, src/Layout-TNG-Scanline-Makers.cpp, src/livarot/PathCutting.cpp: add missing include of nr-point-matrix-ops.h. 2005-04-17 Jon A. Cruz * src/toolbox.cpp: Corrected improper use of static. Fixes bug #1171919. 2005-04-16 Ted Gould * src/extension/extension.cpp, src/extension/parameter.cpp: Adding in autogui for strings and booleans. Also making everything a little more robust. 2005-04-17 cyreve * src/: sp-text.cpp, sp-text.h, text-context.cpp, text-editing.cpp, text-editing.h, libnrtype/Layout-TNG-Compute.cpp: hook up keys for adding rotate= attribute to text elements * src/libnrtype/Layout-TNG-OutIter.cpp: visual cursor left/right in counterdirectional text runs 2005-04-16 cyreve * src/: display/nr-arena-glyphs.cpp, libnrtype/FontInstance.cpp, libnrtype/RasterFont.cpp, libnrtype/font-instance.h, libnrtype/font-style.h: make miter-limit work for text outlines (bug 1094430) 2005-04-16 Ted Gould * src/main.cpp: Added a command-line arguement --extension-directory to find what extension directory Inkscape is configured for. This should be helpful for external extensions that want to use the same path as Inkscape itself on their install. * src/extension/extension.cpp, src/extension/init.cpp: Putting in half of Aaron's fix, mostly the one to keep things from crashing, next we need to examine how to add multiple search paths for extension dependencies. Also, added a check so that autogui won't create a GUI if there are no preferences. 2005-04-13 Jon Phillips * src/toolbox.cpp: removed code that was beeping and prepped for new drag-n-drop color swatches. 2005-04-13 cyreve * src/path-chemistry.cpp: wire up converting object to path for flowtext 2005-04-13 Jon A. Cruz * src/dialogs/swatches.cpp: Simple drag-n-drop out from color swatches. 2005-04-12 cyreve * src/: selection-chemistry.cpp, text-context.cpp, text-context.h, text-editing.cpp, text-editing.h: cut and copy selected text (bug 1175441) 2005-04-12 Ted Gould * src/extension/extension.cpp, src/extension/extension.h, src/extension/parameter.cpp, src/extension/parameter.h, src/extension/implementation/script.cpp: This is support for having command line arguments from the parameters, mostly this is a quick hack to get Aaron working, I'll clean it up shortly, I promise. But, it does seem to be working right now. More polish shortly. 2005-04-10 Jon A. Cruz * src/interface.cpp: Adding drag-n-drop support for arbitrary images. Fixes bug 1177714. 2005-04-10 Ted Gould * Lots of files: Moving around the plugins, and disabling the feature. I've put all the functionality into the internal directory. This should allow for the features to be used until plugins could work. Also, adding in features to do autogui with the parameters of a given extension. 2005-04-09 Bryce * src/view.h, src/application/editor-impl.cpp, src/application/editor-impl.h, src/svg-view.h: C++-ification. Created some C++ wrapper member functions for SPView and SPSVGView, to enable Gtkmmification of SPDesktop 2005-04-09 MenTaLguY * src/selection.cpp, src/selection.h, src/dialogs/align.cpp, src/extension/implementation/script.cpp, src/extension/plugin/bluredge.cpp, src/util/glib-list-iterators.h: excise STL abuse, and fix up the glib list iterators 2005-04-09 MenTaLguY * src/file.cpp, src/interface.cpp, src/shortcuts.cpp, src/sp-object-repr.cpp, src/sp-skeleton.cpp, src/verbs.cpp, src/dialogs/export.cpp, src/display/nr-arena-item.cpp, src/libnrtype/FontFactory.cpp, src/libnrtype/TextWrapper.h, src/livarot/ShapeMisc.cpp, src/livarot/float-line.cpp: combined several different 64-bit cleanness patches 2005-04-08 Jon Phillips * src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h: added copyright statements about dialog manager code I wrote. 2005-04-08 MenTaLguY * src/draw-context.cpp, src/dyna-draw-context.cpp, src/path-chemistry.cpp, src/selection-chemistry.cpp, src/selection.cpp, src/selection.h, src/splivarot.cpp, src/extension/plugin/bluredge.cpp, src/trace/trace.cpp: renaming Inkscape::Selection methods that deal with XML::Nodes 2005-04-08 MenTaLguY * src/document-undo.cpp: try again with handling incomplete transactions more gracefully 2005-04-06 Peter Moulder * src/io/sys.h, src/io/sys.cpp (dir_open, dir_read_utf8name): New functions: utf8 wrappers around g_dir_open, g_dir_read_name. 2005-04-02 Bryce Harrington * configure.ac share/ui/menus-bars.xml, src/Makefile.am, src/Makefile_insert, src/file.cpp, src/application/editor-impl.cpp, src/application/editor-impl.h, src/extension/init.cpp, src/extension/input.cpp, src/extension/system.cpp, src/extension/implementation/implementation.cpp, src/extension/implementation/plugin.cpp, src/extension/implementation/script.cpp, src/extension/internal/svg.cpp : Implementing preliminary load-from-URI functionality. 2005-04-02 MenTaLguY * src/document-undo.cpp, src/xml/event-fns.h, src/xml/event.cpp, src/xml/event.h: more debugging info for incomplete transactions 2005-04-02 Peter Moulder * src/sp-gradient.cpp: Fix crash with cycles in gradient hrefs. 2005-04-01 Jon A. Cruz * src/ui/widget/panel.h, src/ui/widget/panel.cpp, src/ui/previewholder.h, src/ui/previewholder.cpp,src/dialogs/swatches.cpp, src/dialogs/swatches.h: Added UI for switching palettes 2005-04-01 Peter Moulder * src/style.cpp (sp_style_merge_from_dying_parent): New function to combine the styles of the element and its ghost child when unlinking. * src/sp-use.cpp: Use it. 2005-03-31 Jon A. Cruz * src/ui/widget/panel.cpp, src/ui/widget/panel.h, src/path-prefix.h, src/dialogs/swatches.cpp, src/dialogs/swatches.h share/palettes/Makefile.am, share/palettes/svg.gpl: Adding palette loading. 2005-03-31 Jean-François Lemaire * share/icons/David_icons.svg: new icon theme by David Christian Berg * share/icons/README.icons: explanations on how to use the theme 2005-03-30 Jean-François Lemaire * share/icons/icons.svg: included the layer menu icons * src/verbs.cpp: assigned names for the layer menu icons 2005-03-24 Jon A. Cruz * src/ui/widget/panel.h, src/ui/widget/panel.cpp, src/ui/previewholder.h, src/ui/previewfillable.h, src/dialogs/iconpreview.cpp, src/dialogs/swatches.cpp: Adding panel menu 2005-03-27 Jon Phillips * src/toolbox.cpp src/toolbox.h src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h: Added generic dialog adding, deleting, and getting and fixed toolboxes to be static with no warnings. 2005-03-26 Bryce * share/ui/keybindings.rc, share/ui/menus-bars.xml src/application/editor-impl.cpp, src/application/editor-impl.h, src/extension/internal/svg.cpp, src/ui/dialog/Makefile_insert, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h, src/ui/dialog/messages.cpp, src/ui/dialog/messages.h: Initial implementation of canvas in gtkmm. Incorporating Messages dialog. 2005-03-24 MenTaLguY * src/sp-item.cpp: fix relative transforms to accommodate viewbox 2005-03-24 Jon A. Cruz * src/ui/Makefile_insert, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/ui/previewable.h, src/ui/previewfillable.h, src/ui/previewholder.cpp, src/ui/previewholder.h: Refactoring previewable functionality to be more generic 2005-03-24 cyreve * src/: text-context.cpp, text-editing.cpp, text-editing.h: functions for applying style to selected text, and wire them up to ctrl-b/ctrl-i for bold/italic 2005-03-23 Jon Phillips * src/toolbox.h src/toolbox.cpp: Fixed warning messages. 2005-03-23 Jon A. Cruz * src/ui/previewable.h, src/ui/Makefile_insert, src/dialogs/swatches.h, src/dialogs/swatches.cpp: Preliminary work for 'Previewable' interface. 2005-03-23 cyreve * src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-Output.cpp: make text on path work correctly with accent glyphs and suchlike * src/: text-chemistry.cpp, libnrtype/Layout-TNG.h: apply text's alignment to startOffset on new textpath elements, fixes bug 1168145 * src/libnrtype/Layout-TNG-OutIter.cpp: selecting text to the end sometimes displays wrong 2005-03-22 MenTaLguY * src/arc-context.cpp, src/desktop-handles.cpp, src/desktop-handles.h, src/desktop.cpp, src/desktop.h, src/document.h, src/draw-context.cpp, src/draw-context.h, src/file.cpp, src/forward.h, src/gradient-context.cpp, src/gradient-drag.cpp, src/gradient-drag.h, src/gradient-toolbar.cpp, src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp, src/node-context.h, src/nodepath.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/selcue.cpp, src/selcue.h, src/select-context.cpp, src/select-toolbar.cpp, src/selection-chemistry.cpp, src/selection-chemistry.h, src/selection-describer.cpp, src/selection-describer.h, src/selection.cpp, src/selection.h, src/seltrans.cpp, src/seltrans.h, src/sp-flowtext.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/toolbox.cpp, src/verbs.cpp, src/dialogs/align.cpp, src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp, src/dialogs/find.cpp, src/dialogs/iconpreview.cpp, src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp, src/extension/plugin/bluredge.cpp, src/extension/plugin/grid.cpp, src/trace/trace.cpp, src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h, src/ui/dialog/transformation.cpp, src/ui/dialog/transformation.h, src/widgets/sp-widget.cpp, src/widgets/sp-widget.h: SPSelection -> Inkscape::Selection 2005-03-22 cyreve * src/text-context.cpp: pressing esc doesn't hide text selection * src/: text-context.cpp, text-context.h, text-editing.cpp, text-editing.h, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: make text selection inverse 2005-03-21 Jon Phillips * share/icons/icons.svg src/dropper-context.cpp src/dropper-context.h src/toolbox.cpp src/toolbox.h src/dialogs/display-settings.cpp: Added controls for eye dropper so that I could get color values. Removed option from application preferences. 2005-03-21 MenTaLguY * src/util/Makefile_insert, src/util/glib-list.h, src/util/glib-list-iterators.h: retired old Glib list to Util::List adaptor and replaced it with new iterator classes that directly wrap the Glib list types 2005-03-21 cyreve * src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp: text selection doesn't show when it starts at the end of a line * src/: text-context.cpp, text-editing.cpp: crash on overtyping selection, and displayed selection not removed on overtype * src/text-editing.cpp: kerning information placed wrongly in text after child span element * src/libnrtype/Layout-TNG-OutIter.cpp: crash when pressing home key * src/: text-context.cpp, text-context.h: text selection using the mouse * src/: make.dep, make.files, make.ofiles, libnrtype/Layout-TNG-OutIter.cpp: further optimisation of text selection, and an implementation for text on a path * src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: optimisation of text selection and fixing some bugs in it 2005-03-18 MenTaLguY * src/arc-context.cpp, src/file.cpp, src/gradient-context.cpp, src/node-context.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/selection.cpp, src/selection.h, src/sp-flowtext.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/dialogs/find.cpp, src/dialogs/in-dt-coordsys.cpp, src/dialogs/xml-tree.cpp: cleaned up the selection API slightly 2005-03-20 cyreve * src/: text-context.cpp, text-context.h, text-editing.cpp, text-editing.h, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: initial implementation of text selection (keyboard only) * src/libnrtype/Layout-TNG-OutIter.cpp: making createSelectionShape() work * src/: sp-text.cpp, sp-text.h: text-anchor sometimes won't work in text on a path when x/y coordinates are set * src/libnrtype/Layout-TNG-Output.cpp: text on path: cut characters before start of path and calculate bounding box correctly when this happens 2005-03-14 Jon A. Cruz * src/dialogs/Makefile_insert, src/dialogs/swatches.cpp, src/dialogs/swatches.h, src/verbs.h, src/verbs.cpp, src/interface.cpp: Initial cut of swatches panel. 2005-03-19 cyreve * src/libnrtype/Layout-TNG-Compute.cpp: rendering of multiple-character clusters in rtl text is wrong (bug 1166603) * src/: make.dep, make.files, make.ofiles, sp-text.cpp, sp-text.h, text-editing.cpp: glue kerning info back together on deleting line breaks * src/sp-tspan.cpp: textpath startOffset attribute doesn't save correctly when it's a percentage (remnants of bug 1124722) * src/: text-context.cpp, text-context.h, text-editing.cpp, text-editing.h, libnrtype/Layout-TNG.h: use Layout::iterator for storing cursor position. Fixes bug 1093660 related to rtl cursor movement * src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG.h: implement backend cursor movement functions properly for multidirectional text * src/libnrtype/Layout-TNG-Output.cpp: create more efficient postscript output * src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG-Output.cpp, Layout-TNG.h: obey text-align attribute when fitting text to a path (fixes bug 1124722) * src/: attributes-test.cpp, attributes.cpp, attributes.h, sp-flowtext.cpp, sp-text.cpp, sp-tspan.cpp, sp-tspan.h, style-test.cpp, libnrtype/Layout-TNG-Output.cpp: wire up startOffset attribute to textpath and fix bugs in it * src/sp-flowtext.cpp: unflow text command loses formatting * src/xml/repr-io.cpp: xml pretty-printer adding whitespace in xml:space=preserve elements * src/: sp-flowtext.cpp, text-editing.cpp: line breaks not being put before strings immediately following para elements, and deleting line breaks copies style wrongly 2005-03-18 MenTaLguY * src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert, src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h, src/xml/node-fns.cpp, src/xml/node-fns.h, src/xml/node-iterators.h, src/xml/repr.cpp, src/xml/simple-node.cpp: renamed node-fns-tree to node-fns, and moved sp_repr_prev etc into Inkscape::XML namespace (as e.g. previous_node) 2005-03-18 cyreve * src/libnrtype/Layout-TNG-Compute.cpp: cursor position on blank first line sometimes goes wrong * src/: make.dep, make.files, make.ofiles, text-editing.cpp: spurious line break added before text in text and font dialog (bug 1166016) * src/: make.dep, make.files, make.ofiles, libnrtype/FlowBoxes.cpp, libnrtype/FlowBoxes.h, libnrtype/FlowDefs.h, libnrtype/FlowDest.cpp, libnrtype/FlowDest.h, libnrtype/FlowEater.cpp, libnrtype/FlowEater.h, libnrtype/FlowRes.cpp, libnrtype/FlowRes.h, libnrtype/FlowResOut.cpp, libnrtype/FlowSols.cpp, libnrtype/FlowSols.h, libnrtype/FlowSrc.cpp, libnrtype/FlowSrc.h, libnrtype/FlowSrcText.cpp, libnrtype/FlowSrcText.h, libnrtype/FlowStyle.cpp, libnrtype/FlowStyle.h, libnrtype/FlowUtils.cpp, libnrtype/FlowUtils.h, libnrtype/Makefile_insert: remove all old text layout code (7,577 lines) * src/: sp-flowregion.cpp, sp-flowregion.h, sp-flowtext.cpp, sp-string.cpp, sp-tspan.cpp: purge flow_dest class from code * src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: define a value for line-height:normal and use it consistently * src/: sp-text.cpp, sp-text.h, text-editing.cpp: adjust kerning attributes on adding/removing line breaks 2005-03-17 MenTaLguY * src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp: whoops, we were calling the 'children' vfunc rather than 'last_child' when appending, hence the bug... fixed now. 2005-03-17 cyreve * src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: x,y attributes on tspans set wrongly when alignment != left (bug 1165427) * src/: sp-text.cpp, sp-text.h: break before tspan role=line elements, ie allow first tspan not to have role=line * src/: make.dep, make.files, make.ofiles, sp-flowtext.cpp, sp-object.cpp: fix inheritance problems with xml:space attribute * src/libnrtype/Layout-TNG-OutIter.cpp: crash on pressing enter immediately after creating text * src/: object-ui.cpp, sp-flowtext.cpp: set xml:space=preserve on new flowdiv elements * src/libnrtype/Layout-TNG-Compute.cpp: second try at solving numerical problems when line-height is set * src/: sp-flowtext.cpp, sp-flowtext.h, verbs.cpp: slightly objectify SPFlowtext and rearrange its updating a tiny bit * src/: path-chemistry.cpp, sp-flowregion.cpp, sp-offset.cpp, sp-text.cpp, sp-text.h, sp-use-reference.cpp, splivarot.cpp: slightly objectify SPText & rearrange updating code, also fixes bug causing all letters to appear on top of each other * src/libnrtype/Layout-TNG-Compute.cpp: characters will draw multiple times when x or y attributes set 2005-03-16 cyreve * src/text-editing.cpp: kerning: add/remove kerns with insertion/deletion of characters, and only apply kerns to the topmost xml object * src/: help.cpp, selection-chemistry.cpp, sp-text.cpp, sp-text.h, text-context.cpp, text-editing.cpp, text-editing.h, dialogs/text-edit.cpp: move functions applying to both text and flowtext to text-editing & rename them. Also fixes crash on letter/linespacing adjustment for flowtext * src/text-editing.cpp: fix crash on pressing delete at the end of text * src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: position cursor correctly in empty text objects * src/: sp-item-group.cpp, sp-object.cpp: optimise adding children to the end of a group - big improvement for tile clones * src/: sp-flowtext.cpp, sp-text.cpp, text-context.cpp, text-editing.cpp, text-editing.h: text editing fixes: track line breaks with preceding para tag, finish abstracting line break/remove functions to work on flowtext * src/libnrtype/Layout-TNG-Compute.cpp: cursor positioning off-by-one in some cases of wrapped text 2005-03-15 cyreve * src/libnrtype/Layout-TNG-Compute.cpp: small tweak to make cursor positioning work right in counterdirectional spans in fully justified text * src/sp-text.cpp: tweak function for adjusting linespacing by keyboard to be more precise * src/: attributes-test.cpp, attributes.cpp, make.dep, make.files, make.ofiles, style-test.cpp, style.cpp, libnrtype/Layout-TNG-Output.cpp: make the unit tests pass for the new styles, and workaround build breakage when pango < 1.8 installed * src/: sp-flowtext.cpp, sp-flowtext.h, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-Scanline-Makers.cpp, libnrtype/Layout-TNG.h: wiring up full justification to old attribute & fixing bugs in it, which turned in to a major refactoring of layout code 2005-03-14 Jon Phillips * src/attributes-test.cpp, src/attributes.cpp, src/attributes.h, src/desktop.cpp, src/sp-namedview.cpp, src/sp-namedview.h, src/dialogs/desktop-properties.cpp: Added showpageshadow preference to document preferences. Set to on automatically and saves with document if off. 2005-03-14 MenTaLguY * src/display/nr-arena-item.h, src/display/nr-arena-item.cpp, src/display/nr-arena-group.cpp: added virtual accessor for last child 2005-03-14 Jon A. Cruz * src/interface.cpp, src/verb.cpp, src/verbs.h, src/ui/widget/panel.cpp, src/dialogs/Makefile_insert, src/dialogs/extensions.cpp, src/dialogs/extensions.h, src/extension/error-file.cpp: Added rough cut of initial extensions panel and dialog. 2005-03-13 Bryce Harrington * src/path-prefix.h: Rearranging linking of libui and libutil * src/application/application.cpp, src/application/application.h src/application/editor-impl.cpp, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h, src/ui/widget/labelled.cpp, src/ui/dialog/transformation.h, src/ui/dialog/transformation.cpp, src/ui/widget/unit-menu.h, src/util/units.cpp: Integrating Transformation dialog. Removing hardcoded paths. * share/icons/Makefile.in, share/icons/arrows-horiz.svg, share/icons/arrows-vert.svg, share/icons/arrows_hor.xpm, share/icons/arrows_ver.xpm, share/icons/rotate.svg, share/icons/rotate.xpm, share/icons/scale_hor.xpm, share/icons/scale_ver.xpm, share/icons/Makefile.am: Adding icons needed by transformation dialog * share/ui/units.txt, share/ui/units.xml: Moving units into ui/ subdir. Dunno if this is the best location for them, but pjrm thought it'd be ok for now. 2005-03-13 cyreve * src/sp-text.cpp: allow adjusting letter spacing when cursor is at eol * src/: make.dep, make.files, make.ofiles, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG-Output.cpp, libnrtype/Layout-TNG.h: fix kerning when align != left, and fix linespacing < 100 * src/: sp-flowtext.cpp, sp-text.cpp, sp-text.h, style.cpp, style.h, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-Input.cpp, libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG-Output.cpp, libnrtype/Layout-TNG-Scanline-Maker.h, libnrtype/Layout-TNG.h: implement line-height css property, & fix percentage handling in style 2005-03-12 MenTaLguY * src/node-context.cpp, src/node-context.h, src/nodepath.cpp, src/nodepath.h, src/toolbox.cpp, src/dialogs/align.cpp: Renamed Path namespace to Inkscape::NodePath, to avoid conflict with livarot 2005-03-12 Kees Cook * inkscape.nsi: added German translation from Adib Taraben. 2005-03-12 MenTaLguY * src/sp-namedview.cpp, src/sp-metadata.cpp: it's valid for an SPObject 'write' method to be passed the object's own XML node; account for this. 2005-03-12 MenTaLguY * src/xml/simple-node.cpp: assert that src != this in SimpleNode::mergeFrom 2005-03-12 MenTaLguY * src/gc-alloc.h: minor cosmetic adjustments * src/util/list-container.h: pedantically correct implementation of ListContainer::max_size() * src/xml/simple-node.cpp: use Util::ListContainer iterators in a more STL-ish fashion 2005-03-12 Jon A. Cruz * src/ui/widget/panel.h, src/ui/widget/panel.cpp, src/ui/widget/Makefile_insert, src/dialogs/iconpreview.h, src/dialogs/iconpreview.cpp: Initial addition of Panel. 2005-03-12 cyreve * src/sp-flowtext.cpp: text unflow command losing space characters: add xml:space to generated elements * src/: attributes.cpp, attributes.h, make.dep, make.files, make.ofiles, sp-flowtext.cpp, sp-text.cpp, style.cpp, style.h, text-context.cpp, text-editing.cpp, dialogs/text-edit.cpp, libnrtype/FlowRes.cpp, libnrtype/Layout-TNG-Compute.cpp, libnrtype/Layout-TNG-Input.cpp: add several new text properties to SPStyle and rearrange some of the existing ones, also remove spurious warning on applying kerning * src/sp-flowtext.cpp: svg spec requires us to break after flowline content, not before 2005-03-11 cyreve * src/desktop-style.cpp, src/sp-text.cpp, src/sp-text.h, src/sp-tspan.cpp, src/sp-tspan.h, src/text-chemistry.cpp, src/text-editing.cpp, src/text-editing.h: combine the common attribute handling for text, tspan and textpath into one class * src/sp-flowtext.cpp, src/sp-string.cpp: reimplement xml:space attribute * src/sp-text.cpp, src/libnrtype/Layout-TNG-OutIter.cpp, src/libnrtype/Layout-TNG.h: apply calculated x/y attributes to tspan role=line elements * src/libnrtype/Layout-TNG-Output.cpp: postscript text output incorrectly scaled (and other problems) 2005-03-10 cyreve * src/sp-flowdiv.h, src/sp-flowtext.h, src/sp-text.cpp, src/sp-text.h, src/sp-tspan.h, src/text-context.cpp, src/text-editing.cpp, src/text-editing.h, src/libnrtype/Layout-TNG-Compute.cpp, src/libnrtype/Layout-TNG-OutIter.cpp: clean up xml tree properly on deleting line break, & fix various compile issues * src/nodepath.cpp, src/sp-flowdiv.cpp, src/sp-flowdiv.h, src/sp-flowtext.cpp, src/sp-flowtext.h, src/sp-string.cpp, src/sp-string.h, src/sp-text.cpp, src/sp-text.h, src/sp-tspan.cpp, src/sp-tspan.h, src/text-editing.cpp, src/verbs.cpp, src/libnrtype/FontInstance.cpp, src/libnrtype/font-instance.h, src/livarot/Shape.h, src/libnrtype/Layout-TNG-Compute.cpp, src/libnrtype/Layout-TNG-Input.cpp, src/libnrtype/Layout-TNG-OutIter.cpp, src/libnrtype/Layout-TNG-Output.cpp, src/libnrtype/Layout-TNG-Scanline-Maker.h, src/libnrtype/Layout-TNG-Scanline-Makers.cpp, src/libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: huge rewrite of text layout (and some text editing) code 2005-03-07 Kees Cook * src/libnr/have_mmx.S, src/libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S, src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S, src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S, src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: execstack patch from Mike Hearn. 2005-03-07 Jon A. Cruz * src/interface.cpp, src/verbs.h, src.verbs.cpp, src/widgets/icon.cpp, src/dialogs/iconpreview.h, src/dialogs/iconpreview.cpp, src/dialogs/Makefile_insert: Initial cut of icon preview. 2005-03-05 Bryce Harrington * share/icons/*.svg, share/icons/Makefile.am: Adding icons for new gui interface * src/ui/icons.cpp: Fixing some paths * src/main.cpp src/application/Makefile_insert, src/application/app-prototype.h, src/application/application.cpp src/application/editor.cpp, src/ui/widget/toolbox.cpp, src/application/editor-impl.cpp: Broke out editor-impl class to its own file. Continued getting the new interface to the point where it'll load and run. * share/ui/keybindings.rc, share/ui/toolbox.xml, share/ui/menus-bars.xml: Migrating some of the UI definition stuff into main codebase 2005-03-05 Jon A. Cruz * src/widgets/layer-selector.cpp, src/widgets/icon.h, src/widgets/icon.cpp, src/dialogs/align.cpp, src/dialogs/find.cpp, src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp, src/interface.cpp: Purging PixBufFactory and sp_icon_new_scaled. 2005-03-05 Jon A. Cruz * src/widgets/icon.cpp, src/widgets/icon.cpp: Switched icon loading to be deferred and react to theme changes on-the-fly. 2005-03-05 Bryce Harrington * src/application/Makefile_insert, src/application/app-prototype.cpp, src/application/editor.h, src/application/app-prototype.h, src/application/application.cpp: Adding Application::AppPrototype class * src/application/editor.cpp, src/application/editor.h: Changing member function getImpl() to getWindow() 2005-03-04 Jon A. Cruz * src/widgets/icon.cpp: Changed stock item loading to use stock GtkImage widgets directly. 2005-03-03 MenTaLguY * src/widgets/icon.cpp: more idiomatic iteration 2005-03-02 Jon A. Cruz * src/toolbox.cpp: Added preference to make the top toolbox 'small'. 2005-03-02 Jon A. Cruz * src/desktop-events.cpp, src/desktop.cpp, src/gradient-toolbar.cpp, src/interface.cpp, src/select-toolbar.cpp, src/toolbox.cpp, src/toolbox.h, src/dialogs/find.cpp, src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp, src/widgets/button.cpp, src/widgets/button.h, src/widgets/icon.cpp, src/widgets/icon.h, src/widgets/layer-selector.cpp, src/widgets/paint-selector.cpp, src/widgets/widget-sizes.h: Initial pass removing hardcoded icon sizes. 2005-03-01 MenTaLguY * src/extensions/internal/ps.cpp: apply patch from Michael Forbes (miforbes@mbhs.edu) to support gradient fills in Postscript 2005-03-01 MenTaLguY * src/xml/node.h, src/xml/simple-node.cpp, src/xml/simple-node.h: begin migration of notification interface to use NodeObserver rather than NodeEventVector 2005-03-01 MenTaLguY * src/xml/Makefile_insert, src/xml/node-listener.h, src/xml/repr.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h: reworked listener list to use Util::ListContainer * src/xml/node-observer.h: minor name cleanups 2005-03-01 MenTaLguY * src/Makefile.am, src/algorithms/find-if-before.h: added new generic algorithm 2005-03-01 MenTaLguY * src/Makefile.am, src/util/Makefile_insert, src/util/list-container-test.cpp, src/util/list-container.h: tests and fixes for Util::ListContainer 2005-03-01 MenTaLguY * src/Makefile.am, src/libnr/Makefile_insert, src/xml/Makefile_insert: use in-tree copy of cxxtest * src/util/Makefile_insert, src/util/list-container.h: add Util::List-based STL container 2005-02-28 SwinginCelt * Fixed an improper conversion of sp_repr_document_merge that was causing extra data being written to the prefrences file every time inkscape exited. 2005-02-26 SwinginCelt * Replaced all sp_repr_set_content calls with direct call to repr->setContent. * Replaced all sp_repr_merge calls with direct call to repr->mergeFrom. * Removed inline sp_repr_document_merge because it wasn't used anywhere. * Removed inline sp_repr_set_content because it wasn't used anywhere. 2005-02-26 MenTaLguY * cxxtest: imported cxxtest tree 2005-02-24 Jon A. Cruz * src/main.cpp, io/sys.h, io/sys.cpp: Refactoring input filename conversion and fallback. Fixes bug #1151536. 2005-02-22 Jon A. Cruz * src/main.cpp: Refactoring sp_main_*. Adding cleanup phase on extracted filename list. 2005-02-22 Bryce Harrington * src/main.cpp, src/application/application.cpp: Adding --new-gui option. 2005-02-22 Ted Gould * src/interface.cpp: Changing the effects menu to be driven by the preferences file so that the file can be the same whether or not the effects are shown. 2005-02-22 MenTaLguY * src/desktop-style.cpp, src/selection-chemistry.cpp, src/xml/attribute-record.h, src/xml/node.h, src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h: use Inkscape::Util::List for attribute lists, and sprinkle some appropriate 'using's in to make things less verbose 2005-02-22 Jon A. Cruz * src/inkscape.cpp, src/main.cpp, src/extension/input.cpp, src/io/sys.cpp, src/xml/repr-io.cpp: Better catching of problematic filenames. Made segv handler only use dialog box when app is using a gui. Fixes bug #1145847. 2005-02-22 Ted Gould * src/extension/effect.cpp, src/extension/prefdialog.cpp, src/extension/prefdialog.h, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/plugin-link.h, src/extension/implementation/plugin.cpp, src/extension/implementation/plugin.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/plugin/grid.cpp: Changing the API of the effects preferences so that it doesn't use sockets and plugs anymore. Now there is a generic widget passed down so that should work on every platform. * src/extension/plugin/grid.cpp: Fixing the grid so that it uses the right axis. * share/extensions/Makefile.am, share/extensions/bluredge.inx, share/extensions/randompnt.inx, share/extensions/randompos.inx, src/extension/plugin/Makefile_insert, src/extension/plugin/bluredge.cpp, src/extension/plugin/randompnt.cpp, src/extension/plugin/randompos.cpp: Adding some cool new effects, well, they're not really done yet, but getting the basis code into CVS so I don't loose it :) 2005-02-21 MenTaLguY * src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert, src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h, src/xml/repr-get-children.cpp, src/xml/repr-get-children.h, src/xml/repr.cpp, src/xml/simple-node.cpp: renamed header files * src/xml/Makefile_insert, src/xml/invalid-operation-exception.h: added Inkscape::XML::InvalidOperationException * src/xml/simple-node.h: avoid a second indirect function call from SimpleNode::appendChild 2005-02-20 SwinginCelt * Replaced all sp_repr_attr calls with direct call to repr->attribute. * Replaced all sp_repr_document_unref calls with direct call to Inkscape::GC::release(...). * Removed iinline sp_repr_document_ref because it wasn't used anywhere. 2005-02-20 MenTaLguY * src/inkscape.cpp: removed unused signals 2005-02-19 MenTaLguY * src/arc-context.cpp, src/desktop.cpp, src/document-private.h, src/document-undo.cpp, src/document.cpp, src/event-context.cpp, src/gradient-chemistry.cpp, src/gradient-chemistry.h, src/gradient-drag.cpp, src/gradient-drag.h, src/node-context.cpp, src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp, src/star-context.cpp, src/toolbox.cpp, src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp, src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp, src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp, src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert, src/xml/attribute-record.h, src/xml/document.h, src/xml/event-fns.h, src/xml/event.cpp, src/xml/event.h, src/xml/node-event-vector.h, src/xml/node-iterators.h, src/xml/node-listener.h, src/xml/node.h, src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/repr-sorting.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h, src/xml/simple-document.h, src/xml/simple-node.cpp, src/xml/simple-node.h, src/xml/simple-session.cpp, src/xml/sp-css-attr.h, src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h, src/xml/sp-repr-doc.h, src/xml/sp-repr-event-vector.h, src/xml/sp-repr-iterators.h, src/xml/sp-repr-listener.h, src/xml/sp-repr.h: renamed header files to match new class names 2005-02-19 MenTaLguY * src/arc-context.cpp, src/arc-context.h, src/desktop-events.cpp, src/desktop-style.cpp, src/desktop-style.h, src/desktop.cpp, src/document-private.h, src/document-undo.cpp, src/document.cpp, src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp, src/dyna-draw-context.h, src/event-context.cpp, src/event-context.h, src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp, src/inkscape.h, src/inkview.cpp, src/interface.cpp, src/knotholder.cpp, src/knotholder.h, src/layer-fns.cpp, src/main.cpp, src/node-context.cpp, src/nodepath.cpp, src/nodepath.h, src/object-ui.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp, src/rect-context.cpp, src/rect-context.h, src/selection-chemistry.cpp, src/selection.cpp, src/selection.h, src/seltrans.cpp, src/sp-anchor.cpp, src/sp-animation.cpp, src/sp-clippath.cpp, src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h, src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp, src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-gradient-fns.h, src/sp-gradient-test.cpp, src/sp-gradient.cpp, src/sp-guide.cpp, src/sp-image.cpp, src/sp-item-group.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp, src/sp-linear-gradient-fns.h, src/sp-marker.cpp, src/sp-mask.cpp, src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-namedview.h, src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object-repr.h, src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp, src/sp-offset.h, src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-radial-gradient-fns.h, src/sp-rect.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-skeleton.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/sp-string.cpp, src/sp-symbol.cpp, src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use-reference.h, src/sp-use.cpp, src/spiral-context.cpp, src/spiral-context.h, src/splivarot.cpp, src/star-context.cpp, src/star-context.h, src/style.cpp, src/style.h, src/text-chemistry.cpp, src/text-context.cpp, src/text-editing.cpp, src/toolbox.cpp, src/verbs.cpp, src/application/application.cpp, src/application/application.h, src/application/editor.h, src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp, src/dialogs/rdf.cpp, src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp, src/dialogs/xml-tree.cpp, src/ecma/EcmaBinding.cpp, src/ecma/EcmaBinding.h, src/extension/dependency.cpp, src/extension/dependency.h, src/extension/effect.cpp, src/extension/effect.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/input.cpp, src/extension/input.h, src/extension/output.cpp, src/extension/output.h, src/extension/print.cpp, src/extension/print.h, src/extension/system.cpp, src/extension/implementation/plugin.cpp, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/internal/gdkpixbuf-input.cpp, src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp, src/extension/internal/svg.cpp, src/extension/plugin/grid.cpp, src/helper/stock-items.cpp, src/trace/trace.cpp, src/widgets/dash-selector.cpp, src/widgets/dash-selector.h, src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp, src/widgets/layer-selector.cpp, src/widgets/layer-selector.h, src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp, src/widgets/sp-widget.h, src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-attr-list.h, src/widgets/sp-xmlview-content.cpp, src/widgets/sp-xmlview-content.h, src/widgets/sp-xmlview-tree.cpp, src/widgets/sp-xmlview-tree.h, src/widgets/spw-utilities.h, src/xml/comment-node.h, src/xml/element-node.h, src/xml/node-observer.h, src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-get-children.cpp, src/xml/repr-get-children.h, src/xml/repr-io.cpp, src/xml/repr-sorting.cpp, src/xml/repr-sorting.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h, src/xml/session.h, src/xml/simple-document.h, src/xml/simple-node.cpp, src/xml/simple-node.h, src/xml/simple-session.cpp, src/xml/simple-session.h, src/xml/sp-css-attr.h, src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h, src/xml/sp-repr-doc.h, src/xml/sp-repr-event-vector.h, src/xml/sp-repr-iterators.h, src/xml/sp-repr-listener.h, src/xml/sp-repr.h, src/xml/text-node.h, src/xml/transaction-logger.h: SPRepr -> Inkscape::XML::Node SPReprDoc -> Inkscape::XML::Document SPReprAttr -> Inkscape::XML::AttributeRecord SPReprAction -> Inkscape::XML::Event SPReprEventVector -> Inkscape::XML::EventVector SPReprListener -> Inkscape::XML::NodeListener etc.. 2005-02-19 Jon A. Cruz * src/extension/extension.h, src/extension/internal/svg.cpp, src/extension/internal/svgz.cpp: Fixing .svgz Inkscape save and adding .svgz Plain save. Fixes bug #1144223 2005-02-18 Jon A. Cruz * src/Makefile.am, src/libnr/Makefile_insert, src/libnr/nr-point-fns-test.h src/libnr/nr-types-test.h: Adding initial version of CxxTest test cases. 2005-02-17 Jon A. Cruz * src/io/gzipinputstream.h, src/io/gzipinputstream.cpp: Changed decompression to be streammed and removed hardcoded limit. 2005-02-17 MenTaLguY * src/inkscape.h, src/inkscape.cpp, src/desktop.cpp: rewrote "last desktop standing" test to not suck 2005-02-15 SwinginCelt * Replaced some sp_repr_attr calls with direct call to repr->attribute. 2005-02-16 John Cliff * src/dialogs/tiledialog.h, src/dialogs/tiledialog.cpp, src/dialogs/makefile_insert, src/verbs.cpp, src/verbs.h: Added a dialog that allows you to arrange the selection in a grid pattern with user defined spacing. its in objects->grid arrange... 2005-02-15 SwinginCelt * Replaced inline function sp_repr_name with direct call to repr->name. * Replaced inline function sp_repr_content with direct call to repr->content. * Replaced inline function sp_repr_has_attr with direct call to repr->matchAttributeName. 2005-02-15 MenTaLguY * src/document.cpp, src/document.h, src/file.cpp, src/help.cpp, src/inkscape.cpp, src/inkview.cpp, src/slideshow.cpp, src/dialogs/filedialog.cpp, src/dialogs/stroke-style.cpp, src/extension/internal/gdkpixbuf-input.cpp, src/extension/internal/svg.cpp, src/extension/plugin/gimpgrad.cpp, src/helper/stock-items.cpp, src/widgets/icon.cpp: removed unused SPDocument::advertize 2005-02-14 MenTaLguY * src/document.cpp: remove redundant assignment that appears to confuse gcc anyhow 2005-02-14 SwinginCelt * Replaced inline function sp_repr_set_position_absolute with direct call to repr>->setPosition. 2005-02-13 Bryce * src/main.cpp, src/application/application.cpp, src/inkscape.h, src/application/editor-impl.h, src/application/editor.cpp src/application/editor.h, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h, src/application/app-prototype.h src/application/application.h: Integrating I::A::Application into the execution path. Now its run() routine is called from main(). * src/application/Makefile_insert, src/application/makefile.in, src/application/editor-impl.h, src/application/editor.cpp, src/application/editor.h: Initial import of inkscape_gtkmm code. Also see doc/NewAppArchitecture/ presentation for the rationale behind this. * src/ui/dialog/align-and-distribute.cpp, src/ui/dialog/align-and-distribute.h, src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h, src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h, src/ui/dialog/document-preferences.cpp, src/ui/dialog/document-preferences.h, src/ui/dialog/export.cpp, src/ui/dialog/export.h, src/ui/dialog/extension-editor.cpp, src/ui/dialog/extension-editor.h, src/ui/dialog/fill-and-stroke.cpp, src/ui/dialog/fill-and-stroke.h, src/ui/dialog/find.cpp, src/ui/dialog/find.h, src/ui/dialog/inkscape-preferences.cpp, src/ui/dialog/inkscape-preferences.h, src/ui/dialog/layer-editor.cpp, src/ui/dialog/layer-editor.h, src/ui/dialog/messages.cpp, src/ui/dialog/messages.h, src/ui/dialog/text-properties.cpp, src/ui/dialog/text-properties.h, src/ui/dialog/tree-editor.cpp, src/ui/dialog/tree-editor.h, src/ui/dialog/xml-editor.cpp, src/ui/dialog/xml-editor.h, src/ui/widget/combo-text.cpp, src/ui/widget/combo-text.h, src/ui/widget/handlebox.cpp, src/ui/widget/handlebox.h, src/ui/widget/icon-widget.cpp, src/ui/widget/icon-widget.h, src/ui/widget/labelled.cpp, src/ui/widget/labelled.h, src/ui/widget/notebook-page.cpp, src/ui/widget/notebook-page.h, src/ui/widget/scalar-unit.cpp, src/ui/widget/scalar-unit.h, src/ui/widget/scalar.cpp, src/ui/widget/scalar.h, src/ui/widget/toolbox.cpp, src/ui/widget/toolbox.h, src/ui/widget/unit-menu.cpp, src/ui/widget/unit-menu.h: Initial import of the gtkmm code. These are mainly unimplemented stubs, but have few dependencies so are easy to integrate at this stage. * src/ui/widget/Makefile_insert, src/ui/widget/makefile.in, src/ui/dialog/Makefile_insert, src/ui/dialog/makefile.in, src/ui/Makefile_insert, src/ui/makefile.in: Adding makefile support for new code. * io/simple-sax.h, io/simple-sax.cpp: Adding Jon's simple SAX code * util/units.h, util/units.cpp: New inkscape_gtkmm units code 2005-02-12 MenTaLguY * src/document.cpp, src/document.h, src/sp-gradient-test.cpp: SPDocument is now a "real C++ class", managed by the garbage collector 2005-02-12 MenTaLguY * src/document-private.h, src/document.cpp, src/document.h, src/view.cpp, src/view.h, src/dialogs/xml-tree.cpp: switched SPDocument to sigc++ signals 2005-02-12 Kees Cook * Makefile.am, configure.ac, Makefile.mingw.common, inkscape.nsi: undoing my "configure" changes. Was dumb and forgot about native compiles on win32. * inkview.1.in, share/extensions/inkscape-shadow-white.sh, share/extensions/inkscape-shadow.sh: corrections found by Wolfram Quester during Debian packaging. * src/desktop-events.cpp, src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp, src/layer-fns.cpp, src/nodepath.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowtext.cpp, src/sp-object.cpp, src/sp-pattern.cpp, src/sp-text.cpp, src/splivarot.cpp, src/text-editing.cpp, src/dialogs/clonetiler.cpp, src/dialogs/rdf.cpp, src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp, src/extension/internal/gdkpixbuf-input.cpp, src/extension/plugin/grid.cpp, src/widgets/gradient-selector.cpp, src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h: inline function removal patches from Robert Crosbie. 2005-02-11 Kees Cook * src/Makefile.mingw, src/make.*: win32 compile updates. * src/extensions/internal/gnome.cpp: added my missing "comment" code. * src/shortcuts.cpp, doc/keys.xml, doc/keys.html, share/screens/keys.svg: added explicit ctrl-w. since gtk already binds it, we may as well show it. 2005-02-10 Jon A. Cruz * src/inkscape.cpp: Changed from SHGetSpecialFolderPath to SHGetSpecialFolderLocation. Fixes bug #1085641 2005-02-10 MenTaLguY * src/document.h, src/document.cpp: get rid of casting macro uses 2005-02-10 MenTaLguY * src/desktop.cpp, src/document-undo.cpp, src/document.cpp, src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp, src/interface.cpp, src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-object-repr.cpp, src/sp-object.cpp, src/svg-view.cpp, src/uri-references.cpp, src/view.cpp, src/dialogs/stroke-style.cpp, src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp: get rid needless uses of SP_IS_DOCUMENT (if we can't trust the compiler's type checking, what can we trust?) 2005-02-10 MenTaLguY * src/desktop-style.h, src/desktop.h, src/document.h, src/event-context.h, src/inkscape.h, src/knotholder.h, src/nodepath.h, src/selection-chemistry.h, src/selection.h, src/sp-conn-end-pair.h, src/sp-object-repr.h, src/sp-object.h, src/style.h, src/dialogs/sp-attribute-widget.h, src/extension/implementation/script.h, src/xml/repr-get-children.h, src/xml/repr.h, src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h, src/xml/xml-forward.h: got rid of xml-forward.h 2005-02-10 Kees Cook * configure.ac, Makefile.am, src/Makefile.am, Makefile.mingw.common.in, inkscape.nsi.in: setting up "configure" to build the other files that expect version numbers to get updated. Including mingw files in dist package. 2005-02-10 Jon A. Cruz * src/io/uristream.h, src/io/uristream.cpp, src/extension/internal/svg.h, src/extension/internal/svg.cpp, src/extension/internal/Makefile_insert, src/extension/internal/extension.h, src/extension/internal/init.cpp: Adding internal .svgz load and save extension. Probable fix for bugs #1074996, #1050361, #925033, #1052307 2005-02-08 Kees Cook * src/extension/implementation/script.cpp: proper /tmp handling. Closes bug #1074996. * src/inkscape.cpp, src/inkscape.h, src/dialogs/export.cpp: correction for export dialog paths. Closes bug #1114714. * inkscape.nsi, Makefile.mingw.common: version bumps * src/text-context.cpp: removed preedit code; it was broken and unneeded. 2005-02-08 Ted Gould * Released 0.41 2005-02-01 Kees Cook * src/xml/sp-css-attr.h, src/desktop-style.cpp, src/xml/repr-css.cpp, src/xml/repr.h: Fixed SPCSSAttr to be a "real" class, at mental's direction. Fixes my "default prefs don't show attrs" bug. * src/helper/stock-items.cpp: removing redundant code. * src/libnr/nr-point.h, src/libnrtype/FlowUtils.h, src/livarot/Shape.h: added explicit initializations to keep valgrind happy. * src/dir-util.cpp, src/sp-path.cpp, src/splivarot.cpp, src/svg/svg-length.cpp, src/widgets/icon.cpp: cleaning up memory leaks detected by valgrind. * src/extension/dependancy.cpp: made repr-attr tags untranslatable. * src/extension/system.cpp: correcting extension autodetection when there are conflicting matching modules. * src/dialogs/filedialog.cpp, src/extension/extension.h, src/extension/internal/svg.cpp: .svgz loading works again as expected. Non-functioning modules are not listed in file dialogs. * src/text-context.cpp, src/text-editing.cpp: preedit modes don't work correctly for multi-byte characters. See bug 1086769. 2005-01-31 Jon A. Cruz * src/file.cpp, src/inkscape.cpp, src/interface.cpp, src/dialogs/export.cpp, src/extension/init.cpp: sanitize messages before passing to display dialogs. 2005-01-31 Kees Cook * src/libnrtype/FontFactory.cpp: added a crude font name detection routine to work around a Pango crash bug. This can be removed once Pango is fixed. See bug #1025565. Actually, I figured out a fix. * print.cpp, print.h, sp-shape.cpp, extension/print.cpp, extension/print.h, extension/implementation/implementation.cpp, extension/implementation/implementation.h, extension/implementation/plugin.cpp, extension/implementation/plugin.h, extension/internal/gnome.h, extension/internal/ps.cpp, extension/internal/ps.h, extension/internal/win32.h: In an attempt to start debugging print rendering, I've added the Print::comment function so that SPItem boundries can be easily seen in rendered output. * src/preferences-skeleton.h, src/sp-shape.cpp, src/dialogs/display-settings.cpp, src/extension/internal/ps.cpp: Added printout comments for print debugging. Fixed dash output bug #1104050. * src/dialogs/rdf.cpp: fixed rdf:bag displays. Closes bug #1113316. 2005-01-30 Jon A. Cruz * src/io/sys.h, src/io/sys.cpp: added utility routine to cleanup strings with invalid UTF-8 for display. 2004-01-30 Kees Cook * src/make.dep, src/make.exclude, src/make.files, src/make.ofiles, src/io/uristream.cpp, src/io/sys.cpp: additional win32 changes using Jon Cruz's new mkdir function. Getting Win32 to compile the "io" directory. Closes bug #1107305. * src/file.cpp, src/inkscape-stock.cpp, src/inkscape.cpp, src/interface.cpp, src/main.cpp, src/dialogs/export.cpp, src/dialogs/stroke-style.cpp, src/extension/input.cpp, src/extension/implementation/script.cpp, src/helper/stock-items.cpp, src/io/sys.cpp, src/io/sys.h, src/widgets/icon.cpp: wrapped g_file_test with new Inkscape::IO::file_test since g_file_test isn't utf8-safe. * src/inkscape.cpp: removed call to g_free on non-alloced string. fixed up crash-save location to be utf8-okay. * src/extension/extension.cpp: convert from utf8 before open. * src/sp-spiral.cpp, src/object-edit.cpp: found place where CLAMP on spiral's t0 wasn't working. Closes bug #1075640. 2004-01-28 MenTaLguY * src/sp-object.h, src/sp-object.cpp: efficiency fixes which should be helpful when loading large documents 2005-01-29 Jon A. Cruz * src/file.h, src/file.cpp, src/inkscape.cpp, src/sp-image.cpp, src/extension/implementation/script.cpp, src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp, src/extension/plugin/gimpgrad.cpp, src/helper/png-write.cpp, src/io/Makefile_insert, src/io/sys.h, src/io/sys.cpp, src/trace/imagemap.cpp, src/xml/repr-io.cpp: Refactored open routine to better location. 2004-01-28 Kees Cook * configure.ac: added test for libgc 6.4 or better. * src/main.cpp: calling new SPRepr methods instead of inline wrappers. 2004-01-27 MenTaLguY * src/xml/simple-node.h, src/xml/simple-node.cpp: SimpleNode::lastChild() and SimpleNode::appendChild() are now O(1) rather than O(n) 2004-01-26 MenTaLguY * src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h, src/xml/sp-repr-action.h, src/xml/sp-repr-event-vector.h: inlined legacy wrappers * src/xml/simple-node.cpp: really fixed #1108231 now 2005-01-25 Jon A. Cruz * src/interface.cpp: Passed file import call to shared code. Fixed bug #1108620. 2005-01-25 MenTaLguY * src/xml/simple-node.cpp: fixed bug #1108231 2005-01-25 Peter Moulder * src/dialogs/desktop-properties.cpp: Changed set of paper sizes offered: Removed `Folio' pagesize (which means a different paper size to different people; will Folio be missed? If so, can we improve the name?). Changed ISO page sizes (A0..A10, B0..B10) to match official ISO specification in mm. Note that these differ from ghostscript's idea of page sizes; see comment in desktop-properties.cpp for speculation of possible problems (fuzziness from antialiasing). (Note also that our previous sizes differed even more from gs_statd.ps...) Coalesced Ledger and Tabloid to a single entry (11x17in); previously they differed in size. Changed Icon 16x16 from 16pt to 16px; similarly Icon 32x32 and Banner 468x60. 2004-01-24 MenTaLguY * src/xml/simple-node.cpp: potential fix for bug #1108231 2004-01-23 Ted Gould * po/POTFILES.in, share/extensions/dia.inx, src/preferences-skeleton.h, src/extension/Makefile_insert, src/extension/dependency.cpp, src/extension/dependency.h, src/extension/error-file.cpp, src/extension/error-file.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/init.cpp, src/extension/prefdialog.cpp: Adding in functionality to write out an error log based on the failing to load of extensions. There is also a new error dialog that appears if one or more fail to alert the user and tell them where the error log is stored. In the log there is more complex descriptions of what failed. 2004-01-23 MenTaLguY * src/sp-object.cpp: fix for id binding bug 2004-01-23 MenTaLguY * src/xml/repr-io.cpp: don't complain about not having a namespace URI for the standard xml: prefix * src/desktop-style.cpp, src/desktop.cpp, src/document-undo.cpp, src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp, src/interface.cpp, src/nodepath.cpp, src/object-edit.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp, src/select-toolbar.cpp, src/selection-chemistry.cpp, src/sp-defs.cpp, src/sp-flowdiv.cpp, src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-item.cpp, src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object.cpp, src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-string.cpp, src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use.cpp, src/splivarot.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/text-editing.cpp, src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp, src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp, src/extension/extension.h, src/extension/implementation/script.cpp, src/widgets/dash-selector.cpp, src/widgets/gradient-vector.cpp, src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert, src/xml/comment-node.h, src/xml/element-node.h, src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-get-children.cpp, src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h, src/xml/simple-document.cpp, src/xml/simple-document.h, src/xml/simple-node.cpp, src/xml/simple-node.h, src/xml/sp-repr-action.cpp, src/xml/sp-repr-doc.h, src/xml/sp-repr.h, src/xml/text-node.h: got rid of xml/repr-private.h, removed sp_repr_document_createTextNode(), made SPRepr and SPReprDoc abstract interfaces, and moved the SPRepr implementations into separate files in the Inkscape::XML namespace * src/util/shared-c-string-ptr.h: added equality operators to avoid certain ambiguities 2004-01-22 MenTaLguY * src/xml/Makefile_insert, src/xml/repr-private.h, src/xml/repr.cpp, src/xml/session.h, src/xml/simple-session.cpp, src/xml/simple-session.h, src/xml/sp-repr-action.cpp, src/xml/transaction-logger.h: added Inkscape::XML::Session and Inkscape::XML::TransactionLogger to provide a new interface for transactions, rather than doing it from SPReprDoc 2004-01-22 MenTaLguY * src/xml/Makefile_insert, src/xml/node-observer.h, src/xml/repr-private.h, src/xml/repr.cpp: moved repr loging behind generic observer interface 2005-01-22 Ted Gould * src/display/canvas-grid.cpp, src/display/canvas-grid.h; Fixing 1103001. Now major grid lines work alot more like you think that they should. 2005-01-21 MenTaLguY * src/util/Makefile_insert, src/util/shared-c-string-ptr.cpp, src/util/shared-c-string-ptr.h, src/util/shared-c-string.cpp, src/util/shared-c-string.h, src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h: renamed Util::SharedCString to Util::SharedCStringPtr, which is more descriptive of what it actually is 2005-01-21 MenTaLguY * src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp: simplify the cacheing of repr position indices, and make it something that can work with an abstract interface 2005-01-20 Kees Cook * src/file.cpp: added some debug output to help bulia debug bug #1102318. * configure.ac: more attempts at detecting the -lgc libs. 2005-01-19 Kees Cook * configure.ac: trying to correct the -lgc detection. * inkscape.pod: added theme details. * src/widgets/widget-sizes.h: went from 20 to 24 for toolbar icon size to match other GTK applications. * src/extension/db.cpp: corrected STL "not found" handling. Didn't fix bug #1102318. 2005-01-18 Kees Cook * src/inkscape.h, src/inkscape.cpp, src/widgets/icons.cpp: Added basic theme support! Whee! * share/inkscape/icons.svg: restoring original up/down/flip icons since icons are themable now. We should stick to our original look. * share/screens/about.svg: added Brisgeek's 0.41 about screen. Had to tweak background: looks like doc background isn't imported. * share/icons/*.xpm, share/icons/*.png: removed them. Not being used. 2005-01-17 MenTaLguY * src/desktop-style.cpp, src/inkscape.cpp, src/interface.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp, src/selection-chemistry.cpp, src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-object.cpp, src/sp-text.cpp, src/sp-tspan.cpp, src/splivarot.cpp, src/dialogs/xml-tree.cpp, src/extension/internal/pov-out.cpp, src/widgets/dash-selector.cpp, src/xml/repr-css.cpp, src/xml/repr-get-children.cpp, src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/sp-repr-action.cpp: Made all SPRepr fields private, and moved most functionality into member functions. Also shuffled SPReprDoc members, to avoid need for SPReprDoc to be finalized. 2005-01-17 Kees Cook * share/markers/markers.svg: applied patch #990884, which provides a few mirrored arrows until marker transforms are finished. * share/icons/icons.svg: updates per Bulia's request. 2005-01-16 MenTaLguY * src/sp-object.cpp: non-elements no longer get ids assigned 2005-01-15 MenTaLguY * src/arc-context.cpp, src/document-private.h, src/document.cpp, src/document.h, src/event-context.cpp, src/node-context.cpp, src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp, src/star-context.cpp, src/toolbox.cpp, src/uri-references.cpp, src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp, src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp, src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp, src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp, src/xml/sp-repr-event-vector.h: Removed attribute setting callback, and decoupled ids and object/repr bindings (object <-> repr associations are now remembered directly, though ids are still tracked too). This means it is now possible to set a null id on an object without anything breaking (hopefully). For now we will still assign ids to everything by default... 2005-01-15 MenTaLguY * src/arc-context.cpp, src/event-context.cpp, src/node-context.cpp, src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp, src/star-context.cpp, src/toolbox.cpp, src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp, src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp, src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp, src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp, src/xml/sp-repr-event-vector.h: remove all veto callbacks but setting attributes 2005-01-15 Kees Cook * src/inkscape.cpp: correcting windows path for preferences. Closes bug #933461. * src/file.cpp, src/nodepath.cpp, src/selection-describer.cpp, src/seltrans.cpp, src/sp-item-group.cpp, src/sp-path.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/dialogs/find.cpp: Using ngettext for plural localized strings. Please try to keep this up. Closes bug #1076872. * share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp, src/inkscape-stock.h, src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp: Finished the last of the missing pixmap replacements from Andreas Nilsson. Fixed some mistakes in the earlier changes (need to call sp_icon_new_scaled not sp_icon_new). 2005-01-14 MenTaLguY * src/gc.cpp: leave the free space multiplier at the default, which will hopefully (according to Hans) avoid some of the odd gc issues we've had, if nothing else does 2005-01-14 Kees Cook * share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp, src/inkscape-stock.h, src/verbs.cpp, src/dialogs/stroke-style.cpp, src/dialogs/transformation.cpp, src/widgets/icon.cpp, src/widgets/icon.h, src/widgets/paint-selector.cpp: Fixed up code and replaced pixmaps with icons from myself and Andreas Nilsson. 2005-01-11 MenTaLguY * src/xml/repr-io.cpp: promote non-namespaced SVG documents into SVG namespace 2005-01-08 MenTaLguY * src/Makefile_insert, src/gc-anchored.cpp, src/gc-anchored.h: abstracted allocation of anchors 2005-01-06 Ted Gould * src/interface.cpp, src/extension/effect.cpp, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/plugin-link.h, src/extension/implementation/plugin.cpp, src/extension/implementation/plugin.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/plugin/gimpgrad.cpp, src/extension/plugin/grid.cpp: Changing the effects preferences so that it uses sockets and plugs which will allow out of process GUIs to work too. This is a first pass with nothing beautiful, but it does seem to work. 2005-01-03 MenTaLguY * src/document.cpp, src/main.cpp, src/sp-root.cpp: get rid of ugly xmlns hacks * src/inkscape.cpp, src/extension/internal/svg.cpp, src/xml/repr-io.cpp: automatically include xmlns declarations for the required namespaces, and make a best effort at using a default namespace when requested and possible 2005-01-02 Kees Cook * share/icons/icons.svg: updated view and location * src/document.cpp, src/dialogs/rdf.cpp: fixed another bug in metadata due to svg: prefix change. * src/inkscape-stock.h, src/inkscape-stock.cpp, share/icons/Makefile.am: removed unused xpm icons 2005-01-02 Peter Moulder * src/fontsize-expansion.h, src/fontsize-expansion.cpp: New files. * src/Makefile_insert: Add the new files to libinkpre_a_SOURCES. * src/desktop-style.cpp (sp_desktop_apply_css_recursive): When calling sp_css_attr_scale, change the expansion calculation to use fontsize_expansion(). * src/sp-text.cpp (sp_text_set_transform): Similarly use fontsize_expansion() instead of generic m.expansion(). 2005-01-01 Kees Cook * src/extension/db.h, src/extension/db.cpp, src/extension/init.cpp: created "modulelist" to maintain initialization order for extension lists. 2004-12-31 MenTaLguY * src/xml/repr-io.cpp, src/xml/repr.h: initial scaffoliding for more cosmetic use of prefixes in output files (and eventually more proper namespace handling for output as well) 2004-12-31 Peter Moulder * src/sp-text.cpp (sp_text_set_transform): Change scaling of font size. The result should be closer to what CorelDraw, XaraX, Canvas 7 and Expression3 do according to vellum, though I don't know the exact rule that they use. 2004-12-25 Ted Gould * share/extensions/grid.inx, src/extension/extension.cpp, src/extension/extension.h, src/extension/plugin/grid.cpp: Futher improvements to the grid plugin. This involves mostly adding in parameters at this time, but, ofcourse, I never implemented floating point parameters -- so that had to be done first. More modular code so that things can be adjusted externally better. 2004-12-25 Ted Gould * share/extensions/Makefile.am, share/extensions/grid.inx, src/extension/implementation/plugin-link.h, src/extension/implementation/plugin.cpp, src/extension/plugin/Makefile_insert, src/extension/plugin/gimpgrad.cpp, src/extension/plugin/grid.cpp: Adding in a new effect plugin, grid. It draws a grid on the canvas which is just an easy way to do some neat things. It is mostly done, but still needs cleanup. Some other files required modification to make this possible. 2004-12-25 MenTaLguY * src/event-context.cpp: removed unused handler 2004-12-25 Ted Gould * share/extensions/svg_dropshadow: Changing to use "svg:g" instead of "g" for the group. * src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h, src/extension/system.cpp, src/extension/system.h, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/plugin.cpp, src/extension/implementation/plugin.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h: Final stuff to get Effects working as well as the did before, which is okay, but not great. This involved changing the API to get an SPView instead of an SPDocument because then I can get the selection information from the view that is being used. 2004-12-24 MenTaLguY * src/sp-object-repr.cpp, src/sp-tspan.cpp, src/splivarot.cpp, src/dialogs/rdf.cpp, src/dialogs/xml-tree.cpp, src/widgets/sp-xmlview-tree.cpp, src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h: cleaned out unused code and unhygenic macros, as well as fixing constructors for text and comment nodes 2004-12-24 Ted Gould * src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h: Okay, now the effects menu really works! Well, the implementation seems to be broken, but the wrapper seems to be all working. 2004-12-24 Ted Gould * src/interface.cpp, src/verbs.cpp, src/verbs.h, src/extension/effect.cpp, src/extension/effect.h: Getting the Effects menu basically working. This included some fixes to the verbs where they were incrementing the database incorrectly. The effects are the first component to take advantage of the dynamically created verbs, and exercised new code. Now the basic menu is available, but there is no functionality there. 2004-12-24 Ted Gould * src/interface.cpp, src/verbs.cpp, src/verbs.h: Basic code for the effects menu. * src/dialogs/filedialog.cpp, src/dialogs/filedialog.h, src/extension/db.cpp, src/extension/db.h: Changing the DB access functions to use std::list instead of GSList so that it is more standard, and we get rid of a specialized class that really isn't that useful. Less memory usage, and fixes a leak. * src/extension/effect.cpp, src/extension/effect.h: Adding in a "Last Effect" to be used in the menus. * src/extension/extension-forward.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/input.cpp, src/extension/output.cpp, src/extension/timer.cpp, src/extension/timer.h, src/extension/Makefile_insert: Adding in the timer functions so that modules will unload in a given amount of time. For more information on this read the documentation in the files. Kinda a lazy deallocation. * src/extension/implementation/implementation.cpp: Fix unload so that it is not recursive. 2004-12-23 MenTaLguY * src/arc-context.cpp, src/document.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp, src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp, src/layer-fns.cpp, src/main.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/sp-anchor.cpp, src/sp-clippath.cpp, src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp, src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-gradient-test.cpp, src/sp-gradient.cpp, src/sp-image.cpp, src/sp-item-group.cpp, src/sp-line.cpp, src/sp-marker.cpp, src/sp-mask.cpp, src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-offset.cpp, src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-rect.cpp, src/sp-root.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp, src/dialogs/find.cpp, src/dialogs/rdf.cpp, src/dialogs/xml-tree.cpp, src/ecma/EcmaBinding.cpp, src/extension/internal/gdkpixbuf-input.cpp, src/extension/internal/svg.cpp, src/livarot/ShapeDraw.cpp, src/xml/repr-io.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp: use normalized qnames for SVG elements too 2004-12-23 Kees Cook * configure.ac, src/Makefile_insert, src/extension/script/Makefile_insert: adding Perl and Python compile tests. Corrected library locations. * src/extension/script/InkscapeScript.h, src/extension/script/InkscapePython.cpp, src/extension/script/InkscapeScript.cpp: white space fix, and added config.h, and some small debugging for myself. Hope Bob doesn't mind! :) * src/dialogs/scriptdialog.cpp: added comments to default code. 2004-12-22 Kees Cook * configure.ac, src/extension/script/Makefile_insert: automake cleanups to deal with perl/python detection. 2004-12-20 David Turner * src/widgets/gradient-vector.cpp: Fixed bug with gradient stops at 0 and 100%. Closes 1085920. 2004-12-18 Bob Jamison * src/extensions/script/*: New files that enable embedding of scripting languages in Inkscape. Currently using Swig to embed Perl and Python. * autoconf.ac: Allow opting for perl or python with --with-perl=yes|no and --with-python=yes|no 2004-12-15 Peter Moulder * streq.h (streq), strneq.h (strneq), memeq.h (memeq): New convenience functions for strcmp(a,b)==0 etc. * src/dir-util.cpp (sp_relative_path_from_path): Fix when base is a string prefix of path but a directory prefix (e.g. path=/foo/barney, base=/foo/bar). 2004-12-10 Peter Moulder * src/sp-conn-end.cpp (sp_conn_end_move_compensate): Fix for undo/save: wasn't calling updateRepr(). 2004-12-09 Peter Moulder * src/style.cpp (sp_style_merge_from_style_string): More standards-conforming parsing of style strings into prop:value pairs. 2004-12-08 Peter Moulder * src/style.h, src/style.cpp, src/libnrtype/font-style-to-pos.cpp: Fix font-weight value: s/darker/bolder/. * src/style.cpp (sp_style_merge_from_parent): Fix bug with specifying stroke-width with unit of em or ex. (We were ignoring the number, treating it as 1em or 1ex.) * src/style.h, src/style.cpp (sp_style_read_dash, sp_style_write_string, sp_style_write_difference): Allow `inherit' as a value for dasharray. (Also plug small memory leak in sp_style_read_dash.) 2004-12-07 Peter Moulder * src/style.cpp (sp_style_write_string): Fix for when stroke-dasharray either explicitly set to `none', or inherits non-none. * src/style.cpp (sp_style_write_ienum): Fix: preserve explicit `inherit' request. * (sp_style_read, sp_style_merge_property): Allow explicit `inherit' for `display' property. * src/style.cpp (sp_style_read): Fix copy&paste bug affecting `visibility' and `display' properties. 2004-12-07 David Turner * src/libnrtype/RasterFont.cpp, src/display/nr-arena-shape.cpp: Fixed dash rendering bug (#1077213) 2004-12-06 Peter Moulder * src/style.h, src/style.cpp: Support all `display' values required by SVG 1.1. (No functional change, insofar as the new values all have the same behaviour as our existing `block' value in SVG.) * src/sp-item.cpp, src/style.cpp: Use `inline' (SP_CSS_DISPLAY_INLINE) rather than `block' as our generic display value meaning `don't hide this', as per spec. * src/style.cpp: Prefer to write lr-tb etc. rather than the abbreviations lr etc. (Also add comment saying why.) 2004-12-03 Peter Moulder * src/dialogs/xml-tree.cpp (on_attr_select_row_set_value_content): Fix segfault: treat NULL as empty string for display purposes. 2004-11-30 Peter Moulder * src/svg/svg.h, src/svg/sp-svg.def, src/svg/svg-length.cpp: (sp_svg_boolean_read, sp_svg_write_percentage): Remove these unused functions. (sp_svg_length_read_lff, sp_svg_number_write_d, sp_svg_number_write_i): Mark static. * configure.ac: When adding -lgc to LIBS, also add its dependencies -lpthread -ldl. 2004-11-28 Ted Gould * 0.40 2004-11-25 MenTaLguY * share/tutorials/tutorial-calligraphy.svg: spelling fix * src/widgets/layer-selector.cpp: fixing the layer selector update bug; sigc++ apparently doesn't deal with reference arguments very well 2004-11-25 MenTaLguY * src/layer-fns.cpp: fix layer creation within sublayers * src/dialogs/layer-properties.cpp: fix dialog leak 2004-11-25 MenTaLguY * src/inkscape.cpp: eliminate duplicated code across #ifdefs * src/verbs.cpp, src/dialogs/layer-properties.cpp, src/dialogs/layer-properties.h: LayerPropertiesDialog is no longer a singleton, since it's kind of a per-desktop (well, ideally per-document) thing. Remaining to do: fix update of layer selector widget, and eliminate leak of dialog objects. 2004-11-24 Kees Cook * inkscape.spec: added SMP flags, added static library link capability. 2004-11-24 Peter Moulder * src/draw-context.cpp (spdc_concat_colors_and_flush): Do nothing if empty curve; in particular, don't try to close an empty curve. * src/pen-context.cpp (spdc_endpoint_snap): Fix use of uninitialized value when snapping. 2004-11-23 Bryce Harrington * src/dialogs/layer-properties.cpp: Fixing bug causing two new layers to get created when hitting enter 2004-11-23 Kees Cook * share/tutorials: added Josh's changes, resized, repositioned for 800x600. * src/verbs.h, src/verbs.cpp, src/interface.cpp: added tracing tutorial. 2004-11-23 MenTaLguY * src/rect-context.cpp: disallow drawing on locked or invisible layers * src/widgets/layer-properties.h, src/widgets/layer-properties.cpp: slight HIG-ification * src/desktop.cpp, src/desktop.h, src/widgets/layer-selector.cpp, src/widgets/layer-selector.h, src/verbs.cpp, src/sp-desktop-widget.h removed vestigal layer renaming thing * src/verbs.cpp, src/dialogs/layer-properties.cpp, src/dialogs/layer-properties.h: reuse dialog for creating layers as well as for renaming them 2004-11-22 Peter Moulder * src/display/bezier-utils.cpp (generate_bezier): For the sake of our current pencil tool, don't use free optimization of the end tangent vector. 2004-11-21 MenTaLguY * src/verbs.cpp: add accels for layer menu items 2004-11-21 Bryce Harrington * src/dialogs/layer-properties.cpp, src/verbs.cpp, src/dialogs/layer-properties.h: Hooking up layer rename functionality, and making it show correctly. * src/dialogs/debugdialog.cpp, src/dialogs/find.cpp, src/dialogs/tracedialog.cpp: Fixing dialog show behavior 2004-11-21 Kees Cook * src/sp-object.cpp, src/sp-metadata.cpp: added some debugging, and fixed a dumb error in my metadata _release handler. Should mostly close bug 1069772. * src/Makefile_insert, src/sp-skeleton.cpp, src/sp-skeleton.h: created some example SPObject implementations for a basis for any new SPObjects in the future. * src/dialogs/xml-tree.cpp: fixing logic bug in identability checker. Added immutability test to actually close 1069772. * share/icons/icons.svg, src/verbs.cpp, src/interface.cpp: adding icons for the "new" menu, vacuum, reverse, make bitmap, and trace. 2004-11-20 Jon A. Cruz * src/extension/db.h, src/extension/db.cpp, src/dialogs/filedialog.cpp: Added extension matching pattern. Fixed bug 1064888. * src/dialogs/filedialog.cpp (isValidImageFile): Fixed previewing bug 1067551. 2004-11-20 Peter Moulder * src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full): Add splitpoints parameter. Callers updated. * src/display/bezier-utils.cpp (sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full): Change last parameter from lg_max_beziers to max_beziers. Callers updated. 2004-11-19 Bryce * src/dialogs/layer-properties.cpp, src/dialogs/layer-properties.h: Adding some widgets. 2004-11-18 Bryce * src/dialogs/Makefile_insert, src/dialogs/makefile.msc, src/dialogs/layer-properties.h, src/dialogs/layer-properties.h: Adding a layer properties dialog for renaming layers * src/desktop.cpp src/interface.cpp, src/verbs.cpp, src/verbs.h src/dialogs/layer-properties.cpp, src/dialogs/layer-properties.h, src/widgets/layer-selector.cpp: Hooking in layer props dialog. 2004-11-16 MenTaLguY * src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h, src/widgets/layer-selector.cpp, src/widgets/Makefile_insert: removed Widgets::DocumentTreeModel because unused * src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h: cache successive sibling counts (self+subsequent siblings) in SPRepr to make sp_repr_n_children() and sp_repr_position() more efficient, which will be needed later for e.g. GTK tree models. sp_repr_nth_child() isn't any faster as a result of the changes, but it probably won't need to be * src/xml/repr.cpp: fixed refcount leak in SPRepr::SPRepr(SPRepr const &) 2004-11-15 MenTaLguY * src/gc.cpp: add initial stubs that print an informative error if the GC functions are used before Inkscape::GC::init() is called 2004-11-14 MenTaLguY * configure.ac, src/gc-core.h, src/gc-managed.h, src/gc-anchored.h, src/gc-finalized.h, src/gc.cpp: make disabling the collector a run-time rather than a compile-time option; there are now three garbage collector options, selectable by setting the _INKSCAPE_GC environment variable: * enable - the normal collector (default) * debug - the debugging collector * disable - use standard malloc in place of the libgc allocator 2004-11-14 Peter Moulder * src/display/bezier-utils.cpp: Make end tangent/s be unconstrained for sp_bezier_fit_cubic, sp_bezier_fit_cubic_r, and around corner nodes. * src/pencil-context.cpp (fit_and_split): Allow the bezier fitter to choose the middle control points freely except to the extent required for smooth nodes. * src/display/bezier-utils.cpp (generate_bezier): If either end tangent is specified as zero then estimate the corresponding control point without constraining its direction from the endpoint. * src/pencil-context.h, src/pencil-context.cpp (fit_and_split, sp_pencil_context_init): Explicitly remember required tangent instead of using "first two points" hack. * src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full): Detect & prevent "ghost spikes", by allowing a corner node if the specified tangent would result in a spike. * src/display/bezier-utils.cpp (generate_bezier): Better handling of the case of infinite solutions for the lengths of the two tangent vectors: try requiring that the lengths equal each other, and solving for that length (just one variable). 2004-11-13 Kees Cook * src/document.cpp: wrapped updateDisplay call in undo insensitivity. Closes bug #1030436. 2004-11-12 MenTaLguY * src/main.cpp: fpresetsticky -> fpsetsticky * src/verbs.cpp: cast width changes * src/libnrtype/FlowBoxes.h, src/libnrtype/FlowDefs.h, src/libnrtype/FlowDest.h, src/libnrtype/FlowEater.h, src/libnrtype/FlowRes.h, src/libnrtype/FlowSols.h, src/libnrtype/FlowSrc.h, src/libnrtype/FlowSrcText.h, src/libnrtype/FlowStyle.h, src/libnrtype/FlowUtils.h: remove stdint.h which isn't being used here * src/widgets/icon.h, src/widgets/icon.cpp: icon greys out when insensitive * src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h: documentation * src/verbs.cpp: changed cast to reinterpret_cast to hopefully avoid compiler warning 2004-11-11 Kees Cook * src/seltrans.cpp, src/select-context.cpp: ref counting SPObjects correctly so undo's don't blow up an active resize/move. Closes bug #1018756. 2004-11-11 MenTaLguY * src/inkscape.cpp, src/main.cpp, src/widgets/icon.cpp: removed sp_bitmap_icons * configure.ac, src/sp-image.cpp, src/object-ui.cpp: removed stale autotrace support code 2004-11-10 MenTaLguY * src/sp-item.cpp, src/sp-clippath.cpp, src/cp-mask.cpp: minor refcounting tweaks * src/sp-image.cpp: fixed failure to release GdkPixbufLoader when done with it (fixes bug #1063054) 2004-11-10 Kees Cook * configure.ac, src/gc-core.h: corrected gc.h path detection. 2004-11-09 MenTaLguY * src/dialogs/fileselector.cpp: fixed cut-and-paste refcount bug between SVGPreview::setFileName and SVGPreview::setFromMem that was leaking bitmap image preview SPDocuments 2004-11-09 Bryce Harrington * src/dialogs/item-properties.cpp 2004-11-09 MenTaLguY * src/sp-item.cpp, src/style.cpp, src/style.h: use 'display' rather than 'visibility' for hiding, and give display a more "modern" representation in SPStyle like visibility's 2004-11-09 Kees Cook * src/dialogs/xml-tree.cpp: added better context to the status bar. added warning flash for id conflicts. * src/toolbox.cpp: killed some copy/paste code while bug hunting. 2004-11-08 Peter Moulder * src/sp-item.h, src/sp-item.cpp (isExplicitlyHidden, setExplicitlyHidden): New methods. * src/dialogs/item-properties.cpp: Change from having a `Visible' checkbox that explicitly sets the SVG visibility property to having a `Hide' checkbox that controls whether or not the element has visibility:hidden. (Mitigates #1061934.) * src/sp-object.h, src/sp-object.cpp (visible, setVisible): Remove these methods. 2004-11-07 MenTaLguY * src/gc-finalized.h: fix for Debian bug #279991 (cast to ptrdiff_t rather than int), and basic documentation 2004-11-06 MenTaLguY * src/sp-item.cpp: fix desktop-specific version of SPItem::isHidden() to deal correctly with parent visibility 2004-11-05 MenTaLguY * src/widgets/layer-selector.cpp: more work on making the lock/hide buttons actually do something * src/sp-item.cpp, src/sp-item.h: implement lock/hide related methods * src/verbs.cpp: "Remove All Kerns" -> "Remove Manual Kerning" 2004-11-04 Kees Cook * src/dialogs/rdf.h, src/dialogs/rdf.cpp: added rdf:Bag for the dc:subject keyword list. Closed bug #1021025. * src/dialogs/xml-tree.cpp, src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-attr-list.h: added status bar to XML editor. added row-change callback for XML tree view. This all supports a possible future solution to bug #869683. * src/dialogs/desktop-properties.cpp: memory leak in RDF code. 2004-11-04 MenTaLguY * src/widgets/layer-selector.cpp: togglable images and formatting changes (make current layer bold) * src/uri.h, src/uri.cpp: added assignment operator 2004-11-03 MenTaLguY * src/widgets/Makefile_insert, src/widgets/shrink-wrap-button.cpp, src/widgets/shrink-wrap-button.h: added Inkscape::Widgets::shrink_wrap_button, to make any gtk button an SPButton-like shrink-wrapped button * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp: abandon SPButton for layer selector buttons 2004-11-03 Peter Moulder * po/check-markup: New script: detects markup problems<7b> in the translated strings. (~10 such problems found.) * Makefile.am (all, check, distcheck): Run po/check-markup (with varying permissiveness of errors). 2004-11-02 MenTaLguY * doc/keys.xml: added documentation of layer keys 2004-11-01 Kees Cook * src/dialogs/align.cpp, src/dialogs/debugdialog.cpp: localized some missed strings. 2004-11-01 MenTaLguY * share/icons/icons.svg: gave bulia's eye icons ids * src/widgets/layer-selector.h, src/widgets/layers-selector.cpp: fixed up visibility/lock toggles... now to make them actually do something 2004-10-31 MenTaLguY * src/util/glib-list.h: adaptor for glib lists * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp: save the repr next to the SPObject 2004-10-30 MenTaLguY * src/util/list.h: more list cleanups and documentation * src/verbs.cpp: call sp_document_done() for layer verbs too 2004-10-30 Bryce Harrington * src/dialogs/item-properties.cpp, src/sp-object.h: Cleaning up stubs, disabling some more of the desc code to prevent crash. The change to SPObject::label() broke the label editing code; fixing it. 2004-10-30 Kees Cook * src/sp-metadata.cpp, src/sp-metadata.h, src/Makefile_insert, src/document.cpp, src/sp-object-repr.cpp, src/sp-object.cpp: I've created my very first SPObject! SPMetadata is alive! No more nasty hack to have it disappear from SVG Plain. Mental won't have to take away my CVS access any more! :) * inkscape2.nsi: update from Adib Taraben 2004-10-30 Peter Moulder * src/libnr/nr-matrix.cpp (nr_matrix_invert): Fix for last commit to this file, which broke src==dest case. * src/libnr/nr-matrix-test.cpp: Add test cases for nr_matrix_invert. 2004-10-30 MenTaLguY * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: update when layers added/removed/reordered. * src/verbs.h, src/verbs.cpp: added "rename layer" verb. 2004-10-29 Kees Cook * src/Makefile_insert, src/trace/Makefile_insert, src/util/Makefile_insert: distcheck cleanups. 2004-10-29 MenTaLguY * src/widgets/layer-selector.cpp: default labels in italic * src/sp-object.h, src/sp-object.cpp: inkscape:label fixes * src/layer-fns.cpp: make ordering of layers complete; not just among siblings * src/util/list.h: documentation update 2004-10-29 Bryce Harrington * layer-fns.cpp: documenting * layer-selector.cpp: documenting & fixing funky widget resizing * object-ui.cpp, dialogs/item-properties.cpp, sp-object.h, sp-object.cpp, widgets/layer-selector.cpp: add ability to set inkscape:label from "Item Properties", remove id setting from "Item Properties", switch to using SPObject::label()/SPObject?::defaultLabel() in UI where object ID is currently used. Documenting. Switching from "label" to "inkscape:label" where appropriate. Adding visible()/setVisible() functions and activating checkbox. * dialogs/item-properties.cpp: Adding title and desc boxes. Adjusting layout of dialog a bit. Changing to use of tables instead of horiz/vert boxes for layout. Setting to inactive until some underlying bits get finished. 2004-10-29 Kees Cook * src/dialogs/export.cpp: moved function-based static state variable into the dialog state variables. Closes bug #993447. * src/display/curve.cpp: fixed compile warning. * src/sp-namedview.cpp: wasn't ref counting correctly. Closes #955020. 2004-10-29 Jon A. Cruz * src/sp-image.cpp, src/extension/internal/gdkpixbuf-input.cpp: Refactoring filenames and file opening Scales imported images if DPI is known and not 72 DPI. Fixes #1029755 2004-10-29 MenTaLguY * src/widgets/layer-selector.cpp, src/verbs.cpp: unselect objects when layer is manually switched 2004-10-28 Kees Cook * src/document-undo.cpp, src/document.cpp, src/sp-namedview.cpp, src/sp-text.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/export.cpp, src/extension/input.cpp, src/extension/output.cpp, src/extension/system.cpp: Fixing calls to sp_document_set_undo_sensitive to correct allow for nesting, as suggested by mental. Found while tracking down bug #1030436. 2004-10-28 MenTaLguY * src/util/list.h: cleanups of list class. I think, aside from documentation and maybe fixes for g++ 3.4 (if required), this is the last set of changes I will need to make. * src/sp-item.cpp, src/splivarot.cpp, src/util/reverse-list.h, src/util/filter-list.h, src/util/map-list.h: adjust for changes in the list class' interface * src/desktop.cpp, src/sp-desktop-widget.h: removed old layer selector and added SPDesktop::itemIsHidden() * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: more work; it's now at least as functional as the old selector it replaces 2004-10-27 Kees Cook * src/libnr/nr-point.h: use NR::X and NR::Y instead of "0" and "1". * src/dialogs/export.cpp: stack/register weirdness requires a function call to get true == comparison of NR::Rect's. Closes bug #1048614. * src/dialogs/align.cpp: saving erased iterator. Closes bug #1054270. * share/extensions/ill2svg.pl: added strict, warnings, and detection of Image::Magick module. Closes bug #990659. * src/dialogs/find.h, src/dialogs/find.cpp: removed unfinished new find dialog instantiation. Closes bug #1048802. 2004-10-27 Carl Hetherington * src/extension/output.cpp: better fix for 1004134 after advice from Ted. 2004-10-26 Carl Hetherington * src/extension/output.cpp: don't reset modified flag until after save has happened, in case it fails. Fixes 1004134. * src/livarot/ShapeSweep.cpp: fix a typo in my cleanups. Fixes 1048151. 2004-10-25 Bryce Harringotn * file.cpp, file.h, dialogs/export.cpp: Adding error return logic for png export code so that failure to write can be tracked. Adding an error dialog for when this occurs. Fixes bug 1038932. * extension/system.cpp: Changing sp_ui_error_dialog to g_warning so won't crash when running from commandline. Fixes bug 1000350. * inkscape.cpp, inkscape.h, main.cpp, dialogs/filedialog.cpp: Adding Inkscape::Application::use_gui flag as temporary hack to prevent gui dialogs from being used when running from commandline. Fixes bug 1045067. 2004-10-26 Carl Hetherington * src/livarot/PathCutting.cpp: fix a couple of bugs that I introduced that cause crashes on cut path. 2004-10-25 Kees Cook * src/sp-object.cpp: nasty hack to not export metadata on "Plain SVG". I promise I'll fix this with a proper SPObject soon. 2004-10-25 Jon A. Cruz * src/file.cpp, src/file.h, src/inkscape.cpp, src/sp-image.cpp, src/uri.cpp, src/uri.h, src/dialogs/filedialog.cpp, src/extension/input.cpp, src/extension/implementation/script.cpp, src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp, src/extension/internal/win32.h, src/extension/plugin/gimpgrad.cpp, src/helper/png-write.cpp, src/trace/imagemap.cpp, src/xml/repr-io.cpp: Refactoring filenames and file opening 2004-10-24 MenTaLguY * src/Makefile.am: added/removed files * src/util/copy-list.h: nobody's using it right now, get rid of it * src/traits/copy.h, src/traits/list-copy.h: traits for determining the type to make a copy of a value * src/sp-item.cpp, src/util/filter-list.h src/util/map-list.h, src/util/reverse-list.h, src/widgets/layer-selector.cpp src/xml/sp-repr-action.cpp: let the list functions infer their own result type (where possible) * src/util/forward-pointer-iterator.h: its value type is a reference 2004-10-23 MenTaLguY * src/desktop.cpp: removed vertical usize limits on statusbar * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: more layer selector work; simplfied model and customized CellRenderer settings a bit * src/attributes.cpp, src/attributes.h, src/sp-object.cpp, src/sp-object.h: add inkscape:label attribute * src/file.cpp, src/sp-anchor.h, src/sp-animation.h, src/sp-chars.h, src/sp-clippath.h, src/sp-conn-end.cpp, src/sp-defs.h, src/sp-ellipse.h, src/sp-gradient.h, src/sp-guide.h, src/sp-image.h, src/sp-line.h, src/sp-linear-gradient.h, src/sp-marker.h, src/sp-mask.h, src/sp-namedview.h, src/sp-object-group.h, src/sp-offset.h, src/sp-path.h, src/sp-pattern.h, src/sp-polygon.h, src/sp-polyline.h, src/sp-radial-gradient.h, src/sp-rect.cpp, src/sp-rect.h, src/sp-root.h, src/sp-spiral.h, src/sp-star.h, src/sp-stop.h, src/sp-string.h, src/sp-symbol.h, src/sp-text.h, src/sp-tspan.h, src/sp-use.h, src/sp-offset.cpp, src/sp-shape.h: make inheritance actual 2004-10-23 Peter Moulder * src/libnr/*: Move some things from nr-matrix-ops.h to new files. * src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp: New function is_zero. Move is_unit_vector here (was private to sp-spiral.cpp). * src/display/bezier-utils-test.cpp: Disable a test, replacing with a todo printf and adding a comment explaining. 2004-10-22 Peter Moulder * src/pencil-context.cpp: Ensure that data points array p is uniqued and contains no NaNs. * src/libnr/nr-point-fns.cpp (LInfty): Fix bug with NaN coordinates: return NaN (rather than unspecified behaviour). * src/libnr/nr-point-fns-test.cpp: Add test cases for L1,L2,LInfty handling of NaN. * src/pencil-context.cpp: Fix bug: undesirable interactions between snapping and snap-to-anchor. 2004-10-21 MenTaLguY * src/desktop.cpp: SPDesktop::currentRoot() should pull from the current layer hierarchy just like SPDesktop::currentLayer(); doubly so, since currently when switching documents the layer hierarchy is updated before the document is switched * src/util/Makefile_insert, src/util/copy-list.h: add list copy thingy * src/util/list.h: add rest() * src/util/reverse-list.h: bug fixes to reverse_list_in_place() * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: more work on layer selector 2004-10-21 Carl Hetherington * src/livarot/Path.cpp, src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp, src/livarot/ShapeMisc.cpp: excise separate path description data structure. * src/livarot/Path.h, src/livarot/Path.cpp, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp, src/livarot/ShapeMisc.cpp, src/livarot/livarot-forward.h: move path description structs into their own files, and rename a few member variables. * src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathOutline.cpp: remove some unused functions. 2004-10-20 Carl Hetherington * src/livarot/Path.cpp: fix for 1050379, and probably lots of others. * src/livarot/Path.h, src/livarot/PathOutline.cpp: bug fix for a previous commit. * src/livarot/Path.cpp: fix a memory leak. 2004-10-19 Carl Hetherington * src/livarot/Path.h, src/livarot/PathSimplify.cpp: more simplification cleanups. * src/livarot/PathStroke.cpp: coding style cleanups. * src/livarot/Path.h, src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: more cleanups; don't modify Path::pts and Path::nbPt. * src/livarot/Path.cpp, src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: use a std::vector for Path::pts. 2004-10-18 Carl Hetherington * src/livarot/Path.h, src/livarot/PathSimplify.cpp: coding style and const cleanups. * src/livarot/PathSimplify.cpp: some very minor cleanups, and temporary comments for myself. * src/livarot/PathConversion.cpp: coding style cleanups. * src/livarot/PathConversion.cpp: fix for bug 1048827. * src/livarot/Path.h, src/livarot/PathSimplify.cpp: clean up simplification code. 2004-10-17 MenTaLguY * share/templates/Makefile.am, share/templates/layers.svg: added a layer template * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp: more layer selector work * src/util/filter-list.h, src/util/Makefile_insert: added filter_list() 2004-10-15 Carl Hetherington * src/livarot/PathSimplify.cpp: remove #ifdef pseudo_douglas_pecker code that wasn't being used. 2004-10-15 MenTaLguY * src/view.h: removed obsolete status message functions * src/attributes.h: remove unused #define * src/sp-object.cpp: fix for bug #1048268 (inkscape:collect being written in "plain SVG" files) * src/sp-item.h, src/sp-item.cpp: added isLocked() and isHidden() predicates * src/sp-item.cpp, src/sp-style.cpp: basic support for visibility CSS property 2004-10-14 Ted Gould * share/extension/*.inkmod -> *.inx src/extension/init.cpp Changing the filename extension that is used to identify Inkscape extensions to the one specified in the design document. 2004-10-14 MenTaLguY * src/util/list.h: more 3.4 fixes 2004-10-13 MenTaLguY * src/util/list.h, src/util/forward-pointer-iterator.h: fixes to (hopefully) build with g++ 3.4 (and generally be less evil anyway) 2004-10-14 Carl Hetherington * src/livarot/int-line.cpp: coding style cleanups. * src/livarot/float-line.cpp, src/livarot/float-line.h: refactoring, removal of dead code. * src/display/guideline.cpp, src/display/guideline.h: coding style cleanups. * src/livarot/Path.cpp, src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: merge Path::path_lineto and Path::path_lineto_b. 2004-10-14 Carl Hetherington * src/Path.cpp, src/Path.h, src/PathConversion.cpp, src/PathCutting.cpp, src/PathOutline.cpp, src/PathSimplify.cpp, src/ShapeMisc.cpp: use a vector of pointers for Path::descr_cmd. * src/livarot/Ligne.cpp, src/livarot/Ligne.h, src/livarot/int-line.cpp, src/livarot/int-line.h, src/livarot/float-line.cpp, src/livarot/float-line.h, src/livarot/livarot-forward.h, src/livarot/ShapeRaster.cpp, src/sp-flowregion.cpp, src/display/canvas-bpath.cpp, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp, src/display/sp-ctrlline.cpp, src/libnrtype/FlowDest.cpp, src/libnrtype/RasterFont.cpp: split Ligne into float-line and int-line. * src/libnrtype/FlowDest.cpp, src/libnrtype/RasterFont.cpp, src/libnrtype/raster-position.h, src/livarot/float-line.cpp, src/livarot/float-line.h, src/livarot/int-line.cpp: use std::vector for arrays in FloatLigne. * src/livarot/float-line.cpp, src/livarot/float-line.h: remove lots of dead code. Make some methods private. 2004-10-12 MenTaLguY * src/Makefile.am: added files * src/layer-fns.cpp, src/sp-item.cpp: use iterators, simplifying code * src/sp-object.cpp, src/splivarot.cpp: adapt to new version of Inkscape::Algorithms::longest_common_suffix * src/sp-object.h, src/sp-repr-iterators.h: add new iterator classes * src/algorithms/find-last-if.h: add counterpart of std::find_if * src/algorithms/longest-common-suffix.h: rewrite to use iterators * src/algorithms/longest-prefix.h, src/algorithms/longest-suffix.h, src/algorithms/shortest-prefix.h, src/algorithms/shortest-suffix.h: removed; these algorithms are no longer necessary when using iterators * src/traits/list.h: no longer needed * src/traits/reference.h: add "Pointer" member type * src/util/Makefile_insert: shuffled files * src/util/list.h: reworked Inkscape::Util::List to be a "handle" type that can also be used as an STL iterator * src/util/forward-pointer-iterator.h: treat a pointer as an iterator, given a base pointer type and a type which defines the iteration strategy * src/util/map.h: obsolete * src/util/map-list.h: iterator-based implementation * src/traits/tree-iterator.h: no longer necessary (superceded by specific applications of Inkscape::Util::ForwardPointerIterator) * src/sp-object-tree-iterator.h, src/util/parent-axis.h, src/util/sibling-axis.h: obsolete * src/util/map.h, src/util/reverse.h: obsolete * src/util/map-list.h, src/util/reverse-list.h: iterator-based implementations * src/xml/Makefile_insert: added file * src/xml/repr.h: removed old tree iterator stuff * src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h: use new pointer iterator facility * src/xml/sp-repr-iterators.h: pointer iterators for SPRepr 2004-10-12 Peter Moulder * src/display/bezier-utils.h, src/display/bezier-utils.cpp (sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full): Change the meaning of the last parameter: was max_depth, now lg_max_beziers, with the relationship lg_max_beziers = max_depth + 1. Callers updated. * src/xml/repr.cpp (sp_repr_change_order): Add g_return_if_fail for some conditions that would break structural integrity, and add a TODO comment indicating incompleteness. Use sp_repr_prev function. * src/xml/repr-get-children.h, src/xml/repr-get-children.cpp (sp_repr_prev_sibling): Rename to sp_repr_prev for consistency with sp_repr_next. Don't consider it an error for child to be NULL or parentless. Callers updated. * src/draw-context.cpp (spdc_concat_colors_and_flush, spdc_flush_white): Misc readability cleanups. * src/display/curve.cpp (sp_curve_reverse): Fix a bug where the reversed curve wrongly included a trailing moveto command. (Bug introduced in my 2004-09-05 change: one of the callers I didn't know how to cause to run.) 2004-10-12 Ted Gould * share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod, share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod, share/extensions/eps_input.inkmod, share/extensions/epsi_output.inkmod, share/extensions/gimpgrad.inkmod, share/extensions/ps_input.inkmod, share/extensions/roundhole.inkmod, share/extensions/sk_input.inkmod, share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod, share/extensions/wmf_input.inkmod, src/extension/dependency.cpp, src/extension/dependency.h, src/extension/extension.cpp, src/extension/init.cpp: Moving all of the dependency stuff from the scripts, up to the root extension level. This means that everyone can have dependencies, and dependency checking (a good thing). This makes use of the new 'Dependency' class that is also in the extension directory. 2004-10-11 Peter Moulder * src/pencil-context.cpp (sp_pencil_context_root_handler): Split into many functions, fixing some illegal union aliasing along the way (as was done for sp_pen_context_root_handler). * src/modifier-fns.h: New file of inline functions based on macros.h MOD__CTRL etc. macros. * src/Makefile_insert: Add the new file. * src/pen-context.h: Change size of p array from SP_DRAW_MAX_POINTS to 5 now that we aren't sharing with SPPencilContext. * src/draw-context.cpp, src/draw-context.h, src/pen-context.cpp, src/pen-context.h, src/pencil-context.cpp, src/pencil-context.h: Move npoints,p from SPDrawContext to both SPPenContext and SPPencilContext. * src/draw-context.cpp, src/draw-context.h: Split off new files pen-context.h, pen-context.cpp, pencil-context.h, pencil-context.cpp, draw-anchor.h, draw-anchor.cpp. * src/Makefile_insert: Add the new files. 2004-10-10 Ted Gould * src/event-context.cpp, src/file.cpp, src/file.h, src/print.cpp, src/print.h, src/selection-chemistry.h, src/sp-image.cpp, src/sp-item.cpp, src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-symbol.cpp, src/tools-switch.cpp, src/dialogs/export.cpp, src/dialogs/filedialog.cpp, src/extension/Makefile_insert, src/extension/db.cpp, src/extension/dependency.cpp, src/extension/dependency.h, src/extension/effect.cpp, src/extension/effect.h, src/extension/extension-forward.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/input.cpp, src/extension/input.h, src/extension/output.cpp, src/extension/output.h, src/extension/print.cpp, src/extension/print.h, src/extension/system.cpp, src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp, src/extension/internal/svg.cpp, src/libnrtype/FlowResOut.cpp: Splitting out the different types of extensions into their own files so that the overall dependencies can be reduced. Caused a ripple through lots of other files. Hopefully the dependency situation is better now. 2004-10-10 Peter Moulder * src/draw-context.cpp: Change xp,yp file globals to NR::Point pen_draw_origin_w. * src/draw-context.cpp (sp_pen_context_root_handler): Split into many routines. Fix some illegal union member aliasing. (pen_handle_key_press): Minor code cleanups in backspace handling. (pen_handle_motion_notify): Make tolerance var local instead of file-global. (This transformation is applicable to many dragtolerance users.) * src/draw-context.cpp (spdc_endpoint_snap_handle): Change argument type from SPDrawContext to SPPenContext, and specialize definition accordingly. Caller updated. * src/draw-context.h: Change red_curve_is_valid from char to bool. * src/draw-context.cpp: Change red_curve_is_valid assignments from 0x00/0x01 to false/true (using find & replace). 2004-10-07 Carl Hetherington * src/nr-object.cpp, src/nr-object.h: coding style and const fixes. * src/nr-rect.cpp: added a doxygen comment. Some coding style fixes. * src/sp-paint-server.cpp: coding style fixes. * src/nr-arena-item.cpp, src/nr-arena-item.h: move a comment to the .cpp file and make it doxygen-style. * src/livarot/Path.cpp: coding style cleanups. Add an assert to Path::Transform(). * src/livarot/Path.cpp, src/livarot/Path.h: fix some archaic notation. * src/livarot/Ligne.cpp: coding style cleanups. * src/livarot/PathOutline.cpp, src/livarot/Path.h: fix a rather nasty hack in the outlining code. * src/livarot/Path.cpp, src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp, src/livarot/ShapeMisc.cpp, src/splivarot.cpp, src/sp-offset.cpp: use std::vector for Path::descr_cmd. * src/livarot/Path.cpp, src/livarot/Path.h, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp, src/livarot/ShapeMisc.cpp: getType() and setType() in Path::path_descr. 2004-10-07 Peter Moulder * src/sp-object-repr.cpp (sp_repr_type_lookup): Distinguish between XML element name and sodipodi:type attribute value: use a separate table for each. * src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_lookup): Don't export this function. (Also rename it to name_to_gtype and change its definition for separate tables.) 2004-10-03 Kees Cook * src/dialogs/rdf.cpp, src/dialogs/repr-util.cpp, src/dialogs/repr.h: Since "dc:title" can appear at multiple XML levels, a way to control max depth in searching was added. (Closes bug #1009290) 2004-09-30 MenTaLguY * src/widgets/document-tree-model.cpp: more bug fixes * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: get the layer selector sort of in more order 2004-09-28 Ted Gould * src/verbs.cpp, src/verbs.h, src/view.cpp: Making it so that actions get deleted as views get destroyed. 2004-09-27 Ted Gould * src/desktop.h, src/forward.h, src/interface.cpp, src/interface.h, src/select-toolbar.cpp, src/shortcuts.cpp, src/shortcuts.h, src/toolbox.cpp, src/toolbox.h, src/verbs.cpp, src/verbs.h, src/dialogs/align.cpp, src/dialogs/align.h, src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp, src/dialogs/export.cpp, src/dialogs/find.cpp, src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp, src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp, src/helper/action.cpp, src/helper/action.h: Wow, alot of files changed. The ones that changed the most are verb.cpp and verb.h, which are almost entirely different. What happened here is the verbs were made object oriented. So, as the verbs are built into everything, lots of files changed. Now the code for the verbs is much cleaner, and I think a little bit faster. Also, it will be easier to extend the verbs for use in effects. 2004-09-26 Peter Moulder * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp: Get rid of operator NR::translate(), which was allowing *implicit* (and typically lossy) conversion to NR::translate, and which made a bug hard to find. * src/sp-gradient-test.cpp: New unit test file. I believe this is the first test that tests an SPObject. * src/Makefile_insert, src/Makefile.am: Invoke the new test. 2004-09-24 MenTaLguY * src/selection-chemistry.cpp: "select all" and "clear" now operate on the current layer rather than on the document root * src/verbs.cpp, src/shortcuts.cpp, layer-fns.cpp, src/sp-item.cpp: keyboard shortcuts and fixes for layer verbs 2004-09-23 MenTaLguY * src/message-stack.h, src/message-stack.cpp: return id of flashed messages so they are cancellable * src/message-context.h, src/message-context.cpp: message context flashes now supercede one another, as regular messages do (they do not supercede regular messages though) * src/interface.cpp, src/layer-fns.cpp, src/layer-fns.h, src/verbs.cpp: initial stab at layers menu; not everything works the way it should quite yet * src/message-context.h, src/message-context.cpp: added flash methods to Inkscape::MessageContext * src/gc-core.h, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp, src/display/nr-arena-item.h, src/display/nr-arena-shape.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h, eliminate more sources of leaks; managed objects shouldn't use refcounts among themselves * src/xml/repr.cpp: don't nuke log pointer 2004-09-21 MenTaLguY * src/gc-finalized.h: fix for stupid bug preventing finalizable objects from being collected * src/Makefile_insert, src/gc.cpp, src/gc-core.h: move Inkscape::GC::init out-of-line, and funnel GC warnings through glib 2004-09-21 Peter Moulder * src/sp-marker.h, src/sp-marker.cpp (sp_marker_show_instance): Change to using NR::Matrix instead of NRMatrix. Update caller. * src/sp-gradient.cpp (sp_gradient_get_g2d_matrix, sp_gradient_get_gs2d_matrix, sp_gradient_set_gs2d_matrix): New NR::Matrix/NR::Rect versions of existing functions. * src/libnr/nr-matrix-translate-ops.h (operator/): New function. * src/libnr/nr-matrix-scale-ops.cpp: New file. * src/libnr/nr-matrix-scale-ops.h (operator/(Matrix,scale)): New function. 2004-09-20 Peter Moulder * src/sp-gradient.h: Change gradientTransform from NRMatrix to NR::Matrix. Users updated. * src/Makefile.am (EXTRA_DIST), Makefile_insert dialogs/Makefile_insert extension/implementation/Makefile_insert extension/internal/Makefile_insert helper/Makefile_insert livarot/Makefile_insert (blah_SOURCES): Add some .h files for `make dist'. 2004-09-19 MenTaLguY * src/gc-core.h: don't defer finalizers * src/gc-core.h: bump up free space divisor -- collections should happen ~32x more frequently 2004-09-19 Carl Hetherington * src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp, src/display/sp-ctrlline.cpp, src/libnrtype/RasterFont.cpp, src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: remove some unused parameters from calls to raster code. * src/livarot/ShapeRaster.cpp: coding style cleanups. * src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: factored out _updateIntersection(). * src/livarot/AVL.cpp, src/livarot/AVL.h: remove DblLinked. Cleanups. 2004-09-18 MenTaLguY * src/dialogs/filedialog.cpp: unref the preview document we created 2004-09-18 Carl Hetherington * src/livarot/AVL.cpp, src/livarot/AVL.h, src/livarot/DblLinked.cpp, src/livarot/DblLinked.h, src/livarot/LivarotDefs.h, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/livarot/sweep-tree.cpp, src/livarot/sweep-tree.h, src/sweep-event.h: replace leftFoo and rightFoo with foo[2] in a few places. Associated cleanups. * src/livarot/Shape.h: use Side rather than a bool for TesteIntersection. Add some methods. Remove some unused variables. * src/livarot/ShapeSweep.cpp: simplify TesteIntersection with use of Side. * src/livarot/sweep-event.h: const fix. * src/livarot/sweep-event.cpp: simplifications with use of Side. * src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp, src/ShapeSweep.cpp: lastA/firstA in Shape::dg_point -> further work on stroking; break out bezier approximation into public functions 2004-09-10 MenTaLguY * src/render/polygon.h, src/render/shape-builder.h, src/render/shape-builder.cpp, src/render/stroke.h, src/render/dash.h: beginnings of a simple alternate renderer 2004-09-09 Carl Hetherington * src/sp-flowtext.cpp, src/sp-offset.cpp, src/splivarot.cpp, src/display/nr-arena-shape.cpp, src/libnrtype/FlowDest.cpp, src/livarot/PathConversion.cpp, src/livarot/Shape.h: make Shape::nbPt and Shape::nbAr private and provide accessor methods. * src/display/nr-arena-shape.cpp, src/livarot/Shape.h: make Shape::flags private. * src/splivarot.cpp, src/livarot/PathStroke.cpp, src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Clean up handling of flags in Shape class * src/livarot/AlphaLigne.cpp, src/livarot/Path.cpp, src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp, src/livarot/ShapeSweepUtils.cpp: it's ok to free NULL. * src/livarot/Shape.h, src/sp-offset.cpp, src/splivarot.cpp, src/display/nr-arena-shape.cpp: Make Shape::pts private and offer a read-only accessor. * src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/ livarot/ShapeSweepUtils.cpp, src/livarot/ShapeUtils.h: Rename Shape::pts to Shape::_pts, and use getPoint() wherever possible. * src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Add dg_point::totalDegree() and make use of it. 2004-09-08 MenTaLguY * src/libnr/nr-object.h, src/libnr/nr-object.cpp: fix NRObject initialization * configure.in, src/gc-core.h, src/gc-managed.h, src/gc-anchored, src/gc-finalized.h: add a --disable-gc ./configure option to omit garbage collection from the build (the normal allocator will be used, although memory will obviously leak since it does not get explicitly freed) * src/xml/repr.cpp: SPRepr's copy constructor needs to properly initialize its fields * src/xml/repr-util.cpp, src/xml/repr-private.h, src/xml/repr.h, src/xml/repr.cpp: new child-count-related routines, and added mutation signals to SPReprDoc * src/desktop.cpp: call the "Active Group" widget by its TRUE NAME! * src/widgets/Makefile_insert, src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h, src/widgets/layer-selector.cpp, src/widgets/layer-selector.h: very cursory start on new layers UI 2004-09-08 Carl Hetherington * src/helper/stock-items.cpp: fix a bad free(). Improve coding style compliance. * src/libnrtype/FlowRes.cpp: slightly unpleasant fix for a buffer overrun. 2004-09-07 MenTaLguY * src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp, src/livarot/ShapeSweep.cpp: use std::vector for points array (seems to crash less?) * src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp, src/livarot/Ligne.cpp, src/livarot/Path.cpp, src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp, src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp: switch to glib's allocator routines, which have the expected semantics * src/livarot/evil-malloc.h: removed 2004-09-07 Ted Gould * src/color-rgba.h: Some comments and some little code clean up things. Added a couple of constructors to make life a little simpler. 2004-09-06 Ted Gould * src/extension/plugin/gimgrad.cpp, src/extension/implementation/plugin* share/extension/gimpgrad.inkmod, src/extension/system.cpp, src/extension/extension.h: Mega commit. This commit does two things, it adds in the ability to do plugins in Inkscape. This means that there are loadable modules that can be used for just about anything. It also provides a sample implementation of a plugin to load GIMP gradients. This means that GIMP gradients can be imported into Inkscape, giving a larger set of gradients that can be used in Inkscape. Currently, nothing here is really complete, but it is functional. The plugins really only work for input plugins, and the GIMP gradient example isn't very robust. They will come shortly. 2004-09-05 Peter Moulder * src/display/curve.h, src/display/curve.cpp: Change x,y members to NR::Point. Rename posset (spiced&spiked hot milk) to posSet as per CodingStyle. * src/display/curve.cpp (sp_curve_reverse): Previously this routine returned only the last subpath, and made it an open path. Now it preserves all aspects of the curve other than reversing it. I believe this change makes no difference to the draw-context and dyna-draw-context callers (though I haven't managed to test all of these callers), whereas for the `reverse path' command, users presumably expect the new behaviour. * src/display/curve.cpp (sp_curve_closepath_current): Fix bad assertion. * src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp (get_translation): New function. * src/sp-polygon.cpp (polygon_get_value): Use static linkage. (sp_polygon_set): Remove debugging output. Add `todo' comment. 2004-09-03 MenTaLguY * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp, src/sp-namedview.h: remember previously selected layer on load 2004-09-02 MenTaLguY * src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp: reintroduced the inkscape:groupmode attribute * src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h, src/libnr/nr-object.cpp: remove USE_LIBGC macro again 2004-08-30 MenTaLguY * src/sp-object.cpp: ref the object while SPObject::deleteObject runs, so it doesn't get destroyed halfway through [ fix for bug #1012874 ] 2004-08-29 MenTaLguY * src/gc-core.h: turn off scanning of dynamic library data segments; we don't need it, and it seems to cause problems on FC2 2004-08-27 MenTaLguY * src/traits/function.h: add typedefs for all argument positions, specifying 'void' for all arguments after the last * src/livarot/evil-malloc.h, src/livarot/BitLigne.cpp, src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp, src/livarot/ShapeSweepUtils.cpp: work around livarot bugs so I can use ElectricFence * src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h, src/libnr/nr-object.cpp: make the garbage collector easy to disable by undefining USE_LIBGC in src/gc-core.h 2004-08-26 MenTaLguY * src/document-private.h, src/document.h, src/document.cpp: add notification signal when resources are added or removed 2004-08-25 Peter Moulder * src/xml/repr-css.cpp (sp_repr_css_print): Fix for shared string change. * src/sp-text.cpp (sp_text_description): Fix for when font Name() call fails. * src/sp-text.cpp: CodingStyle changes, including moving some declarations to first use. Remove unused __SP_TEXT_C__ define. 2004-08-25 Carl Hetherington * src/sp-cursor.cpp, src/sp-cursor.h, src/sp-guide.cpp: coding style cleanups. 2004-08-24 MenTaLguY * src/gc-anchor.h: fix to always use the GC base address, since that will not always be the same as 'this', when I::GC::Anchored is used via multiple inheritance. 2004-08-24 Peter Moulder * src/libnrtype/TextWrapper.h, src/libnrtype/TextWrapper.cpp (AppendUTF8): Use strlen instead of for-loop. Change printf to g_return_if_fail (and document that the argument must be valid UTF-8). Mark the text pointer as not being written through (const). 2004-08-23 MenTaLguY * src/xml/repr.cpp, src/xml/sp-repr-action.h: removed stupid default 'next' constructor arguments and force them to be specified explicitly (and fix the omission of one, which fixes bug #1014541) 2004-08-22 MenTaLguY * src/Makefile_insert, src/gc-alloc.h: introduced a GC-aware STL allocator * src/document-private.h, src/document.h, src/document.cpp: switch to using STL map for "id changed" signals 2004-08-21 MenTaLguY * src/Makefile_insert, src/util/Makefile_insert: get libinkutil deps straightened out * src/document-private.h, src/document-undo.cpp, src/document.cpp: adapt for new APIs, header cleanups/refactorings * src/gc-core.h, src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h: rewrote interface to Boehm GC for increased flexibility; there are now three main classes: - Inkscape::GC::Managed: objects managed by the GC; replaces Inkscape::GC::Object - Inkscape::GC::Finalized: objects for which the GC will call destructors automatically; replaces Inkscape::GC::FinalizedObject - Inkscape::GC::Anchored: managed objects which can be 'anchored' to prevent collection while non-gc-aware objects are holding references; replaces Inkscape::Refcounted Note that they no longer inherit from each other(!), so you will need to mix-and-match via multiple inheritance. The latter two don't do anything useful without the first, however. * src/gc-object.h, src/refcounted.h: removed * src/message-context.cpp, src/message-stack.h, src/selection.h, src/view.cpp, src/libnr/nr-object.h, src/util/list.h, src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h, src/desktop.cpp: adopt new GC API and header refatorings * src/Makefile.am, src/util/Makefile_insert: list util/* files in util's Makefile_insert now. * src/util/reverse.h: revive anx fix Inkscape::Util::reverse * src/util/share-c-string.cpp, src/util/share-c-string.h: removed * src/util/shared-c-string.cpp, src/util/shared-c-string.h: employ the type system to make shared strings a little safer to use; you can still shoot yourself in the foot, but at least now you need to aim and pull the trigger first * src/xml/Makefile_insert, src/xml/repr-action-test.cpp, src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.h: reorganize transaction logging files * src/xml/repr-action-test.cpp: updated headers * src/xml/repr-action.cpp, src/xml/repr-action.h: removed * src/xml/repr-private.h, src/xml/repr.cpp, src/xml/repr.h: update for new GC API and shared strings * src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h: header refactoring and new GC API * src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h: new GC API 2004-08-20 Carl Hetherington * src/zoom-context.cpp, src/view.cpp, src/version.cpp, src/sp-defs.cpp: coding style cleanups. * src/sp-polygon.cpp: coding style and a few other small cleanups. * src/sp-anchor.cpp: coding style cleanups. Remove unnecessary static variable. 2004-08-18 Bryce Harrington * autogen.sh: Fixing the 'missing ltmain.sh' bug 2004-08-17 Peter Moulder * src/sp-star.cpp: Use cast to guint32 instead of using modulo 2**32. Fix a uint compilation bug on Windows reported by mrchapp. Mark a few functions as static. 2004-08-16 Peter Moulder * src/sp-conn-end.cpp (change_endpts): Use new sp_curve_stretch_endpoints function: i.e. preserve the shape of the connector path. * src/display/curve.h, src/display/curve.cpp (sp_curve_stretch_endpoints): New function. * src/sp-use-reference.cpp: CodingStyle changes. * src/sp-item.h, src/sp-item.cpp (sp_item_write_transform): Indicate that adv won't get written to. * src/sp-rect.cpp (sp_rect_set_transform): Call sp_rect_set_shape, so that bbox is up-to- src/livarot/PathConversion.cpp, src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp: Revert these files to their state prior to mental's "2004-08-08" entry (the change made in 2004-08-09 02:23 UTC). 2004-08-11 Peter Moulder * src/algorithms/longest-common-suffix.h: Fix bug I introduced three days ago. * src/attributes.h, src/attributes.cpp: New attributes SP_ATTR_CONNECTION_START, SP_ATTR_CONNECTION_END. * src/sp-conn-end.h, src/sp-conn-end.cpp, src/sp-conn-end-pair.h, src/sp-conn-end-pair.cpp: New files. * src/Makefile_insert (libinkpre_a_SOURCES): Add the new files. * src/sp-path.cpp, src/sp-path.h: Call the new connector stuff. * src/display/curve.h, src/display/curve.cpp (sp_curve_first_point, sp_curve_last_point): New functions. (sp_curve_transform): Re-implement with NR::Matrix/NR::Point. The old code appears to be buggy for sheer/rotate matrices due to calculating each y coord using the new corresponding x coord instead of the previous value. Also add NR::translate version. Get rid of the return value. Callers updated. * src/sp-item.h, src/sp-item.cpp: (i2anc_affine): New function (essentially a rename of existing private partial_xform function, but differing behaviour on encountering non-SPItem in the hierarchy). (i2i_affine): New function (essentially a rename of existing SPItem::getRelativeAffine). Implement SPItem::getRelativeAffine in terms of the new function. (sp_item_dt2i_affine): NR::Matrix version. * src/libnr/nr-path.h (c, setC): new methods. 2004-08-09 Peter Moulder * src/desktop-affine.cpp (sp_desktop_w2doc_affine, sp_desktop_doc2w_affine, sp_desktop_doc2d_xy_point), src/knotholder.cpp (knot_moved_handler), src/sp-item.cpp (SPItem::getRelativeTransform), src/sp-rect.cpp (sp_rect_set_transform), src/display/sp-canvas-util.cpp (sp_canvas_item_i2i_affine, sp_canvas_item_set_i2w_affine): Cleanup: Use the new division operators instead of multiplication by inverse. (Currently the division operators are implemented as multiplication by inverse.) * src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Hurriedly fix some problems caused by overly-hurried changes. Address some signed/unsigned warnings. Add some assertions. (Haven't checked the performance cost of the assertions.) * src/livarot/Shape.h: Make constructors explicit. 2004-08-08 MenTaLguY * src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-offset.cpp, src/splivarot.cpp, src/display/nr-arena-shape.cpp, src/livarot/PathConversion.cpp, src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp: replace ad-hoc realloced arrays with std::vector and deal with uninitialized data problems that valgrind complained about * libgc.supp: valgrind suppression profile for libgc, which necessarily reads and runs comparisons on a lot of uninitalized data; the present form of this file is probably too broad however 2004-08-08 Peter Moulder * src/libnr/nr-matrix-div.h, src/libnr/nr-matrix-div.cpp: operator/(NR::Point, NR::Matrix), operator/(NR::Matrix, NR::Matrix): new functions, new files. * src/algorithms/longest-common-suffix.h: Handle in O(1) time the common case of equal tails. Documentation. 2004-08-08 Ted Gould * src/svg-profile.h, src/Makefile_insert: Adding the first support in for trying to determine which profiles are used with certain functionality, and if that is used by the current document. Really, right now, there is no code changes to anything that compiles. But this is the header file that contains the class that I'm plannig to use in the future. 2004-08-07 Peter Moulder * src/libnrtype/RasterFont.h, src/libnrtype/RasterFont.cpp: Get rid of argumentless constructor (which was leaving style.transform as random bits), replace with constructor taking style argument. Caller updated. Disable default copy constructor and operator=. 2004-08-06 MenTaLguY * configure.in, src/gc-core.h, src/gc-object.h, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp, src/display/nr-arena-image.cpp, src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp, src/display/nr-arena.cpp, src/helper/action.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h: make NRObject GC-aware 2004-08-06 David Turner * src/sp-shape.cpp (sp_shape_marker_get_transform): Make marker handling match SVG spec better. 2004-08-06 Peter Moulder * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp: NR::Matrix *= NR::scale: new. * src/sp-object.cpp, src/sp-object.h, src/sp-object-tree-iterator.h: Move TreeIterator specialization to snew file sp-object-tree-iterator.h. Mark several pointers as not being written through. Correspondingly change TreeIterator specialization to instead of . * display/nr-arena-item.cpp, display/nr-arena-item.h: Add NR::Matrix version of nr_arena_item_set_transform. * src/sp-item.h, src/sp-item.cpp (getRelativeTransform, partial_xform): Mark pointers as not written through. * src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowdiv.cpp, src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-item-group.cpp, src/sp-item-notify-moveto.cpp, src/sp-item-transform.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-offset.cpp, src/sp-rect.cpp, src/sp-shape.cpp, src/sp-use.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/text-context.cpp, src/dialogs/item-properties.cpp: Change SPItem->transform from NRMatrix to NR::Matrix. * src/libnr/nr-matrix-ops.h (operator*(NR::Matrix, NRMatrix)): new. * src/libnr/nr-matrix.h: NR::Matrix *= NR::translate: new operator. * src/nodepath.cpp: Mark NodeSort operator< as static. Indentation as per CodingStyle. * src/libnr/nr-scale.h (NR::scale(double)): new constructor. * src/svg/svg-affine.cpp (sp_svg_transform_write), src/svg/svg.h: Add NR::Matrix version. 2004-08-05 Peter Moulder * src/display/bezier-utils.cpp: Misc. minor changes. 2004-08-04 MenTaLguY * configure.in, src/gc-object.h, src/refcounted.h: start using libgc in earnest; Inkscape::Refcounted is now GC-aware 2004-08-04 Peter Moulder * src/nodepath.cpp: Cleanups: Mark some things as static. Switch from pointer to reference in some places. Make const placement conform to CodingStyle. * src/inkview.cpp (sp_svgview_main_key_press): Accept some common keys like PgUp, q. * src/draw-context.cpp (fit_and_split): Slight simplification: don't handle impossible condition npoints < 2. * src/proofs: Update accordingly. (Also add some bezier-utils proofs.) 2004-08-04 David Turner * sp-path.cpp: 'd' is a required attribute for paths. Ensure that all paths have it. 2004-08-03 MenTaLguY * src/dialogs/rdf.cpp, src/xml/repr-util.cpp, src/xml/repr.h: removed sp_repr_recursive_drop() which is unneeded and creates unnecessary thrash in the undo logs * src/livarot/Shape.h, src/livarot/Shape.cpp, src/livarot/ShapeSweep.cpp, src/livarot/ShapeMisc.cpp: experiment to replace ad-hoc realloc() arrays with std::vector 2004-08-02 David Turner * file.cpp, file.h, interface.cpp, toolbox.cpp, verbs.cpp, verbs.h: Added vacuum command to remove unused defs. 2004-08-02 MenTaLguY * configure.in: sigc++ 2.0.2 (and before?) has a bug that causes us to crash. require >= 2.0.3 * src/Makefile.am, src/Makefile_insert, src/gc-core.h, src/gc-object.h, src/algorithms/longest-common-suffix.h, src/traits/list.h, src/traits/reference.h, src/util/flip.h, src/util/fold.h, src/util/list-iterator.h, src/util/list.h, src/util/map.h, src/util/parent-axis.h, src/util/reverse.h, src/util/sibling-axis.h, src/util/tuple.h, src/util/zip.h: more "functional" work 2004-08-02 Peter Moulder * src/display/curve.cpp, src/display/curve.h: Greater conformance with CodingStyle. 2004-07-31 David Turner * dialogs/xml-tree.cpp: Improved focus, added keystroke for attr commit. 2004-07-31 Ted Gould * src/extension/extension.cpp, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h: Okay, changed the prefs_ prototypes to include which extension they are working with. This should clean up some warnings before they become problems later. 2004-07-31 Ted Gould * src/print.cpp, src/extension/extension.cpp, src/extension/extension.h, src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp: Changed the get and set param prototypes so that they aren't overloaded anymore - this was flaky. Also added a document to the prototype so that document specific parameters can be supported in the future. 2004-07-28 David Turner * sp-gradient.cpp, widgets/gradient-vector.cpp: fixed gradient handling to properly render gradients with sharp color boundaries 2004-07-29 Peter Moulder * src/inkview.cpp: Make the window title be the name of the instead of the current file instead of the first file. * src/round-test.cpp: New unit-test file. * src/desktop.h, src/sp-desktop-widget.h: Move SPDesktopWidget stuff from desktop.h to new file sp-desktop-widget.h. * debian/*: Copy lots of changes from wolfi's official Debian package of inkscape. Also use separate builddir, which simplifies the `clean' target. 2004-07-24 MenTaLguY * configure.in, src/Makefile.am, src/main.cpp, src/gc-core.h: added libgc dependency * src/Makefile.am, traits/function.h: added trait class for functions and C++ "functors" * src/Makefile.am, util/flip.h: added flip() which, given a function with two arguments, returns an identical function with its arguments reversed 2004-07-23 MenTaLguY * src/Makefile.am, src/traits/reference.h, src/util/tuple.h: added generic Tuple type 2004-07-23 Ted Gould * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp, src/sp-namedview.h, src/dialogs/desktop-properties.cpp, src/display/canvas-grid.cpp, src/display/canvas-grid.h: Adding in the ability to have 'emphasis grid lines' where some lines are a different color than others. In the default case every fifth grid line gets to be 0x11 darker alpha. Nothing that will get in your way, but enough that you can find the spacing. All parameters are changeable in document preferences. 2004-07-23 Peter Moulder * autogen.sh: Move unversioned automake to last resort. 2004-07-20 Kees Cook * src/dialogs/desktop-preferences.cpp: corrected my usage of static l18n strings. * src/dialogs/stroke-style.cpp: fixed missing l18n. (bug #994837) * src/dialogs/sp-attribute-widget.cpp: went hunting for other static l18n strings. Fixed some here too. * autogen.sh: cleanups and more debugging. * share/extensions/sk2svg.sh: tempfile cleanups from pjrm (patch #990009) 2004-07-20 Nathan Hurst * debian/changelog, configure.in: Moved to 0.40cvs and updated debian stuff. 2004-07-18 MenTaLguY * configure.in, src/Makefile.am, src/algorithms/Makefile_insert, src/algorithms/makefile.in, src/traits/Makefile_insert, src/traits/makefile.in, src/util/Makefile_insert, src/util/makefile.in: added src/algorithms, src/traits, and src/util subdirs * src/algorithms/longest-common-suffix.h: added generic "longest common suffix" algorithm * src/traits/list.h: added traits class for lists * src/traits/tree-iterator.h: added traits class for n-ary tree iterators * src/util/list-iterator.h: STL iterator for lists * src/util/parent-axis.h: parent "axis" of tree iterator as list * src/util/sibling-axis.h: sibling "axis" of tree iterator as list * src/xml/repr.h: specialize Traits::TreeIterator for SPRepr * * src/sp-object.h: specialize Traits::TreeIterator for SPObject * * src/sp-object.cpp: use generic "longest common suffix" to find nearest common ancestor * src/splivarot.cpp: use genric "longest common suffix" to find nearest common ancestor here too 2004-07-18 Kees Cook * Makefile.am, configure.in, autogen.sh, toolversions.sh: cleaning up some automake misbehavior from the gtkmm patch. automake 1.4isms snuck back in. * src/desktop-events.cpp: unlocalized strings updated. 2004-07-18 Peter Moulder * src/sp-path.cpp (sp_path_write): Handle shape->curve==NULL. 2004-07-18 MenTaLguY * Makefile.am, configure.in, m4/Makefile.am, m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, m4/isc-posix.m4, m4/lcmessage.m4, m4/progtest.m4, src/arc-context.cpp, src/arc-context.h, src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h, src/draw-context.cpp, src/draw-context.h, src/event-context.h, src/main.cpp, src/message-stack.h, src/node-context.cpp, src/node-context.h, src/nodepath.cpp, src/nodepath.h, src/object-hierarchy.h, src/rect-context.cpp, src/rect-context.h, src/selcue.cpp, src/selcue.h, src/selection-describer.cpp, src/selection-describer.h, src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp, src/sp-offset.h, src/sp-pattern.cpp, src/sp-use.cpp, src/sp-use.h, src/spiral-context.cpp, src/spiral-context.h, src/star-context.cpp, src/star-context.h, src/text-context.cpp, src/text-context.h, src/toolbox.cpp, src/uri-references.cpp, src/uri-references.h, src/view.cpp, src/view.h, src/dialogs/xml-tree.cpp: merged Aubanel MONNIER's gtkmm upgrade patch 2004-07-17 Carl Hetherington * src/sp-use.cpp: fix a compiler warning (closes #992960) * src/sp-offset.cpp: fix a compiler warning (closes #992960) * src/sp-text.cpp: fix a compiler warning (closes #992959) 2004-07-16 Kees Cook * src/verbs.h, src/verbs.cpp: added "sp_verbs_find" function for bryce. 2004-07-15 Ted Gould * 0.39 Release 2004-07-14 MenTaLguY * src/sp-object.cpp: disable recursive update warning for release * src/select-context.cpp: work around probable cut-and-paste bug between sp_select_context_item_handler and sp_select_context_root_handler by checking for drag_escaped 2004-07-13 MenTaLguY * src/make.exclude: omit extension/script/js/js.c from build 2004-07-13 Peter Moulder * src/dialogs/rdf.cpp: Don't add dc:description entry to SVG files. * src/utest/utest.h: Add include guard. 2004-07-12 Peter Moulder * src/decimal-round.h (decimal_round): New file, new function. * src/round.h (decimal_round): New file, new function. * src/Makefile_insert: Add to libinkpost_a_SOURCES. 2004-07-11 MenTaLguY * src/document.h, src/document-undo.cpp: added sp_document_get_undo_sensitive() for capturing and restoring undo sensitivity * src/sp-object.cpp: don't log id changes made to resolve duplicate ids (to avoid undo badness) (fix for bug #989023) 2004-07-11 Kees Cook * src/preferences-skeleton.h, src/extension/init.cpp: with simarilius, tracked down the cause of bug #988445. Extension code now has a small section that validates preferences for valid extension names. * src/dialogs/filedialog-win32.cpp: corrected an assert test, and changed dialog to take the passed window title. * autogen.sh, config.h.mingw, configure.in, src/Makefile_insert, src/help.cpp, src/inkscape-stock.cpp, src/inkscape.cpp, src/main.cpp, src/make.dep, src/make.files, src/path-prefix.h, src/prefix.cpp, src/prefix.h, src/dialogs/stroke-style.cpp, src/extension/Makefile_insert, src/extension/init.cpp, src/extension/implementation/Makefile_insert, src/extension/implementation/script.cpp, src/extension/internal/Makefile_insert, src/helper/stock-items.cpp, src/widgets/icon.cpp: Cleaned up all the path #define's and usage. In the process found at least 3 separate bugs associated with file locations. This should hopefully work for Win32 as well. Bottom line in this change: don't use INKSCAPE_DATADIR anywhere except in "path-prefix.h". This includes an update to the autopackage code as well with fixes so that a change to "--enable-binreloc" will get recompiled correctly. These changes should address bug #978391. 2004-07-11 Carl Hetherington * src/attributes.cpp, src/attributes.h: remove confusing snaptogrid and snaptoguides options. * src/desktop-events.cpp: use inkscape:guide-bbox instead of snaptoguides to turn guides on. * src/desktop.cpp: no need to worry about Snapper::getEnabled(). * src/snap.cpp, src/snap.h: Remove explicit enabled flag from Snapper, as itconfuses people. Added namedview_dim_snap_all_types(). Return useful stuff from vector_snap_list. * src/rect-context.cpp: Use hack to make snapping kind of work even with snap-to-bbox enabled. * src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp: remove snaptogrid and snaptoguides options as they confuse people. Use better names for the scale origin radio buttons, as suggested by Bulia. * src/seltrans.cpp: Fix some cases where snap wasn't correctly applied. 2004-07-10 MenTaLguY * src/sp-image.cpp: prospective fix for bug #979858 * src/select-context.cpp, src/select-context.h, src/seltrans.cpp, src/seltrans.h: gave SPSelTrans its own Inkscape::MessageContext, fixing bug #977971 2004-07-10 Kees Cook * src/knot.cpp: solved bug #988513: knot could stay grabbed in situations where the tool went away but never got "button_release" event. This patch uses the "enter" and "leave" notifiers to disable the grab before a "motion" can come and snag the knot. 2004-07-09 Kees Cook * src/widgets/paint-selector.cpp: solved bug #984902: the pattern menu was being destroyed since it was remaining part of the frame that was being destroyed whenever the selector changed. It gets ref-counted, disconnected, and destroyed correctly now. * mkinstalldirs: automake 1.8 stopped including "mkinstalldirs", but intltool still uses it. We'll need to keep this until intltool fixes the bug. intltool 0.31 and earlier are all buggy. 2004-07-09 Carl Hetherington * src/draw-context.cpp: remove some debugging g_prints. 2004-07-08 MenTaLguY * src/interface.cpp: fixed crash on desktop context menu * src/desktop.h, src/desktop.cpp: added SPDesktop::isWithinViewport() to conveniently determine if an item is within view also made isLayer() const * src/sp-object.h: added SPObject::hasChildren() predicate * src/sp-object.cpp: revert to old behavior of breaking parent link before emitting "release" signal * src/selection-chemistry.cpp: rewrote sp_selection_item_next() and sp_selection_item_prev() to work with layers 2004-07-08 Carl Hetherington * src/libnrtype/FontFactory.cpp: disable printing of debug messages. * src/sp-item-group.cpp: give it a snappoints method to fix 937318. * src/draw-context.cpp: fix a couple of places where Shift isn't checked before snapping. 2004-07-07 MenTaLguY * src/desktop.cpp, src/interface.cpp: remove the word "layer" for now, and disable the layer selector when the user is not inside a group 2004-07-07 Kees Cook * src/dialogs/desktop-properties.cpp: added a few g_asserts, and added a missing sp_signal_disconnect_by_data for the color picker, which closes bug #975864. Stopped accidentally calling sp_document_done from the update handler (fixes bug #986411). * src/dialogs/dialog-events.cpp, src/helper/action.cpp: whitespace changes, typo fixes, added a few g_asserts. * src/selection-chemistry.cpp, src/desktop.cpp: when deleting items from the desktop, the selection context may need to be cleared since it may have pointers to the deleted items. To do this, I just reselect the current tool (fixes bug #983243). * src/dialogs/xml-tree.cpp, src/dialogs/desktop-properties.cpp: corrected tooltips memory handling. 2004-07-06 MenTaLguY * src/desktop.cpp: minor tweaks to make the existing layers code easier to work with in its current state (particularly, to sidestep some existing bugs that otherwise require more UI work to fix) 2004-07-06 Carl Hetherington * src/seltrans.cpp, src/sp-namedview.cpp, src/display/bezier-utils.cpp, src/libnr/nr-types.cpp: isnan appears to need a std:: namespace qualifier. 2004-07-06 Ted Gould * src/libnr/nr-point.h, src/libnr/nr-rect.h: Adding in a function to round the points and rectangles. Using this for less precise comparisons. Also, added in a function to print each of these. * src/dialogs/export.cpp: Major revisions to do all kinds of fun stuff. The major one being that filenames and dpi's can now be stored on selections. This makes it so that people working on a section of a document can export it consistently. 2004-07-06 Peter Moulder * src/sp-typeset-utils.h: Greatly reduce #includes. * src/color-rgba.h, src/Makefile_insert, src/desktop.h: Move ColorRGBA from desktop.h to new file color-rgba.h. * src/desktop.cpp, src/dropper-context.cpp: #include it. 2004-07-05 Kees Cook * src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp, src/dialogs/rdf.h: added multiline data entry items, reduced overall width of the dialog, and created the license entry areas. Auto-detection of license on load works now. 2004-07-05 MenTaLguY * src/desktop.cpp: comitted further work which gives us a partially-functional layers menu (not actually hooked up to change layers yet), and it is not always updated when it needs to be (yet). It does also fix the crash though. * src/desktop.cpp, src/desktop.h, src/document.cpp, src/sp-item-group.cpp, src/sp-item-group.h: additional layers work; backed off on promoting siblings to layers automatically and reintroduced "global" layer mode 2004-07-05 Carl Hetherington * src/desktop.cpp: prevent crash by adding a check for layer == NULL to SPDesktopWidget::_buildLayerStatusMenuItem. * src/selection-chemistry.cpp: prevent crash on copying empty groups. 2004-07-04 MenTaLguY * src/sp-object.cpp: fixed bug #979281 -- I had accidentally reversed the sense of a test in SPObject::requestModified(), such that CHILD_MODIFIED notifications were never being sent * src/widgets/sp-color-notebook.cpp: always assume colors are 8-digit hex rrggbbaa, and zero-fill accordingly HAPPY NATHAN#@$?#$#@$!?!?!? * src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h, src/interface.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/sp-item-group.cpp, src/sp-item-group.h, src/widgets/widget-sizes.h: Added selection-changes-current-layer and other layer refinements. Except for fixing the currently broken layer combo box on the status bar, I think this is pretty much the last of the layerish work I'm willing to do for 0.39 since we're in freeze now. 2004-07-03 Kees Cook * src/document.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp, src/dialogs/rdf.h: Added several more RDF entities. Created entry tooltips. Set a few RDF defaults for the document. 2004-07-03 MenTaLguY * src/desktop.cpp, src/document.cpp: siblings of a layer now become layers too * src/interface.cpp: switched to command names suggested by bulia * src/object-hierarchy.cpp, src/object-hierarchy.h: bugfixes and cleanups * src/sp-item-group.cpp, src/sp-item-group.h, src/sp-root.cpp: new layerMode() and setLayerMode() methods; SPGroupMode becomes SPGroup::LayerMode * src/sp-object.h: added isSiblingOf() method * src/sp-object.cpp: leave parent pointer in place until after "release" handlers finish 2004-07-02 Kees Cook * src/document.cpp, src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp, src/dialogs/rdf.h, src/xml/repr.h: Made RDF's writable now. Handling modifications and defaults. Mental and others will most likely kill me when they finally read this code. 2004-07-02 MenTaLguY * src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp, src/sp-item-group.h: Removed the "inkscape:groupmode" attribute and added note about how the group/layer mode setting needs to be per-view, not global. * src/desktop.cpp, src/desktop.h, src/object-hierarchy.cpp, src/object-hierarchy.h: Added notification signals for switching layers, as well as putting groups in layer mode when they are being used as layers. Notably, you can now call SPDesktop::connectCurrentLayerChanged() to connect to a SigC++ signal to be notified when the current layer changes. * src/interface.cpp, src/object-ui.cpp: Fixed up the "Enter Group" and "Leave Group" context menu commands a bit, and implement them both in the same places. 2004-07-02 Carl Hetherington * src/desktop-snap.cpp, src/desktop-snap.h, src/snap.cpp, src/snap.h, src/Makefile_insert src/arc-context.cpp src/draw-context.cpp src/dyna-draw-context.cpp src/make.dep src/make.files src/make.ofiles src/makefile.msc src/nodepath.cpp src/rect-context.cpp src/select-context.cpp src/selection-chemistry.cpp src/seltrans.cpp src/sp-namedview.h src/spiral-context.cpp src/star-context.cpp: renamed desktop-snap.* to snap.* since it has nothing to do with the desktop any more. * src/draw-context.cpp: Temporary hack to prevent snapping completely failing to work when snapping to bbox points. Support shift-disables-snap for freehand drawing. * src/snap.cpp, src/snap.h: Added some temporary methods to assist with hacks elsewhere. 2004-07-01 Kees Cook * src/xml/repr.h, src/xml/repr-util.h, src/dialogs/rdf.cpp: moved "repr_lookup_name" into the repr-util collection so that the RDF stuff doesn't need to know about SPRepr internals. Now that I've started to grok the SPRepr stuff, this seems best. Added "sp_repr_recursive_drop" for use in the future when I may want to throw away an entire tree of SPRepr items (like ditching a blank "dc:rights" section). 2004-07-01 MenTaLguY * src/sp-item.cpp: fix clip path loading bug * src/sp-object.cpp: relax analness about object ids a little 2004-06-30 Kees Cook * src/dialogs/desktop-properties.cpp, src/dialogs/rdf.h, src/dialogs/rdf.cpp: built the various functions needed to extract the RDF text elements from the DOM. XML in the document will now be displayed in the entry fields. 2004-06-28 MenTaLguY * src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/sp-repr-attr.h: applied peter's patch to break out NRReprAttr * src/sp-object.cpp, src/sp-object.h: added SPObject::nearestCommonAncestor, which given another SPObject returns the nearest common ancestor of the two SPObjects. * src/sp-item.cpp, src/sp-item.h: added SPItem::getRelativeTransform, which computes the SPItem's transform relative to another SPObject * src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp, src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp: drawing tools now cope with drawing within transformed groups (i.e. layers) 2004-06-27 MenTaLguY * src/sp-object.h: remove sp_object_request_update, sp_object_invoke_update, sp_object_invoke_modified, sp_object_request_modified, and sp_object_invoke_write, which have been deprecated and are now completely unused * src/Makefile_insert, src/desktop.cpp, src/desktop.h, src/object-hierarchy.cpp, src/object-hierarchy.h, src/sp-object.cpp, src/sp-object.h: Implemented SPDesktop::setCurrentLayer(), introducing Inkscape::ObjectHierarchy to permit falling back to parents if the current layer is removed. * src/object-ui.cpp, src/interface.cpp: really crude hack of Sodipodi-like "enter group" and "leave group" 2004-06-26 MenTaLguY * src/refcounted.h: allow reffing/unreffing const objects * src/arc-context.cpp, src/draw-context.cpp, src/dropper-context.cpp, src/event-context.cpp, src/event-context.h, src/node-context.cpp, src/rect-context.cpp, src/selcue.cpp, src/selcue.h, src/select-context.cpp, src/select-context.h, src/seltrans.cpp, src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp, src/zoom-context.cpp: Make SPSelTrans and SPSelCue proper C++ classes with constructors. * src/document.h, src/dialogs/xml-tree.cpp: removed sp_document_lookup_id * src/sp-object.cpp: clarify what is happening with bug #980407 -- the clone is getting attached to the repr before the original SPObject is. 2004-06-26 Carl Hetherington * src/node-context.cpp: make sure nodepath->nodeContext is set up when the selection changes. Fixes 936739. 2004-06-25 MenTaLguY * src/display/sp-canvas.cpp: enabled win32 current item workaround on all platforms 2004-06-25 Kees Cook * src/dialogs/rdf.h, src/dialogs/rdf.cpp, src/dialogs/Makefile_insert, src/dialogs/desktop-properties.cpp: Added data entry widgets for document metadata, including a rough license selector, and debug rdf generator. Corrected whitespace, added table for RDF entity lookup, tag, and title mapping. Added initial loading framework. Cleaned up rdf_work_entity_t usage. 2004-06-25 Carl Hetherington * src/sp-namedview.cpp: cleanups in grid snap settings. Fix a typo. * src/seltrans.cpp: optional default origin for scaling. Fixes to snap during scale. * src/seltrans.h: s/opposit/opposite/. Add some comments. * src/dialogs/display-settings.cpp: add default scale origin option. * src/desktop-snap.h: changes to snap_list_scale prototype. * src/desktop-snap.cpp: snap_list_scale now returns whether it snapped or not. The best scale snap is now the one that changes the scale factor least, rather than the one that results in the snap point being closest to where it used to be. * src/display/sp-canvas.cpp: fix for win32 freeze-at-border bug, copied from SP. * src/knot.cpp, src/select-context.cpp: change spellings from British to American English for translators. 2004-06-24 rejon * src/verbs.cpp: I changed the reverse command to be more verbose and explanative. 2004-06-24 MenTaLguY * src/seltrans.cpp: slight change to make showing/hiding center mark easier later on * configure.in, src/main.cpp, src/star-context.cpp, src/display/bezier-utils.cpp, src/display/canvas-bpath.cpp, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp, src/display/sp-ctrlline.cpp, src/libnr/nr-svp.cpp, src/libnrtype/FontFactory.cpp, src/libnrtype/RasterFont.cpp, src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp, src/livarot/Ligne.cpp, src/livarot/PathOutline.cpp, src/livarot/ShapeMisc.cpp, src/widgets/font-selector.cpp: fixes for floating-point portability issues, courtesy of Colin Marquardt. * src/extensions/init.cpp: dirent.h requires inttypes.h on OS X 2004-06-23 MenTaLguY * src/Makefile_insert, src/desktop.cpp, src/managed.h, src/message-context.cpp, src/message-stack.h, src/refcounted.h, src/selection.h, src/view.cpp: Changed my mind. Inkscape::Managed is more properly called Inkscape::Refcounted * src/libnrtype/Makefile_insert, src/libnrtype/codepages.h, src/libnrtype/cp1250.cpp, src/libnrtype/cp1251.cpp, src/libnrtype/cp1252.cpp, src/libnrtype/cp1253.cpp, src/libnrtype/cp1254.cpp, src/libnrtype/cp1255.cpp, src/libnrtype/cp1256.cpp, src/libnrtype/cp1257.cpp, src/libnrtype/cp1258.cpp, src/libnrtype/cp874.cpp, src/libnrtype/cp932.cpp, src/libnrtype/cp936.cpp, src/libnrtype/cp949.cpp, src/libnrtype/cp950.cpp: removed unused Win32 codepage crap 2004-06-23 Carl Hetherington * src/inkscape.cpp: Don't connect to SIGBUS on Win32, as it doesn't seem to exist. Add Emacs mode line. Declaration-to-first-use and coding style cleanups. * src/desktop-snap.h: a few double -> NR::Coord fixes. * src/nodepath.cpp: turn off snapping when Shift is held down. Some minor cleanups. * src/dialogs/display-settings.cpp: remove my rather dubious move_with_grid option. * src/select-context.cpp: rationalise grid modifiers; now Shift disables snap and Alt snaps movement to the grid. 2004-06-23 Peter Moulder * share/extensions/dia2svg.sh: Fix bashism and insecure tempfile usage. 2004-06-23 Ted Gould * share/extensions/dropshadow.inkmod, share/extensions/roundhole.inkmod, src/extension/system.cpp: Setting it up so that poorly formed inkmod files generate actual GTK warnings so that they can be easily hidden. Also, fixing these two inkmod files so that they don't generate the above mentioned warnings. 2004-06-22 Kees Cook * src/inkscape.cpp: added SIGBUS and SIGABRT handling. 2004-06-22 John Cliff * src/object-edit.cpp: Added knots for manipulation of pattern fills. * src/sp-shape.cpp, src/sp-shape.h: Added sp_shape_set_pattern to explictly set the transform rather than multiplying like adjust. 2004-06-22 Carl Hetherington * src/sp-shape.cpp: add sp_shape_snappoints. * src/desktop-snap.cpp: minor cleanups. Added a comment. * src/sp-text.cpp: removed an old comment. * src/sp-ellipse.cpp: fix snappoints method now that the parent class method has changed. * src/sp-rect.cpp: snappoints method is not required as it's now handled by SPShape. * src/sp-image.cpp: use SPItem's snappoints method. * src/file.cpp: fix another call to g_file_test with a possibly-NULL parameter. Fixes #977413. 2004-06-21 Carl Hetherington * src/file.cpp: don't call g_file_test with a NULL path. Fixes #976703. * src/desktop-snap.cpp: default to snapping to bounding boxes when snapping is first enabled. Rework in terms of SPNamedView rather than SPDesktop. * src/desktop-snap.h: rework in terms of SPNamedView rather than SPDesktop. * src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp, src/nodepath.cpp src/rect-context.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-namedview.cpp, src/spiral-context.cpp, src/star-context.cpp: Adapt for changes to snap code naming. * src/seltrans.cpp: cleanups to sp_sel_trans_skew_request and sp_sel_trans_scale_request. 2004-06-20 Ted Gould * share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod, share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod, share/extensions/epsi_output.inkmod, share/extensions/roundhole.inkmod, share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod, src/extension/extension.h, src/extension/system.cpp, src/extension/implementation/script.cpp, src/extension/internal/eps-out.cpp, src/extension/internal/gdkpixbuf-input.cpp, src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp, src/extension/internal/ps.cpp, src/extension/internal/svg.cpp, src/extension/internal/win32.cpp: Changing the naming of the extensions to be more Java style naming to allow for more extension in the future. 2004-06-21 Peter Moulder * src/extension/internal/ps.cpp (PrintPS): Initialize _stream to NULL (fixes segfaults when exporting to an unopenable file), and initialize _bitmap to false instead of random. 2004-06-20 MenTaLguY * src/desktop.cpp, src/managed.h, src/message-context.h, src/message-stack.h, src/message.h, src/view.cpp: Document classes, and change Managed to have an initial refcount of one at creation. 2004-06-20 Peter Moulder * src/libnrtype/FontFactory.cpp, src/libnrtype/FontInstance.cpp, src/libnrtype/font-instance.h: If both WIN32 and WITH_XFT are defined, then use just the WITH_XFT code. (I don't know if it's possible for both to be defined, but we might as well document that the existing code doesn't handle both being defined, AFAICT.) * src/libnrtype/FontFactory.cpp (ink_strstr): Document brokenness. (is_regular, is_nonbold, is_italic, etc.): Mark as static. * src/Makefile.am (EXTRA_DIST): Remove reference to deleted files libnrtype/nr-type-w32.cpp, libnrtype/nr-type-w32.h, libnrtype/nr-type-xft.cpp, libnrtype/nr-type-xft.h. * src/config.h.win32: Define PACKAGE_TARNAME, for require-config.h. More accurate mathematical constants (20 decimal places instead of 3). 2004-06-19 MenTaLguY * src/desktop.cpp, src/managed.h, src/rect-context.cpp, src/rect-context.h, src/selection.h, src/view.cpp: SPSelection now derives from Inkscape::Managed * src/Makefile_insert, src/select-context.cpp, src/select-context.h, src/selection-describer.h, src/selection-describer.cpp: Introduced Inkscape::SelectionDescriber to which SPSelectContext delegates the task of displaying descriptions of the current selection. This fixes bug #945735. 2004-06-19 Carl Hetherington * src/desktop-snap.{cpp,h}: sp_desktop_dim_snap_list returns whether or not it snapped anything. * src/select-context.cpp: fix snap on move behaviour (again) * src/widgets/dash-selector.cpp: fix off-by-one spotted by valgrind. 2004-06-19 Peter Moulder * src/extension/internal/ps.cpp (begin): Add some basic error handling. * src/extension/internal/ps.cpp (setup): Simplify an expression now that _bitmap is a bool. * src/extension/internal/ps.h: Twiddle the order of the fields. Replace bitfields with bool/short. * src/libnrtype/Makefile_insert, src/libnrtype/FontInstance.h, src/make.files, src/make.ofiles, src/make.dep: Remove src/libnrtype/FontInstance.h (see change below). * src/libnrtype/RasterFont.h, src/libnrtype/raster-glyph.h, src/libnrtype/raster-position.h: Move raster_glyph, raster_position from RasterFont.h to new files raster-glyph.h, raster-position.h. * src/libnrtype/Makefile_insert: Add the new files to SOURCES. * src/libnrtype/FontInstance.h, src/libnrtype/font-glyph.h, src/libnrtype/font-instance.h, src/libnrtype/font-style.h: Move font_glyph, font_instance, and font_style definitions from FontInstance.h into new files font-glyph.h, font-instance.h, font-style.h. * src/libnrtype/Makefile_insert: Add the new files to SOURCES. * src/libnrtype/nrtype-forward.h: New file. * src/libnrtype/Makefile_insert: Add it to SOURCES. * src/libnrtype/FontFactory.h, src/libnrtype/TextWrapper.h: #include it (replacing local declarations in some cases). * src/livarot/livarot-forward.h: New file. * src/livarot/Ligne.h, src/livarot/Path.h, src/livarot/Shape.h: #include it (replacing local declarations in some cases). * src/livarot/Makefile_insert: Add it to SOURCES. 2004-08-18 Ted Gould * src/file.cpp, src/preferences-skeleton.h: Adding the feature that the save and open directories are saved in the preferences. The last one will be used. 2004-08-18 Carl Hetherington * src/widgets/font-selector.cpp: uint -> guint to fix compile errors. * src/desktop-snap.{cpp,h}: make snap functions aware of the type of point they are snapping, so they can decide whether to ignore it. * src/arc-context.cpp, src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp, src/nodepath.cpp, src/selection-chemistry.cpp, src/seltrans.cpp: temporarily update for changes to snapping API. * src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp: adapt for small changes to Snapper API. * src/select-context.cpp: use new snapping API. 2004-08-17 Bryce Harrington * nodepath.cpp path-chemistry.cpp selection-chemistry.cpp, seltrans.cpp sp-typeset.cpp splivarot.cpp text-context.cpp, tools-switch.cpp dialogs/find.cpp: Converting statusbar messages from old style to new, as per http://inkscape.org/cgi-bin/wiki.pl?StatusbarAPI 2004-06-18 Peter Moulder * src/mkdep.pl: Add `by mkdep.pl' to `automatically generated' line. * src/dialogs/desktop-properties.cpp: Greater conformance to CodingStyle. Add FIXME comment. * src/sp-namedview.cpp: Tighter scoping for iteration var. Simplify some code by greater use of cheap sp_unit_get_by_id. 2004-06-17 MenTaLguY * src/Makefile_insert, src/arc-context.cpp, src/arc-context.h, src/desktop-events.cpp, src/desktop.cpp, src/desktop.h, src/draw-context.cpp, src/dropper-context.cpp, src/event-context.cpp, src/event-context.h, src/file.cpp, src/interface.cpp, src/knot.cpp, src/managed.h, src/message-context.cpp, src/message-context.h, src/message-stack.cpp, src/message-stack.h, src/message.h, src/select-context.cpp, src/view.cpp, src/view.h, src/libnrtype/FontFactory.cpp, src/libnrtype/nr-type-primitives.h, src/widgets/font-selector.cpp: New status messages primitives (statusbar bug not fixed yet though). 2004-06-17 Carl Hetherington * src/helper/stock-items.cpp: fix a compiler warning. Minor coding style cleanups. * src/arc-context.cpp, src/desktop-snap.cpp, src-desktop-snap.h, src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp: Replace desktop.h include with forward references in desktop-snap.h, and add desktop.h includes in files which require them. * src/widgets/spw-utilities.cpp, src/widgets/spw-utilities.h: add spw_vbox_checkbutton. * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp, src/sp-namedview.h, src/desktop-snap.cpp, src/desktop-snap.h, src/desktop.cpp, src/desktop.h, src/dialogs/desktop-properties.cpp, src/seltrans.cpp, src/seltrans.h, src/selection.cpp, src/selection.h, src/select-context.cpp, src/selection-chemistry.cpp: Start of new and hopefully improved snapping code. 2004-06-17 Peter Moulder * src/helper/units.h, src/helper/units.cpp: (sp_unit_get_by_id): new function. (sp_convert_distance_full): Change arguments & return value. Call g_log if no conversion possible. Callers updated. (sp_unit_get_default, sp_unit_get_by_name): Remove unused functions. sp_units: Less rounding error in unittobase. 2004-06-16 Carl Hetherington * src/sp-item.h: added a comment. 2004-06-15 Ted Gould * share/extensions/ai_input.inkmod: Removing the command-line argument to specify line endings. * src/print.cpp, src/print.h, src/sp-text.cpp, src/extension/extension.cpp, src/extension/extension.h, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/internal/ps.cpp, src/extension/internal/ps.h: Changing it so that the text to vector is its own function. This way it can be used as a parameter in Postscript, but then can be easily used for drivers which only support vector drawing. 2004-06-16 Peter Moulder * src/select-toolbar.cpp: Cleanups and preparation for px units. * src/helper/units.h, src/helper/units.cpp: Add reference version of sp_points_get_units, sp_units_get_points. Implement as simple multiplication instead of sp_convert_distance. (sp_units_table_sane): New function. * src/helper/units-test.cpp: Test sp_units_table_sane. * src/sp-object-repr.cpp: Move some declarations to first use. * src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_register): Change return type to void. * src/sp-item.cpp (sp_item_repr_compare_position): Reimplement as shallow wrapper around sp_repr_compare_position. * src/helper/units.h, src/helper/units.cpp: SPUnitId: new enum, to allow replacing string lookups. Get rid of handling for unused SP_UNIT_USERSPACE. Remove unused SPUnit.version field. * src/helper/units-test.cpp (test_bases): Test sp_unit_get_identity. * src/helper/Makefile_insert (helper_units_test_LDADD): Fix the previous commit: -lglib-2.0 instead of -lglib. 2004-06-15 Peter Moulder * src/Makefile.am, src/helper/Makefile_insert, src/helper/units-test.cpp: New unit test file units-test.cpp. * src/select-toolbar.cpp: Greater conformance to CodingStyle. 2004-06-14 Carl Hetherington * src/libnrtype/TextWrapper.cpp: Fix what looks like an off-by-one. * ChangeLog, src/prefs-utils.cpp: Fix bracketing typo that causes an array to be overrun. 2004-06-14 Peter Moulder * src/sp-path.cpp: Move some declarations to first use. 2004-06-13 Kees Cook * src/xml/repr.h, src/xml/repr-utils.cpp: adding additional RDF URIs to the default namespace prefix list. 2004-06-13 MenTaLguY * src/arc-context.cpp, src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp, src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp, src/rect-context.cpp, src/selection-chemistry.cpp, src/sp-object.cpp, src/sp-object.h, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/svg-view.h, src/text-context.cpp, src/extension/internal/gdkpixbuf-input.cpp: added SPDesktop::currentRoot() and SPDesktop::currentLayer(), which report the current "view" root and current "editing" layer, respectively; I've also added SPObject::appendReprChild(). Between the two of them, they replace sp_document_add_repr, which has been removed. Generally to add a repr to a document, you would now use either: SP_DOCUMENT_DEFS(document)->appendReprChild(repr); or: desktop->currentLayer()->appendReprChild(repr); 2004-06-13 Peter Moulder * src/sp-clippath.h, src/sp-gradient.h, src/sp-marker.h, src/sp-mask.h, src/sp-pattern.h: Explicitly mark _acceptObject as virtual. (Already declared as virtual in base class.) * src/file.cpp, src/main.cpp: Greater conformance to CodingStyle. * src/node-context.h, src/selcue.h, src/sp-pattern.h, src/widgets/sp-color-wheel-selector.h: Add missing includes as found by src/check-header-compile. * src/Makefile_insert: * src/sp-use-reference.cpp: * src/sp-use-reference.h: * src/sp-use.cpp: * src/sp-use.h: Move SPUseReference from sp-use.h to new files sp-use-reference.h, sp-use-reference.cpp. * src/sp-use.h (_acceptObject): Fix can't-use-ancestor check. * src/uri-references.h (getOwner): Fix copy&paste bug. 2004-06-11 MenTaLguY * src/sp-object.h, src/sp-object.cpp: migrated several SPObject methods to C++ methods: sp_object_invoke_write -> SPObject::updateRepr sp_object_request_update -> SPObject::requestDisplayUpdate sp_object_invoke_update -> SPObject::updateDisplay sp_object_request_modified -> SPObject::requestModified sp_object_invoke_modified -> SPObject::emitModified (leaving deprecated wrappers in place for now) * src/document.cpp, src/object-edit.cpp, src/sp-clippath.cpp, src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-image.cpp, src/sp-item-group.cpp, src/sp-item.cpp, src/sp-line.cpp, src/sp-marker.cpp, src/sp-mask.cpp, src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp, src/sp-use.cpp, src/dialogs/stroke-style.cpp, src/sp-path.cpp: transitioned to SPObject::requestDisplayUpdate and SPObject::updateDisplay * src/arc-context.cpp, src/document.cpp, src/gradient-chemistry.cpp, src/knotholder.cpp, src/main.cpp, src/rect-context.cpp, src/sp-anchor.cpp, src/sp-clippath.cpp, src/sp-defs.cpp, src/sp-gradient.cpp, src/sp-item-group.cpp, src/sp-item.cpp, src/sp-mask.cpp, src/sp-namedview.cpp, src/sp-object-group.cpp, src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-text.cpp, src/sp-use.cpp, src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp, src/style.cpp, src/toolbox.cpp, src/dialogs/fill-style.cpp, src/dialogs/stroke-style.cpp, src/extension/internal/svg.cpp: transitioned to SPObject::requestModified, SPObject::emitModified, and SPObject::updateRepr; also reworked "minimal" version of updateRepr. * src/sp-object.h: added a little documentation * src/document.cpp, src/document.h, src/file.cpp, src/gradient-chemistry.cpp, src/help.cpp, src/object-ui.cpp, src/selection-chemistry.cpp, src/selection.cpp, src/seltrans.cpp, src/sp-clippath.cpp, src/sp-item-group.cpp, src/sp-mask.cpp, src/sp-namedview.cpp, src/sp-object.cpp, src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-root.cpp, src/sp-text.cpp, src/sp-typeset.cpp, src/sp-use.cpp, src/splivarot.cpp, src/uri-references.cpp, src/dialogs/fill-style.cpp, src/dialogs/item-properties.cpp, src/dialogs/stroke-style.cpp, src/helper/stock-items.cpp, src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp, src/widgets/icon.cpp: replaced sp_document_lookup_id with SPDocument::getObjectById, and SPDocument::getObjectByRepr (left deprecated stub in place, but it should be unused at this point) 2004-06-11 Ted Gould * src/file.cpp, src/inkscape.cpp, src/interface.cpp, src/prefs-utils.cpp, src/prefs-utils.h: Moving the recent document setting and getting code into the prefs-utils files so that they'll be with the preferences (which they really kinda are). Then, moved the place where they are set from the removing of the document to where the files are opened and 'save as'd. (yes, I made up a word/contraction). 2004-06-10 Carl Hetherington * src/desktop-snap.cpp, src/desktop-snap.h, src/satisfied-guide-cns.cpp, src/satisfied-guide-cns.h, select-context.cpp, selection.cpp, selection.h, seltrans.cpp, seltrans.h, sp-ellipse.cpp, sp-image.cpp, sp-item-notify-moveto.cpp, sp-item-rm-unsatisfied-cns.cpp, sp-item-update-cns.cpp, sp-item.cpp, sp-item.h, sp-offset.cpp, sp-rect.cpp, sp-spiral.cpp, sp-star.cpp, sp-text.cpp: Use a std::vector to store snap points, rather than a fixed-size array. 2004-06-09 Carl Hetherington * src/desktop-snap.cpp, src/desktop-snap.h: Coding style fixes. Use NR::Coord rather than double where appropriate. Added some comments. Use NR::Dim2 where appropriate. Use NR_HUGE rather than hardcoded 1e18s. * src/rect-context.cpp, src/nodepath.cpp, src/arc-context.cpp: Adapt for changes to sp_desktop_dim_snap prototype. * src/select-context.cpp: Adapt for changes to sp_desktop_dim_snap_list prototype. 2004-06-08 MenTaLguY * src/display/sp-canvas.h, src/livarot/DblLinked.h, src/livarot/LivarotDefs.h, src/livarot/AVL.h, src/livarot/Shape.h, src/livarot/ShapeUtils.h, src/livarot/Ligne.h, src/object-edit.cpp, src/spiral-context.cpp, src/sp-shape.cpp: Portability fixes from Colin Marquardt . 2004-06-08 Carl Hetherington * src/main.cpp: remove the call to Extension::Internal::PrintWin32::init() entirely after Ted pointed out that it would be called by code in src/extension/init.cpp anyway. 2004-06-08 Ted Gould * src/main.cpp: Added in a version command to our command line args. This fixes enhancement request 968642. 2004-06-07 MenTaLguY * src/document.cpp, src/document.h, src/document-undo.cpp, src/sp-object.h, src/sp-object.cpp: renamed object garbage collection routines to fit the "orphan" terminology 2004-06-07 Carl Hetherington * src/main.cpp: tentative fix for startup crash on Win32. Ensure that Extension::Internal::PrintWin32::init() is not called until after inkscape_application_init(). 2004-06-07 Ted Gould * src/inkscape.cpp, src/main.cpp: Moving the initialization of the extensions into the Inkscape application init. I have mixed feelings on this. On one hand, basically extension init gets called directly after applicaiton init and extensions init has nothing to do with anything else in main. On the other hand I'm not sure that it is directly related to the structure of the application itself. Comments are welcome. 2004-06-06 MenTaLguY * src/attributes.cpp, src/attributes.h: added inkscape:collect attribute to specify orphan collection policy (collect with parent, or always collect) * src/document-undo.cpp, src/document.cpp, src/document.h: added an orphan collection pass as part of comitting an undo step * src/sp-object.cpp, src/sp-object.h: add total hrefcount for all descendants, and basic orphan collection facilities * src/gradient-chemistry.cpp, src/dialogs/stroke-style.cpp, src/extension/internal/gdkpixbuf-input.cpp: mark automatically added gradients, patterns, and markers for orphan collection 2004-06-06 Bryce Harrington * libnrtype/nr-type-xft.cpp, libnrtype/nr-font.cpp, libnrtype/nr-rasterfont.cpp, libnrtype/nr-type-directory.cpp, libnrtype/nr-typeface.cpp, libnrtype/nr-type-w32.cpp, libnrtype/nr-type-ft2.cpp, libnrtype/nr-type-pos-def.cpp, libnrtype/nr-type-primitives.cpp: Documenting the routines. This adds basic code docs for everything in libnrtype. 2004-06-06 Ted Gould * src/main.cpp, src/preferences-skeleton.h, src/extension/extension.cpp: Making it so that the extension parameters get saved in the Inkscape preferences. Most people will notice that their printer gets saved now. But this does alot more than that. Added an "extensions" group to the preferences skeleton for all these settings. All settings get saved as "module ID"."param name". Also had to change where the extensions get init'd in the startup to put it behind the Inkscape application so that prerefences could be used. 2004-06-03 Ted Gould * src/file.cpp, src/dialog/filedialog.cpp: Making the whole file dialog alot more fun. Basically, now the first filename will always be unique on files that don't have a filename already. And, if you've selected a different default extension, that extension's filename extension will be placed on the file. Also, when you change the extension to save with in the dialog, the filename extension will change with you (assuming that you were using filename extensions previously ofcourse). Finally, the checkbox to autoappend extensions is no insensitive when "Autodetect" is selected. 2004-06-03 MenTaLguY * src/file.cpp, src/extension/internal/ps.cpp, src/extension/internal/win32.cpp, src/sp-pattern.cpp, src/dialogs/stroke-style.cpp, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp, src/display/nr-arena-image.cpp, src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp, src/widgets/icon.cpp, src/dialogs/nr-arena-item.h: Introduced the notion of "parent" NRGCs 2004-06-02 bulia byak * src/selection.h, src/selection.cpp: * preferences-skeleton.h dialogs/display-settings.cpp sp-item.cpp: New settings for various compensations * sp-shape.cpp sp-shape.h sp-rect.cpp sp-path.cpp: Factored out adjustments (stroke and pattern so far) from optimizing items into sp-shape. * libnr: Added distance function for a couple of points. Added expansions for X and Y. * object-edit.cpp sp-rect.cpp sp-item.cpp toolbox.cpp: Made rect use absolute radii, added recursive compensation on item_transform. Added new knot for rect, moved corner knots to the top right corner. Rect toolbar shows visible rx/ry. * toolbox.cpp: Finally got the freeze semaphores right (prevent loops for changes both from the repr and from toolbar UI). * sp-namedview.cpp: Guarding against nan in zoom, cx, cy * select-toolbar.cpp helper/unit-menu.cpp helper/unit-menu.h: Fix units menu size * node-context.cpp: Second Esc or empty-click deselects object * desktop.cpp desktop.h: Restored sticky zoom * preferences-skeleton.h extension/internal/gdkpixbuf-input.cpp file.cpp: Do not group import if only one item; move its defs to our defs; select and move under cursor the imported item/group. Optionally import bitmaps as filled rects. * many -context files: Decoupled seltrans and selcue so that the latter can be used outside of selector; enabled optional selcue in all tools * many files: New set_color signals on desktop, switching the dropper to them; needs to be redone for style. Excise the old inkscape::color_set signal. * dialogs/stroke-style.cpp: Fix the "all clubs" marker preview bug. In markers menu, skip document markers with stockid only if the same stockid is in markers.svg; add separator. * many fill and stroke files: Remove old mode selector, remove dropper checkbox (now always on). Remember active colorselector page. Remove redundant checks in setting color (fixes at least one bug). Cosmetics, cleanup, b/w icons, shortened labels, added mnemonics and tooltips, removed the drop-down modes list. Switched color spinbuttons to 0..255 enabling 0..1 floats to be typed as well. * dialogs/find.* et al: Find dialog, command * selection-chemistry.cpp: Fix copying objects from different parents; fix and reorganize copying gradients, recurse into groups * dialogs/xml-tree.cpp: Removed unused desktop shutdown signal, fixes problem with saving window settings on exit * select-toolbar.cpp: Percentage unit, lock toggle, NR::Rectification * sp-object.cpp path-chemistry.cpp splivarot.cpp et al: Sending _delete_signal recursively for descendants; switched to deleteObject where appropriate to notify clones * preferences-skeleton.h desktop.cpp desktop.h interface.cpp: Window layout fully configurable, commands in the View menu * path-chemistry.cpp: Fixed transform when combining inside group * preferences-skeleton.h sp-item.cpp dialogs/display-settings.cpp: Fixes in scalestroke (coded by Carl): arbitrary depth recusion, setting stroke-width via repr, pref in the transforms tab * widgets/sp-xmlview-attr-list.cpp: More robust listener 2004-06-01 Ted Gould * src/extension/internal/gdkpixbuf-input.cpp: Making it so that the lists of extensions and mimetypes are used in the creation of the plugins. Also, free'ing everything properly so that we don't have a memory leak. 2004-05-30 MenTaLguY * src/selection.h, src/selection.cpp: rework SPSelection to be SPObject- rather than SPItem- oriented; this will be needed later for the layers/document tree dialog (and could prove useful for the XML editor later too) * src/sp-item.h: make SPItem a proper C++ subclass of SPObject * src/dialogs/item-properties.cpp: correct overly intimate knowledge of SPObject (use SP_OBJECT_ID rather than directly accessing the SPObject::id member) 2004-05-27 Kees Cook * src/extension/internal/ps.h, src/extension/internal/ps.cpp: Hopefully fixed the locale problems in the PS output generator. * src/sp-offset.cpp, src/display/bezier-utils-test.cpp, src/display/nr-arena-item.cpp, src/libnr/nr-svp-render.cpp, src/libnr/testnr.cpp, src/livarot/AlphaLigne.cpp, src/livarot/Ligne.cpp, src/livarot/Path.cpp, src/livarot/PathCutting.cpp, src/livarot/Shape.cpp, src/livarot/ShapeDraw.cpp, src/livarot/ShapeSweep.cpp, src/svg/svg-affine.cpp: added comments and notes to all remaining "printf"ish calls that have %g or %f in them. Most are just debug output, etc. Hopefully we are actually free of locale bugs! :) * src/desktop.h, src/desktop.cpp: desktop's knowledge of fullscreen-ness doesn't depend on having the ability to DO it. Other functions already test "is_fullscreen" to alter their behavior. 2004-05-23 Peter Moulder * src/extension/system.h, src/extension/system.cpp (build_from_file): Remove unused second argument. Callers updated. * src/extension/system.cpp (build_from_reprdoc): Just one call to sp_repr_name per child. * src/extension/system.h, src/extension/system.cpp: Cleanup: greater conformance to CodingStyle. 2004-05-23 MenTaLguY * src/libnrtype/Makefile_insert, src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-gnome.h, src/libnrtype/nr-type-dictionary: removed gnome-print libnrtype backend 2004-05-20 Peter Moulder * src/xml/repr.h, src/xml/repr-util.cpp: Remove unused function sp_repr_set_position_relative. * src/xml/repr-util.cpp (sp_repr_compare_position, sp_repr_position): Minor cleanups. 2004-05-19 Peter Moulder * src/sp-use.cpp: Cleanup: greater conformance to CodingStyle. * src/sp-item-group.cpp (sp_item_group_ungroup): Fix bug #956334: ungrouping was reversing the order of the group members. * src/xml/repr-get-children.h, src/xml/repr-get-children.cpp: New files. * src/xml/Makefile_insert (xml_libspxml_a_SOURCES): Add the new files. * src/xml/repr-private.h, src/xml/repr.cpp (sp_repr_nth_child): Remove this unused function. * src/xml/repr.h, src/xml/repr.cpp (sp_repr_parent): Mark pointer as not written through (const). 2004-05-18 Peter Moulder * src/xml/repr.cpp: Cleanup: greater conformance to CodingStyle. * src/Makefile_insert: Add missing dependencies on inkscape_version.h. * src/display/Makefile_insert: Adapt dependency object names for `subdir-objects' automake option. * src/helper/Makefile_insert: Adapt dependency object names for lack of libspchelp-specific CPPFLAGS. 2004-05-17 Carl Hetherington * src/libnrtype/nr-type-w32.cpp: Tentative fix for build problems on Win32. * src/extension/internal/svg.cpp: Coding style cleanups. 2004-05-17 Peter Moulder * src/sp-item.h, src/sp-item.cpp: Remove unused distance-conversion functions sp_item_distance_to_svg_bbox, sp_item_distance_to_svg_viewport. * src/sp-item.cpp: Cleanup: greater conformance to CodingStyle. * acinclude.m4: Remove. 2004-05-16 Carl Hetherington * src/extension/internal/svg.cpp: Throw an exception if sp_repr_save_file fails. This should close bug 948921. 2004-05-16 Peter Moulder * src/check-header-compile.in: New script. * configure.in: Add it to list of files for substitution. * src/star-context.cpp: Minor cleanups, and use g_strdup_printf instead of fixed-size buffer for translated string. * src/selection-chemistry.cpp: Use NR::Rect bounds() method instead of old bounds(NRRect*). * src/document.cpp (sp_document_create): * src/preferences-skeleton.h: Use INKSCAPE_VERSION from inkscape_version.h instead of VERSION. * src/libnr/nr-rotate-test.cpp: Use new rotate_equalp function. * src/libnr/nr-translate-ops.h (operator-): New function. * src/select-context.cpp: * src/selection-chemistry.cpp: * src/xml/repr.h: * src/sp-defs.h: Cleanup: greater conformance to CodingStyle. * src/libnr/nr-macros.h: Don't #include nr-matrix.h, nr-rect.h. * src/arc-context.h, src/desktop-affine.h, src/dir-util.h, src/draw-context.h, src/dyna-draw-context.h, src/help.h, src/knotholder.h, src/prefs-utils.h, src/select-toolbar.h, src/sp-clippath.h, src/sp-mask.h, src/sp-pattern.h, src/sp-use.h, src/text-context.h, src/toolbox.h, src/tools-switch.h, src/dialogs/dialog-events.h, src/dialogs/sp-attribute-widget.h, src/display/sp-canvas.h, src/helper/gnome-utils.h, src/helper/png-write.h, src/helper/stock-items.h, src/inkjar/jar.h, src/libnr/nr-matrix.cpp, src/libnr/nr-point-l.h, src/svg/stringstream.h, src/svg/svg-affine.cpp, src/widgets/gradient-selector.h, src/widgets/paint-selector.h, src/widgets/spinbutton-events.h, src/widgets/spw-utilities.h, src/xml/repr-action.h: Add missing header files as detected by check-header-compile script. * src/libnr/nr-rotate-fns.h, src/libnr/nr-rotate-fns.cpp: New files. * src/libnr/nr-rotate-fns-test.cpp: New unit test. * src/libnr/Makefile_insert, src/Makefile.am: Reference new files, add to unit tests. * src/libnr/nr-rotate.h: Add Coord,Coord constructor. * src/libnr/nr-rotate.h, src/libnr/nr-rotate-ops.h (operator*=): New method. * src/libnr/nr-point-fns.h (point_equalp): New function. * src/radial.h: Remove this unused header. * src/xml/xml-forward.h: New file. * src/xml/Makefile_insert: Add it to xml_libspxml_a_SOURCES. * src/xml/repr-private.h: Include it. 2004-05-16 MenTaLguY * src/libnrtype/nr-type-directory.cpp, src/libnrtype/nr-type-ft2.cpp, src/libnrtype/nr-type-ft2.h, src/libnrtype/nr-type-gnome.h, src/libnrtype/nr-type-w32.h, src/libnrtype/nr-type-xft.cpp, src/libnrtype/nr-typeface.h: transition to C++ inheritance * src/verbs.cpp, src/helper/action.h, src/helper/action.cpp, src/widgets/button.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h: removed barely-used "in-place construction" facility for NRObject * src/helper/action.h, src/helper/action.cpp, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-glyphs.h, src/display/nr-arena-image.cpp, src/display/nr-arena-image.h, src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp, src/helper/action.cpp, src/helper/action.h, src/libnr/nr-object.cpp, src/libnr/nr-object.h, src/libnrtype/nr-type-ft2.cpp, src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp, src/libnrtype/nr-typeface.cpp: Made NRObject "C++-compatible". All C++ features including virtual methods and RTTI should now be available to NRObject subclasses _provided_: a) there is an unbroken chain of _C++_ inheritance from the subclass back to NRObject b) the NRObject-derived inheritance chain is always first in cases of multiple inheritance (the NRObject must be first in the memory layout) c) The subclass in question overrides NRObjectClass::cpp_ctor in its own class_init function, with a pointer to a function that calls the specific subclass' constructor (via placement new -- you will need to #include for this to work) n.b. Objects of classes which do not override cpp_ctor will appear to the C++ runtime system (RTTI and virtual dispatch, at least) as objects of the closest ancestor class which does override it (NRObject or NRActiveObject if nothing else). 2004-05-15 MenTaLguY * src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp: further reduced dependency on SPStyle 2004-05-14 Peter Moulder * src/libnr/nr-path.cpp, src/libnr/nr-path.h (nr_path_matrix_bbox_union): Get rid of no-longer-needed tolerance arg. Update callers. * src/selection.cpp, src/sp-chars.cpp, src/sp-image.cpp, src/sp-item-group.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp, src/sp-use.cpp, src/dialogs/fill-style.cpp, src/dialogs/stroke-style.cpp, src/display/nr-arena-shape.cpp, src/libnr/nr-path.cpp, src/libnr/nr-path.h, src/libnrtype/nr-font.cpp, src/libnrtype/nr-rasterfont.cpp, src/libnrtype/nr-type-gnome.cpp, src/widgets/icon.cpp, src/widgets/paint-selector.cpp: Change argument from NRMatrix to NR::Matrix in SPItemClass->bbox, sp_item_invoke_bbox, sp_item_invoke_bbox_full, nr_path_matrix_bbox_union. Users updated. * src/libnr/nr-rect.h, src/libnr/nr-rect.cpp (nr_rect_union_pt): new function. * src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp (NR::transform): new function. * src/Makefile_insert: Move fixes.cpp from libinkpre.a to libinkpost.a. * src/xml/Makefile_insert (xml_repr_action_test_LDADD): Add libinkpost.a, for fixes.o. `make check' now works again. * src/sp-text.cpp (sp_text_set_transform): Don't include SP_OBJECT_CHILD_MODIFIED_FLAG in flags for sp_object_request_update. Addresses `critical' warning. 2004-05-13 John Cliff * src/dialogs/stroke-style.cpp: Switched to using get_stock to retrieve markers. * src/helpers/stock-items.h, src/helpers/stock-items.cpp: created to handle stock items. * src/prefix.h: Added marker and gradient directorys. 2004-05-13 Kees Cook * configure.in, src/main.cpp, config.h.mingw, debian/rules: made popt a requirement instead of an option. 2004-05-13 Carl Hetherington * sp-color-notebook.cpp: Fix uninitialised value spotted by valgrind. * stroke-style.cpp: Fix ink_extract_marker_name returning a pointer into a free()d buffer. 2004-05-13 Ted Gould * src/file.cpp: Making the default filename _("untitled.svg") 2004-05-12 Kees Cook * config.h.mingw: added g_ascii_strtod macro. 2004-05-12 Carl Hetherington * src/dialogs/export.cpp: fix faulty logic with exporting of selections, as reported by Artemio on the ML. * src/dialogs/desktop-properties.cpp: Fix a gtk_table size. Make use of spw_dropdown in one place. * src/select-context.cpp: Remove alt-drag "slow move" mode. Make alt-drag move without any grid snap, even if the grid is enabled. Add a new mode, shift-drag, which preserves objects' grid offsets rather than snapping their snappoints. * src/selection-chemistry.cpp: Pasted objects have the same offset from the grid as the original, if the grid is enabled. Also a NRRect -> NR::Rect fix thrown in for no extra charge. * src/dialogs/display-settings.cpp: Added option to reverse the actions of drag and shift-drag when moving objects. 2004-05-12 Peter Moulder * src/main.cpp (main): Test ENABLE_NLS instead of HAVE_NLS (which wasn't getting defined). Restores translations on *nix systems when inkscape translations aren't in system-wide /usr/share/locale. 2004-05-10 Carl Hetherington * src/sp-item.cpp, src/dialogs/display-settings.cpp: primitive support for preserving line widths when scaling. Thanks to Bulia for telling me what to do :) * src/dialogs/align.cpp: refactor some cut-and-paste code into a separate function. Remove NRRect. Declaration-to-first-use cleanups. * src/dialogs/transformation.cpp, src/dialogs/fill-stype.cpp: NRRect removal. Declaration-to-first-use cleanups. 2004-05-09 MenTaLguY * src/sp-paint-server.h: SPPaintServer now uses C++ inheritance (bigger question -- should SPPaintServer derive from SPObject? I think not, actually ... it's more something that should be aggregated into the various paint-server-capable types) * src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp: first steps in removing SPStyle dependency from NRArenaShape -- add fill and stroke paint server members, and use those instead of reading directly from an SPStyle. 2004-05-09 Kees Cook * src/libnrtype/nr-type-xft.cpp: added patch 898200, hopefully this won't break anyone. * src/dialogs/desktop-properties.cpp: added patch 947127, along with some orientation bugfixes, list cleanup, and logic to select the correct menu items based on document settings. * configure.in: default to always replace g_ascii_strtod. 2004-05-08 Kees Cook * src/extension/internal/gdkpixbuf-input.cpp: skip SVG files. (open bug) * configure.in, src/Makefile_insert, src/fixes.cpp: added replacement for g_ascii_strtod, since it has locale-related bugs in gnome 2.0. The upstream version is fixed, so some day, we won't need this any more. (fixes "ugly icons" bug, and possibly the spinbutton locale bug) * src/dyna-draw-context.cpp, src/rect-context.cpp, src/sp-namedview.cpp, src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp, src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-root.cpp, src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp, src/spiral-context.cpp, src/star-context.cpp, src/svg/ftos.cpp, src/svg/svg-affine.cpp, src/svg/svg-color.cpp, src/svg/svg-length.cpp: adding "config.h", making a few extra locale-sensitive functions use g_ascii versions. 2004-05-08 MenTaLguY * src/sp-item.cpp: move "transformed" signal emission after actual application of transform * src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr.cpp: fix lifecycle issues with content and attribute strings * src/sp-object.h, src/sp-object.cpp: added SPObject::setId() 2004-05-08 Kees Cook * src/verbs.cpp, src/help.cpp: localizing "about" and "keys" stuff. * po/*.po: rebuilt for new strings. 2004-05-08 Carl Hetherington * src/dialogs/desktop-properties.cpp: the usual cleanups. Also add some sp_document_done()s in various places. 2004-05-08 bulia byak * widgets/paint-selector.cpp: Tooltips, slight cosmetics * main.cpp: --help edit * sp-use.h sp-use.cpp: Redid move compensation using _transformed_signal * sp-item.h sp-item.cpp: Added _transformed_signal, emitted by write_transform, passes the difference transform relative to the old one (not the new transform set) * nodepath.cpp: Fix lagging update of the other handle for smooth nodes * widgets/dash-selector.cpp: (Almost) fixed display of shorter-than-0.5 dashes in selector; proper fixing will require manual drawing the dashes instead of using gdk dashes * preferences-skeleton.h: lots of new dasharrays * dialogs/stroke-style.cpp: Remove repetitive code; relocation patch from mhearn; fixed, reenabled, and automated marker previews (no need for previews in markers.svg) * share/markers/markers.svg: Cleanup, sizes, remove manual previews * style.cpp: Disabled warning for overflow property (we need it for markers) * splivarot.cpp: Fixed transform when doing boolop inside group * libnr/nr-path.cpp: Ported fix from sodi, fixes two bugs with endnodes of a curve on the same hor/vert line * sp-namedview.cpp: Use set_default_size instead of _resize for setting window from namedview * preferences-skeleton.h dialogs/item-properties.cpp: Objects props transientized (better late than never) * dialogs/display-settings.cpp: Added simplify threshold * sp-use.cpp: Mega-kill use on unlink * preferences-skeleton.h dialogs/display-settings.cpp: Orphaned clones options * sp-item-group.cpp: Prevent jumps when ungrouping clone with its original * sp-object.cpp: Fix crash when deleting clone and its original * toolbox.cpp, tool contexts: Alt-x and top panel keyboard shortcuts now work for all tools * sp-use.cpp enums.h: Unlink option on self-delete * sp-use.cpp: Fix: disappeating clone on undoing ungrouping (_show finally works properly) * splivarot.cpp: Boolops: cleanup, preserve id, parent, position, fix to take style from the bottom object * interface.cpp verbs.cpp shortcuts.cpp: Mnemonics, tooltips, shortcuts, cleanup, autoraise removed from menu 2004-05-07 Kees Cook * src/verbs.cpp: re-localizing tutorials. My goof! * po/POTFILES.in: removed arikkei references 2004-05-07 Carl Hetherington * src/desktop.cpp: make sure that a SPNamedView's modified signal is connected to the SPDesktop even when a file is loaded into an existing SPDesktop. Fixes problems whereby grid snap does not work for the first file loaded in a session. Fix a && -> & typo. * src/sp-object.cpp: declaration-to-first-use and coding style cleanups. 2004-05-05 Spundun Bhatt * configure.in: Stole Nathan's configure hack and used it to support gtkmm-2.4 2004-05-06 Ted Gould * src/file.cpp, src/extension/extension.cpp, src/extension/init.cpp, src/extension/internal/Makefile_insert, src/extension/internal/gdkpixbuf-input.cpp, src/extension/internal/gdkpixbuf-input.h: Changing the import functionality so that it works much more like open. You can use any format, and it will place that file directly in the document that you are working on. Added input extensions that cover all of the bitmap formats that are covered with gdkpixbuf. Also, more formats can be used using the scripting system. 2004-05-06 Carl Hetherington * src/sp-line.cpp, src/sp-mask.cpp, src/sp-metrics.cpp: declaration-to-first-use and coding style cleanups 2004-05-05 MenTaLguY * src/libnrtype/nr-type-dictionary.cpp: removed 'private-fonts' feature (we should rely on fontconfig for "custom" font stuff) * configure.in, src/Makefile_include, src/Makefile.am, src/libarikkei/*: removed the now unused libarikkei 2004-05-05 Nathan Hurst * src/dialogs/text-edit.cpp, configure.in: Added support for spell checking in text dialog. 2004-05-04 MenTaLguY * src/display/nr-arena-glyphs.h: fixed cut-and-paste error in NRArenaGlyphsGroup::create() * src/selection.cpp, src/selection.h: fixed global "changed" propagation 2004-05-02 MenTaLguY * src/file.cpp, src/print.cpp, src/sp-chars.cpp, src/sp-clippath.cpp, src/sp-image.cpp, src/sp-item-group.cpp, src/sp-mask.cpp, src/sp-pattern.cpp, src/sp-shape.cpp, src/sp-text.cpp, src/sp-use.cpp, src/dialogs/stroke-style.cpp, src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-glyphs.h, src/display/nr-arena-group.h, src/display/nr-arena-image.h, src/display/nr-arena-item.cpp, src/display/nr-arena-item.h, src/display/nr-arena-shape.h, src/display/nr-arena.h, src/libnr/nr-object.h, src/widgets/icon.cpp: removed nr_arena_item_new in favor of static ::create() functions which call NRArenaItem::init() to perform setup (i.e. setting NRArenaItem::arena). Eventually NRArenaItem::init() and nr_arena_item_init will merge and become NRArenaItem's constructor. 2004-04-30 MenTaLguY * src/sp-use.cpp: call parent class' write methods rather than attempting to do everything (wrongly) ourselves; among other things, transform attributes weren't getting written * src/sp-object.h, src/sp-object.cpp: designate a "successor" object so we still perform as expected if objects are replaced in the middle of e.g. a bulk delete operation * src/sp-use.cpp: cleanups and succession logic for deletion * src/widgets/sp-hwrap-box.cpp, src/widgets/sp-hwrap-box.h, src/widgets/sp-vwrap-box.cpp, src/widgets/sp-vwrap-box.h, src/widgets/sp-wrap-box.cpp, src/widgets/sp-wrap-box.h, src/widgets/test-wrapbox.cpp, src/widgets/Makefile_insert: Removed unused (and imperfect) "wrapbox" widgets. * src/sp-object.h, src/sp-object.cpp, src/sp-item-group.cpp: Removed unused sp_object_invoke_forall and sp_object_sequence methods. (forall might be nice to have, but we can do better implementation-wise now that we're in C++-land) 2004-04-30 njh * main.cpp: replaced gtk_init with g_type_init for console mode. Closes 944969. 2004-04-29 MenTaLguY * src/sp-image.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp, src/sp-path.cpp, src/sp-rect.cpp, src/sp-text.cpp: write_transform becomes set_transform, which applies the given transform to the object without (!) invoking a repr write * src/sp-star.cpp, src/svg/svg-length.h, src/svg/svg-length.cpp, src/svg-types.h, src/svg/svg.h: replaced raw integers with real units enum * src/libnr/nr-matrix.h: removed dead assertion (it's always valid to retrieve the translation component of a matrix) * src/selection-chemistry.cpp: delete items via SPItem (SPObject), not repr * src/sp-object.h, src/sp-object.cpp: added SPObject::deleteObject() and a delete notification signal; SPObject now inherits from GObject in the C++ sense * src/sp-use.h: don't accept references to the use or its ancestors (preventing infinite loops) * src/sp-use.cpp, src/sp-use.h: added automatic deletion when referrent is deleted * src/uri-reference.h: added URIReference::getOwner() 2004-04-29 Carl Hetherington * src/extension/internal/win32.cpp: add textToPath parameter to description in order to fix #944131. 2004-04-28 Carl Hetherington * src/desktop.cpp, src/inkscape.cpp, src/sp-namedview.cpp Part of the fix for #942149. Also fixed some compiler warnings. * src/display/nr-arena.cpp: Fixed an unused variable warning. * src/main.cpp: Fix a warning that is raised on Windows. 2004-04-28 bulia byak * inkscape.cpp: Fixed prev/next desktop; numbered from 0 * Lots of files: Replaced all strtod() and atof() by g_ascii_strtod() * interface.cpp verbs.cpp: Tooltip edits * view.cpp view.h desktop.cpp: Signal and function to pop statusbar message * dialogs/dialog-events.cpp: Only set the UTILITY hint for non-modal windows, fixes "disappearing save as" * toolbox.cpp widgets/widget-sizes.h widgets/button.cpp: Got rid of button relief, top panel made less tall * desktop.cpp preferences-skeleton.h dialogs/display-settings.cpp: Done away with the sticky zoom button, now in prefs * path-chemistry.cpp: Preserve id= in combine/break, convert to paths; preserve z-order in combine/break; cleanups * splivarot.cpp: New selection API, Simplify preserves id= * select-context.cpp preferences-skeleton.h sp-item.cpp display-settings.cpp splivarot.cpp sp-item-group.cpp sp-item-transform.cpp sp-item-notify-moveto.cpp nodepath.cpp node-context.cpp seltrans.cpp seltrans.h: Switched to global preservetransform, transform writing unification (no more manual transform= setting all over the place), stamp preserves parent, mental's new SPSelection API, pruning dead code * verbs.cpp interface.cpp: Eliminated Dialogs menu, added ... to dialog commands, rearrangements, menu items display tooltips in statusbar when selected * sp-item-group.cpp sp-item-group.h: Made document_done optional in ungroup (not done when the function is called from another function) * dialogs/display-settings.cpp enums.h preferences-skeleton.h sp-use.cpp sp-use.h: Clone move compensation (3 modes), settable in prefs * seltrans.cpp selection-chemistry.cpp: Do not translate a clone if its original is in the selection * verbs.cpp verbs.h interface.cpp shortcuts.cpp sp-use.cpp sp-use.h selection-chemistry.cpp selection-chemistry.h: Unlink Clone verb and menu command (preserves id=) * selection-chemistry.cpp selection-chemistry.h verbs.h verbs.cpp shortcuts.cpp interface.cpp: Select Original verb and command, scrolls to the original * selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h interface.cpp: Clone command * sp-use.h sp-use.cpp: Use URIReference; Propagate update to parent class (SPItem) (fixes redraw on dragging a clone) * dropper-context.cpp dropper-context.h dialogs/display-settings.cpp: Implemented pick modes (pick either actual color with transparency or visible color without transparency); added statusbar indication; color is only set on mouse release * seltrans.cpp display/sodipodi-ctrlrect.cpp: Finally the correct selection cue rect (fixed displacement) 2004-04-27 Carl Hetherington * src/desktop.cpp: Check for there being no items when zooming to the drawing. This fixes bug #942137. 2004-04-26 Carl Hetherington * config.h.mingw, prefix.h: INKSCAPE_VERSION moved to inkscape_version.h. INKSCAPE_{PIXMAP,SCREENS,TUTORIALS,MARKERS}DIR moved to prefix.h * src/Makefile.mingw, src/inkscape_version.h.mingw Use CVS inkscape_version.h.mingw for inkscape_version.h on Win32. * src/sp-use.cpp: fix a warning. 2004-04-26 Ted Gould * share/extensions/ai_input.inkmod, share/extensions/dia.inkmod, share/extensions/txt2svg.inkmod, src/extension/extension.cpp, src/extension/internal/svg.cpp: Making the names of the input extensions look like the output ones. Also, threw in a slight memory savings in removing the implementation on deactivated extensions. 2004-04-26 MenTaLguY * src/selection.cpp: migrate to new glib idle API * src/extension/db.cpp: can't call ->deactivated() on a NULL pointer.. 2004-04-26 Peter Moulder * configure.in: Replace use of old AM_PROG_LIBTOOL macro with AC_PROG_LIBTOOL. 2004-04-26 Ted Gould * share/extensions/epsi_output.inkmod: Added in a check for ps2epsi * src/dialogs/filedialog.cpp, src/extension/db.cpp, src/extension/db.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/init.cpp, src/extension/system.cpp: Implementing a 'deactivated' extension. This means that it should still exist, but show up as insensitive in any GUI element that could use it. The idea here is that users should know what they don't have, but Inkscape supports. 2004-04-26 Nathan Hurst * src/{libnr,libnrtype,widgets,display,helper,.}*.{h,cpp}: moved from typedef _name name; to C++ style struct name; forward references. 2004-04-25 Ted Gould * share/extensions/ai_output.inkmod, share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod, share/extensions/epsi_output.inkmod, share/extensions/roundhole.inkmod, share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod, src/extension/implementation/script.cpp, src/extension/implementation/script.h: Adding in support for superior checking of dependencies. Now scripts can include a line, which will look for a binary in the path. So something like dia input will no be loaded if there isn't dia available in the path. 2004-04-25 Carl Hetherington * src/verbs.cpp, src/rect-context.cpp, src/spiral-context.cpp, src/event-context.cpp, src/text-context.cpp, src/dialogs/stroke-style.cpp, src/xml-tree.cpp, src/widgets/sp-widget.cpp: SPSelection OO-ification. * src/display/curve.cpp: Don't raise a critical error if a new curve cannot be created in sp_curve_new_from_bpath(). This can happen if a file contains a strange path, like one with only a move in it and nothing else. This is part of the fix for bug 934882. * src/sp-path.cpp: cope with sp_curve_new_from_bpath() returning NULL in sp_path_set(). This is the other part of the fix for 934882. * src/path-chemistry.cpp, src/sp-offset.cpp, src/sp-ellipse.cpp, src/display/nr-arena-glyhs.cpp: added asserts for calls to sp_curve_new_from_bpath() which look like they might not expect it to return NULL. * src/desktop.h: add a comment about how SPDesktop::selection should never generally be NULL. * src/desktop-handles.cpp: ensure that sp_desktop_selection never returns NULL, so that we don't have to check for this eventuality elsewhere. * src/arc-context.cpp, src/seltrans.cpp, src/desktop.cpp: be less defensive about SPDesktop::selection being NULL. * src/path-chemistry.cpp, src/select-context.cpp, src/selection-chemistry.cpp, src/star-context.cpp, src/dialogs/align.cpp, src/dialogs/item-properties.cpp, src/dialogs/text-edit.cpp: SPSelection OO-ification. Also some coding style and declaration-to-first-use cleanups. * src/toolbox.cpp: SPSelection OO-ification. Various cleanups. * src/selection.h: remove deprecated access functions. * src/dialogs/fill-style.cpp: declaration-to-first-use cleanups. * src/selection.cpp: add vim and Emacs mode blocks. * src/object-ui.cpp: very minor coding style fix. 2004-04-24 MenTaLguY * src/arc-context.cpp, src/dyna-draw-context.cpp, src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp, src/select-context.cpp, src/select-toolbar.cpp, src/selection-chemistry.cpp, src/selection.h, src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp, src/verbs.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp, src/dialogs/in-dt-coordsys.cpp, src/dialogs/stroke-style.cpp, src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp: removed sp_selection_set_item(), sp_selection_set_repr(), sp_selection_is_empty(), sp_selection_item_selected(), and sp_selection_repr_selected() 2004-04-24 Ted Gould * share/extensions/ill2svg.pl: Applying a patch made to the Sodipodi list by Tuukka Pasanen which adds in support for text in Illustrator files. Also, I backed out the changes which removed being able to specify the line endings. This will, by default, force them back to mac compatible. Mac files didn't work with those changes. 2004-04-24 Peter Moulder * configure.in: Tentatively remove config.h definitions of INKSCAPE_MARKERSDIR, INKSCAPE_PIXMAPDIR, INKSCAPE_SCREENSDIR, INKSCAPE_TUTORIALSDIR, with the understanding that these are to be provided by prefix.h. * src/prefix.h: Define INKSCAPE_MARKERSDIR. * src/extension/extension.cpp (Extension): * src/extension/init.cpp (check_extensions): Address warning. * src/dialogs/stroke-style.cpp: #include prefix.h. * src/Makefile.am (EXTRA_DIST): Add */makefile.in. * src/libnr/Makefile_insert (libnr_libnr_a_SOURCES): Add libnr/nr-convex-hull.h, needed by sp-canvas.cpp. 2004-04-24 Ted Gould * src/Makefile_include, src/prefix.cpp: Removing the redefition of NULL and adding to the make system. 2004-04-24 Ted Gould * src/extension/db.cpp, src/extension/db.h, src/extension/extension.cpp, src/extension/extension.h, src/extension/init.cpp, src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h, src/extension/internal/ps-out.cpp, src/extension/internal/ps-out.h: Adding in more checks for individual extensions. All of them should still pass though. Also, moved the extension database from glib to STL. This allows extensions to be deleted while using the foreach functions (which causes instability with the glib hash table). 2004-04-24 Peter Moulder * src/dialogs/Makefile_insert: * src/display/Makefile_insert: * src/xml/Makefile_insert: Get rid of unneeded CPPFLAGS specification. * src/Makefile.am: * src/Makefile_insert: New generated file inkscape_version.h, to replace -DINKSCAPE_VERSION=\"$(VERSION)\". * src/help.cpp: #include it. 2004-04-23 Peter Moulder * src/sp-polygon.cpp: * src/splivarot.cpp: * src/style.cpp: Change include stringstream.h to include svg/stringstream.h. * src/Makefile.am, src/Makefile_insert: Change libinkscape.a use to eliminate triple compilation of these object files. * src/Makefile.am: Use `subdir-objects' option. * src/Makefile.am: Add global INCLUDES setting. * src/*/Makefile_insert: Get rid of now-redundant $(INKSCAPE_CFLAGS) from *_CPPFLAGS. * src/*/makefile.in: `%' as a target doesn't behave as intended, so replace with less general `clean %.a %.o' and add .SUFFIXES. 2004-04-22 Ted Gould * src/draw-context.cpp, src/dropper-context.cpp, src/dyna-draw-context.cpp, src/node-context.cpp, src/nodepath.cpp, src/sp-ellipse.cpp, src/sp-offset.cpp, src/sp-path.cpp, src/sp-polygon.cpp, src/sp-shape.cpp, src/splivarot.cpp, src/toolbox.cpp, src/display/curve.cpp, src/display/nr-arena-shape.cpp, src/extension/internal/gnome.cpp, src/extension/internal/ps.cpp, src/libnr/nr-path.cpp, src/libnr/nr-path.h, src/libnrtype/nr-rasterfont.cpp, src/libnrtype/nr-type-ft2.cpp, src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp, src/libnrtype/nr-typeface.cpp, src/livarot/PathCutting.cpp, src/svg/gnome-canvas-bpath-util.cpp, src/svg/svg-path.cpp: Changing the ART_ enums to NR_ so that if libart is include (like if you are building gnome-print) it doesn't conflict with the internal definitions. * share/extensions/svgz_output.inkmod, src/extension/extension.cpp, src/extension/init.cpp, src/extension/implementation/script.cpp: Adding in a little more checking code. Now extensions can start deleting themseleves if they fail certain tests. More tests are needed, along with more testing of this feature. Consider this an 'early release' of the feature. ;) 2004-04-22 Peter Moulder * src/Makefile.am: Make non-recursive. Now sources */Makefile_insert. See HACKING or discussion on mailing list. * autogen.sh: Bump requirement from automake-1.6 to automake-1.7. * configure.in: Don't generate src/blah/Makefile, but do generate src/blah/makefile. * src/*/Makefile.am: Remove. * src/*/makefile.in: New wrapper makefiles to allow typing `make' from subdirectories of src. (Not used by compiles started from top-level or from src/.) 2004-04-21 MenTaLguY * src/libnrtype/nr-type-w32.h: fixed unremoved underscores * src/select-context.cpp, src/selection.cpp, src/selection.h, src/seltrans.cpp, src/tools-switch.cpp, src/dialogs/align.cpp: remove improper twiddling of desktop message line from SPSelection; some additional work is now required in SPSelectContext to update the message properly in all cases. * src/selection.h, src/selection.cpp: touched up and documented SPSelection * src/uri-references.h: documentation touch-ups 2004-04-20 Kees Cook * src/file.cpp, src/desktop.cpp: moved sp_file_open unselection code into sp_desktop_change_document. Generalized Carl's fix for unref counting since it applies in both cases. (My bad!) 2004-04-20 MenTaLguY * src/text-context.cpp: merged Carl's fix for signal cleanup * src/selection.h: marked wrappers for old API as deprecated 2004-04-20 Carl Hetherington * src/extension/internal/ps.cpp, src/extension/internal/ps.h: Fixed some bugs in exporting images that seem to have been introduced when the code was copied from the gimp. They caused problems when exporting bitmap images to PS. * src/file.cpp: fix bug whereby the first file loaded in a session would not have its modified status checked when closed. Hence if you modified the first file you loaded and then closed it, you would not be asked to confirm the close. * src/preferences-skeleton.h: add \n to the end of each line to fix bug 938368. 2004-04-19 MenTaLguY * src/arc-context.cpp, src/desktop-handles.h, src/desktop.h, src/draw-context.cpp, src/draw-context.h, src/forward.h, src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp, src/node-context.h, src/rect-context.cpp, src/selection-chemistry.cpp, src/selection-chemistry.h, src/selection.cpp, src/selection.h, src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp, src/star-context.h, src/text-context.cpp, src/dialogs/xml-tree.cpp, src/widgets/sp-widget.h: finished GObject removal from SPSelection * src/arc-context.h, src/arc-context.cpp, src/desktop.cpp, src/desktop.h, src/draw-context.cpp, src/draw-context.h, src/node-context.cpp, src/node-context.h, src/rect-context.cpp, src/rect-context.h, src/selection.cpp, src/selection.h, src/seltrans.cpp, src/seltrans.h, src/spiral-context.cpp, src/spiral-context.h, src/text-context.cpp, src/text-context.h, src/toolbox.cpp: migrated SPSelection to SigC++ signals (though it's a bit messy right now) 2004-04-19 Peter Moulder * src/dialogs/stroke-style.cpp: Cleanups: greater conformance to CodingStyle. Moved some declarations to their first use. 2004-04-19 Carl Hetherington * src/dialogs/stroke-style.cpp, libnr/nr-rect-l.cpp: Fix a couple of compiler warnings. * src/dialogs/filedialog-win32.cpp: add OFN_NOCHANGEDIR to Win32 flags in OPENFILENAME structs. This prevents the open / save boxes from changing the current directory. Any change to the current directory causes problems for subsequent attempts to load icons from pixmaps. Also, fix a bug whereby the save dialogue would sometimes not open due to being passed a filename it didn't like. 2004-04-19 bulia byak * shortcuts.cpp selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h interface.cpp: Clone command (Edit menu, Shift+Ctrl+N) * sp-use.cpp: Update propagated to parent class (SPItem), misc fixes * sp-polygon.cpp: Fix for points= updating by adding set_shape call into _write (bug 910142) * text-context.cpp: Do not create text object unless a printable key was pressed; fixes 934280 * widgets/dash-selector.cpp dialogs/stroke-style.cpp: Removed marker buttons, fixed g_free crash in marker menus, added tooltips, added stroke-miterlimit spinbutton * splivarot.cpp: Outline handles multiple objects; All commands use correct stroke_miterlimit * splivarot.cpp sp-offset.cpp: Fix for 932642 * helper/sodipodi-ctrlrect.cpp: Simplify and fix dashes and offsets * widgets/gradient-selector.cpp: Tooltip edits * verbs.cpp verbs.h interface.cpp...: Remove tool options * seltrans.cpp: Pivot marker made inverse * toolbox.cpp: More defocusing * *-context.cpp: Eliminated config widgets from all tools * toolbox.cpp sp-ellipse.cpp: Ellipse fixes, tooltips * verbs.cpp: Options -> Preferences * dialogs/display-settings.cpp: An options dialog, completely new; selector widget grafted here * preferences-skeleton.h node-context.cpp select-context.cpp: scaling uses defaultscale * dialogs/display-settings.cpp display/nr-arena-image.cpp: Make oversample saveable * toolbox.cpp: Aux toolbar for calligraphic * preferences-skeleton.h: fill-opacity:1 for calligraphic * select-context.cpp seltrans.cpp seltrans.cpp: Patch to enable box and none options for per-object selection cue * main.cpp: Removed C-locale setting, not needed anymore; temporary switch of gettext encoding for console output * inkscape.cpp: Memory fix from sodi * right-click finishes pen (patch by Carl) draw-context.cpp 2004-04-19 Carl Hetherington * src/livarot/ShapeRaster.cpp Fix an unitialised value error that was spotted by valgrind. 2004-04-18 MenTaLguY * src/selection.cpp, src/selection.h, src/selection-chemistry.cpp, src/seltrans.cpp, src/nodepath.cpp: made all SPSelection members private, and changed all methods into real C++ methods (with temporary inline wrappers for the old C pseudo-methods) 2004-04-18 Carl Hetherington * src/print.cpp, src/print.h, src/sp-text.cpp src/extension/extension.cpp src/extension/extension.h, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h, src/extension/internal/ps.cpp, src/extension/internal/ps.h, Add very basic feature to allow PS text to be exported as real text, rather than being converted to paths first. Needs some work, mostly on font handling. * src/seltrans.cpp: Slightly improve placement of the bounding box selection cue. * src/sp-shape.cpp: various marker-related cleanups, mostly factoring out common code into functions. 2004-04-17 MenTaLguY * src/inkscape.cpp, src/node-context.cpp, src/selection-chemistry.cpp, src/selection.cpp, src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp, src/sp-item.cpp, src/sp-offset.cpp, src/dialogs/transformation.cpp, src/libnr/nr-rect.cpp, src/libnr/nr-rect.h: Cleaned up NR::Rect API and made SPSelection's desktop pointer private. * src/display/sp-canvas.cpp, src/libnr/nr-convex-hull.h, src/libnr/nr-rect.h: First use of NR::ConvexHull (for propagating canvas bounding boxes) 2004-04-17 Kees Cook * share/icons/icons.svg, src/verbs.cpp: made last three ugly menu icons. 2004-04-17 Nathan Hurst * configure.in src/draw-context.cpp src/dropper-context.cpp src/dyna-draw-context.cpp src/nodepath.cpp src/nodepath.h src/path-chemistry.cpp src/sp-chars.cpp src/sp-ellipse.cpp src/sp-offset.cpp src/sp-path.cpp src/sp-polygon.cpp src/sp-shape.cpp src/sp-text.cpp src/splivarot.cpp src/style.cpp src/style.h src/dialogs/fill-style.cpp src/dialogs/object-properties.cpp src/dialogs/stroke-style.cpp src/display/canvas-bpath.cpp src/display/canvas-bpath.h src/display/canvas-grid.h src/display/curve.cpp src/display/curve.h src/display/nr-arena-glyphs.cpp src/display/nr-arena-glyphs.h src/display/nr-arena-shape.cpp src/display/sodipodi-ctrl.cpp src/display/sodipodi-ctrl.h src/display/sodipodi-ctrlrect.h src/display/sp-canvas-util.cpp src/display/sp-canvas-util.h src/display/sp-canvas.cpp src/display/sp-canvas.h src/display/sp-ctrlline.cpp src/extension/internal/ps.cpp src/extension/internal/ps.h src/libnr/Makefile.am src/libnr/libnr.def src/libnr/nr-path.cpp src/libnr/nr-path.h src/libnr/nr-svp-private.h src/libnr/nr-svp-render.cpp src/libnr/nr-svp-render.h src/libnr/nr-svp.cpp src/libnr/nr-svp.h src/libnrtype/nr-rasterfont.cpp src/libnrtype/nr-type-ft2.cpp src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-w32.cpp src/libnrtype/nr-typeface.cpp src/livarot/PathCutting.cpp src/svg/gnome-canvas-bpath-util.cpp src/svg/gnome-canvas-bpath-util.h src/svg/svg-path.cpp src/svg/svg.h: removed libart. * src/libnr/nr-svp-uncross.cpp src/libnr/nr-svp-uncross.h: deleted uncross and SVL routines. 2004-04-15 Carl Hetherington * src/make.exclude, src/make.dep, src/make.files, src/make.ofiles: Various fixes to the Win32 build following rearrangement of some source files and cleanups to libnr. * src/sp-text.cpp: remove an unused variable. * src/display/sodipodi-ctrlrect.cpp: removed two unused variables. 2004-04-16 MenTaLguY * src/selection.cpp, src/selection.h, src/forward.h: initial C++ification of SPSelection class 2004-04-15 Kees Cook * debian/control, debian/changes: dropping (currently) unused dependancies. Added "0.39cvs" tag. 2004-04-15 Carl Hetherington * src/seltrans.cpp, src/helper/sodipodi-ctrlrect.cpp, src/helper/sodipodi-ctrlrect.h: Use black, dashed bounding boxes for indicating itemselection, rather than red, solid boxes (as suggested by Bulia). * src/desktop.cpp: Small fix for the problem whereby the first file loaded in an Inkscape session will not have its grid set up properly. This was my patch #935013. * src/dialogs/filedialog-win32.cpp: Use the extension system to build the list of allowable file types for save. This means that save as PS and EPS work properly. * src/streams-zlib.cpp, src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp, src/display/nr-arena-glyphs.cpp, src/helper/sodipodi-ctrlrect.cpp, src/helper/sp-canvas.cpp, src/extension/internal/win32.cpp: Fix compiler warnings, mostly about unused variables. * src/helper/sp-canvas-util.cpp: Fix what I and someone else considered to be an obvious typo. The function in question isn't used, however, so it's a bit difficult to test. * src/libnrtype/nr-rasterfont.cpp: Fix a warning wrt a cast from NR::Matrix to NRMatrix. * src/sp-shape.cpp: Fix bug #935758. 2004-04-14 Ted Gould * src/file.cpp, dialogs/filedialog.cpp: Making it so that the filename will get placed in the save as dialog if there is a name for the file. Otherwise the last save directory is used (properly now) 2004-04-15 MenTaLguY * most files in src/: removed many old "compatable" struct typedefs * src/libarikkei/arikkei-dict.cpp, src/libarikkei/arikkei-dict.h: removed unused arikkei files * configure.in: added gtkmm dependency 2004-04-14 Kees Cook * src/helper/unit-menu.cpp: Turns out I found a 2nd bug while investigating patch 934358. I've applied this patch again, which gives us the entire fix. * src/draw-context.cpp: Investigated patch 934351 from cth103. Applied a slight variation to conform to the function calling styles of that code. * configure.in: Implemented gcc version test for >= 3.0.0 * src/file.cpp, src/interface.cpp, share/icons/icons.svg, src/verbs.cbb: finished "File / Revert" implementation. Found a memory leak in "file_save". Added more sanity checking to "sp_file_revert" and more status messages. * src/main.cpp, src/file.h, src/file.cpp: removed redundant code, implemented in "sp_file_open". 2004-04-13 Kees Cook * tools-version.sh: added a possible fix for BSDish tools. * configure.in, share/patterns/Makefile.am: inkscape janitor strikes again! This is a quick cleanup to Ted's new directories. Looks like "patterns" got left out. * share/clipart/.cvsignore, share/templates/.cvsignore, share/examples/.cvsignore, share/fonts/.cvsignore, share/gradients/.cvsignore, share/keyboards/.cvsignore, share/palettes/.cvsignore, share/patterns/.cvsignore: Added Makefile build-cruft to .cvsignores. * src/helper/unit-menu.cpp: applied a variation to patch 934358 from cth103 to fix grid unit changing bug. * configure.in: fixed capitalization of "libpng" to avoid confusion. * src/sp-namedview.cpp, src/document.cpp, src/document.h, src/file.cpp, src/file.h, src/document-undo.cpp, src/interface.cpp, src/verbs.cpp, src/verbs.h: Newly opened files will only create new windows if the current document is untouched. (RFE#928517) Added support for future "File/Revert" handling. Needs a little more support in the SPDocument structure. See notes in "src/file.cpp", function "sp_file_revert_dialog". 2004-04-13 Ted Gould * configure.in, share/Makefile.am, share/clipart/Makefile.am, share/examples/Makefile.am, share/fonts/Makefile.am share/gradients/Makefile.am, share/keyboards/Makefile.am share/markers/Makefile.am, share/palettes/Makefile.am share/screens/Makefile.am, share/templates/Makefile.am: Making it so that the clipart and everything else gets put in the tarball, and also get installed in the share directory. Many of these have just 'README' files, but they now have good place- holders for further development. 2004-04-12 Kees Cook * src/dialogs/stroke-style.cpp, src/Makefile.am, src/dialogs/Makefile.am, src/widgets/Makefile.am, configure.in: fixed up INKSCAPE_*DIR paths so CVS will compile happily for me. This way if paths change, files will be recompiled. The old way would let configure run again (changing the datadir path) without forcing a recompile, which could break the compiled paths. 2004-04-13 John Cliff * src/sp-shape.cpp, src/dialogs/stroke-style.cpp: Couple of changes to marker related code, mid and end markers now point in correct direction, turning off start markers behaves correctly. This follows on from changes made by me and Carl Hetherington that were commited yesterday to src/inkscape-stock.cpp, src/sp-item.cpp, src/sp-marker.cpp, src/sp-shape.cpp, src/style.cpp, src/style.h, src/dialogs/stroke-style.cpp to implement marker UI and fixes to the marker rendering code. 2004-04-11 Ted Gould * src/extension/system.cpp, src/extension/internal/eps-out.cpp src/extension/internal/eps-out.h: First pass at a file save dialog with EPS output. The dialog sets the bounding box in the file. Comments encouraged. 2004-04-11 Ted Gould * src/file.cpp, src/main.cpp, src/print.cpp, src/extension/init.cpp, src/extension/init.h, src/extension/system.cpp, src/extension/system.h, src/extension/implementation/script.cpp, src/extension/internal/eps-out.cpp, src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp, src/extension/internal/ps.cpp, src/extension/internal/svg.cpp, src/extension/internal/win32.cpp: Change alot of files, but small changes. Basically just took system.cpp and init.cpp and finally ported them to the Inkscape:: Extension namespace. Cleaned up the code in them a bunch, it is much easier to read now! All the other files are just referencing these changes. 2004-04-11 Kees Cook * src/verbs.h, src/verbs.cpp, src/interface.cpp, src/interface.h: replaced the rest of the missing menu verbs: "View New", "Cleanup". Created generic function to add icons to a given menu item (for submenu icons mostly). * share/icons/icons.svg: added "selection_cleanup", "selection_deselect", "selection_select_all". Corrected "view_new" and "selection_smooth", "dialog_toggle", "dialog_tool_options", "file_open_recent". * src/selection-chemistry.cpp, src/selection-chemistry.h: renamed "selection_cleanup" function. 2004-04-11 Jon Phillip * Makefile.mingw share/Makefile.am src/Makefile.am share/markers/Makefile.am share/markers/.cvsignore config.h.mingw configure.in: Added the proper infrastructure to get files to the right location for markers. * share/tutorials/tipsandtricks.svg: Deleted the URL trick because it no longer works or something. 2004-04-11 Kees Cook * src/verbs.h, src/verbs.cpp: added verbs for the Help and Tutorials menus. * src/interface.cpp: replaced contents of sp_ui_menu_help to use new verbs. * src/help.h, src/help.cpp: replaced sp_help_keys with more generic sp_help_open_screen, similar to sp_help_open_tutorial. * share/icons/icons.svg: created really ugly "help_tutorials" and "help_keys" icons. The "help_keys" one needs the most help. :) 2004-04-09 Ted Gould * share/extensions/Makefile.am, share/extensions/epsi_output.inkmod, share/extensions/ps2epsi.sh, src/extension/extension.cpp, src/extension/extension.h, src/extension/init.cpp, src/extension/implementation/implementation.cpp, src/extension/implementation/implementation.h, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/internal/Makefile.am, src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h, src/extension/internal/ps.cpp: Okay, these are some changes that I've had in my directory for a little while. 1) adding the basics of checking extensions. This will allow them to remove themselves based on their dependencies failing. 2) Adding the concepts of a 'helper extension' to scripts. This allows them to use other extensions for handling the data, so they don't have to deal with SVG directly - Inkscape will build the pipeline. An example of this is the epsi output. 3) Adding the bounding box change provided by Carl Hetherington to the Postscript output. The EPS output plugin sets this, so now EPSes have smaller bounding boxes. A GUI needs to be written for this setting. 2004-04-08 MenTaLguY * configure.in, src/svg/ftos.cpp: fix for OS X build * src/extensions/internal.ps.cpp: crash fix 2004-04-07 MenTaLguY * src/xml/repr.cpp: adjusted the advertising comment in the default document template (we need a real default document template, btw) * src/svg/ftos.cpp, src/svg/itos.cpp, src/svg/round.cpp, src/svg/ftos.h, src/svg/stringstream.h: incorporated Bryce's number serializing code (disabled for now, due to the impending release) * src/dialogs/stroke-style.cpp, src/dialogs/sp-shape.cpp: nuked unused variables 2004-04-07 bulia byak * icons.svg: Alignment fix * src/select-toolbar.cpp: Swapped rotate buttons * share/tutorials/: Cleanup, added Russian translation of basic * extension/extension.cpp extension/system.cpp extension/internal/ps.cpp extension/implementation/script/cpp: Fixes to make non-ascii filenames work again * src/verbs.cpp: Remove xpm icon that causes trouble on win32 * share/examples/: new gradient.svg, tiger.svgz, cleanup * src/widgets/gradient-vector.cpp: Crash fix: loading new gradient into the editor does not completely reset it * share/icons/icons.svg: New dialog icons, draw tool icons, changed colors * src/dialogs/align.cpp src/helper/bezier-utils.cpp: remove pjrm's debug output * share/tutorials/: SVG cleanup: remove unused font properties, wrong radius paths in ellipses (leftovers from old versions). Expanded & updated tips & tricks. * file.cpp: Set uri on save in one place; save 'offcially' from here only * system.cpp system.h: Remove redundant uri-setting on open and save, add official arg to sp_module_system_save to prevent docname/docbase changing on temporary saves * many files: _() fixes, edits in labels, messages, tooltips, mnemonics * src/inkscape.cpp: remove redundancy in error messages for failing to load prefs * share/extensions src/extension/internal: Renaming file formats to include (*.ext) * src/interface.cpp src/dialogs/filedialog.cpp: Transientize, make modal open/save dialogs, ditto for warning overwrite and make it unresizeable * src/dialogs/xml-tree.cpp: Do not deselect item on canvas when a non-selectable thing is highlighted in xml editor * src/sp-guide.cpp: Guide position updated after undo * src/widgets/sp-xmlview-attr-list.cpp: Max length of viewable attributes increased * many files: Adib's svgostringstream patches to remove printfs * src/selection-chemistry.cpp: Crash fix when pasting style to an object that has none (e.g. group) * src/knot.cpp: Knot dragging autoscrolls * src/sp-text.cpp src/text-context.cpp: Cursor movements autoscroll * src/desktop.h src/desktop.cpp: autoscrollspeed can be overridden in call to sp_desktop_scroll_to_point * src/text-context.cpp src/sp-text.cpp: Text cursor made inverse. Initial cursor after click is no longer horizontal. * src/helper/sp-ctrlline.cpp: Always-visible inversion for ctrlline * src/libnrtype/nr-type-w32.cpp: Fix stretch and variant on win32 * src/widgets/gradient-vector.cpp: Undo fix; new stop takes average of its neighbors' colors; is between stops even when the last stop is selected 2004-04-06 Ted Gould * src/file.cpp, src/dialogs/filedialog.cpp, src/extension/extension.cpp, src/extension/system.cpp: Moving code around so that the filename extension gets put on by the extension that is saving the file. This adds a couple complications in that the extension now needs to check for overwriting the file and also set the document URI. Better overall, but a PITA. 2004-04-05 njh * debian/rules,debian/control: applied patch from Kees Cook to remove obsolete libraries, and to tidy things up a tad. 2004-04-04 Ted Gould * src/main.cpp, src/extension/extension.cpp, src/extension/system.cpp: Now the input autodetect will try the SVG filter if the autodetect fails. This was done by the command line, but now it is done everywhere. 2004-04-04 MenTaLguY * src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr.h: Take the full list of document node children from libxml, and append them in the correct order. This fixes bug #929348. * src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr-private.h: Added API for coping with comments at the root level (i.e. siblings of the root XML node), and made corresponding changes to the repr-io code. In theory this should be enough to preserve them upon loading, though in practice it still doesn't appear to be working (bug #929348). Is there some libxml thing we need to do? 2004-04-04 Ted Gould * a bunch of files Sorry, I seem to be in some delay getting e-mail. Anyway, a few files were changed to add in a new parameter 'dataloss' Basically this signifies that a format was used to save that may not save the whole document and thus, a pop-up is elevated on close to signal that you might want to 'really save' this document. 2004-04-03 Ted Gould * share/extensions/svgz_input.inkmod, src/file.cpp, src/extension/extension.cpp, src/extension/internal/svg.cpp: Making it so that input extensions can specify the output extension that gets used to save them. If this field isn't filled in, the value gets set to NULL, and then the Save As dialog is used instead of just trying to save. 2004-04-03 Ted Gould * src/file.cpp, src/main.cpp, src/extension/extension.cpp, src/extension/extension.h, src/extension/system.cpp, src/extension/internal/svg.cpp: Fixing the output_extension flag to not be saved in a file, but also to be able to be specified by the input module. Also, this fixes the commandline processing of files to make them use the extension system. 2004-04-02 Ted Gould * src/file.cpp, src/extension/db.cpp, src/extension/internal/svg.cpp: Changing it so that SVG documents open and default to with extension namespace. Also, autodetect is reenabled. 2004-04-03 Peter Moulder * src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Fix my previous commit. 2004-04-02 Ted Gould * share/extensions/svgz_output.inkmod, src/main.cpp, src/print.cpp, src/extension/init.cpp, src/extension/implementation/script.cpp, src/extension/implementation/script.h, src/extension/internal/Makefile.am, src/extension/internal/ps-out.cpp, src/extension/internal/ps-out.h, src/extension/internal/ps.cpp: Fixing the commandline printing. This required fixing both the print driver to handle the newer extensions stuff. It seems happy now. I went ahead and implemented save as postscript while I was at it. 2004-04-02 Peter Moulder * src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Ensure that the "improved" value is never worse than the previous guess. * src/helper/bezier-utils.cpp: Greater CodingStyle conformance, mainly whitespace changes. * src/helper/bezier-utils.cpp (sp_bezier_fit_cubic_full): Always reparameterize between generate_bezier and calc_max_error. Switch from discouraged alloca (see man page) to g_new, at cost of some extra g_free calls in the code. (reparameterize): Do in-place modification. * src/helper/bezier-utils-test.cpp: Add tests for generate_bezier, sp_bezier_fit_cubic_full. Change to a simpler test bezier. * src/helper/bezier-utils.cpp (sp_darray_left_tangent, sp_darray_right_tangent): Switch to using just the two end points for calculating the gradient. (The old code could sometimes cause g_warning's.) Correct the documentation of requirements. (sp_darray_center_tangent): Similarly remove the #if'ed out code for looking at more than two points. See doc/Changelog_archive.txt for older entries # Local Variables: # tab-width:8 # indent-tabs-mode:t # End: # vim: tabstop=4:noexpandtab:shiftwidth=4