ChangeLog revision a43b75210ff4c9e9b45fca2285fbeaf16ce8bd17
2006-02-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
Fix two bugs from my commit yesterday.
2006-02-10 Michael Wybrow <mjwybrow@users.sourceforge.net>
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 <mental@rydia.net>
* src/widgets/icon.cpp: get rid of icon prerender time messages
2006-02-07 MenTaLguY <mental@rydia.net>
share_static -> share_static_string
2006-02-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
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 <mscholtn@xs4all.nl>
* 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 <mental@rydia.net>
replace Util::SharedCStringPtr with the nicer and more general
Util::shared_ptr<>
2006-02-03 Jon Phillips <jon@rejon.org>
* src/verbs.cpp: Added "..." to "Trace Bitmap" text. Yes, what a
simple and dumb thing to add for consistency.
2006-01-24 Michael Wybrow <mjwybrow@users.sourceforge.net>
Some minor upstream libavoid fixes.
2006-01-23 Carl Hetherington <inkscape@carlh.net>
* 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 <mjwybrow@users.sourceforge.net>
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 <mscholtn@xs4all.nl>
Added style swatches,
Changed Gtk::Requisition Gtk::Widget::size_request() to
void Gtk::Widget::size_request(const Requisition& requisition)
Added DialogPage::set_tip()
2006-01-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
Use a modified fonts.conf file for Mac OS X that includes the
standard user font directory ~/Library/Fonts.
2006-01-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/svg/Makefile_insert: Updated to reflect a previous header
file renaming.
2006-01-12 Marco Scholten <mscholtn@xs4all.nl>
Converted preferences dialog to gtkmm
New files.
* src/verbs.cpp: updated to start new dialog.
2006-01-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
Fix some compilation problems on Mac OS X after recent
includes cleanup.
2006-01-05 Jon A. Cruz <jon@joncruz.org>
Corrected resize behavior of canvas/swatches split.
2006-01-06 Mathieu Dimanche <mdimanche@free.fr>
* src/util/units.cpp: forcin 'C' locale for reading units.txt file
Fixes bug #1391348.
2006-01-05 MenTaLguY <mental@rydia.net>
* src/libnr/nr-maybe.h: fix constness/local reference issues
2006-01-04 MenTaLguY <mental@rydia.net>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <jon@joncruz.org>
Adding split pane for swatches.
2006-01-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <scislac@users.sf.net>
Added "invert" function to right-click menu of style selector.
2005-12-22 Jon A. Cruz <jon@joncruz.org>
Updated to newer version from the Tango project.
2005-12-21 Jon A. Cruz <jon@joncruz.org>
Adding panels/swatches to main UI.
2005-11-23 Tim Dwyer <tdwyer@mail.csse.monash.edu.au>
* 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 <mjwybrow@users.sourceforge.net>
* 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 <inkscape@carlh.net>
display/nr-arena-shape.h, widgets/icon.cpp: more NRRect removal.
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 <inkscape@carlh.net>
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 <inkscape@carlh.net>
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 <inkscape@carlh.net>
src/ui/widget/ruler.cpp: make desktop's transforms private
members.
src/svg/svg.h: partial C++-ificiation of SPSVGLength. Rename it
to SVGLength.
2005-12-13 Mathieu Dimanche <mdimanche@free.fr>
* src/snapped-point.{cpp,h} : new files.
* src/Makefile_insert : Added the new files
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 <mental@rydia.net>
* src/widgets/desktop-widget.cpp: moved some widgets into statusbar
widget for more aesthetic appearance
2005-12-12 Carl Hetherington <inkscape@carlh.net>
* src/arc-context.cpp: minor cleanups. Use SnapManager more. Use
Inkscape::setup_for_drag_start.
src/spiral-context.cpp, src/star-context.cpp: use SnapManager.
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.
remove an unnecessary parameter from sp_item_dt2i_affine().
2005-12-09 Carl Hetherington <inkscape@carlh.net>
* src/object-snapper.cpp: make node snapping work again.
* src/star-context.cpp: use SnapManager. Some other minor cleanups.
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 <inkscape@carlh.net>
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 <inkscape@carlh.net>
* src/libnr/nr-convex-hull.h: remove unnecessary includes.
* src/line-snapper.{cpp,h}, src/object-snapper.{cpp,h},
src/sp-namedview.{cpp,h}, src/spiral-context.cpp,
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 <inkscape@carlh.net>
* 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 <inkscape@carlh.net>
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 <ted@gould.cx>
Adding the .inx files as [type: gettext/xml] so that they will get
translated. Good stuff.
Marking the user visible strings as translatable.
Changed to handle translated .inx files. They will find the data, and
mark the right strings as translated.
Changed menu handling to be push instead of pull
2005-12-02 Carl Hetherington <inkscape@carlh.net>
* src/dropper-context.cpp: coding style.
C++-ification of SPNamedView.
2005-12-01 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
* 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 <mental@rydia.net>
moved zoom selector away from the right edge so it won't get covered
by window manager decorations
2005-12-01 MenTaLguY <mental@rydia.net>
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 <inkscape@carlh.net>
* src/sp-namedview.cpp: coding style.
2005-12-01 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.cpp: added idle calback pre-render.
2005-11-30 MenTaLguY <mental@rydia.net>
* src/ui/dialog/aboutbox.cpp: make 'close' button default widget,
and rename "About" tab to "_Splash"
2005-11-30 Carl Hetherington <inkscape@carlh.net>
* 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.
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 <mental@rydia.net>
clean up and simplify About dialog; fix memory management (mostly)
2005-11-25 Robert Crosbie <swingincelt@gmail.com>
* 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 <mental@rydia.net>
* src/shortcuts.cpp, src/interface.cpp: prune back shortcuts API in
preparation for configurable key bindings work
2005-11-24 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: remedy erroneous initialization of doubles with NULL
2005-11-24 MenTaLguY <mental@rydia.net>
* src/seltrans.cpp: prune dead wood (sp_sel_trans_handle_click)
2005-11-24 MenTaLguY <mental@rydia.net>
cosmetic renaming
2005-11-23 Robert Crosbie <swingincelt@gmail.com>
* 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 <pmoulder@mail.csse.monash.edu.au>
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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh: Fix a typo resulting from last change.
2005-11-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <jon@rejon.org>
Inkscape builds okay.
2005-11-12 Ralf Stephan <ralf@ark.in-berlin.de>
new-gui: made complete statusbar widget, equals old-gui now
classes have now a constructor with default parameter
* src/ui/widget/zoom-status.cpp: smaller font
2005-11-12 MenTaLguY <mental@rydia.net>
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 <mjwybrow@users.sourceforge.net>
* 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 </b>" warning.
2005-11-08 Ralf Stephan <ralf@ark.in-berlin.de>
merged with branch CXXIFICATION_VIEW_AND_WIDGET
move gtk code into desktop-widget.cpp, called via desktop
* src/ui/view/Makefile_insert: added files edit-widget-interface.h,
the EditWidget is the Gtkmm version of the SPDesktopWidget
these are widgets part of the EditWidget
divide code /wrt Application::getNewGui(): if true, it's called by the
Gtkmm application and the inkscape object is meaningless
replace UI specific return value of getWindow() with void*
made Editor a singleton, collect global UI code here that (for Gtk+)
lives in inkscape.cpp and elsewhere
simplify calls to desktop->set_coordinate_status
widget is no longer available through desktop
move preferences handling into preferences.cpp/h
use EditWidgetInterface, more cosmetics
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 <ted@gould.cx>
* 0.43pre2
2005-11-01 Jon A. Cruz <jon@joncruz.org>
Applied modified patch 1341198.
2005-10-31 Jon A. Cruz <jon@joncruz.org>
Applied patch from RFE 1247694.
2005-10-26 Jon A. Cruz <jon@joncruz.org>
Trimmed bad lines. Fixed bug 1310742.
2005-10-24 Ted Gould <ted@gould.cx>
* 0.43pre1
2005-10-22 Jon A. Cruz <jon@joncruz.org>
Patch 1334818.
2005-10-22 Jon A. Cruz <jon@joncruz.org>
Updating Win32 parameter filename handling.
2005-10-22 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Correct two typos. Fixes bug #1333915.
2005-10-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Fix a bug where undoing creation of
new connectors revealed intermediate steps.
Applied a couple of libavoid fixes. One of which addresses
a possible crash bug.
2005-10-19 Ted Gould <ted@gould.cx>
* 0.43pre0
2005-10-19 Jon A. Cruz <jon@joncruz.org>
* inkscape32-16.ico: patch 1323419
2005-10-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <jon@joncruz.org>
Switched command-line name conversion from filename to locale.
Fixes bug #1250124.
2005-10-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <b> found in translations.
2005-10-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/isnan.h: Update to allow compilation on OSX 10.4.
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 <jon@joncruz.org>
Adding the Tango palette.
2005-10-13 MenTaLguY <mental@rydia.net>
* 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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
* 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.
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 <mjwybrow@users.sourceforge.net>
* 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 <ralf@ark.in-berlin.de>
make empty destructor, fixes #1291009
2005-09-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* Info.plist.in: Associate .svgz files with Inkscape on OSX.
Fixes bug #1307083.
2005-09-27 MenTaLguY <mental@rydia.net>
* src/gc-anchored.h: emphasize initial refcount
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 <bpfowler@users.sourceforge.net>
* autogen.sh: Cleanup error message.
2005-09-20 Carl Hetherington <inkscape@carlh.net>
desktops with help files / tutorials. Fixes 1249067.
2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
gcc4 needs more const correctness, fixes #1294298
2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
correcting old and new oversights, fixes #1290982
2005-09-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
* src/object-edit.cpp: fix idiotic bug introduced in previous commit.
2005-09-14 Carl Hetherington <inkscape@carlh.net>
* src/knot.cpp, src/knotholder.cpp: coding style.
2005-09-13 Ralf Stephan <ralf@ark.in-berlin.de>
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 <inkscape@carlh.net>
* 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 <jon@joncruz.org>
Icon preview now toggles between selection or whole document.
Fixes REF #1281883.
2005-09-12 Ralf Stephan <ralf@ark.in-berlin.de>
* src/widgets/ruler.cpp: fixed precision problem (bug #1242995)
2005-09-12 Peter Moulder <pmoulder@bowman.csse.monash.edu.au>
* src/libnrtype/Layout-TNG-Compute.cpp (Calculator::_measureUnbrokenSpan):
Fix line breaking for [supposedly] non-breaking whitespace characters.
2005-09-11 Ralf Stephan <ralf@ark.in-berlin.de>
* po/nl.po: replaced all instances of "verkleint" with "verkleind"
(bug #1277695)
2005-09-10 Jon A. Cruz <jon@joncruz.org>
Made icon preview sizes configurable. Fixes REF #1281885.
2005-09-08 Carl Hetherington <inkscape@carlh.net>
* src/object-edit.cpp: Coding style in SPRect portion. Add
Emacs/vim mode blocks.
2005-09-08 Ralf Stephan <ralf@ark.in-berlin.de>
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 <mental@rydia.net>
Add Session and Document createElementNode, createCommentNode,
and createTextNode methods
2005-09-06 Ralf Stephan <ralf@ark.in-berlin.de>
added macros SP_DT_MSGSTACK/NAMEDVIEW/WIDGET, moved last
macros from desktop.h
moved default_metric and default_unit into namedview
moved window member into desktop widget
removed dependency on desktop.h
minor adaptation due to the above changes
* src/ui/dialog/session-player.cpp: didn't #include config.h
2005-09-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
Add keyboard shortcuts for the connector tool -- Ctrl+F2 and 'o'.
2005-09-05 Ralf Stephan <ralf@ark.in-berlin.de>
removed dependency on desktop.h
added dependencies because of above changes
2005-09-04 Kees Cook <kees@outflux.net>
Implemented AboutDialog following the Gnome style.
* packaging/win32/inkscape.nsi: added quotes around execution name.
2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
minor edits to completely remove SPView identifier, and some
dependencies
2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <glib/gstdio.h>
if using glib 2.6.0 or greater, since it is not available in earlier
versions.
2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
separated SPSVGViewWidget from SPSVGView
moved SPDesktop from GObject to C++/sigc++
removed SP_DESKTOP*, SP_SVG_VIEW* macros and dependencies
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
minor adaptations due to the above changes
* src/desktop-events.h: removed dependencies
* src/selection.cpp: improved doxygen documentation
2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <aaron@ekips.org>
* 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 <mjwybrow@users.sourceforge.net>
* 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 <mjwybrow@users.sourceforge.net>
* 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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
* 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/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 <mjwybrow@users.sourceforge.net>
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 <mjwybrow@users.sourceforge.net>
Use "inkscape:connector-avoid" instead of "inkscape:avoid".
2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/timer.cpp: Remove some code assuming a fixed size for
timer types.
2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <yipdw@rose-hulman.edu>
* src/ui/dialog/whiteboard-connect.{cpp,h},
Improved widget layout (switched to Gtk::Table)
Fixed crash that occurred when connecting via SSL to a Jabber
server that does not support SSL
2005-08-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
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.
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.
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 <mjwybrow@users.sourceforge.net>
* share/icons/icons.svg: Add a couple of icons for the connector
context toolbar.
2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
Add libavoid code, the library that does all the path planning
work for autorouting connectors.
2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <ralf@ark.in-berlin.de>
separated SPViewWidget from SPView
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 <ralf@ark.in-berlin.de>
abstracted out all Gtk+ calls from SPDesktop into SPDesktopWidget
improved doxygen documentation
2005-08-25 Michael Wybrow <mjwybrow@users.sourceforge.net>
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 <ralf@ark.in-berlin.de>
separated SPDesktopWidget from SPDesktop
* src/desktop-widget.h: removed
src/gradient-toolbar.h: moved into src/widgets
adapted following SPDesktopWidget separation
2005-08-24 David Yip <yipdw@rose-hulman.edu>
src/ui/dialog/whiteboard-connect.{cpp,h}:
added support for XMPP over SSL to Inkboard
2005-08-22 Ralf Stephan <ralf@ark.in-berlin.de>
both dialogs are now unresizable (bug #1237865)
* src/main.cpp: enhanced doxygen main page
2005-08-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <ralf@ark.in-berlin.de>
* 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 <mjwybrow@users.sourceforge.net>
Rework connector context to extend SPEventContext instead of
SPDrawContext, and remove most of the borrowed draw context
code.
2005-08-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <kees@outflux.net>
* 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 <mjwybrow@users.sourceforge.net>
Align the "Oversample bitmaps" option in the preferences
dialog with all the other options.
2005-08-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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.
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 <jon@joncruz.org>
* src/knot.cpp: Corrected type conflict for crash bugs.
2005-08-18 Ralf Stephan <ralf@ark.in-berlin.de>
* src/Doxyfile: added 4 more files
src/extension/internal/gimpgrad.cpp: improved doxygen documentation
2005-08-16 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.h, src/desktop.cpp: replaced gboolean with bool
* src/display/curve.cpp: made is_moveto() inline
added editor footer
improved doxygen documentation
2005-08-14 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: quick fix for crash bug when
deleting unnamed layer [bug 1255843]
2005-08-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
* 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 <ralf@ark.in-berlin.de>
* 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 <mjwybrow@users.sourceforge.net>
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 <ralf@ark.in-berlin.de>
src/event-context.cpp: replaced gboolean with bool
* src/document-undo.cpp: added editor footer
improved doxygen documentation
2005-08-10 David Yip <yipdw@rose-hulman.edu>
* src/Makefile_insert: added composite-undo-stack-observer.{cpp,h}
* src/document.{cpp.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/chat-handler.cpp: updated to work with new listeners
src/jabber_whiteboard/defines.h: new message types (TODO: trim out dead
types)
* 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 <ralf@ark.in-berlin.de>
* src/main.cpp: introduced doxygen doc main page with links
2005-08-09 Ralf Stephan <ralf@ark.in-berlin.de>
* src/Doxyfile: added 5 more files
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
improved doxygen documentation
2005-08-08 MenTaLguY <mental@rydia.net>
* README.txt, README: make autotools happy
2005-08-06 MenTaLguY <mental@rydia.net>
* Makefile.am, HACKING, HACKING_de, HACKING_fr, HACKING_it,
README, README_ca, README_de, README_fr, README_it,
saner filenames
2005-08-06 MenTaLguY <mental@rydia.net>
Implement XML::LogBuilder class and use it from XML::SimpleSession.
2005-08-06 MenTaLguY <mental@rydia.net>
rejigger the way XML event logs are handled, based on NodeObservers
2005-08-06 MenTaLguY <mental@rydia.net>
* src/xml/simple-session.cpp: minor formatting cleanups
2005-08-06 Ted Gould <ted@gould.cx>
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 <ralf@ark.in-berlin.de>
removed a dependency, made refresh_offset_source() static
replaced gboolean with bool
improved doxygen documentation
2005-08-05 MenTaLguY <mental@rydia.net>
* inkscape.spec.in: include translated manpages
2005-08-05 Michael Wybrow <mjwybrow@users.sourceforge.net>
* po/nl.po: fix a typo: close a bold tag.
2005-08-03 David Yip <yipdw@rose-hulman.edu>
fixed incorrect template specialization syntax,
removed duplicate definitions (oops...)
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 <ralf@ark.in-berlin.de>
* 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
improved doxygen documentation
2005-08-03 David Yip <yipdw@rose-hulman.edu>
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 <bryce@bryceharrington.org>
* src/ui/dialog/*.*: Update copyrights
* 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 <yipdw@rose-hulman.edu>
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 <mjwybrow@users.sourceforge.net>
* src/display/curve.cpp: Correctly free an array with "delete []".
2005-08-02 David Yip <yipdw@rose-hulman.edu>
removed unnecessary anchoring of XML::Nodes in XMLNodeTracker
2005-08-02 David Yip <yipdw@rose-hulman.edu>
moved back to GC::Alloc from traceable_allocator
fixed anchor-release problem with XML::Nodes in XMLNodeTracker
2005-08-01 MenTaLguY <mental@rydia.net>
* src/gc.cpp, src/gc-core.h: Hans says it's okay to use
GC_malloc_atomic_uncollectable
2005-08-01 MenTaLguY <mental@rydia.net>
* src/gc-alloc.h: fix improper allocation size
2005-08-01 David Yip <yipdw@rose-hulman.edu>
* 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 <yipdw@rose-hulman.edu>
added Inkboard UI stock items
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)
added necessary UI code to access Inkboard functions
Initial commit of Inkboard code
C++/Gtkmm replacements for some old C/Gtk dialogs
* configure.ac:
added Inkboard configure checks
added Inkboard code stubs to new Gtkmm code
added Inkboard code stubs to menu UI XML
2005-08-01 Ralf Stephan <ralf@ark.in-berlin.de>
* src/sp-object.cpp: improved doxygen documentation
2005-07-31 Ralf Stephan <ralf@ark.in-berlin.de>
* src/nodepath.cpp: removed three dependencies
2005-07-31 MenTaLguY <mental@rydia.net>
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 <ralf@ark.in-berlin.de>
* 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
improved doxygen documentation
* src/event-context.cpp: added a \todo
* src/geom.cpp: added editor footer
2005-07-30 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
* src/shortcuts.cpp: made Ctrl+Shift+G the "primary" ungroup shortcut
2005-07-28 Carl Hetherington <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <ralf@ark.in-berlin.de>
* src/Doxyfile: added 10 further files to the scanned list
made file work with src/Doxyfile
moved part of documentation into *.cpp file
src/xml/repr.cpp: documentation improvements
* src/sp-item.h: added editor footer
2005-07-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
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.
Don't link unused ftos.cpp, but do link new file stringstream.cpp.
2005-07-26 Michael Wybrow <mjwybrow@users.sourceforge.net>
* share/icons/icons.svg: Add icon for connector context.
2005-07-25 Ralf Stephan <ralf@ark.in-berlin.de>
* 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,
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/libnr/nr-types.h: added editor footer
made file work with src/Doxygen, doxygen documentation improvements
2005-07-24 Ted Gould <ted@gould.cx>
* 0.42 Release
2005-07-21 Ted Gould <ted@gould.cx>
* 0.42pre3
2005-05-21 Kees Cook <kees@outflux.net>
Hooked up Gtkmmified Icon manager correctly. (bug 1217367)
* Makefile.mingw, Makefile.mingw.common: patch 1241293 for build fixes
2005-07-12 Ted Gould <ted@gould.cx>
* 0.42pre2
2005-07-11 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
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 <bpfowler@users.sourceforge.net>
* src/interface.cpp: Spackle for Bug 1217361 "freeze on quitting
with transform dialog"
2005-07-06 Ben Fowler <bpfowler@users.sourceforge.net>
* src/interface.cpp: Whitespace changes only
2005-07-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
Changes and new files required to build an Inkscape dmg on Mac OS X.
2005-07-05 Ted Gould <ted@gould.cx>
* 0.42pre1
2005-07-04 MenTaLguY <mental@rydia.net>
* src/sp-metadata.cpp: strip id= attributes under rdf:RDF elements
2005-07-04 MenTaLguY <mental@rydia.net>
don't force id= attributes on anything except elements in the SVG,
Sodipodi, or Inkscape namespaces.
2005-07-04 MenTaLguY <mental@rydia.net>
* src/verbs.cpp: redo cryve's fix to use defaultLabel() rather than
label()
2005-07-04 Bryce Harrington <bryce@bryceharrington.org>
* src/livarot/float-line.cpp: Patch from Ralf Stephan
<ralf@ark.in-berlin.de> to suppress two warnings.
2005-06-28 Ted Gould <ted@gould.cx>
* 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 <ted@gould.cx>
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 <ted@gould.cx>
Adding support for information coming back on STDERR from scripts. This
fixes bug #1220959 and RFE #1178941
2005-07-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
Implement currentColor as possible value for stop-color, as per spec.
2005-07-02 Kees Cook <kees@outflux.net>
* src/dialog/rdf.cpp: Added FreeArt license, RFE #1230981.
2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
* 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 <bpfowler@users.sourceforge.net>
src/extension/internal/ps.cpp: Replaced calls to gtk_widget_set_usize
with GTK2 version.
2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
* inkscape.pod, src/main.cpp: Applying Makzu's patch to implement
--vacuum-defs
2005-06-28 Ted Gould <ted@gould.cx>
* 0.42pre0
2005-06-23 MenTaLguY <mental@rydia.net>
support for ruby scripts (interpreter="ruby")
2005-06-20 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
* src/xml/repr-io.cpp: whoops... don't emit xmlns:xml
2005-06-18 Richard Hughes <cyreve@users.sourceforge.net>
implement double- and triple-clicking of text for selecting the
current word and line respectively
2005-06-16 MenTaLguY <mental@rydia.net>
* 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 <aaron@ekips.org>
* confiugre.ac,
Adding the autopackage specfile
2005-06-10 Richard Hughes <cyreve@users.sourceforge.net>
use ctrl-left/right for moving cursor by word in text mode,
and ctrl-a for select all text
2005-06-09 Bryce Harrington <bryce@bryceharrington.org>
Hooking up Aubanel's new align and distribute dialog
2005-06-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <ted@gould.cx>
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 <mental@rydia.net>
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 <mental@rydia.net>
* 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 <mental@rydia.net>
propagate SVG version upwards, and move SPVersion into Inkscape
namespace
2005-05-24 Simarilius <Simarilius@yahoo.com>
Converted the tiledialog over to the inkscape:ui:dialog class and hooked
it into dialog manager
2005-05-24 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
* share/extensions/<alot>
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 <mental@rydia.net>
refactoring of the dialog manager code, introducing factory
functions and a method specifically for showing a dialog
2005-05-19 MenTaLguY <mental@rydia.net>
fix layer property undo crash bugs (#1192708 and #1171704)
2005-05-19 MenTaLguY <mental@rydia.net>
moved GC Heap statistics stuff into libdebug to ease circular
dependencies
2005-05-17 MenTaLguY <mental@rydia.net>
reduce magnitude of memory jitter somewhat by avoiding some vector
resizing and copying
2005-05-16 MenTaLguY <mental@rydia.net>
revised Debug::Heap API slightly
thousands separators and other niceties. 'apply' now forces a
garbage collection and immediate update.
2005-05-16 MenTaLguY <mental@rydia.net>
* src/ui/dialog/memory.cpp: re-use existing rows, though it doesn't
seem to help memory jitter much
2005-05-15 MenTaLguY <mental@rydia.net>
* src/debug/heap.cpp: fix bounds error
flesh out basic memory info dialog
2005-05-15 MenTaLguY <mental@rydia.net>
* configure.ac: cleaned up tests
* src/debug/heap.cpp: fixed feature macro names
2005-05-15 MenTaLguY <mental@rydia.net>
* configure.ac: added tests for mallinfo and malloc.h
fix up Debug::Heap API slightly
2005-05-14 MenTaLguY <mental@rydia.net>
added skeletal memory statistics dialog
2005-05-12 Juerg Billeter <j@bitron.ch>
* 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 <bryce@bryceharrington.org>
Moving view.* into src/ui/view/
2005-05-09 MenTaLguY <mental@rydia.net>
* src/gc-alloc.h: const-correctness fix
2005-05-08 Bryce Harrington <bryce@bryceharrington.org>
* configure.ac: Defaulting with-gnome-vfs to on if library is
present.
* po/POTFILES.in : Fixed error causing compile failure
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 <mental@rydia.net>
* src/Makefile_insert: change link order since the GC code now
depends on the debugging stuff
added heap statistics stuff
* src/gc.cpp: register the GC heap with the heap statistics facility
2005-05-07 MenTaLguY <mental@rydia.net>
hide the global Ops structure from the outside world, and expose
some additional libgc API.
2005-05-07 Ted Gould <ted@gould.cx>
* src/extension/parameter.cpp: bug fix for empty string parameter
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 <mental@rydia.net>
* 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 <mental@rydia.net>
PropertyPair is now its own class
* src/xml/simple-node.cpp: add logging of XML node mutation
added CompositeNodeObserver class, which will eventually replace
the existing notifier lists
2005-05-05 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: try to cleanly terminate log in case of crashes
2005-05-05 MenTaLguY <mental@rydia.net>
add debug logging for undo+redo+transactions
2005-05-05 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
added src/debug/ subdir
* src/gc-alloc.h: no default management type for now
src/debug/logger.h: simple XML logging facility
* src/util/Makefile_insert: fixed cut-and-paste error
2005-04-29 Jon A. Cruz <jon@joncruz.org>
Added property to swatch to block taking focus.
2005-04-28 Jon A. Cruz <jon@joncruz.org>
Adding new widget for color swatch usage.
2005-04-24 Bryce Harrington <bryce@bryceharrington.org>
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 <ted@gould.cx>
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 <jon@joncruz.org>
Changed CMYK selector to display values as 0-100. Fixes REF #1124499.
2005-04-21 Jon A. Cruz <jon@joncruz.org>
Expand entities; matches 0.41 behavior. Fixes bug #1157478.
2005-04-20 Jon A. Cruz <jon@joncruz.org>
Turned off the half-done <animate> element. Fixes bug #1119935.
2005-04-19 Carl Hetherington <inkscape@carlh.net>
* 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 <piersvdt@users.sourceforge.net>
Fixed skew so it displays and snaps to angle instead of percentage.
2005-04-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
add missing include of nr-point-matrix-ops.h.
2005-04-17 Jon A. Cruz <jon@joncruz.org>
Corrected improper use of static. Fixes bug #1171919.
2005-04-16 Ted Gould <ted@gould.cx>
Adding in autogui for strings and booleans. Also making everything
a little more robust.
2005-04-17 cyreve <cyreve@users.sourceforge.net>
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 <cyreve@users.sourceforge.net>
libnrtype/font-style.h: make miter-limit work for text outlines
(bug 1094430)
2005-04-16 Ted Gould <ted@gould.cx>
* 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.
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 <jon@rejon.org>
* src/toolbox.cpp: removed code that was beeping and prepped for new
drag-n-drop color swatches.
2005-04-13 cyreve <cyreve@users.sourceforge.net>
* src/path-chemistry.cpp: wire up converting object to path for
flowtext
2005-04-13 Jon A. Cruz <jon@joncruz.org>
Simple drag-n-drop out from color swatches.
2005-04-12 cyreve <cyreve@users.sourceforge.net>
text-editing.cpp, text-editing.h: cut and copy selected text (bug
1175441)
2005-04-12 Ted Gould <ted@gould.cx>
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 <jon@joncruz.org>
Adding drag-n-drop support for arbitrary images. Fixes bug 1177714.
2005-04-10 Ted Gould <ted@gould.cx>
* 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 <bryce@bryceharrington.org>
C++-ification. Created some C++ wrapper member functions for
SPView and SPSVGView, to enable Gtkmmification of SPDesktop
2005-04-09 MenTaLguY <mental@rydia.net>
excise STL abuse, and fix up the glib list iterators
2005-04-09 MenTaLguY <mental@rydia.net>
combined several different 64-bit cleanness patches
2005-04-08 Jon Phillips <jon@rejon.org>
added copyright statements about dialog manager code I wrote.
2005-04-08 MenTaLguY <mental@rydia.net>
renaming Inkscape::Selection methods that deal with XML::Nodes
2005-04-08 MenTaLguY <mental@rydia.net>
* src/document-undo.cpp: try again with handling incomplete transactions
more gracefully
2005-04-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <bryce@bryceharrington.org>
: Implementing preliminary load-from-URI functionality.
2005-04-02 MenTaLguY <mental@rydia.net>
more debugging info for incomplete transactions
2005-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.cpp: Fix crash with cycles in gradient hrefs.
2005-04-01 Jon A. Cruz <jon@joncruz.org>
Added UI for switching palettes
2005-04-01 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_merge_from_dying_parent): New function to
combine the styles of the <use> element and its ghost child when
unlinking.
* src/sp-use.cpp: Use it.
2005-03-31 Jon A. Cruz <jon@joncruz.org>
Adding palette loading.
2005-03-31 Jean-François Lemaire <jflemaire@skynet.be>
* 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 <jflemaire@skynet.be>
* 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 <jon@joncruz.org>
Adding panel menu
2005-03-27 Jon Phillips <jon@rejon.org>
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 <bryce@bryceharrington.com>
src/ui/dialog/messages.h: Initial implementation of canvas in
gtkmm. Incorporating Messages dialog.
2005-03-24 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix relative transforms to accommodate viewbox
2005-03-24 Jon A. Cruz <jon@joncruz.org>
Refactoring previewable functionality to be more generic
2005-03-24 cyreve <cyreve@users.sourceforge.net>
functions for applying style to selected text, and wire them
up to ctrl-b/ctrl-i for bold/italic
2005-03-23 Jon Phillips <jon@rejon.org>
* src/toolbox.h src/toolbox.cpp: Fixed warning messages.
2005-03-23 Jon A. Cruz <jon@joncruz.org>
Preliminary work for 'Previewable' interface.
2005-03-23 cyreve <cyreve@users.sourceforge.net>
* 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 <mental@rydia.net>
SPSelection -> Inkscape::Selection
2005-03-22 cyreve <cyreve@users.sourceforge.net>
* src/text-context.cpp: pressing esc doesn't hide text selection
libnrtype/Layout-TNG.h: make text selection inverse
2005-03-21 Jon Phillips <jon@rejon.org>
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 <mental@rydia.net>
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 <cyreve@users.sourceforge.net>
* 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
libnrtype/Layout-TNG-OutIter.cpp: further optimisation of text
selection, and an implementation for text on a path
libnrtype/Layout-TNG.h: optimisation of text selection and fixing
some bugs in it
2005-03-18 MenTaLguY <mental@rydia.net>
cleaned up the selection API slightly
2005-03-20 cyreve <cyreve@users.sourceforge.net>
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 <jon@joncruz.org>
Initial cut of swatches panel.
2005-03-19 cyreve <cyreve@users.sourceforge.net>
* src/libnrtype/Layout-TNG-Compute.cpp: rendering of
multiple-character clusters in rtl text is wrong (bug 1166603)
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)
text-editing.h, libnrtype/Layout-TNG.h: use Layout::iterator for
storing cursor position. Fixes bug 1093660 related to rtl cursor
movement
backend cursor movement functions properly for multidirectional
text
* src/libnrtype/Layout-TNG-Output.cpp: create more efficient
postscript output
Layout-TNG.h: obey text-align attribute when fitting text to a
path (fixes bug 1124722)
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 <mental@rydia.net>
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 <cyreve@users.sourceforge.net>
* src/libnrtype/Layout-TNG-Compute.cpp: cursor position on blank
first line sometimes goes wrong
spurious line break added before text in text and font dialog
(bug 1166016)
libnrtype/Makefile_insert: remove all old text layout code (7,577
lines)
sp-string.cpp, sp-tspan.cpp: purge flow_dest class from code
libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: define a value
for line-height:normal and use it consistently
attributes on adding/removing line breaks
2005-03-17 MenTaLguY <mental@rydia.net>
whoops, we were calling the 'children' vfunc rather than
'last_child' when appending, hence the bug... fixed now.
2005-03-17 cyreve <cyreve@users.sourceforge.net>
* src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp,
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
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
objectify SPFlowtext and rearrange its updating a tiny bit
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 <cyreve@users.sourceforge.net>
* src/text-editing.cpp: kerning: add/remove kerns with
insertion/deletion of characters, and only apply kerns to the
topmost xml object
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
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
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 <cyreve@users.sourceforge.net>
* 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
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,
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 <jon@rejon.org>
Added showpageshadow preference to document preferences. Set to
on automatically and saves with document if off.
2005-03-14 MenTaLguY <mental@rydia.net>
added virtual accessor for last child
2005-03-14 Jon A. Cruz <jon@joncruz.org>
Added rough cut of initial extensions panel and dialog.
2005-03-13 Bryce Harrington <bryce@bryceharrington.org>
* src/path-prefix.h: Rearranging linking of libui and libutil
Integrating Transformation dialog. Removing hardcoded paths.
Adding icons needed by transformation dialog
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 <cyreve@users.sourceforge.net>
* src/sp-text.cpp: allow adjusting letter spacing when cursor is at
eol
kerning when align != left, and fix linespacing < 100
implement line-height css property, & fix percentage handling in
style
2005-03-12 MenTaLguY <mental@rydia.net>
Renamed Path namespace to Inkscape::NodePath, to avoid conflict
with livarot
2005-03-12 Kees Cook <kees@outflux.net>
* inkscape.nsi: added German translation from Adib Taraben.
2005-03-12 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
* src/xml/simple-node.cpp: assert that src != this in
SimpleNode::mergeFrom
2005-03-12 MenTaLguY <mental@rydia.net>
* 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 <jon@joncruz.org>
Initial addition of Panel.
2005-03-12 cyreve <cyreve@users.sourceforge.net>
* src/sp-flowtext.cpp: text unflow command losing space characters:
add xml:space to generated elements
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 <cyreve@users.sourceforge.net>
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/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 <cyreve@users.sourceforge.net>
src/libnrtype/Layout-TNG-OutIter.cpp: clean up xml tree properly on
deleting line break, & fix various compile issues
src/libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: huge rewrite of
text layout (and some text editing) code
2005-03-07 Kees Cook <kees@outflux.net>
src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: execstack patch
from Mike Hearn.
2005-03-07 Jon A. Cruz <jon@joncruz.org>
Initial cut of icon preview.
2005-03-05 Bryce Harrington <bryce@bryceharrington.org>
* share/icons/*.svg, share/icons/Makefile.am: Adding icons for
new gui interface
* src/ui/icons.cpp: Fixing some paths
Broke out editor-impl class to its own file. Continued getting
the new interface to the point where it'll load and run.
Migrating some of the UI definition stuff into main codebase
2005-03-05 Jon A. Cruz <jon@joncruz.org>
Purging PixBufFactory and sp_icon_new_scaled.
2005-03-05 Jon A. Cruz <jon@joncruz.org>
* 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 <bryce@bryceharrington.org>
Adding Application::AppPrototype class
Changing member function getImpl() to getWindow()
2005-03-04 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.cpp: Changed stock item loading to use stock
GtkImage widgets directly.
2005-03-03 MenTaLguY <mental@rydia.net>
* src/widgets/icon.cpp: more idiomatic iteration
2005-03-02 Jon A. Cruz <jon@joncruz.org>
* src/toolbox.cpp: Added preference to make the top toolbox 'small'.
2005-03-02 Jon A. Cruz <jon@joncruz.org>
Initial pass removing hardcoded icon sizes.
2005-03-01 MenTaLguY <mental@rydia.net>
* src/extensions/internal/ps.cpp: apply patch from Michael Forbes
(miforbes@mbhs.edu) to support gradient fills in Postscript
2005-03-01 MenTaLguY <mental@rydia.net>
begin migration of notification interface to use NodeObserver
rather than NodeEventVector
2005-03-01 MenTaLguY <mental@rydia.net>
reworked listener list to use Util::ListContainer
* src/xml/node-observer.h: minor name cleanups
2005-03-01 MenTaLguY <mental@rydia.net>
added new generic algorithm
2005-03-01 MenTaLguY <mental@rydia.net>
tests and fixes for Util::ListContainer
2005-03-01 MenTaLguY <mental@rydia.net>
use in-tree copy of cxxtest
add Util::List-based STL container
2005-02-28 SwinginCelt <swinginceltgmail.com>
* 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 <swinginceltgmail.com>
* 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 <mental@rydia.net>
* cxxtest: imported cxxtest tree
2005-02-24 Jon A. Cruz <jon@joncruz.org>
Refactoring input filename conversion and fallback.
Fixes bug #1151536.
2005-02-22 Jon A. Cruz <jon@joncruz.org>
* src/main.cpp:
Refactoring sp_main_*. Adding cleanup phase on extracted filename list.
2005-02-22 Bryce Harrington <bryce@bryceharringotn.org>
* src/main.cpp, src/application/application.cpp: Adding --new-gui
option.
2005-02-22 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
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 <jon@joncruz.org>
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 <ted@gould.cx>
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.
Fixing the grid so that it uses the right axis.
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 <mental@rydia.net>
renamed header files
added Inkscape::XML::InvalidOperationException
avoid a second indirect function call from SimpleNode::appendChild
2005-02-20 SwinginCelt <swinginceltgmail.com>
* 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 <mental@rydia.net>
* src/inkscape.cpp: removed unused signals
2005-02-19 MenTaLguY <mental@rydia.net>
renamed header files to match new class names
2005-02-19 MenTaLguY <mental@rydia.net>
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 <jon@joncruz.org>
Fixing .svgz Inkscape save and adding .svgz Plain save.
Fixes bug #1144223
2005-02-18 Jon A. Cruz <jon@joncruz.org>
Adding initial version of CxxTest test cases.
2005-02-17 Jon A. Cruz <jon@joncruz.org>
* src/io/gzipinputstream.h, src/io/gzipinputstream.cpp: Changed
decompression to be streammed and removed hardcoded limit.
2005-02-17 MenTaLguY <mental@rydia.net>
rewrote "last desktop standing" test to not suck
2005-02-15 SwinginCelt <swinginceltgmail.com>
* Replaced some sp_repr_attr calls with direct call to
repr->attribute.
2005-02-16 John Cliff <simarilius@yahoo.com>
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 <swinginceltgmail.com>
* 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 <mental@rydia.net>
removed unused SPDocument::advertize
2005-02-14 MenTaLguY <mental@rydia.net>
* src/document.cpp: remove redundant assignment that appears to confuse
gcc anyhow
2005-02-14 SwinginCelt <swingincelt@gmail.com>
* Replaced inline function sp_repr_set_position_absolute with
direct call to repr>->setPosition.
2005-02-13 Bryce <bryce@bryceharrington.org>
src/application/application.h: Integrating I::A::Application
into the execution path. Now its run() routine is called from
main().
src/application/editor.h: Initial import of inkscape_gtkmm
code. Also see doc/NewAppArchitecture/ presentation for the
rationale behind this.
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/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 <mental@rydia.net>
SPDocument is now a "real C++ class", managed by the garbage collector
2005-02-12 MenTaLguY <mental@rydia.net>
switched SPDocument to sigc++ signals
2005-02-12 Kees Cook <kees@outflux.net>
my "configure" changes. Was dumb and forgot about native compiles on
win32.
share/extensions/inkscape-shadow.sh: corrections found by Wolfram
Quester during Debian packaging.
src/xml/repr.cpp, src/xml/repr.h: inline function removal patches from
Robert Crosbie.
2005-02-11 Kees Cook <kees@outflux.net>
* src/Makefile.mingw, src/make.*: win32 compile updates.
* src/extensions/internal/gnome.cpp: added my missing "comment" code.
added explicit ctrl-w. since gtk already binds it, we may as well show it.
2005-02-10 Jon A. Cruz <jon@joncruz.org>
* src/inkscape.cpp: Changed from SHGetSpecialFolderPath to
SHGetSpecialFolderLocation. Fixes bug #1085641
2005-02-10 MenTaLguY <mental@rydia.net>
* src/document.h, src/document.cpp: get rid of casting macro uses
2005-02-10 MenTaLguY <mental@rydia.net>
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 <mental@rydia.net>
got rid of xml-forward.h
2005-02-10 Kees Cook <kees@outflux.net>
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 <jon@joncruz.org>
Adding internal .svgz load and save extension.
Probable fix for bugs #1074996, #1050361, #925033, #1052307
2005-02-08 Kees Cook <kees@outflux.net>
* src/extension/implementation/script.cpp: proper /tmp handling.
Closes bug #1074996.
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 <ted@gould.cx>
* Released 0.41
2005-02-01 Kees Cook <kees@outflux.net>
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.
added explicit initializations to keep valgrind happy.
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/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 <jon@joncruz.org>
sanitize messages before passing to display dialogs.
2005-01-31 Kees Cook <kees@outflux.net>
* 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.
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.
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 <jon@joncruz.org>
* 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 <kees@outflux.net>
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.
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 <mental@rydia.net>
efficiency fixes which should be helpful when loading large documents
2005-01-29 Jon A. Cruz <jon@joncruz.org>
Refactored open routine to better location.
2004-01-28 Kees Cook <kees@outflux.net>
* 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 <mental@rydia.net>
SimpleNode::lastChild() and SimpleNode::appendChild() are now
O(1) rather than O(n)
2004-01-26 MenTaLguY <mental@rydia.net>
inlined legacy wrappers
* src/xml/simple-node.cpp: really fixed #1108231 now
2005-01-25 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp: Passed file import call to shared code.
Fixed bug #1108620.
2005-01-25 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: fixed bug #1108231
2005-01-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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?).
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
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 <mental@rydia.net>
* src/xml/simple-node.cpp: potential fix for bug #1108231
2004-01-23 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
* src/sp-object.cpp: fix for id binding bug
2004-01-23 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: don't complain about not having a namespace
URI for the standard xml: prefix
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 <mental@rydia.net>
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 <mental@rydia.net>
moved repr loging behind generic observer interface
2005-01-22 Ted Gould <ted@gould.cx>
Fixing 1103001. Now major grid lines work alot more like you
think that they should.
2005-01-21 MenTaLguY <mental@rydia.net>
renamed Util::SharedCString to Util::SharedCStringPtr, which is
more descriptive of what it actually is
2005-01-21 MenTaLguY <mental@rydia.net>
simplify the cacheing of repr position indices, and make it something
that can work with an abstract interface
2005-01-20 Kees Cook <kees@outflux.net>
* 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 <kees@outflux.net>
* 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 <kees@outflux.net>
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 <mental@rydia.net>
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 <kees@outflux.net>
* 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 <mental@rydia.net>
* src/sp-object.cpp: non-elements no longer get ids assigned
2005-01-15 MenTaLguY <mental@rydia.net>
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 <mental@rydia.net>
remove all veto callbacks but setting attributes
2005-01-15 Kees Cook <kees@outflux.net>
* src/inkscape.cpp: correcting windows path for preferences. Closes
bug #933461.
Using ngettext for plural localized strings. Please try to keep this
up. Closes bug #1076872.
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 <mental@rydia.net>
* 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 <kees@outflux.net>
Fixed up code and replaced pixmaps with icons from myself and
Andreas Nilsson.
2005-01-11 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: promote non-namespaced SVG documents into SVG
namespace
2005-01-08 MenTaLguY <mental@rydia.net>
abstracted allocation of anchors
2005-01-06 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
get rid of ugly xmlns hacks
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 <kees@outflux.net>
* 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.
removed unused xpm icons
2005-01-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
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 <kees@outflux.net>
created "modulelist" to maintain initialization order for extension
lists.
2004-12-31 MenTaLguY <mental@rydia.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <ted@gould.cx>
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 <ted@gould.cx>
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 <mental@rydia.net>
* src/event-context.cpp: removed unused handler
2004-12-25 Ted Gould <ted@gould.cx>
Changing to use "svg:g" instead of "g" for the group.
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 <mental@rydia.net>
cleaned out unused code and unhygenic macros, as well as fixing
constructors for text and comment nodes
2004-12-24 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
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 <ted@gould.cx>
Basic code for the effects menu.
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.
Adding in a "Last Effect" to be used in the menus.
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.
Fix unload so that it is not recursive.
2004-12-23 MenTaLguY <mental@rydia.net>
use normalized qnames for SVG elements too
2004-12-23 Kees Cook <kees@outflux.net>
adding Perl and Python compile tests. Corrected library locations.
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 <kees@outflux.net>
* configure.ac, src/extension/script/Makefile_insert: automake cleanups
to deal with perl/python detection.
2004-12-20 David Turner <novalis@gnu.org>
Fixed bug with gradient stops at 0 and 100%. Closes 1085920.
2004-12-18 Bob Jamison <rjamison@titan.com>
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 <pmoulder@mail.csse.monash.edu.au>
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
2004-12-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (sp_conn_end_move_compensate):
Fix for undo/save: wasn't calling updateRepr().
2004-12-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <novalis@gnu.org>
Fixed dash rendering bug (#1077213)
2004-12-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
(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 <ted@gould.cx>
* 0.40
2004-11-25 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
* src/layer-fns.cpp: fix layer creation within sublayers
* src/dialogs/layer-properties.cpp: fix dialog leak
2004-11-25 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: eliminate duplicated code across #ifdefs
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 <kees@outflux.net>
* inkscape.spec: added SMP flags, added static library link capability.
2004-11-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp: Fixing bug causing two new
layers to get created when hitting enter
2004-11-23 Kees Cook <kees@outflux.net>
* share/tutorials: added Josh's changes, resized, repositioned for
800x600.
tutorial.
2004-11-23 MenTaLguY <mental@rydia.net>
* src/rect-context.cpp: disallow drawing on locked or invisible layers
slight HIG-ification
removed vestigal layer renaming thing
reuse dialog for creating layers as well as for renaming them
2004-11-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
* src/verbs.cpp: add accels for layer menu items
2004-11-21 Bryce Harrington <bryce@bryceharrington.org>
src/dialogs/layer-properties.h: Hooking up layer rename
functionality, and making it show correctly.
src/dialogs/tracedialog.cpp: Fixing dialog show behavior
2004-11-21 Kees Cook <kees@outflux.net>
* 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.
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.
icons for the "new" menu, vacuum, reverse, make bitmap, and trace.
2004-11-20 Jon A. Cruz <jon@joncruz.org>
Added extension matching pattern. Fixed bug 1064888.
* src/dialogs/filedialog.cpp (isValidImageFile):
Fixed previewing bug 1067551.
2004-11-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Add splitpoints parameter. Callers updated.
(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 <bryce@bryceharrington.org>
src/dialogs/layer-properties.h: Adding some widgets.
2004-11-18 Bryce <bryce@bryceharrington.org>
Adding a layer properties dialog for renaming layers
src/widgets/layer-selector.cpp: Hooking in layer props dialog.
2004-11-16 MenTaLguY <mental@rydia.net>
removed Widgets::DocumentTreeModel because unused
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 <mental@rydia.net>
* 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 <mental@rydia.net>
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 <pmoulder@mail.csse.monash.edu.au>
* 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.
(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 <kees@outflux.net>
* src/document.cpp: wrapped updateDisplay call in undo insensitivity.
Closes bug #1030436.
2004-11-12 MenTaLguY <mental@rydia.net>
* src/main.cpp: fpresetsticky -> fpsetsticky
* src/verbs.cpp: cast width changes
remove stdint.h which isn't being used here
icon greys out when insensitive
documentation
* src/verbs.cpp: changed cast to reinterpret_cast to hopefully
avoid compiler warning
2004-11-11 Kees Cook <kees@outflux.net>
* 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 <mental@rydia.net>
removed sp_bitmap_icons
removed stale autotrace support code
2004-11-10 MenTaLguY <mental@rydia.net>
minor refcounting tweaks
* src/sp-image.cpp: fixed failure to release GdkPixbufLoader when
done with it (fixes bug #1063054)
2004-11-10 Kees Cook <kees@outflux.net>
2004-11-09 MenTaLguY <mental@rydia.net>
* 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 <bryce@bryceharrington.org>
2004-11-09 MenTaLguY <mental@rydia.net>
use 'display' rather than 'visibility' for hiding, and give display
a more "modern" representation in SPStyle like visibility's
2004-11-09 Kees Cook <kees@outflux.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
(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 <mental@rydia.net>
* src/gc-finalized.h: fix for Debian bug #279991 (cast to ptrdiff_t
rather than int), and basic documentation
2004-11-06 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix desktop-specific version of SPItem::isHidden()
to deal correctly with parent visibility
2004-11-05 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: more work on making the lock/hide
buttons actually do something
* src/verbs.cpp: "Remove All Kerns" -> "Remove Manual Kerning"
2004-11-04 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.h, src/dialogs/rdf.cpp: added rdf:Bag for the
dc:subject keyword list. Closed bug #1021025.
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 <mental@rydia.net>
* 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 <mental@rydia.net>
added Inkscape::Widgets::shrink_wrap_button, to make any gtk button
an SPButton-like shrink-wrapped button
abandon SPButton for layer selector buttons
2004-11-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* po/check-markup: New script: detects <b>markup<b> <b>problems<7b>
in the <b>translated strings. (~10 such problems found.)
* Makefile.am (all, check, distcheck): Run po/check-markup (with
varying permissiveness of errors).
2004-11-02 MenTaLguY <mental@rydia.net>
* doc/keys.xml: added documentation of layer keys
2004-11-01 Kees Cook <kees@outflux.net>
* src/dialogs/align.cpp, src/dialogs/debugdialog.cpp: localized
some missed strings.
2004-11-01 MenTaLguY <mental@rydia.net>
* share/icons/icons.svg: gave bulia's eye icons ids
fixed up visibility/lock toggles... now to make them actually do
something
2004-10-31 MenTaLguY <mental@rydia.net>
* src/util/glib-list.h: adaptor for glib lists
save the repr next to the SPObject
2004-10-30 MenTaLguY <mental@rydia.net>
* 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 <bryce@bryceharrington.org>
* 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 <kees@outflux.net>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
update when layers added/removed/reordered.
* src/verbs.h, src/verbs.cpp: added "rename layer" verb.
2004-10-29 Kees Cook <kees@outflux.net>
src/util/Makefile_insert: distcheck cleanups.
2004-10-29 MenTaLguY <mental@rydia.net>
* 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 <bryce@bryceharrington.org>
* layer-fns.cpp: documenting
* layer-selector.cpp: documenting & fixing funky widget resizing
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 <kees@outflux.net>
* 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 <jon@joncruz.org>
Refactoring filenames and file opening
Scales imported images if DPI is known and not 72 DPI. Fixes
#1029755
2004-10-29 MenTaLguY <mental@rydia.net>
unselect objects when layer is manually switched
2004-10-28 Kees Cook <kees@outflux.net>
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 <mental@rydia.net>
* 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.
adjust for changes in the list class' interface
removed old layer selector and added SPDesktop::itemIsHidden()
more work; it's now at least as functional as the old selector it
replaces
2004-10-27 Kees Cook <kees@outflux.net>
* 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 <inkscape@carlh.net>
* src/extension/output.cpp: better fix for 1004134 after advice
from Ted.
2004-10-26 Carl Hetherington <inkscape@carlh.net>
* 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 <bryce@bryceharrington.org>
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.
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 <inkscape@carlh.net>
* src/livarot/PathCutting.cpp: fix a couple of bugs that I
introduced that cause crashes on cut path.
2004-10-25 Kees Cook <kees@outflux.net>
* 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 <jon@joncruz.org>
Refactoring filenames and file opening
2004-10-24 MenTaLguY <mental@rydia.net>
* src/Makefile.am: added/removed files
* src/util/copy-list.h: nobody's using it right now, get rid of it
traits for determining the type to make a copy of a value
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 <mental@rydia.net>
* src/desktop.cpp: removed vertical usize limits on statusbar
more layer selector work; simplfied model and customized CellRenderer
settings a bit
add inkscape:label attribute
make inheritance actual
2004-10-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/*: Move some things from nr-matrix-ops.h to new files.
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
* 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()
more work on layer selector
2004-10-21 Carl Hetherington <inkscape@carlh.net>
src/livarot/ShapeMisc.cpp: excise separate path description data
structure.
path description structs into their own files, and rename a few
member variables.
src/livarot/PathOutline.cpp: remove some unused functions.
2004-10-20 Carl Hetherington <inkscape@carlh.net>
* 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 <inkscape@carlh.net>
simplification cleanups.
* src/livarot/PathStroke.cpp: coding style cleanups.
src/livarot/PathStroke.cpp: more cleanups; don't modify Path::pts
and Path::nbPt.
std::vector for Path::pts.
2004-10-18 Carl Hetherington <inkscape@carlh.net>
* 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 <mental@rydia.net>
added a layer template
more layer selector work
added filter_list()
2004-10-15 Carl Hetherington <inkscape@carlh.net>
* src/livarot/PathSimplify.cpp: remove #ifdef
pseudo_douglas_pecker code that wasn't being used.
2004-10-15 MenTaLguY <mental@rydia.net>
* 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 <ted@gould.cx>
* share/extension/*.inkmod -> *.inx
Changing the filename extension that is used to identify Inkscape
extensions to the one specified in the design document.
2004-10-14 MenTaLguY <mental@rydia.net>
* src/util/list.h: more 3.4 fixes
2004-10-13 MenTaLguY <mental@rydia.net>
fixes to (hopefully) build with g++ 3.4 (and generally be less evil
anyway)
2004-10-14 Carl Hetherington <inkscape@carlh.net>
* src/livarot/int-line.cpp: coding style cleanups.
refactoring, removal of dead code.
* src/display/guideline.cpp, src/display/guideline.h: coding style
cleanups.
Path::path_lineto and Path::path_lineto_b.
2004-10-14 Carl Hetherington <inkscape@carlh.net>
src/ShapeMisc.cpp: use a vector of pointers for Path::descr_cmd.
src/libnrtype/RasterFont.cpp: split Ligne into float-line and
int-line.
std::vector for arrays in FloatLigne.
lots of dead code. Make some methods private.
2004-10-12 MenTaLguY <mental@rydia.net>
* 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
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/util/sibling-axis.h: obsolete
* src/util/map.h, src/util/reverse.h: obsolete
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 <pmoulder@mail.csse.monash.edu.au>
(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.
(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 <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
* 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.
Move npoints,p from SPDrawContext to both SPPenContext and
SPPencilContext.
* src/draw-context.cpp, src/draw-context.h: Split off new files
* src/Makefile_insert: Add the new files.
2004-10-10 Ted Gould <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
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 <inkscape@carlh.net>
* 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.
use std::vector for Path::descr_cmd.
src/livarot/ShapeMisc.cpp: getType() and setType() in Path::path_descr.
2004-10-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <kees@outflux.net>
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 <mental@rydia.net>
more bug fixes
get the layer selector sort of in more order
2004-09-28 Ted Gould <ted@gould.cx>
Making it so that actions get deleted as views get destroyed.
2004-09-27 Ted Gould <ted@gould.cx>
Wow, alot of files changed. The ones that changed the most are
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 <pmoulder@mail.csse.monash.edu.au>
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 <mental@rydia.net>
"select all" and "clear" now operate on the current layer rather than on
the document root
keyboard shortcuts and fixes for layer verbs
2004-09-23 MenTaLguY <mental@rydia.net>
return id of flashed messages so they are cancellable
message context flashes now supercede one another, as regular
messages do (they do not supercede regular messages though)
initial stab at layers menu; not everything works the way it should
quite yet
added flash methods to Inkscape::MessageContext
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 <mental@rydia.net>
* src/gc-finalized.h: fix for stupid bug preventing finalizable objects
from being collected
move Inkscape::GC::init out-of-line, and funnel GC warnings through
glib
2004-09-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.h: Change gradientTransform from NRMatrix to
NR::Matrix. Users updated.
* src/Makefile.am (EXTRA_DIST), Makefile_insert
livarot/Makefile_insert (blah_SOURCES):
Add some .h files for `make dist'.
2004-09-19 MenTaLguY <mental@rydia.net>
* 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 <inkscape@carlh.net>
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 <mental@rydia.net>
* src/dialogs/filedialog.cpp: unref the preview document we created
2004-09-18 Carl Hetherington <inkscape@carlh.net>
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.
Shape::dg_point ->
further work on stroking; break out bezier approximation into
public functions
2004-09-10 MenTaLguY <mental@rydia.net>
beginnings of a simple alternate renderer
2004-09-09 Carl Hetherington <inkscape@carlh.net>
Shape::nbPt and Shape::nbAr private and provide accessor methods.
Shape::flags private.
Clean up handling of flags in Shape class
src/livarot/ShapeSweepUtils.cpp: it's ok to free NULL.
src/display/nr-arena-shape.cpp: Make Shape::pts private and offer
a read-only accessor.
Shape::pts to Shape::_pts, and use getPoint() wherever possible.
dg_point::totalDegree() and make use of it.
2004-09-08 MenTaLguY <mental@rydia.net>
* src/libnr/nr-object.h, src/libnr/nr-object.cpp: fix NRObject
initialization
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
new child-count-related routines, and added mutation signals
to SPReprDoc
* src/desktop.cpp: call the "Active Group" widget by its TRUE NAME!
very cursory start on new layers UI
2004-09-08 Carl Hetherington <inkscape@carlh.net>
* 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 <mental@rydia.net>
use std::vector for points array (seems to crash less?)
switch to glib's allocator routines, which have the expected
semantics
* src/livarot/evil-malloc.h: removed
2004-09-07 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
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.
(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 <mental@rydia.net>
remember previously selected layer on load
2004-09-02 MenTaLguY <mental@rydia.net>
reintroduced the inkscape:groupmode attribute
remove USE_LIBGC macro again
2004-08-30 MenTaLguY <mental@rydia.net>
ref the object while SPObject::deleteObject runs, so it doesn't
get destroyed halfway through [ fix for bug #1012874 ]
2004-08-29 MenTaLguY <mental@rydia.net>
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 <mental@rydia.net>
* src/traits/function.h: add typedefs for all argument positions,
specifying 'void' for all arguments after the last
work around livarot bugs so I can use ElectricFence
make the garbage collector easy to disable by undefining
USE_LIBGC in src/gc-core.h
2004-08-26 MenTaLguY <mental@rydia.net>
add notification signal when resources are added or removed
2004-08-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
coding style cleanups.
2004-08-24 MenTaLguY <mental@rydia.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
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 <mental@rydia.net>
introduced a GC-aware STL allocator
switch to using STL map for "id changed" signals
2004-08-21 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/util/Makefile_insert: get libinkutil
deps straightened out
adapt for new APIs, header cleanups/refactorings
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
adopt new GC API and header refatorings
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
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
reorganize transaction logging files
* src/xml/repr-action-test.cpp: updated headers
* src/xml/repr-action.cpp, src/xml/repr-action.h: removed
update for new GC API and shared strings
header refactoring and new GC API
new GC API
2004-08-20 Carl Hetherington <inkscape@carlh.net>
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 <bryce@bryceharrington.org>
* autogen.sh: Fixing the 'missing ltmain.sh' bug
2004-08-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (change_endpts):
Use new sp_curve_stretch_endpoints function: i.e. preserve the
shape of the connector path.
(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,
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 <pmoulder@mail.csse.monash.edu.au>
* 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.
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.
(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 <pmoulder@mail.csse.monash.edu.au>
* 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.)
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 <mental@rydia.net>
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 <pmoulder@mail.csse.monash.edu.au>
operator/(NR::Point, NR::Matrix), operator/(NR::Matrix, NR::Matrix):
new functions, new files.
Handle in O(1) time the common case of equal tails.
Documentation.
2004-08-08 Ted Gould <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
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 <mental@rydia.net>
make NRObject GC-aware
2004-08-06 David Turner <novalis@gnu.org>
* src/sp-shape.cpp (sp_shape_marker_get_transform): Make marker handling
match
SVG spec better.
2004-08-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
NR::Matrix *= NR::scale: new.
Move TreeIterator<SPObject *> specialization to snew file
Mark several pointers as not being written through.
Correspondingly change TreeIterator specialization to
<SPObject const *> instead of <SPObject *>.
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.
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 <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp: Misc. minor changes.
2004-08-04 MenTaLguY <mental@rydia.net>
start using libgc in earnest; Inkscape::Refcounted is now GC-aware
2004-08-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <novalis@gnu.org>
* sp-path.cpp: 'd' is a required attribute for paths. Ensure that
all paths have it.
2004-08-03 MenTaLguY <mental@rydia.net>
removed sp_repr_recursive_drop() which is unneeded and
creates unnecessary thrash in the undo logs
experiment to replace ad-hoc realloc() arrays with std::vector
2004-08-02 David Turner <novalis@gnu.org>
Added vacuum command to remove unused defs.
2004-08-02 MenTaLguY <mental@rydia.net>
* configure.in: sigc++ 2.0.2 (and before?) has a bug that
causes us to crash. require >= 2.0.3
more "functional" work
2004-08-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
Greater conformance with CodingStyle.
2004-07-31 David Turner <novalis@gnu.org>
* dialogs/xml-tree.cpp: Improved focus, added keystroke for attr commit.
2004-07-31 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
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 <novalis@gnu.org>
* sp-gradient.cpp, widgets/gradient-vector.cpp: fixed gradient handling to
properly render gradients with sharp color boundaries
2004-07-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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.
Move SPDesktopWidget stuff from desktop.h to new file
* 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 <mental@rydia.net>
added libgc dependency
added trait class for functions and C++ "functors"
added flip() which, given a function with two arguments,
returns an identical function with its arguments reversed
2004-07-23 MenTaLguY <mental@rydia.net>
added generic Tuple type
2004-07-23 Ted Gould <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
* autogen.sh: Move unversioned automake to last resort.
2004-07-20 Kees Cook <kees@outflux.net>
* 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 <njh@mail.csse.monash.edu.au>
* debian/changelog, configure.in: Moved to 0.40cvs and updated
debian stuff.
2004-07-18 MenTaLguY <mental@rydia.net>
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 <kees@outflux.net>
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 <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp (sp_path_write): Handle shape->curve==NULL.
2004-07-18 MenTaLguY <mental@rydia.net>
merged Aubanel MONNIER's gtkmm upgrade patch
2004-07-17 Carl Hetherington <inkscape@carlh.net>
* 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 <kees@outflux.net>
* src/verbs.h, src/verbs.cpp: added "sp_verbs_find" function for bryce.
2004-07-15 Ted Gould <ted@gould.cx>
* 0.39 Release
2004-07-14 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
* src/make.exclude: omit extension/script/js/js.c from build
2004-07-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
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 <kees@outflux.net>
* 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.
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 <inkscape@carlh.net>
* 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.
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 <mental@rydia.net>
* src/sp-image.cpp: prospective fix for bug #979858
gave SPSelTrans its own Inkscape::MessageContext, fixing
bug #977971
2004-07-10 Kees Cook <kees@outflux.net>
* 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 <kees@outflux.net>
* 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 <inkscape@carlh.net>
* src/draw-context.cpp: remove some debugging g_prints.
2004-07-08 MenTaLguY <mental@rydia.net>
* src/interface.cpp: fixed crash on desktop context menu
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 <inkscape@carlh.net>
* 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 <mental@rydia.net>
* 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 <kees@outflux.net>
* 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).
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).
corrected tooltips memory handling.
2004-07-06 MenTaLguY <mental@rydia.net>
* 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 <inkscape@carlh.net>
isnan appears to need a std:: namespace qualifier.
2004-07-06 Ted Gould <ted@gould.cx>
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.
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 <pmoulder@mail.csse.monash.edu.au>
* src/sp-typeset-utils.h: Greatly reduce #includes.
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 <kees@outflux.net>
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 <mental@rydia.net>
* 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.
additional layers work; backed off on promoting siblings to
layers automatically and reintroduced "global" layer mode
2004-07-05 Carl Hetherington <inkscape@carlh.net>
* 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 <mental@rydia.net>
* 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#@$?#$#@$!?!?!?
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 <kees@outflux.net>
Added several more RDF entities. Created entry tooltips. Set
a few RDF defaults for the document.
2004-07-03 MenTaLguY <mental@rydia.net>
siblings of a layer now become layers too
* src/interface.cpp: switched to command names suggested by bulia
bugfixes and cleanups
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 <kees@outflux.net>
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 <mental@rydia.net>
Removed the "inkscape:groupmode" attribute and added note about how
the group/layer mode setting needs to be per-view, not global.
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.
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 <inkscape@carlh.net>
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 <kees@outflux.net>
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 <mental@rydia.net>
* 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 <kees@outflux.net>
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 <mental@rydia.net>
src/xml/repr.cpp, src/xml/sp-repr-attr.h: applied peter's patch to
break out NRReprAttr
added SPObject::nearestCommonAncestor, which given another SPObject
returns the nearest common ancestor of the two SPObjects.
added SPItem::getRelativeTransform, which computes the SPItem's
transform relative to another SPObject
drawing tools now cope with drawing within transformed groups
(i.e. layers)
2004-06-27 MenTaLguY <mental@rydia.net>
* 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
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 <mental@rydia.net>
* src/refcounted.h: allow reffing/unreffing const objects
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 <inkscape@carlh.net>
* src/node-context.cpp: make sure nodepath->nodeContext is set up
when the selection changes. Fixes 936739.
2004-06-25 MenTaLguY <mental@rydia.net>
* src/display/sp-canvas.cpp: enabled win32 current item workaround on
all platforms
2004-06-25 Kees Cook <kees@outflux.net>
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 <inkscape@carlh.net>
* 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 <kidproto@users.sf.net>
* src/verbs.cpp: I changed the reverse command to be more verbose and
explanative.
2004-06-24 MenTaLguY <mental@rydia.net>
* src/seltrans.cpp: slight change to make showing/hiding center
mark easier later on
fixes for floating-point portability issues, courtesy of
Colin Marquardt.
2004-06-23 MenTaLguY <mental@rydia.net>
Changed my mind.
Inkscape::Managed is more properly called Inkscape::Refcounted
removed unused Win32 codepage crap
2004-06-23 Carl Hetherington <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* share/extensions/dia2svg.sh: Fix bashism and insecure tempfile usage.
2004-06-23 Ted Gould <ted@gould.cx>
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 <kees@outflux.net>
* src/inkscape.cpp: added SIGBUS and SIGABRT handling.
2004-06-22 John Cliff <simarilius@yahoo.com>
* 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 <inkscape@carlh.net>
* 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 <inkscape@carlh.net>
* 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/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 <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <mental@rydia.net>
Document classes, and change Managed to have an initial refcount
of one at creation.
2004-06-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
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
* 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 <mental@rydia.net>
SPSelection now derives from Inkscape::Managed
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 <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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.
Remove src/libnrtype/FontInstance.h (see change below).
Move raster_glyph, raster_position from RasterFont.h to new files
* src/libnrtype/Makefile_insert: Add the new files to SOURCES.
Move font_glyph, font_instance, and font_style definitions from
* 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.
#include it (replacing local declarations in some cases).
* src/livarot/livarot-forward.h: New file.
#include it (replacing local declarations in some cases).
* src/livarot/Makefile_insert: Add it to SOURCES.
2004-08-18 Ted Gould <ted@gould.cx>
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 <inkscape@carlh.net>
* 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.
temporarily update for changes to snapping API.
adapt for small changes to Snapper API.
* src/select-context.cpp: use new snapping API.
2004-08-17 Bryce Harrington <bryce@bryceharrington.org>
tools-switch.cpp dialogs/find.cpp: Converting statusbar
messages from old style to new, as per
2004-06-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/mkdep.pl: Add `by mkdep.pl' to `automatically generated' line.
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 <mental@rydia.net>
New status messages primitives (statusbar bug not fixed yet though).
2004-06-17 Carl Hetherington <inkscape@carlh.net>
* src/helper/stock-items.cpp: fix a compiler warning. Minor
coding style cleanups.
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.
add spw_vbox_checkbutton.
Start of new and hopefully improved snapping code.
2004-06-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
(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 <inkscape@carlh.net>
* src/sp-item.h: added a comment.
2004-06-15 Ted Gould <ted@gould.cx>
Removing the command-line argument to specify line endings.
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 <pmoulder@mail.csse.monash.edu.au>
* src/select-toolbar.cpp: Cleanups and preparation for px units.
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.
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 <pmoulder@mail.csse.monash.edu.au>
New unit test file units-test.cpp.
* src/select-toolbar.cpp: Greater conformance to CodingStyle.
2004-06-14 Carl Hetherington <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp: Move some declarations to first use.
2004-06-13 Kees Cook <kees@outflux.net>
* src/xml/repr.h, src/xml/repr-utils.cpp: adding additional RDF URIs
to the default namespace prefix list.
2004-06-13 MenTaLguY <mental@rydia.net>
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 <pmoulder@mail.csse.monash.edu.au>
Explicitly mark _acceptObject as virtual.
(Already declared as virtual in base class.)
* src/file.cpp, src/main.cpp: Greater conformance to CodingStyle.
Add missing includes as found by src/check-header-compile.
* src/sp-use.h:
Move SPUseReference from sp-use.h to new files sp-use-reference.h,
* src/sp-use.h (_acceptObject): Fix can't-use-ancestor check.
* src/uri-references.h (getOwner): Fix copy&paste bug.
2004-06-11 MenTaLguY <mental@rydia.net>
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)
transitioned to SPObject::requestDisplayUpdate and
SPObject::updateDisplay
transitioned to SPObject::requestModified, SPObject::emitModified,
and SPObject::updateRepr; also reworked "minimal" version of
updateRepr.
* src/sp-object.h: added a little documentation
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 <ted@gould.cx>
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
2004-06-10 Carl Hetherington <inkscape@carlh.net>
Use a std::vector to store snap points, rather than a fixed-size
array.
2004-06-09 Carl Hetherington <inkscape@carlh.net>
* 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.
Adapt for changes to sp_desktop_dim_snap prototype.
Adapt for changes to sp_desktop_dim_snap_list prototype.
2004-06-08 MenTaLguY <mental@rydia.net>
Portability fixes from Colin Marquardt <colin@marquardt-home.de>.
2004-06-08 Carl Hetherington <inkscape@carlh.net>
* 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 <ted@gould.cx>
* src/main.cpp:
Added in a version command to our command line args. This fixes
enhancement request 968642.
2004-06-07 MenTaLguY <mental@rydia.net>
renamed object garbage collection routines to fit the "orphan"
terminology
2004-06-07 Carl Hetherington <inkscape@carlh.net>
* 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 <ted@gould.cx>
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 <mental@rydia.net>
* src/attributes.cpp, src/attributes.h: added inkscape:collect attribute
to specify orphan collection policy (collect with parent, or always
collect)
collection pass as part of comitting an undo step
add total hrefcount for all descendants, and basic orphan collection
facilities
mark automatically added gradients, patterns, and markers for orphan
collection
2004-06-06 Bryce Harrington <bryce@bryceharrington.org>
Documenting the routines. This adds basic code docs for
everything in libnrtype.
2004-06-06 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
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 <mental@rydia.net>
Introduced the notion of "parent" NRGCs
2004-06-02 bulia byak <bulia@users.sourceforge.net>
settings
for various compensations
(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.
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
* 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
size
* node-context.cpp: Second Esc or empty-click deselects object
* desktop.cpp desktop.h: Restored sticky zoom
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
_delete_signal
recursively for descendants; switched to deleteObject where appropriate to
notify clones
fully configurable, commands in the View menu
* path-chemistry.cpp: Fixed transform when combining inside group
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 <ted@gould.cx>
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 <mental@rydia.net>
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
correct overly intimate knowledge of SPObject (use SP_OBJECT_ID rather
than directly accessing the SPObject::id member)
2004-05-27 Kees Cook <kees@outflux.net>
Hopefully fixed the locale problems in the PS output generator.
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 <pmoulder@mail.csse.monash.edu.au>
* 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.
Cleanup: greater conformance to CodingStyle.
2004-05-23 MenTaLguY <mental@rydia.net>
removed gnome-print libnrtype backend
2004-05-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
Throw an exception if sp_repr_save_file fails. This should close
bug 948921.
2004-05-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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):
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.
Cleanup: greater conformance to CodingStyle.
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 <mental@rydia.net>
transition to C++ inheritance
removed barely-used "in-place construction" facility for NRObject
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 <new> 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 <mental@rydia.net>
further reduced dependency on SPStyle
2004-05-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* 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.
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.
(NR::transform): new function.
* 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 <simarilius@yahoo.com>
* 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 <kees@outflux.net>
made popt a requirement instead of an option.
2004-05-13 Carl Hetherington <cth103@houllier.home>
* sp-color-notebook.cpp: Fix uninitialised value spotted by valgrind.
Fix ink_extract_marker_name returning a pointer into a free()d buffer.
2004-05-13 Ted Gould <ted@gould.cx>
* src/file.cpp:
Making the default filename _("untitled.svg")
2004-05-12 Kees Cook <kees@outflux.net>
* config.h.mingw: added g_ascii_strtod macro.
2004-05-12 Carl Hetherington <inkscape@carlh.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* 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 <inkscape@carlh.net>
* 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.
NRRect removal. Declaration-to-first-use cleanups.
2004-05-09 MenTaLguY <mental@rydia.net>
* 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)
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 <kees@outflux.net>
* 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 <kees@outflux.net>
* src/extension/internal/gdkpixbuf-input.cpp: skip SVG files. (open bug)
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/svg/svg-length.cpp: adding "config.h", making a few extra
locale-sensitive functions use g_ascii versions.
2004-05-08 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: move "transformed" signal emission after actual
application of transform
fix lifecycle issues with content and attribute strings
* src/sp-object.h, src/sp-object.cpp: added SPObject::setId()
2004-05-08 Kees Cook <kees@outflux.net>
* src/verbs.cpp, src/help.cpp: localizing "about" and "keys" stuff.
* po/*.po: rebuilt for new strings.
2004-05-08 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/desktop-properties.cpp: the usual cleanups. Also
add some sp_document_done()s in various places.
2004-05-08 bulia byak <bulia@users.sourceforge.net>
* 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
cleanup, autoraise removed from menu
2004-05-07 Kees Cook <kees@outflux.net>
* src/verbs.cpp: re-localizing tutorials. My goof!
* po/POTFILES.in: removed arikkei references
2004-05-07 Carl Hetherington <inkscape@carlh.net>
* 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 <spundun@isi.edu>
* configure.in: Stole Nathan's configure hack and used it to
support gtkmm-2.4
2004-05-06 Ted Gould <ted@gould.cx>
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 <inkscape@carlh.net>
declaration-to-first-use and coding style cleanups
2004-05-05 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-dictionary.cpp: removed 'private-fonts'
feature (we should rely on fontconfig for "custom" font stuff)
src/libarikkei/*: removed the now unused libarikkei
2004-05-05 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/dialogs/text-edit.cpp, configure.in: Added support for spell
checking in text dialog.
2004-05-04 MenTaLguY <mental@rydia.net>
* 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 <mental@rydia.net>
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 <mental@rydia.net>
* src/sp-use.cpp: call parent class' write methods rather than
attempting to do everything (wrongly) ourselves; among other
things, <use> transform attributes weren't getting written
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 <use>
deletion
Removed unused (and imperfect) "wrapbox" widgets.
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 <njh@mail.csse.monash.edu.au>
* main.cpp: replaced gtk_init with g_type_init for console mode.
Closes 944969.
2004-04-29 MenTaLguY <mental@rydia.net>
write_transform becomes set_transform, which applies the given
transform to the object without (!) invoking a repr write
replaced raw integers with real units enum
removed dead assertion (it's always valid to retrieve the
translation component of a matrix)
delete items via SPItem (SPObject), not repr
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)
added automatic deletion when referrent is deleted
added URIReference::getOwner()
2004-04-29 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/win32.cpp: add textToPath parameter to
description in order to fix #944131.
2004-04-28 Carl Hetherington <inkscape@carlh.net>
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 <bulia@users.sourceforge.net>
* 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
* dialogs/dialog-events.cpp: Only set the UTILITY hint for non-modal
windows,
fixes "disappearing save as"
relief, top panel made less tall
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=
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)
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
selection-chemistry.cpp selection-chemistry.h: Unlink Clone verb and menu
command (preserves id=)
interface.cpp: Select Original verb and command, scrolls to the original
Clone command
* sp-use.h sp-use.cpp: Use URIReference; Propagate update to parent class
(SPItem) (fixes redraw on dragging a clone)
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 <inkscape@carlh.net>
* src/desktop.cpp: Check for there being no items when zooming to
the drawing. This fixes bug #942137.
2004-04-26 Carl Hetherington <inkscape@carlh.net>
INKSCAPE_VERSION moved to inkscape_version.h.
INKSCAPE_{PIXMAP,SCREENS,TUTORIALS,MARKERS}DIR moved to prefix.h
Use CVS inkscape_version.h.mingw for inkscape_version.h on Win32.
* src/sp-use.cpp: fix a warning.
2004-04-26 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
* 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 <pmoulder@mail.csse.monash.edu.au>
* configure.in: Replace use of old AM_PROG_LIBTOOL macro with
AC_PROG_LIBTOOL.
2004-04-26 Ted Gould <ted@gould.cx>
Added in a check for ps2epsi
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 <njh@mail.csse.monash.edu.au>
* 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 <ted@gould.cx>
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 <inkscape@carlh.net>
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.
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.
about
SPDesktop::selection being NULL.
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 <mental@rydia.net>
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 <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
* 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 <ted@gould.cx>
Removing the redefition of NULL and adding to the make system.
2004-04-24 Ted Gould <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
Get rid of unneeded CPPFLAGS specification.
New generated file inkscape_version.h, to replace
-DINKSCAPE_VERSION=\"$(VERSION)\".
* src/help.cpp: #include it.
2004-04-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
Change include stringstream.h to include svg/stringstream.h.
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 <ted@gould.cx>
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.
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 <pmoulder@mail.csse.monash.edu.au>
* 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/*/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 <mental@rydia.net>
* src/libnrtype/nr-type-w32.h: fixed unremoved underscores
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 <kees@outflux.net>
* 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 <mental@rydia.net>
* 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 <inkscape@carlh.net>
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 <mental@rydia.net>
finished GObject removal from SPSelection
migrated SPSelection to SigC++ signals (though it's a bit messy
right now)
2004-04-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/stroke-style.cpp: Cleanups: greater conformance to
CodingStyle. Moved some declarations to their first use.
2004-04-19 Carl Hetherington <inkscape@carlh.net>
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 <bulia@users.sourceforge.net>
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
* 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
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
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 <inkscape@carlh.net>
Fix an unitialised value error that was spotted by valgrind.
2004-04-18 MenTaLguY <mental@rydia.net>
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 <inkscape@carlh.net>
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 <mental@rydia.net>
Cleaned up NR::Rect API and made SPSelection's desktop pointer private.
First use of NR::ConvexHull (for propagating canvas bounding boxes)
2004-04-17 Kees Cook <kees@outflux.net>
* share/icons/icons.svg, src/verbs.cpp: made last three ugly menu icons.
2004-04-17 Nathan Hurst <njh@mail.csse.monash.edu.au>
src/svg/svg.h: removed libart.
uncross and SVL routines.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
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 <mental@rydia.net>
C++ification of SPSelection class
2004-04-15 Kees Cook <kees@outflux.net>
* debian/control, debian/changes: dropping (currently) unused
dependancies. Added "0.39cvs" tag.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
Use black, dashed bounding boxes for indicating itemselection,
rather than red, solid boxes (as suggested by Bulia).
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.
Use the extension system to build the list of allowable file types
for save. This means that save as PS and EPS work properly.
Fix compiler warnings, mostly about unused variables.
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.
Fix a warning wrt a cast from NR::Matrix to NRMatrix.
Fix bug #935758.
2004-04-14 Ted Gould <ted@gould.cx>
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 <mental@rydia.net>
* most files in src/: removed many old "compatable" struct typedefs
removed unused arikkei files
* configure.in: added gtkmm dependency
2004-04-14 Kees Cook <kees@outflux.net>
* 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
finished "File / Revert" implementation. Found a memory leak in
"file_save". Added more sanity checking to "sp_file_revert" and more
status messages.
implemented
in "sp_file_open".
2004-04-13 Kees Cook <kees@outflux.net>
* 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.
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 <ted@gould.cx>
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 <kees@outflux.net>
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 <simarilius@yahoo.com>
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
to implement marker UI and fixes to the marker rendering code.
2004-04-11 Ted Gould <ted@gould.cx>
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 <ted@gould.cx>
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 <kees@outflux.net>
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 <jon@rejon.org>
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 <kees@outflux.net>
* 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 <ted@gould.cx>
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 <mental@rydia.net>
* configure.in, src/svg/ftos.cpp: fix for OS X build
* src/extensions/internal.ps.cpp: crash fix
2004-04-07 MenTaLguY <mental@rydia.net>
* src/xml/repr.cpp: adjusted the advertising comment in the default
document template (we need a real default document template, btw)
src/svg/ftos.h, src/svg/stringstream.h: incorporated Bryce's number
serializing code (disabled for now, due to the impending release)
nuked unused variables
2004-04-07 bulia byak <bulia@users.sourceforge.net>
* icons.svg: Alignment fix
* src/select-toolbar.cpp: Swapped rotate buttons
* share/tutorials/: Cleanup, added Russian translation of basic
extension/implementation/script/cpp: Fixes to make non-ascii filenames work
again
* src/verbs.cpp: Remove xpm icon that causes trouble on win32
* 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 <ted@gould.cx>
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 <njh@mail.csse.monash.edu.au>
* 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 <ted@gould.cx>
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 <mental@rydia.net>
Take the full list of document node children from libxml, and
append them in the correct order. This fixes bug #929348.
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 <ted@gould.cx>
* 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 <ted@gould.cx>
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 <ted@gould.cx>
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 <ted@gould.cx>
Changing it so that SVG documents open and default to with
extension namespace. Also, autodetect is reenabled.
2004-04-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Fix my
previous commit.
2004-04-02 Ted Gould <ted@gould.cx>
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 <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Ensure that the
"improved" value is never worse than the previous guess.
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.
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