622e817e536072dc8d39362ea12008be943099c9
1 2006-03-05 MenTaLguY <mental@rydia.net>
3 * src/Makefile_insert, src/document-subset.cpp, src/document-subset.h:
5 Add DocumentSubset as groundwork for layers.
7 2006-03-04 Jon A. Cruz <jon@joncruz.org>
8 * src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp:
10 Style minibar now only accepts color drag-n-drop when not N/A.
11 Final tweak for completing RFE #1429027.
13 2006-02-28 Jon A. Cruz <jon@joncruz.org>
14 * src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp:
16 Made the style minibar a target for color drag-n-drop.
18 2006-03-01 Michael Wybrow <mjwybrow@users.sourceforge.net>
20 * src/conn-avoid-ref.cpp, src/libavoid/connector.h,
21 src/libavoid/shape.cpp, src/libavoid/graph.cpp, src/libavoid/shape.h,
22 src/libavoid/graph.h, src/libavoid/router.cpp, src/libavoid/router.h,
23 src/libavoid/connector.cpp, src/libavoid/debug.h:
25 Some speed improvements and interface cleanups to libavoid.
27 2006-02-28 Jon A. Cruz <jon@joncruz.org>
28 * src/dialogs/swatches.cpp:
30 Fixed drag-n-drop out of color to match GTK+ standard.
32 2006-02-27 Jon A. Cruz <jon@joncruz.org>
33 * src/dialogs/swatches.cpp, src/ui/previewfillable.h,
34 src/ui/previewholder.h, src/ui/previewholder.cpp:
36 Finished cleanup of embedded swatches when switching palettes.
38 2006-02-26 Jon A. Cruz <jon@joncruz.org>
39 * src/dialogs/swatches.cpp, src/ui/previewholder.h,
40 src/ui/previewholder.cpp:
42 Changing embedded swatches resizing.
44 2006-02-26 Jon A. Cruz <jon@joncruz.org>
45 * src/text-context.cpp:
47 Allow Private Use Area characters. Fixes bug #1439016.
49 2006-02-18 Jon A. Cruz <jon@joncruz.org>
50 * src/dialogs/swatches.cpp, src/dialogs/iconpreview.cpp,
51 src/ui/widget/panel.cpp, src/ui/widget/panel.h:
53 Refactoring panel containment. Purged ugly 'X'.
55 2006-02-18 Jon A. Cruz <jon@joncruz.org>
56 * src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp,
57 src/dialogs/swatches.h, src/ui/widget/panel.cpp,
58 src/ui/widget/panel.h, src/ui/previewholder.cpp,
59 src/ui/previewholder.h:
61 Adding spacer to get swatches scrollbar enough room to move.
62 Tuning up API for better embedding.
64 2006-02-18 Jon A. Cruz <jon@joncruz.org>
65 * src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp,
66 src/dialogs/swatches.h, src/ui/previewholder.cpp,
67 src/ui/previewfillable.h, src/ui/previewholder.h:
69 Removed horizontal scroll bar from swatches when embedded.
71 2006-02-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
73 * src/document.cpp, src/document.h, src/sp-conn-end-pair.cpp,
74 src/connector-context.cpp, src/conn-avoid-ref.cpp:
76 Keep a seperate connector router for each document.
78 * src/libavoid/Makefile_insert, src/libavoid/connector.cpp,
79 src/libavoid/connector.h, src/libavoid/debug.h,
80 src/libavoid/geometry.cpp, src/libavoid/geometry.h,
81 src/libavoid/geomtypes.h, src/libavoid/graph.cpp,
82 src/libavoid/graph.h, src/libavoid/incremental.cpp,
83 src/libavoid/incremental.h, src/libavoid/libavoid.h,
84 src/libavoid/makepath.cpp, src/libavoid/makepath.h,
85 src/libavoid/polyutil.cpp, src/libavoid/polyutil.h,
86 src/libavoid/router.cpp, src/libavoid/router.h,
87 src/libavoid/shape.cpp, src/libavoid/shape.h,
88 src/libavoid/static.cpp, src/libavoid/static.h,
89 src/libavoid/timer.cpp, src/libavoid/timer.h,
90 src/libavoid/vertices.cpp, src/libavoid/vertices.h,
91 src/libavoid/visibility.cpp, src/libavoid/visibility.h:
93 Upstream changes to libavoid that allow multiple connector
94 router instances, as well a few other minor bugfixes.
96 2006-02-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
98 * src/display/sp-canvas.cpp, display/sp-canvas.h, connector-context.cpp:
100 Revert a previous change that generated enter events for canvas items
101 other than the current one when mouse buttons were depressed. These
102 events are now only generated in the connector context, where they are
103 required.
105 2006-02-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
107 * src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.cpp,
108 src/conn-avoid-ref.h, src/libavoid/connector.cpp,
109 src/libavoid/connector.h:
111 Change the behaviour and naming of some connector querying code
112 after feedback from Tim Dwyer in implementing graph drawing
113 functionality.
115 2006-02-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
117 * src/sp-conn-end-pair.cpp, src/conn-avoid-ref.cpp:
118 Fix two bugs from my commit yesterday.
120 2006-02-10 Michael Wybrow <mjwybrow@users.sourceforge.net>
122 * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h,
123 src/conn-avoid-ref.cpp, src/conn-avoid-ref.h,
124 src/libavoid/connector.cpp, src/libavoid/connector.h,
125 src/libavoid/visibility.cpp:
127 Add some code to allow querying of items and connectors to find
128 out what is attached to them. This will allow graph layout
129 algorithms (currently being worked on by Tim Dwyer) to determine
130 a graph structure from the diagram.
132 2006-02-07 MenTaLguY <mental@rydia.net>
134 * src/widgets/icon.cpp: get rid of icon prerender time messages
136 2006-02-07 MenTaLguY <mental@rydia.net>
138 * src/debug/gc-heap.h, src/debug/logger.cpp, src/debug/sysv-heap.h,
139 src/jabber_whiteboard/deserializer.cpp, src/sp-object.cpp,
140 src/util/share.h, src/xml/simple-node.cpp:
142 share_static -> share_static_string
144 2006-02-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
146 * src/jabber_whiteboard/message-utilities.h,
147 src/jabber_whiteboard/serializer.cpp,
148 src/jabber_whiteboard/deserializer.cpp,
149 src/jabber_whiteboard/message-utilities.cpp,
150 src/ui/dialog/whiteboard-connect.cpp:
152 Some fixes to allow the codebase to compile with Inkboard support
153 after the recent Util::shared_ptr<> and Dialog::present() changes.
155 2006-02-05 Marco Scholten <mscholtn@xs4all.nl>
157 * src/verbs.cpp: updated to make double clicking a tool button
158 open the new preferences dialog.
159 * src/ui/dialog/inkscape-preferences.cpp: updated to enable opening
160 the dialog on the correct page.
161 * src/ui/dialog/dialog.cpp: added virtual void present() so that
162 InkscapePreferences::present() will be called from
163 DialogManager::showDialog()
165 2006-02-05 MenTaLguY <mental@rydia.net>
167 * src/debug/event.h, src/debug/gc-heap.h, src/debug/heap.h,
168 src/debug/logger.cpp, src/debug/simple-event.h, src/debug/sysv-heap.h,
169 src/jabber_whiteboard/deserializer.cpp,
170 src/jabber_whiteboard/message-utilities.cpp,
171 src/jabber_whiteboard/message-utilities.h,
172 src/jabber_whiteboard/node-tracker-observer.h,
173 src/jabber_whiteboard/node-utilities.cpp,
174 src/jabber_whiteboard/serializer.cpp,
175 src/jabber_whiteboard/serializer.h,
176 src/sp-object.cpp, src/util/Makefile_insert, src/util/share.cpp,
177 src/util/shared-c-string-ptr.cpp, src/util/shared-c-string-ptr.h,
178 src/util/share.h, src/xml/attribute-record.h, src/xml/comment-node.h,
179 src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h,
180 src/xml/event.cpp, src/xml/event.h, src/xml/log-builder.cpp,
181 src/xml/log-builder.h, src/xml/node-observer.h, src/xml/repr.cpp,
182 src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h,
183 src/xml/simple-session.cpp, src/xml/simple-session.h,
184 src/xml/text-node.h:
186 replace Util::SharedCStringPtr with the nicer and more general
187 Util::shared_ptr<>
189 2006-02-03 Jon Phillips <jon@rejon.org>
191 * src/verbs.cpp: Added "..." to "Trace Bitmap" text. Yes, what a
192 simple and dumb thing to add for consistency.
194 2006-01-24 Michael Wybrow <mjwybrow@users.sourceforge.net>
196 * src/libavoid/connector.cpp, src/libavoid/connector.h,
197 src/libavoid/shape.cpp, src/libavoid/graph.cpp,
198 src/libavoid/incremental.cpp, src/libavoid/incremental.h,
199 src/libavoid/static.cpp, src/libavoid/visibility.cpp,
200 src/libavoid/makepath.cpp:
202 Some minor upstream libavoid fixes.
204 2006-01-23 Carl Hetherington <inkscape@carlh.net>
206 * src/selection.cpp: fix a typo in one of my previous commits.
207 Closes #1401357.
209 * src/xml/repr-io.cpp: catch failures in fopen of XML files.
210 Closes #1374551.
212 2006-01-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
214 * src/widgets/toolbox.cpp, src/widgets/desktop-widget.cpp,
215 src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/sp-namedview.cpp,
216 src/sp-namedview.h, src/attributes.cpp, src/attributes.h,
217 src/attributes-test.cpp:
219 Added a "Spacing" control to the connector toolbar which allows
220 the user to adjust the amount of space left around avoided shapes
221 for the purpose of determining auto-routing connector paths.
223 2006-01-17 Marco Scholten <mscholtn@xs4all.nl>
225 * /src/ui/dialog/inkscape-preferences.cpp:
226 Added style swatches,
227 Changed Gtk::Requisition Gtk::Widget::size_request() to
228 void Gtk::Widget::size_request(const Requisition& requisition)
229 * /src/ui/dialog/preferences-widget.cpp & .h:
230 Added DialogPage::set_tip()
232 2006-01-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
234 * packaging/osx-app.sh, packaging/macosx/Resources/etc/fonts/fonts.conf:
235 Use a modified fonts.conf file for Mac OS X that includes the
236 standard user font directory ~/Library/Fonts.
238 2006-01-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
240 * src/svg/Makefile_insert: Updated to reflect a previous header
241 file renaming.
243 2006-01-12 Marco Scholten <mscholtn@xs4all.nl>
245 * /src/ui/dialog/inkscape-preferences.cpp & .h:
246 Converted preferences dialog to gtkmm
247 * src/ui/widget/preferences-widget.cpp & .h:
248 New files.
249 * src/verbs.cpp: updated to start new dialog.
251 2006-01-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
253 * src/sp-item-group.cpp, src/sp-path.cpp, src/sp-star.cpp,
254 src/extension/internal/svg.cpp, src/ui/widget/ruler.cpp:
255 Fix some compilation problems on Mac OS X after recent
256 includes cleanup.
258 2006-01-05 Jon A. Cruz <jon@joncruz.org>
260 * src/widgets/desktop-widget.cpp:
261 Corrected resize behavior of canvas/swatches split.
263 2006-01-06 Mathieu Dimanche <mdimanche@free.fr>
265 * src/util/units.cpp: forcin 'C' locale for reading units.txt file
266 Fixes bug #1391348.
268 2006-01-05 MenTaLguY <mental@rydia.net>
270 * src/libnr/nr-maybe.h: fix constness/local reference issues
272 2006-01-04 MenTaLguY <mental@rydia.net>
274 * src/Makefile_insert, src/shortcuts-default-xml.cpp,
275 src/shortcuts.cpp, src/shortcuts.xml:
277 Moved default shortcuts XML file into a string constant (for now);
278 replaced hard-coded structure with code to read XML file.
280 2006-01-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
282 * src/extension/internal/ps.cpp (setup): Clarify the meaning of
283 `Print destination', mentioning the new possibility of leaving
284 as empty.
285 * (PrintPS::begin) If print destination is an empty string, then
286 don't pass `-P %s' to lpr: just let lpr use its default.
287 * (PrintPS::init) Change default print destination from `lp' to empty
288 string.
290 2006-01-04 Jon A. Cruz <jon@joncruz.org>
292 * src/widgets/desktop-widget.cpp:
293 Adding split pane for swatches.
295 2006-01-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
297 * src/libavoid/visibility.cpp: Add operator!= for the EdgePair class.
298 This is needed to compile on Tru64 UNIX. Fixes bug #1386755.
300 2005-12-30 Josh Andler <scislac@users.sf.net>
302 * src/ui/widget/selected-style.cpp, src/ui/widget/selected-style.h
303 Added "invert" function to right-click menu of style selector.
305 2005-12-22 Jon A. Cruz <jon@joncruz.org>
307 * share/palettes/Tango-Palette.gpl:
308 Updated to newer version from the Tango project.
310 2005-12-21 Jon A. Cruz <jon@joncruz.org>
312 * src/interface.cpp, src/preferences-skeleton.h,
313 src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp:
314 Adding panels/swatches to main UI.
316 2005-11-23 Tim Dwyer <tdwyer@mail.csse.monash.edu.au>
318 * src/removeoverlap/*.{cpp,h}: Bug fix in removeoverlap algorithm that
319 should finally get timestamps working properly. Specifically, heap
320 timestamps are now refreshed before a merge.
322 2005-12-19 Michael Wybrow <mjwybrow@users.sourceforge.net>
324 * src/sp-conn-end.cpp, src/connector-context.cpp: Have connectors
325 draw to the correct position on shape bounding boxes. Previously
326 the point where connectors were drawn was on straight line between
327 the two endpoints. These points now lie on the line between the
328 second last point on the polyline and the center of the shape.
330 * src/display/curve.cpp, src/display/curve.hpp: Added a couple of
331 functions that return the second and second-last points in a curve.
333 * src/removeoverlap/generate-constraints.cpp: Moved the
334 #include "isnan.h" to be the final include. This fixes a
335 compilation error on OS X.
337 2005-12-16 Carl Hetherington <inkscape@carlh.net>
339 * src/conn-avoid-ref.cpp, sp-conn-end-pair.cpp, sp-conn-end.cpp,
340 sp-item.cpp, sp-shape.cpp, dialogs/clonetiler.cpp,
341 dialogs/stroke-style.cpp, dialogs/tiledialog.cpp,
342 dialogs/unclump.cpp, display/nr-arena-shape.cpp,
343 display/nr-arena-shape.h, widgets/icon.cpp: more NRRect removal.
345 * src/desktop.cpp, src/desktop.h, src/dyna-draw-context.cpp,
346 src/selection-chemistry.cpp, src/sp-namedview.cpp, src/verbs.cpp,
347 src/display/sp-canvas.cpp, src/display/sp-canvas.h,
348 src/ui/view/edit-widget.cpp, src/ui/widget/zoom-status.cpp,
349 src/widgets/desktop-widget.cpp: more NRRect removals and cleanups.
351 * src/grid-snapper.cpp: snap only to visible grid lines (patch
352 from mtou).
354 2005-12-15 Carl Hetherington <inkscape@carlh.net>
356 * src/conn-avoid-ref.cpp, src/gradient-chemistry.cpp,
357 src/sp-conn-end.cpp, src/sp-item.{cpp,h}: NR::Rect version of
358 sp_item_invoke_bbox (SPItem::invokeBbox). Use it in some places.
360 2005-12-14 Carl Hetherington <inkscape@carlh.net>
362 * src/dyna-draw-context.cpp, src/gradient-context.cpp,
363 src/selection.h, src/sp-flowtext.cpp, src/sp-item.cpp,
364 src/sp-item.h, src/sp-shape.cpp, src/sp-text.cpp,
365 src/dialogs/layer-properties.cpp,
366 src/extension/internal/bluredge.cpp,
367 src/extension/internal/grid.cpp, src/ui/dialog/transformation.cpp,
368 src/widgets/desktop-widget.cpp: remove NRMatrix version of
369 sp_item_i2d_affine(). Some include file adjustments.
371 * src/arc-context.cpp: some very minor cleanups.
373 * src/svg/svg-length.{cpp,h}, src/helper/units.cpp: use INCH
374 rather than IN to avoid breaking the compile on some systems.
376 2005-12-13 Carl Hetherington <inkscape@carlh.net>
378 * src/arc-context.cpp, src/connector-context.cpp,
379 src/context-fns.cpp, src/desktop-affine.cpp, src/desktop-affine.h,
380 src/desktop-events.cpp, src/desktop.cpp, src/desktop.h,
381 src/draw-anchor.cpp src/dropper-context.cpp,
382 src/dyna-draw-context.cpp, src/event-context.cpp
383 src/gradient-context.cpp, src/knot.cpp, src/node-context.cpp,
384 src/object-snapper.cpp src/pen-context.cpp,
385 src/pencil-context.cpp, src/rect-context.cpp
386 src/select-context.cpp, src/selection-chemistry.cpp,
387 src/sp-item.cpp, src/sp-item.h src/spiral-context.cpp,
388 src/star-context.cpp, src/text-context.cpp src/zoom-context.cpp,
389 src/ui/widget/ruler.cpp: make desktop's transforms private
390 members.
392 * src/document.cpp, src/object-edit.cpp, src/sp-ellipse.cpp,
393 src/sp-ellipse.h, src/sp-gradient.cpp, src/sp-image.cpp,
394 src/sp-image.h, src/sp-line.cpp, src/sp-line.h,
395 src/sp-linear-gradient.h, src/sp-marker.cpp, src/sp-marker.h,
396 src/sp-pattern.cpp, src/sp-pattern.h, src/sp-radial-gradient.h,
397 src/sp-rect.cpp, src/sp-rect.h, src/sp-root.cpp, src/sp-root.h,
398 src/sp-star.cpp, src/sp-symbol.h, src/sp-text.cpp,
399 src/sp-textpath.h, src/sp-tspan.cpp, src/sp-use.cpp, src/sp-use.h,
400 src/text-tag-attributes.h, src/helper/units.cpp,
401 src/helper/units.h, src/libnrtype/Layout-TNG-Compute.cpp,
402 src/libnrtype/Layout-TNG-Input.cpp,
403 src/libnrtype/Layout-TNG-OutIter.cpp,
404 src/libnrtype/Layout-TNG-Output.cpp, src/libnrtype/Layout-TNG.h,
405 src/libnrtype/TextWrapper.cpp, src/svg/svg-length.cpp,
406 src/svg/svg.h: partial C++-ificiation of SPSVGLength. Rename it
407 to SVGLength.
409 2005-12-13 Mathieu Dimanche <mdimanche@free.fr>
411 * src/snapped-point.{cpp,h} : new files.
413 * src/Makefile_insert : Added the new files
415 * src/arc-context.cpp, src/connector-context.cpp,
416 src/context-fns.cpp, src/draw-context.cpp, src/nodepath.cpp,
417 src/object-edit.cpp, src/pencil-context.cpp,
418 src/selection-chemistry.cpp, src/seltrans.cpp, src/snap.cpp,
419 src/spiral-context.cpp, src/star-context.cpp,
420 src/line-snapper.cpp, src/line-snapper.h, src/object-snapper.cpp,
421 src/object-snapper.h src/snapper.cpp, src/snapper.h,
422 src/event-context.cpp, src/rect-context.cpp,
423 src/select-context.cpp : Use SnappedPoint class
425 * src/color-rgba.h : Added rgba32 unsigned int handling and
426 "inverse" members (NEED TO BE TESTED)
428 2005-12-12 MenTaLguY <mental@rydia.net>
430 * src/widgets/desktop-widget.cpp: moved some widgets into statusbar
431 widget for more aesthetic appearance
433 2005-12-12 Carl Hetherington <inkscape@carlh.net>
435 * src/arc-context.cpp: minor cleanups. Use SnapManager more. Use
436 Inkscape::setup_for_drag_start.
438 * src/connector-context.cpp, src/draw-context.cpp,
439 src/object-edit.cpp, src/pencil-context.cpp, src/rect-context.cpp,
440 src/spiral-context.cpp, src/star-context.cpp: use SnapManager.
442 * src/rect-context.cpp, src/spiral-context.cpp,
443 src/star-context.cpp: use Inkscape::setup_for_drag_start().
445 * src/snapper.{cpp,h}: simplify snap point types code.
447 * src/context-fns.{cpp,h}: add setup_for_drag_start().
449 * src/dyna-draw-context.cpp: remove unused and erroneous snapping code.
451 * src/pen-context.cpp: remove unused variable.
453 * src/draw-context.cpp: use SnapManager.
455 * src/nodepath.cpp: const fixes. Use SnapManager.
457 * src/selection-chemistry.cpp, src/seltrans.cpp: some cleanups.
458 Use new snap API.
460 * src/snap.{cpp,h}: remove some dead code.
462 * src/sp-item.{cpp,h}, src/node-context.cpp, src/draw-context.cpp:
463 remove an unnecessary parameter from sp_item_dt2i_affine().
465 2005-12-09 Carl Hetherington <inkscape@carlh.net>
467 * src/object-snapper.cpp: make node snapping work again.
469 * src/star-context.cpp: use SnapManager. Some other minor cleanups.
471 * src/arc-context.cpp, src/connector-context.cpp,
472 src/dyna-draw-context.cpp, src/pen-context.cpp,
473 src/pencil-context.cpp, src/rect-context.cpp,
474 src/selection-chemistry.cpp, src/spiral-context.cpp,
475 src/star-context.cpp, src/text-context.cpp: use
476 Inkscape::have_viable_layer.
478 * src/context-fns.{cpp,h}: new files.
480 * src/arc-context.cpp, src/context-fns.{cpp,h},
481 src/rect-context.cpp: abstract common code into context-fns and
482 clean it up a bit.
484 2005-12-08 Carl Hetherington <inkscape@carlh.net>
486 * src/grid-snapper.cpp, src/guide-snapper.cpp, src/line-snapper.h:
487 coding style. Change how lines are defined.
489 * src/grid-snapper.h, src/guide-snapper.h: coding style.
491 * src/line-snapper.cpp, src/object-snapper.{cpp,h}: Coding style.
492 Various cleanups. Small API changes.
494 * src/snap.cpp: changes to Snapper API. Added work-in-progress SnapManager.
496 * src/snapper.{cpp,h}: API cleanups.
498 * src/sp-namedview.{cpp,h}: added getSnappers().
500 * src/seltrans.cpp: Cleanup and fix moveTo(). Go back to snapping
501 to snap points rather than the convex hull, at least for a bit.
503 2005-12-07 Carl Hetherington <inkscape@carlh.net>
505 * src/libnr/nr-convex-hull.h: remove unnecessary includes.
507 * src/line-snapper.{cpp,h}, src/object-snapper.{cpp,h},
508 src/attributes.{cpp,h}, src/desktop.cpp, src/dyna-draw-context.cpp
509 src/arc-context.cpp, src/grid-snapper.h, src/nodepath.cpp,
510 src/rect-context.cpp, src/selection-chemistry.cpp,
511 src/seltrans.cpp, src/snap.{cpp,h}, src/snapper.{cpp,h},
512 src/sp-namedview.{cpp,h}, src/spiral-context.cpp,
513 src/star-context.cpp, src/dialogs/desktop-properties.{cpp,h},
514 src/Makefile_insert: first cut of object snapping.
516 * src/grid-snapper.cpp, src/guide-snapper.{cpp,h}: use Inkscape namespace.
518 2005-12-06 Carl Hetherington <inkscape@carlh.net>
520 * src/libnr/nr-maybe.h: add missing public: to class IsNot.
522 * src/splivarot.{cpp,h}: declare some more functions. Fix
523 get_nearest_position_on_Path to not crash if you call it with an
524 Item that isn't Shape or Text.
526 * src/node-context.cpp: adapt for changes in splivarot.{cpp,h}.
528 * src/nodepath.cpp: remove declaration of a function now declared
529 in splivarot.h.
531 2005-12-05 Carl Hetherington <inkscape@carlh.net>
533 * src/desktop.cpp, src/tools-switch.cpp,
534 src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp:
535 re-jig #includes slightly.
537 * src/seltrans.{cpp,h}, src/selcue.{cpp,h}: C++-ification and cleanup.
539 * src/select-context.{cpp,h}, src/seltrans-handles.h: adapt for
540 changes to SelTrans.
542 * src/event-context.{cpp,h}: adapt for changes to SelCue.
544 * src/rect-context.cpp, src/gradient-context.cpp: remove unnecessary include.
546 * src/connector-context.h, src/draw-context.h: add a forward
547 declaration.
549 * src/dropper-context.{cpp,h}: remove an unused variable and its
550 associated includes.
552 * src/main.cpp: fix comment for renamed SPSelCue.
554 * src/dialogs/display-settings.cpp: adapt for slightly re-jigged SelCue.
556 2005-12-04 Ted Gould <ted@gould.cx>
558 * po/POTFILES.in:
560 Adding the .inx files as [type: gettext/xml] so that they will get
561 translated. Good stuff.
563 * share/extensions/addnodes.inx, share/extensions/ai_input.inx,
564 share/extensions/ai_output.inx, share/extensions/bluredge.inx,
565 share/extensions/dia.inx, share/extensions/dots.inx,
566 share/extensions/dropshadow.inx, share/extensions/dxf_input.inx,
567 share/extensions/dxf_output.inx, share/extensions/embedimage.inx,
568 share/extensions/eps_input.inx, share/extensions/epsi_output.inx,
569 share/extensions/ffmet.inx, share/extensions/ffms.inx,
570 share/extensions/ffset.inx, share/extensions/ffss.inx,
571 share/extensions/gimpgrad.inx, share/extensions/grid.inx,
572 share/extensions/handles.inx, share/extensions/interp.inx,
573 share/extensions/kochify.inx, share/extensions/kochify_load.inx,
574 share/extensions/lindenmayer.inx, share/extensions/motion.inx,
575 share/extensions/pdf_output.inx, share/extensions/ps_input.inx,
576 share/extensions/radiusrand.inx, share/extensions/randompnt.inx,
577 share/extensions/randompos.inx, share/extensions/rtree.inx,
578 share/extensions/sk_input.inx, share/extensions/straightseg.inx,
579 share/extensions/summersnight.inx, share/extensions/svgz_input.inx,
580 share/extensions/svgz_output.inx, share/extensions/txt2svg.inx,
581 share/extensions/wavy.inx, share/extensions/whirl.inx,
582 share/extensions/wmf_input.inx:
584 Marking the user visible strings as translatable.
586 * src/extension/dependency.cpp, src/extension/extension.cpp,
587 src/extension/init.cpp, src/extension/input.cpp, src/extension/output.cpp,
588 src/extension/parameter.cpp:
590 Changed to handle translated .inx files. They will find the data, and
591 mark the right strings as translated.
593 * src/extension/effect.cpp, src/extension/effect.h, src/interface.cpp:
595 Changed menu handling to be push instead of pull
597 2005-12-02 Carl Hetherington <inkscape@carlh.net>
599 * src/dropper-context.cpp: coding style.
600 * src/sp-namedview.cpp, src/sp-namedview.h, src/desktop.cpp: some
601 C++-ification of SPNamedView.
603 2005-12-01 MenTaLguY <mental@rydia.net>
605 * src/widgets/desktop-widget.cpp: shuffle status bar around again;
606 add a grippie so we don't have to care about the corner of the window
607 getting covered up
609 2005-12-01 MenTaLguY <mental@rydia.net>
611 * src/widgets/icon.cpp: refactored a bit around the icon prerendering
612 code and added a timer; also kick off the task immediately rather
613 than waiting for the first expose event
615 2005-12-01 MenTaLguY <mental@rydia.net>
617 * src/widgets/desktop-widget.cpp:
619 moved zoom selector away from the right edge so it won't get covered
620 by window manager decorations
622 2005-12-01 MenTaLguY <mental@rydia.net>
624 * src/help.cpp, src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp:
626 Moved creation of the splash widget into the about dialog code,
627 and tweaked the appearance of the dialog in a lot of subtle ways
628 -- we now use an AspectFrame to constrain the aspect ratio of the
629 splash view, and also finally get the correct initial size for the
630 dialog while still allowing it to be arbitrarily resized.
632 2005-12-01 Carl Hetherington <inkscape@carlh.net>
634 * src/sp-namedview.cpp: coding style.
636 2005-12-01 Jon A. Cruz <jon@joncruz.org>
638 * src/widgets/icon.cpp: added idle calback pre-render.
640 2005-11-30 MenTaLguY <mental@rydia.net>
642 * src/ui/dialog/aboutbox.cpp: make 'close' button default widget,
643 and rename "About" tab to "_Splash"
645 2005-11-30 Carl Hetherington <inkscape@carlh.net>
647 * src/svg/svg-path.cpp: add missing #include of assert.h for
648 assert()
649 * src/dialogs/xml-tree.cpp: fix uninitialised variable
650 warnings, move some declarations to first use, coding style fixes.
651 * src/snap.cpp, src/snap.h, src/sp-namedview.cpp: split
652 snap.{cpp,h} up into snapper.{cpp,h}, grid-snapper.{cpp,h},
653 guide-snapper.{cpp,h}. Refactor and simplify. Add another
654 namedview_free_snap().
655 * src/geom.cpp, src/geom.h: cosmetic renaming.
656 * src/pen-context.cpp: a few minor cleanups to
657 pen_handle_button_press(). Other snapping cleanups.
658 * src/draw-context.cpp, src/draw-context.h: split
659 spdc_endpoint_snap_internal() into two functions.
660 * src/pencil-context.cpp: snapping cleanups.
661 * src/ui/widget/unit-menu.cpp: remove definition of a variable
662 that's just been made static.
664 2005-11-26 MenTaLguY <mental@rydia.net>
666 * src/ui/dialog/aboutbox.cpp, src/ui/dialog/aboutbox.h:
667 clean up and simplify About dialog; fix memory management (mostly)
669 2005-11-25 Robert Crosbie <swingincelt@gmail.com>
671 * replaced sp_repr_ref with direct cal to Inkscape::GC::anchor
672 * replaced sp_repr_unref with direct call to Inkscape::GC::release
673 * replaced sp_repr_set_attr with direct call to repr->setAttribute
675 2005-11-24 MenTaLguY <mental@rydia.net>
677 * src/shortcuts.cpp, src/interface.cpp: prune back shortcuts API in
678 preparation for configurable key bindings work
680 2005-11-24 MenTaLguY <mental@rydia.net>
682 * src/sp-item.cpp: remedy erroneous initialization of doubles with NULL
684 2005-11-24 MenTaLguY <mental@rydia.net>
686 * src/seltrans.cpp: prune dead wood (sp_sel_trans_handle_click)
688 2005-11-24 MenTaLguY <mental@rydia.net>
690 * src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp,
691 src/display/canvas-grid.cpp, src/display/guideline.cpp,
692 src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp,
693 src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h,
694 src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp:
696 cosmetic renaming
698 2005-11-23 Robert Crosbie <swingincelt@gmail.com>
700 * replaced sp_repr_change_order with direct cal to repr->changeOrder
701 * replaced sp_repr_add_child with direct call to repr->addChild
702 * replaced sp_repr_remove_child with direct call to repr->removeChild
704 2005-11-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
706 * src/ui/dialog/align-and-distribute.h, src/ui/dialog/align-and-distribute.cpp:
707 Add new action ActionRemoveOverlaps, and add new button & two spin buttons
708 to the Align & Distribute dialog box, to remove overlaps between objects.
709 * configure.ac: New directory src/removeoverlap.
710 * src/Makefile.am: Build new library removeoverlap/libremoveoverlap.a.
711 * src/Makefile_insert: Link against new library removeoverlap/libremoveoverlap.a.
713 2005-11-23 Michael Wybrow <mjwybrow@users.sourceforge.net>
715 * packaging/osx-app.sh, packaging/macosx/Resources/bin/inkscape:
716 Include some missing modules required by gnome-vfs and set shell
717 variables to point to these modules within the OS X app bundle.
718 Fixes bug #1363390.
720 2005-11-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
722 * packaging/osx-app.sh: Fix a typo resulting from last change.
724 2005-11-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
726 * packaging/osx-app.sh: Add libXinerama.1.dylib to the app bundle
727 since users of OS X 10.3.x will not have this file.
729 2005-11-12 Jon Phillips <jon@rejon.org>
731 * po/it.po po/sr.po po/sr@Latn.po: Fixed these po files so that
732 Inkscape builds okay.
735 2005-11-12 Ralf Stephan <ralf@ark.in-berlin.de>
737 * src/ui/view/edit-widget.h, src/ui/view/edit-widget.cpp:
738 new-gui: made complete statusbar widget, equals old-gui now
739 * src/widgets/layer-selector.h, src/ui/widget/selected-style.h:
740 classes have now a constructor with default parameter
741 * src/ui/widget/zoom-status.cpp: smaller font
743 2005-11-12 MenTaLguY <mental@rydia.net>
745 * src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp,
746 src/display/canvas-grid.cpp, src/display/guideline.cpp,
747 src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp,
748 src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h,
749 src/display/sp-canvas.cpp, src/display/sp-canvas.h,
750 src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp:
752 Refactor canvas buffer code a little. Hint: if you have two flags
753 and an invariant that one will be false if the other is true and
754 vice-versa, you can represent them with a single flag. Fixed
755 cut-and-paste madness between sp_canvas_buf_ensure_buf and
756 sp_canvas_clear_buf also. Finally, renamed sp_canvas_buf_ensure_buf
757 to sp_canvas_prepare_buf.
759 2005-11-09 Michael Wybrow <mjwybrow@users.sourceforge.net>
761 * src/sp-item.cpp: Call updateRepr before emitting the transformed
762 signal in sp_item_write_transform. This fixes bug #1303423.
764 * packaging/osx-app.sh: Fixes to allow building app bundles on both
765 OS X 10.4 and earlier versions of the OS without altering the script.
766 Also, add a note that Inkscape needs to be configured with
767 --enable-osxapp when building the OS X package.
769 * po/nl.po: Fix an "Unmatched closing </b>" warning.
771 2005-11-08 Ralf Stephan <ralf@ark.in-berlin.de>
773 merged with branch CXXIFICATION_VIEW_AND_WIDGET
774 * src/arc-context.cpp, src/dyna-draw-context.cpp, src/event-context.cpp,
775 src/file.cpp, gradient-context.cpp, src/inkscape.cpp, src/interface.cpp,
776 src/rect-context.cpp, src/select-context.cpp, src/seltrans.cpp,
777 src/sp-namedview.cpp, src/spiral-context.cpp, src/star-context.cpp,
778 src/verbs.cpp, dialogs/dialog-events.cpp, src/dialogs/layer-properties.cpp,
779 src/ui/dialog/dialog.cpp, src/widgets/desktop-widget.cpp,
780 src/widgets/desktop-widget.h:
781 move gtk code into desktop-widget.cpp, called via desktop
782 * src/ui/view/Makefile_insert: added files edit-widget-interface.h,
783 edit-widget.cpp, edit-widget.h
784 the EditWidget is the Gtkmm version of the SPDesktopWidget
785 * src/ui/widget/Makefile_insert: added files ruler.cpp, ruler.h,
786 svg-canvas.cpp, svg-canvas.h, zoom-status.cpp, zoom-status.h
787 these are widgets part of the EditWidget
788 * src/file.cpp, src/inkscape.cpp, src/ui/dialog/dialog.cpp,
789 src/ui/dialog/dialog.h, src/application/application.h,
790 src/application/application.cpp:
791 divide code /wrt Application::getNewGui(): if true, it's called by the
792 Gtkmm application and the inkscape object is meaningless
793 * src/application/app-prototype.h:
794 replace UI specific return value of getWindow() with void*
795 * src/application/editor.cpp, src/application/editor.h:
796 made Editor a singleton, collect global UI code here that (for Gtk+)
797 lives in inkscape.cpp and elsewhere
798 * src/desktop-events.cpp, src/desktop.cpp, src/event-context.cpp,
799 src/nodepath.cpp, src/seltrans.cpp:
800 simplify calls to desktop->set_coordinate_status
801 * src/desktop-handles.cpp, src/desktop-handles.h,
802 src/extension/internal/ps.cpp, src/widgets/gradient-toolbar.cpp,
803 src/widgets/toolbox.cpp:
804 widget is no longer available through desktop
805 * src/Makefile_insert: added files preferences.h preferences.cpp
806 src/inkscape.h, src/inkscape.cpp, src/application/editor.cpp:
807 move preferences handling into preferences.cpp/h
808 * src/desktop.cpp, src/desktop.h:
809 use EditWidgetInterface, more cosmetics
810 * src/desktop.cpp, src/inkview.cpp, src/slideshow.cpp, src/svg-view-widget.cpp,
811 src/svg-view.cpp, src/svg-view.h, src/ui/view/view.cpp, src/ui/view/view.h:
812 streamline setDoc()/setDocument() logic
813 * src/inkview.cpp: include empty func bodies to make linker happy
815 2005-11-08 ------------0.43
817 2005-11-06 Ted Gould <ted@gould.cx>
819 * 0.43pre2
821 2005-11-01 Jon A. Cruz <jon@joncruz.org>
823 * src/io/base64stream.h, src/io/base64stream.cpp:
824 Applied modified patch 1341198.
826 2005-10-31 Jon A. Cruz <jon@joncruz.org>
828 * src/verbs.cpp:
829 Applied patch from RFE 1247694.
831 2005-10-26 Jon A. Cruz <jon@joncruz.org>
833 * share/screens/about.svg:
834 Trimmed bad lines. Fixed bug 1310742.
836 2005-10-24 Ted Gould <ted@gould.cx>
838 * 0.43pre1
840 2005-10-22 Jon A. Cruz <jon@joncruz.org>
842 * Makefile.mingw, src/io/sys.cpp:
843 Patch 1334818.
845 2005-10-22 Jon A. Cruz <jon@joncruz.org>
847 * src/main.cpp, src/io/sys.cpp:
848 Updating Win32 parameter filename handling.
850 2005-10-22 Michael Wybrow <mjwybrow@users.sourceforge.net>
852 * src/connector-context.cpp: Correct two typos. Fixes bug #1333915.
854 2005-10-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
856 * src/connector-context.cpp: Fix a bug where undoing creation of
857 new connectors revealed intermediate steps.
859 * src/libavoid/connector.cpp, src/libavoid/connector.h,
860 src/libavoid/makepath.cpp, src/libavoid/static.cpp:
861 Applied a couple of libavoid fixes. One of which addresses
862 a possible crash bug.
864 2005-10-19 Ted Gould <ted@gould.cx>
866 * 0.43pre0
868 2005-10-19 Jon A. Cruz <jon@joncruz.org>
870 * inkscape32-16.ico: patch 1323419
872 2005-10-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
874 * src/conn-avoid-ref.cpp: Don't pass avoided objects to libavoid
875 if they have the 'cloned' flag set. Fixes bug #1328401.
877 2005-10-17 Jon A. Cruz <jon@joncruz.org>
879 * src/main.cpp, src/io/sys.h, src/io/sys.cpp:
880 Switched command-line name conversion from filename to locale.
881 Fixes bug #1250124.
883 2005-10-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
885 * src/sp-conn-end.cpp: Don't update the repr for the curve while
886 manually rerouting connector endpoints. This speeds up undo/redo
887 and allows responsive rerouting with the xml editor window open.
888 Fixes bug #1315489.
890 * po/ca.po: Fix unclosed <b> found in translations.
892 2005-10-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
894 * src/isnan.h: Update to allow compilation on OSX 10.4.
896 * src/connector-context.cpp, src/connector-context.h,
897 src/tools-switch.cpp: Allow double-clicking on connectors
898 in the selector tool to swap to the connector tool.
900 2005-10-14 Jon A. Cruz <jon@joncruz.org>
902 * share/palettes/Makefile.am, share/palettes/Tango-Palette.gpl:
903 Adding the Tango palette.
905 2005-10-13 MenTaLguY <mental@rydia.net>
907 * share/screens/about.svg: New copy for about dialog; did some
908 vector clean-up and re-enabled the coffee stains.
910 2005-10-10 Michael Wybrow <mjwybrow@users.sourceforge.net>
912 * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h:
913 Reroute connector lines if the object itself is moved or
914 transformed. Previously a routed line would not unroute if it
915 was moved away from the blocking objects. Fixes bug #1303493.
917 2005-10-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
919 * packaging/macosx/Resources/script, src/path-prefix.h:
920 Don't assume the OSX app bundle will be named "Inkscape.app".
921 This caused things like tool icons to disappear if the app
922 bundle was renamed, e.g., to "Inscape-0.42.2.app".
923 Fixes bug #1289648.
925 2005-10-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
927 * src/sp-conn-end-pair.cpp: Fix a bug where connectors could
928 sometimes be given strange routes if there was a transform on
929 either of the objects that the connector was attached to.
931 * src/conn-avoid-ref.cpp, src/sp-conn-end.cpp: Add a call to
932 sp_document_ensure_up_to_date before checking bounding boxes
933 in response to a transform signal. This is because some
934 objects (e.g., text) will not give the correct bbox until its
935 update function has been called and its internal representation
936 has been updated. This fixes bug #1303523.
938 * src/dialogs/display-settings.cpp, src/dialogs/display-settings.h:
939 Restore the Connector tool preferences tab. Use same ordering
940 for tools as on the toolbar. Add the standard selection cue
941 option to the connector tool preferences. Fixes bug #1303360.
943 2005-10-05 Michael Wybrow <mjwybrow@users.sourceforge.net>
945 * packaging/osx-app.sh: Include locale files in the OSX package and
946 a couple of minor updates for building packages on OSX 10.4.x.
948 * packaging/macosx/Resources/bin/inkscape: Fix a problem in setting
949 LANG to the current OSX language before launching Inkscape.
950 With this fix, the Inkscape app bundle will obey the user's
951 language setting in the system preferences on OSX.
953 2005-09-30 Ralf Stephan <ralf@ark.in-berlin.de>
955 * src/desktop.*, src/widget/desktop-widget.cpp:
956 make empty destructor, fixes #1291009
958 2005-09-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
960 * Info.plist.in: Associate .svgz files with Inkscape on OSX.
961 Fixes bug #1307083.
963 2005-09-27 MenTaLguY <mental@rydia.net>
965 * src/gc-anchored.h: emphasize initial refcount
967 * src/desktop.h, src/svg-view-widget.cpp, src/ui/view/view-widget.cpp,
968 src/ui/view/view.cpp, src/ui/view/view.h,
969 src/widgets/desktop-widget.cpp:
971 Move _whole_ UI::View::View hierarchy over to the garbage collector
972 and fix anchor imbalances; you can't do this piecemeal.
974 2005-09-23 Ben Fowler <bpfowler@users.sourceforge.net>
976 * autogen.sh: Cleanup error message.
978 2005-09-20 Carl Hetherington <inkscape@carlh.net>
980 * src/file.cpp, src/file.h, src/help.cpp: don't replace empty
981 desktops with help files / tutorials. Fixes 1249067.
983 2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
985 * src/jabber_whiteboard/typedefs.h:
986 gcc4 needs more const correctness, fixes #1294298
988 2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
990 * src/desktop.h, src/desktop.cpp, src/interface.cpp,
991 src/dialogs/layer-properties.cpp, src/ui/view/view.cpp,
992 src/widgets/desktop-widget.cpp:
993 correcting old and new oversights, fixes #1290982
995 2005-09-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
997 * src/xml/repr-util.cpp (sp_repr_set_double): Split into two
998 functions (sp_repr_set_svg_double, sp_repr_set_css_double)
999 according to whether or not an exponent is allowed. Update callers.
1000 (sp_repr_set_double_default): Remove this unused function.
1002 2005-09-15 Carl Hetherington <inkscape@carlh.net>
1004 * src/object-edit.cpp: fix idiotic bug introduced in previous commit.
1006 2005-09-14 Carl Hetherington <inkscape@carlh.net>
1008 * src/knot.cpp, src/knotholder.cpp: coding style.
1010 2005-09-13 Ralf Stephan <ralf@ark.in-berlin.de>
1012 * src/desktop.h, src/desktop.cpp, src/svg-view.h, src/svg-view.cpp,
1013 src/ui/view/view.h, src/ui/view/view.cpp, src/ui/view/edit.h:
1014 View::setDocument() did not call same function in subclass
1015 * src/widgets/select-toolbar.cpp: removed usage of SP_DT_WIDGET
1016 * src/desktop.cpp: removed last sp_desktop_* function names
1018 2005-09-13 Carl Hetherington <inkscape@carlh.net>
1020 * src/object-edit.cpp: Add some comments. Minor refactoring.
1021 Snap points when editing rectangles; partial fix for bug 1282399.
1023 * packaging/win32/inkscape.nsi: Correct spelling of associations
1024 and associated; fix for bug 1283916.
1026 2005-09-12 Jon A. Cruz <jon@joncruz.org>
1028 * src/dialogs/iconpreview.cpp, src/dialogs/iconpreview.h,
1029 src/widgets/icon.cpp:
1030 Icon preview now toggles between selection or whole document.
1031 Fixes REF #1281883.
1033 2005-09-12 Ralf Stephan <ralf@ark.in-berlin.de>
1035 * src/widgets/ruler.cpp: fixed precision problem (bug #1242995)
1037 2005-09-12 Peter Moulder <pmoulder@bowman.csse.monash.edu.au>
1039 * src/libnrtype/Layout-TNG-Compute.cpp (Calculator::_measureUnbrokenSpan):
1040 Fix line breaking for [supposedly] non-breaking whitespace characters.
1042 2005-09-11 Ralf Stephan <ralf@ark.in-berlin.de>
1044 * po/nl.po: replaced all instances of "verkleint" with "verkleind"
1045 (bug #1277695)
1047 2005-09-10 Jon A. Cruz <jon@joncruz.org>
1049 * src/preferences-skeleton.h, src/dialogs/iconpreview.cpp:
1050 Made icon preview sizes configurable. Fixes REF #1281885.
1052 2005-09-08 Carl Hetherington <inkscape@carlh.net>
1054 * src/object-edit.cpp: Coding style in SPRect portion. Add
1055 Emacs/vim mode blocks.
1057 2005-09-08 Ralf Stephan <ralf@ark.in-berlin.de>
1059 * src/desktop.cpp, src/ui/view/view.cpp:
1060 removed placement new signal construction
1061 * src/desktop.cpp: selection is no longer anchored
1062 * src/desktop.cpp, src/desktop.h: further cleanup
1063 * src/main.cpp: minor changes in doxygen main page
1065 2005-09-08 MenTaLguY <mental@rydia.net>
1067 * src/xml/document.h, src/xml/session.h, src/xml/simple-session.cpp,
1068 src/xml/simple-session.h:
1070 Add Session and Document createElementNode, createCommentNode,
1071 and createTextNode methods
1073 2005-09-06 Ralf Stephan <ralf@ark.in-berlin.de>
1075 * src/desktop-handles.h, src/desktop-handles.cpp:
1076 added macros SP_DT_MSGSTACK/NAMEDVIEW/WIDGET, moved last
1077 macros from desktop.h
1078 * src/desktop.h src/desktop.cpp, src/sp-namedview.h,
1079 src/sp-namedview.cpp:
1080 moved default_metric and default_unit into namedview
1081 * src/desktop.h src/desktop.cpp, src/widgets/desktop-widget.h,
1082 src/widgets/desktop-widget.cpp:
1083 moved window member into desktop widget
1084 * src/dialogs/clonetiler.cpp, src/dialogs/color-picker.cpp,
1085 src/dialogs/desktop-properties.cpp, src/dialogs/dialog-events.cpp ,
1086 src/dialogs/display-settings.cpp, src/dialogs/export.cpp,
1087 src/dialogs/stroke-style.cpp, src/dialogs/swatches.cpp,
1088 src/dialogs/transformation.cpp, src/dropper-context.cpp,
1089 src/extension/internal/ps.cpp, src/gradient-context.cpp,
1090 src/jabber_whiteboard/callbacks.cpp,
1091 src/jabber_whiteboard/chat-handler.cpp,
1092 src/jabber_whiteboard/message-processors.cpp,
1093 src/jabber_whiteboard/message-queue.cpp,
1094 src/jabber_whiteboard/session-manager.cpp,
1095 src/path-chemistry.cpp, src/satisfied-guide-cns.cpp,
1096 src/sp-text.cpp, src/text-chemistry.cpp,
1097 src/trace/potrace/inkscape-potrace.cpp,
1098 src/trace/trace.cpp, src/ui/dialog/align-and-distribute.cpp:
1099 removed dependency on desktop.h
1100 * src/arc-context.cpp, src/desktop-events.cpp, src/inkscape.cpp,
1101 src/interface.cpp, src/nodepath.cpp, src/rect-context.cpp,
1102 src/select-context.cpp, src/seltrans.cpp, src/spiral-context.cpp,
1103 src/star-context.cpp, src/text-context.cpp, src/ui/dialog/dialog.cpp,
1104 src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp:
1105 minor adaptation due to the above changes
1106 * src/ui/dialog/session-player.cpp: didn't #include config.h
1108 2005-09-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
1110 * doc/keys.html, doc/keys.xml, share/screens/keys.svg,
1111 src/shortcuts.cpp:
1112 Add keyboard shortcuts for the connector tool -- Ctrl+F2 and 'o'.
1114 2005-09-05 Ralf Stephan <ralf@ark.in-berlin.de>
1116 * src/document.cpp, src/draw-anchor.cpp, src/knotholder.cpp,
1117 src/main.cpp, src/object-ui.cpp, src/selcue.cpp,
1118 src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp,
1119 src/sp-star.cpp, src/sp-symbol.cpp, src/sp-tspan.cpp,
1120 src/dialogs/docker.cpp, src/dialogs/extensions.cpp,
1121 src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp,
1122 src/extension/system.cpp, src/widgets/gradient-vector.cpp,
1123 src/jabber_whiteboard/session-file-player.cpp,
1124 src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp,
1125 src/widgets/spw-utilities.cpp, src/extension/implementation/script.cpp,
1126 src/ui/dialog/transformation.cpp, src/seltrans.h,
1127 src/widgets/sp-widget.h:
1128 removed dependency on desktop.h
1129 * src/select-context.cpp, src/tools-switch.cpp,
1130 src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp,
1131 src/dialogs/object-properties.cpp, src/dialogs/clonetiler.cpp:
1132 added dependencies because of above changes
1134 2005-09-04 Kees Cook <kees@outflux.net>
1136 * TRANSLATORS, Makefile.am, src/verbs.cpp, src/help.cpp,
1137 src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp,
1138 src/menus-skeleton.h, src/ui/dialog/Makefile_insert:
1139 Implemented AboutDialog following the Gnome style.
1140 * packaging/win32/inkscape.nsi: added quotes around execution name.
1142 2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
1144 * src/desktop.cpp, src/dropper-context.cpp, src/forward.h,
1145 src/interface.cpp, src/main.cpp, src/sp-anchor.cpp,
1146 src/sp-text.cpp, src/splivarot.cpp, src/svg-view-widget.cpp,
1147 src/svg-view-widget.h, src/svg-view.h, src/extension/effect.h,
1148 src/extension/implementation/plugin-link.h,
1149 src/jabber_whiteboard/session-manager.cpp,
1150 src/ui/dialog/dialog.cpp, src/ui/view/edit.h,
1151 src/ui/view/view-widget.cpp, src/ui/view/view-widget.h,
1152 src/ui/view/view.cpp, src/ui/view/view.h:
1153 minor edits to completely remove SPView identifier, and some
1154 dependencies
1156 2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
1158 * src/sp-conn-end-pair.cpp: Fix a crash bug when undoing connectors
1159 on Linux x86 where we were calling a signal destructor.
1161 * src/io/sys.cpp: Build fix - conditionally include <glib/gstdio.h>
1162 if using glib 2.6.0 or greater, since it is not available in earlier
1163 versions.
1165 2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
1167 * src/svg-view-widget.h, src/svg-view-widget.cpp, src/Makefile_insert:
1168 separated SPSVGViewWidget from SPSVGView
1169 * src/desktop.h, src/svg-view.h, src/ui/view/edit.h,
1170 src/ui/view/view-widget.h, src/ui/view/view.h,
1171 src/widgets/desktop-widget.h, src/desktop.cpp,
1172 src/svg-view.cpp, src/ui/view/view-widget.cpp,
1173 src/ui/view/view.cpp, src/widgets/desktop-widget.cpp:
1174 moved SPDesktop from GObject to C++/sigc++
1175 * src/forward.h:
1176 removed SP_DESKTOP*, SP_SVG_VIEW* macros and dependencies
1177 * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
1178 changed to sigc++ but disabled call
1179 * src/desktop-events.cpp: removed desktop_enter_notify()
1180 * src/sp-anchor.cpp: removed handling of mouse over/out
1181 * src/helper/action.h, src/sp-use.cpp: added missing dependency
1182 * src/arc-context.cpp, src/desktop-affine.cpp, src/desktop-events.cpp,
1183 src/desktop-handles.cpp, src/dyna-draw-context.cpp,
1184 src/event-context.cpp, src/file.cpp, src/gradient-context.cpp,
1185 src/gradient-drag.cpp, src/help.cpp, src/inkscape.cpp,
1186 src/inkview.cpp, src/interface.cpp, src/knot.cpp,
1187 src/knotholder.cpp, src/node-context.cpp, src/nodepath.cpp,
1188 src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp,
1189 src/rubberband.cpp, src/satisfied-guide-cns.cpp,
1190 src/select-context.cpp, src/selection-chemistry.cpp,
1191 src/seltrans.cpp, src/shortcuts.cpp, src/slideshow.cpp,
1192 src/sp-anchor.cpp, src/sp-flowtext.cpp, src/sp-namedview.cpp,
1193 src/sp-text.cpp, src/spiral-context.cpp, src/splivarot.cpp,
1194 src/star-context.cpp, src/text-context.cpp, src/text-editing.cpp,
1195 src/tools-switch.cpp, src/verbs.cpp, src/zoom-context.cpp,
1196 src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp,
1197 src/dialogs/dialog-events.cpp, src/dialogs/export.cpp,
1198 src/dialogs/filedialog.cpp, src/dialogs/iconpreview.cpp,
1199 src/dialogs/layer-properties.cpp, src/dialogs/stroke-style.cpp,
1200 src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp,
1201 src/extension/effect.cpp, src/extension/implementation/script.cpp,
1202 src/extension/internal/grid.cpp, src/extension/internal/ps.cpp,
1203 src/helper/window.cpp, src/ui/dialog/dialog.cpp,
1204 src/ui/widget/imageicon.cpp, src/widgets/gradient-toolbar.cpp,
1205 src/widgets/layer-selector.cpp, src/widgets/select-toolbar.cpp,
1206 src/widgets/toolbox.cpp:
1207 minor adaptations due to the above changes
1208 * src/desktop-events.h: removed dependencies
1209 * src/selection.cpp: improved doxygen documentation
1211 2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
1213 * src/connector-context.cpp: Fix a bug where a data structure was
1214 not being freed, triggering an assertion failure and Inkscape to
1215 crash sometimes when the connector tool context was switched.
1217 2005-09-03 Aaron Spike <aaron@ekips.org>
1219 * src/node-context.cpp, src/livarot.cpp: Fixing a problem where node
1220 adding and curve dragging operate on fills. A special thank you to
1221 Simon Budig of GIMP fame for working with me and giving very
1222 thorough explanations of his curve dragging code.
1224 2005-09-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
1226 * src/libavoid/connector.cpp, src/libavoid/connector.h: Autoroute
1227 connectors while they are being drawn in the connector context.
1229 * src/sp-conn-end.cpp: Fix a bug where connectors attached to shapes
1230 were not always getting updated. Their path was sometimes thought
1231 to be valid even when it was not.
1233 2005-09-02 Michael Wybrow <mjwybrow@users.sourceforge.net>
1235 * src/sp-conn-end.cpp: Fix a bug where connectors not attached to
1236 shapes were not updating correctly if an object was dropped on
1237 their path.
1239 2005-09-01 Michael Wybrow <mjwybrow@users.sourceforge.net>
1241 * src/sp-conn-end.cpp, src/sp-conn-end.h, src/sp-conn-end-pair.cpp,
1242 src/sp-conn-end-pair.h, src/sp-path.cpp, src/libavoid/graph.cpp,
1243 src/libavoid/incremental.cpp:
1245 Connectors now automagically reroute as a result of any 'avoided'
1246 object being placed on their path. They also update to better
1247 paths when blocking shapes are removed.
1249 * src/connector-context.cpp: Update TODO list. Only show endpoints
1250 and allow manipulation of paths marked as connectors.
1252 * src/libavoid/connector.cpp, src/libavoid/connector.h: Connectors
1253 with invalid paths can now notify other code via a callback,
1254 rather than just setting a boolean flag.
1256 * src/conn-avoid-ref.cpp: Fix an obscure crash bug in the connector
1257 routing code where we were still using a freed data structure.
1259 2005-08-31 Michael Wybrow <mjwybrow@users.sourceforge.net>
1261 * src/conn-avoid-ref.cpp, src/conn-avoid-ref.h: Use the correct
1262 coordinate system when passing shape geometry to libavoid.
1263 Add a small amount of buffer space around objects.
1265 * src/attributes-test.cpp, src/attributes.cpp, src/attributes.h,
1266 src/path.cpp: Add code to handle the "inkscape:connector-type"
1267 attribute.
1269 * src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h: Store information
1270 about type paths, to determine whether they are connectors. Keep
1271 a reference to the libavoid representation if necessary. Add code
1272 to call libavoid to get a path for a connector.
1274 * src/sp-conn-end.cpp: Call the connector routing code when connector
1275 ends are moved. Move connector endpoints rather than stretching
1276 when adjusting to draw to shape edge.
1278 * src/libavoid/connector.cpp, src/libavoid/connector.h: Make the
1279 connector references aware of their own initialisation state.
1281 * src/connector-context.cpp: Update TODO list. Update for other
1282 changes. Fix a bug where multi-segment connectors had a solid
1283 black fill while being dragged.
1285 * src/display/curve.cpp, src/display/curve.h: Add a function to
1286 simply move the two endpoints of a curve.
1288 2005-08-30 Michael Wybrow <mjwybrow@users.sourceforge.net>
1290 * src/conn-avoid-ref.cpp, src/libavoid/connector.cpp,
1291 src/libavoid/graph.cpp, src/libavoid/makepath.cpp,
1292 src/libavoid/shape.cpp, src/libavoid/vertices.cpp,
1293 src/libavoid/vertices.h, src/libavoid/visibility.cpp:
1295 Use a better system for unique IDs within libavoid. This properly
1296 addresses a hack in SPAvoidRef that was unsafe on amd64 machines.
1298 * configure.ac: Add the src/libavoid subdir.
1300 2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
1302 * src/attributes.cpp, src/connector-context.cpp, src/sp-item.cpp:
1303 Use "inkscape:connector-avoid" instead of "inkscape:avoid".
1305 2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
1307 * src/libavoid/timer.cpp: Remove some code assuming a fixed size for
1308 timer types.
1310 2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
1312 * src/connector-context.cpp: Fix a problem where the context didn't
1313 notice the current selection when it was entered. Also, fix a
1314 problem where connectors disappeared for a moment when an endpoint
1315 was clicked (for rerouting), but before the mouse was moved.
1317 2005-08-29 David Yip <yipdw@rose-hulman.edu>
1319 * src/ui/dialog/whiteboard-connect.{cpp,h},
1320 src/ui/dialog/whiteboard-sharewithchat.{cpp,h}:
1321 Improved widget layout (switched to Gtk::Table)
1323 * src/jabber_whiteboard/session-manager.cpp:
1324 Fixed crash that occurred when connecting via SSL to a Jabber
1325 server that does not support SSL
1327 2005-08-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
1329 * src/Makefile_insert, src/attributes-test.cpp, src/attributes.cpp,
1330 src/attributes.h, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h,
1331 src/forward.h, src/sp-item.cpp, src/sp-item.h:
1333 Add code that handles the "inkscape:avoid" attribute, used to mark
1334 whether an item should be avoided for the purposes of routing
1335 connectors. This code also calls libavoid when an 'avoided'
1336 item is moved/transformed.
1338 * src/connector-context.cpp, src/connector-context.h,
1339 src/widgets/toolbox.cpp:
1341 Add a couple of buttons to the connector context's toolbar to
1342 allow selected objects to be marked as avoided or ignored for the
1343 purpose of connector routing.
1345 * src/libavoid/debug.h, src/libavoid/geomtypes.h,
1346 src/libavoid/polyutil.cpp, src/libavoid/polyutil.h,
1347 src/libavoid/shape.cpp:
1349 Misc fixes: turn off debugging output, put types in the Avoid
1350 namespace, and add an assertion for a special case that can
1351 cause problems.
1353 2005-08-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
1355 * share/icons/icons.svg: Add a couple of icons for the connector
1356 context toolbar.
1358 2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
1360 * src/Makefile.am, src/Makefile_insert, src/libavoid/*:
1361 Add libavoid code, the library that does all the path planning
1362 work for autorouting connectors.
1364 2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
1366 * src/Makefile_insert: Remove a reference to the previously moved
1367 src/desktop-widget.h. This wasn't breaking the build, but was
1368 stopping me from generating tags files.
1370 2005-08-25 Ralf Stephan <ralf@ark.in-berlin.de>
1372 * src/ui/view/edit.h, src/ui/view/view.h, src/ui/view/view.cpp,
1373 src/ui/view/view-widget.h, src/ui/view/view-widget.cpp,
1374 src/widgets/desktop-widget.h, src/svg-view.h, src/desktop.cpp:
1375 separated SPViewWidget from SPView
1376 * src/connector-context.cpp, src/dyna-draw-context.cpp,
1377 src/file.cpp, src/gradient-context.cpp, src/knot.cpp,
1378 src/node-context.cpp, src/nodepath.cpp, src/path-chemistry.cpp,
1379 src/pen-context.cpp, src/pencil-context.cpp, src/rect-context.cpp,
1380 src/selection-chemistry.cpp, src/spiral-context.cpp,
1381 src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
1382 src/text-context.cpp, src/verbs.cpp, src/dialogs/display-settings.cpp,
1383 src/dialogs/layer-properties.cpp, src/dialogs/find.cpp,
1384 src/dialogs/clonetiler.cpp, src/trace/trace.cpp,
1385 src/trace/potrace/inkscape-potrace.cpp:
1386 all these files relied on a dependency in view.h to include
1387 code for MessageStack and/or MessageContext which is now removed
1388 * dialogs/desktop-properties.cpp: improved doxygen documentation
1390 2005-08-25 Ralf Stephan <ralf@ark.in-berlin.de>
1392 * src/desktop.cpp, src/widgets/desktop-widget.h,
1393 src/widgets/desktop-widget.cpp:
1394 abstracted out all Gtk+ calls from SPDesktop into SPDesktopWidget
1395 * src/Doxyfile, src/main.cpp, src/desktop.cpp:
1396 improved doxygen documentation
1398 2005-08-25 Michael Wybrow <mjwybrow@users.sourceforge.net>
1400 * src/connector-context.cpp, src/connector-context.h:
1401 Change the connector context to use Inkscape's standard selection
1402 mechanism. Show connector endpoint handles for single connectors
1403 in the selection. This is the proposed interaction changes as
1404 discussed on the mailing list. See the post there for a greater
1405 description of the change.
1407 2005-08-24 Ralf Stephan <ralf@ark.in-berlin.de>
1409 * src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp:
1410 separated SPDesktopWidget from SPDesktop
1411 * src/desktop-widget.h: removed
1412 * src/toolbox.cpp, src/toolbox.h, src/select-toolbar.cpp,
1413 src/select-toolbar.h, src/gradient-toolbar.cpp,
1414 src/gradient-toolbar.h: moved into src/widgets
1415 * src/desktop.h, src/desktop.cpp, src/desktop-events.cpp,
1416 src/verbs.cpp, src/Makefile_insert, src/widgets/Makefile_insert,
1417 src/arc-context.cpp, src/dyna-draw-context.cpp,
1418 src/gradient-context.cpp, src/rect-context.cpp,
1419 src/select-context.cpp, src/spiral-context.cpp,
1420 src/star-context.cpp, src/interface.cpp, src/seltrans.cpp:
1421 adapted following SPDesktopWidget separation
1423 2005-08-24 David Yip <yipdw@rose-hulman.edu>
1425 * src/jabber_whiteboard/session-manager.{cpp.h},
1426 src/jabber_whiteboard/callbacks.cpp,
1427 src/ui/dialog/whiteboard-connect.{cpp,h}:
1428 added support for XMPP over SSL to Inkboard
1430 2005-08-22 Ralf Stephan <ralf@ark.in-berlin.de>
1432 * src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp:
1433 both dialogs are now unresizable (bug #1237865)
1434 * src/main.cpp: enhanced doxygen main page
1436 2005-08-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
1438 * packaging/osx-app.sh: Added a command line option which allows
1439 the executable and bundled dylibs to be stripped, significantly
1440 reducing the package size.
1442 2005-08-20 Ralf Stephan <ralf@ark.in-berlin.de>
1444 * src/desktop-style.cpp: fixed bug 1247989: nonstroked objects are
1445 no longer counted in stroke_average_width()
1446 * src/Doxyfile: added 3 more files
1447 * src/main.cpp: introduced doc hierarchy on doxygen main page
1448 * src/desktop-style.cpp: improved doxygen documentation
1450 2005-08-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
1452 * src/connector-context.cpp, src/connector-context.h:
1453 Rework connector context to extend SPEventContext instead of
1454 SPDrawContext, and remove most of the borrowed draw context
1455 code.
1457 2005-08-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
1459 * src/menus-skeleton.h: correct the verb for "Select All In All Layers"
1460 since it was just showing a verb error in the menu.
1462 2005-08-19 Kees Cook <kees@outflux.net>
1464 * autogen.sh, tools-version.sh, distro: report Ubuntu correctly, detect
1465 and reject unsafe automake versions (1.9.0 -> 1.9.6).
1467 2005-08-19 Michael Wybrow <mjwybrow@users.sourceforge.net>
1469 * src/dialogs/display-settings.cpp:
1470 Align the "Oversample bitmaps" option in the preferences
1471 dialog with all the other options.
1473 2005-08-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
1475 * src/Makefile_insert: Added connector-context.{cpp,h}
1477 * src/connector-context.cpp, src/connector-context.h: New code for
1478 the connector context. Handles the interaction of creating and
1479 modifying connectors.
1481 * src/sp-conn-end.cpp, src/sp-conn-end.h: Added sp_conn_adjust_path
1482 for adjusting the path of connectors to the edge of shapes, and
1483 sp_conn_end_detach to detach a connector endpoint from a shape.
1484 Also, when there is only a single shape attached to a connector
1485 and it is moved, then reroute the connector leaving its unattached
1486 endpoint where it is, rather than just moving the whole thing with
1487 the shape.
1489 * src/preferences-skeleton.h, src/toolbox.cpp, src/tools-switch.cpp,
1490 src/tools-switch.h, src/verbs.cpp, src/verbs.h,
1491 src/dialogs/display-settings.cpp, src/dialogs/display-settings.h:
1493 Enable the connector context. Give it a preferences tab, toolbox,
1494 icon, etc. Also, correct some vim modelines.
1496 * src/display/sp-canvas.cpp: Allow enter and leave events to be generated
1497 for canvas items when mouse buttons are depressed.
1499 * src/pixmaps/cursor-connector.xpm: A cursor for connector context.
1501 2005-08-18 Jon A. Cruz <jon@joncruz.org>
1503 * src/knot.cpp: Corrected type conflict for crash bugs.
1505 2005-08-18 Ralf Stephan <ralf@ark.in-berlin.de>
1507 * src/Doxyfile: added 4 more files
1508 * src/extension/implementation/plugin-link.h,
1509 src/extension/internal/gimpgrad.cpp: improved doxygen documentation
1511 2005-08-16 Ralf Stephan <ralf@ark.in-berlin.de>
1513 * src/desktop.h, src/desktop.cpp: replaced gboolean with bool
1514 * src/display/curve.cpp: made is_moveto() inline
1515 * src/knot.cpp, src/extension/extension.cpp, src/helper/action.cpp:
1516 added editor footer
1517 * src/desktop.h, src/desktop.cpp, src/knot.cpp, src/sp-gradient.cpp,
1518 src/display/curve.cpp, src/extension/extension.cpp,
1519 src/extension/implementation/plugin.h,
1520 src/extension/implementation/plugin.cpp,
1521 src/extension/internal/gimpgrad.cpp, src/helper/action.cpp:
1522 improved doxygen documentation
1524 2005-08-14 MenTaLguY <mental@rydia.net>
1526 * src/widgets/layer-selector.cpp: quick fix for crash bug when
1527 deleting unnamed layer [bug 1255843]
1529 2005-08-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
1531 * packaging/macosx/ScriptExec/main.c: Allow the user to ignore the
1532 automatic fixing of the fontconfig problem and fix the problem
1533 manually. Don't pop up the dialog again in this case when they
1534 relaunch Inkscape.
1536 2005-08-13 Ralf Stephan <ralf@ark.in-berlin.de>
1538 * src/menus-skeleton.h: fixed cvs bug where, in the default menus.xml,
1539 given submenus didn't have correct names, so translation on
1540 non-English systems was missed.
1542 2005-08-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
1544 * packaging/macosx/Resources/script, packaging/macosx/ScriptExec/main.c:
1546 Fix for the fontconfig cache problem on OS X 10.4. The first time
1547 Inkscape is launched on 10.4 machines, after checking X11 is available,
1548 a dialog is brought up informing users of the fontconfig problem. The
1549 dialog has a button to run fc-cache as root. If chosen, an OS X
1550 authentication dialog in launched and fc-cache is run following the
1551 authentication. A file is stored in ~/.inkscape to mark that fc-cache
1552 has been run.
1554 2005-08-11 Ralf Stephan <ralf@ark.in-berlin.de>
1556 * src/sp-gradient.cpp,src/sp-gradient-fns.h,src/event-context.h,
1557 src/event-context.cpp: replaced gboolean with bool
1558 * src/document-undo.cpp: added editor footer
1559 * src/sp-gradient.cpp, src/desktop.cpp, src/document.h,
1560 src/document.cpp, src/document-undo.cpp, src/event-context.h,
1561 src/event-context.cpp, src/selection.h:
1562 improved doxygen documentation
1564 2005-08-10 David Yip <yipdw@rose-hulman.edu>
1566 * src/Makefile_insert: added composite-undo-stack-observer.{cpp,h}
1568 * src/document.{cpp.h},
1569 src/document-undo.cpp, src/document-private.h:
1570 added hooks for undo stack observer
1572 * src/jabber_whiteboard/Makefile_insert: added new classes
1574 * src/jabber_whiteboard/callbacks.cpp: moved document initialization actions
1575 here (not the best idea, admittedly...)
1577 * src/jabber_whiteboard/connection-establishment.cpp,
1578 src/jabber_whiteboard/session-manager.*,
1579 src/jabber_whiteboard/chat-handler.cpp: updated to work with new listeners
1581 * src/jabber_whiteboard/message-contexts.cpp,
1582 src/jabber_whiteboard/message-handler.*,
1583 src/jabber_whiteboard/message-tags.*,
1584 src/jabber_whiteboard/defines.h: new message types (TODO: trim out dead
1585 types)
1587 * src/jabber_whiteboard/message-queue.*,
1588 * src/jabber_whiteboard/message-node.h: made MessageNode capable of
1589 representing more message types, as required by callbacks.cpp
1590 and new commit model
1592 * src/jabber_whiteboard/message-utilities.*: new utilities, although
1593 this entire class should be going bye-bye soon (its main tasks have been
1594 taken over by SerializerNodeObserver)
1596 * src/jabber_whiteboard/node-tracker.*: removal of node-level locks
1598 * src/jabber_whiteboard/node-utilities.*: removal of unnecessary methods;
1599 this class should also be removed soon
1601 * src/jabber_whiteboard/session-file-selector.cpp: miscellaneous tweaks
1603 * src/jabber_whiteboard/typedefs.h: new type definitions to handle the new
1604 commit model (TODO: prune unnecessary types)
1606 * src/xml/event.cpp: small hack to get Inkboard working (shouldn't be
1607 there, but I'm still learning my way around XML::Node and
1608 XML::Session...help welcome)
1610 * src/undo-stack-observer.h: interface for classes that watch undo, redo,
1611 and undo log commit events
1613 * src/composite-undo-stack-observer.*: similar to CompositeNodeObserver;
1614 combines multiple undo stack observers
1616 * src/jabber_whiteboard/serializer-node-observer.*: XML::Event serializer
1618 * src/jabber_whiteboard/deserializer.*: XML::Event deserializer
1620 * src/jabber_whiteboard/tracker-action-observer.*: simple observer to
1621 watch for added and removed nodes in undo/redo actions (put aside for
1622 now)
1624 * src/jabber_whiteboard/undo-stack-observer.*: Inkboard's undo stack
1625 observer implementation
1627 2005-08-10 Ralf Stephan <ralf@ark.in-berlin.de>
1629 * src/main.cpp: introduced doxygen doc main page with links
1631 2005-08-09 Ralf Stephan <ralf@ark.in-berlin.de>
1633 * src/Doxyfile: added 5 more files
1634 * src/display/curve.h, src/display/curve.cpp, src/knot.cpp,
1635 src/dialogs/export.cpp: replaced gboolean with bool
1636 * src/display/curve.cpp: removed sp_curve_finish() as it is nowhere
1637 called, made sp_curve_ensure_space() static
1638 * src/sp-object.cpp, src/sp-item.cpp, src/libnr/n-art-bpath.h,
1639 src/libnr/nr-path-code.h, src/ui/view/view.cpp, src/dialogs/export.cpp,
1640 src/display/bezier-utils.cpp, src/display/curve.h,
1641 src/display/curve.cpp, src/knot.h, src/knot.cpp:
1642 improved doxygen documentation
1644 2005-08-08 MenTaLguY <mental@rydia.net>
1646 * README.txt, README: make autotools happy
1648 2005-08-06 MenTaLguY <mental@rydia.net>
1650 * Makefile.am, HACKING, HACKING_de, HACKING_fr, HACKING_it,
1651 HACKING.txt, HACKING.de.txt, HACKING.fr.txt, HACKING.it.txt,
1652 README, README_ca, README_de, README_fr, README_it,
1653 README.txt, README.ca.txt, README.de.txt, README.fr.txt, README.it.txt:
1655 saner filenames
1657 2005-08-06 MenTaLguY <mental@rydia.net>
1659 * src/xml/Makefile_insert, src/xml/log-builder.cpp,
1660 src/xml/log-builder.h, src/xml/simple-session.cpp,
1661 src/xml/simple-session.h:
1663 Implement XML::LogBuilder class and use it from XML::SimpleSession.
1665 2005-08-06 MenTaLguY <mental@rydia.net>
1667 * src/xml/event.h, src/xml/event.cpp, src/xml/event-fns.h:
1668 rejigger the way XML event logs are handled, based on NodeObservers
1670 2005-08-06 MenTaLguY <mental@rydia.net>
1672 * src/xml/simple-session.cpp: minor formatting cleanups
1674 2005-08-06 Ted Gould <ted@gould.cx>
1676 * src/interface.cpp, src/verbs.cpp, src/verbs.h:
1678 Adding in a hash table for Verb ID lookups. This makes searching for them
1679 in the dynamic menus much faster.
1681 2005-08-06 Ralf Stephan <ralf@ark.in-berlin.de>
1683 * src/sp-offset.cpp:
1684 removed a dependency, made refresh_offset_source() static
1685 * src/svg-view.cpp, src/svg-view.h, src/sp-spiral.cpp, src/sp-spiral.h:
1686 replaced gboolean with bool
1687 * src/sp-offset.cpp, src/sp-root.cpp, src/sp-stop.h, src/sp-spiral.h,
1688 src/sp-spiral.cpp, src/svg-view.h, src/svg-view.cpp, src/style.cpp:
1689 improved doxygen documentation
1691 2005-08-05 MenTaLguY <mental@rydia.net>
1693 * inkscape.spec.in: include translated manpages
1695 2005-08-05 Michael Wybrow <mjwybrow@users.sourceforge.net>
1697 * po/nl.po: fix a typo: close a bold tag.
1699 2005-08-03 David Yip <yipdw@rose-hulman.edu>
1701 * src/jabber_whiteboard/typedefs.h:
1702 fixed incorrect template specialization syntax,
1703 removed duplicate definitions (oops...)
1705 * src/gc-alloc.h:
1706 removed explicit keyword from allocator constructors, as it is
1707 necessary to allow implicit conversion for rebinding. Some
1708 containers in the libstdc++ in GCC 3.4.x require this, such as anything
1709 using the standard library's red-black tree implementation --
1710 std::set, std::map, std::multimap
1712 2005-08-03 Ralf Stephan <ralf@ark.in-berlin.de>
1714 * src/pen-context.cpp: made sp_pen_context_root_handler static
1715 * src/snap.h: removed getSnapToBBox() declaration
1716 * src/sp-stop.h: removed three dependencies
1717 * src/Doxyfile: added further 3 files
1718 * src/object-hierarchy.cpp, src/pen-context.h, src/pen-context.cpp,
1719 src/pencil-context.h, src/pencil-context.cpp, src/snap.h,
1720 src/snap.cpp, src/sp-stop.h, src/sp-gradient.h, src/sp-gradient.cpp,
1721 src/sp-linear-gradient.h, src/sp-radial-gradient.h:
1722 improved doxygen documentation
1724 2005-08-03 David Yip <yipdw@rose-hulman.edu>
1726 * src/jabber_whiteboard/Makefile_insert,
1727 src/jabber_whiteboard/message-handler.cpp,
1728 src/jabber_whiteboard/empty.cpp:
1729 fixing some build issues (Apple's ar doesn't like creating
1730 archives with an empty member list, so empty.cpp is a null
1731 placeholder to be used as the sole member in the jabber_whiteboard
1732 archive in the event that a user does not wish to enable
1733 Inkboard)
1735 2005-08-02 Bryce Harrington <bryce@bryceharrington.org>
1737 * src/ui/dialog/*.*: Update copyrights
1739 * doc/WISHLIST: s/Sodipodi/Inkscape/
1741 * src/desktop.cpp: Rename SPView to Inkscape::UI::View::View
1743 * changing include file syntax from "" to <> where appropriate
1745 * Changing copyrights to be consistent
1747 2005-08-03 David Yip <yipdw@rose-hulman.edu>
1749 * src/menus-skeleton.h:
1750 added WITH_INKBOARD ifdef to prevent Inkboard options from being
1751 compiled into the menu skeleton if the Inkboard code is not enabled
1753 2005-08-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
1755 * src/display/curve.cpp: Correctly free an array with "delete []".
1757 2005-08-02 David Yip <yipdw@rose-hulman.edu>
1759 * src/jabber/whiteboard/node-tracker.cpp:
1760 removed unnecessary anchoring of XML::Nodes in XMLNodeTracker
1762 2005-08-02 David Yip <yipdw@rose-hulman.edu>
1764 * src/jabber_whiteboard/typedefs.h:
1765 moved back to GC::Alloc from traceable_allocator
1767 * src/jabber_whiteboard/node-tracker.cpp:
1768 fixed anchor-release problem with XML::Nodes in XMLNodeTracker
1770 2005-08-01 MenTaLguY <mental@rydia.net>
1772 * src/gc.cpp, src/gc-core.h: Hans says it's okay to use
1773 GC_malloc_atomic_uncollectable
1775 2005-08-01 MenTaLguY <mental@rydia.net>
1777 * src/gc-alloc.h: fix improper allocation size
1779 2005-08-01 David Yip <yipdw@rose-hulman.edu>
1781 * src/jabber_whiteboard/message-handler.cpp: removed some
1782 debug output
1784 * src/dialogs/whiteboard-sharewithchat.cpp: removed some excess
1785 debugging code
1787 * src/jabber_whiteboard/session-manager.cpp: removed
1788 redundant if (x == NULL) tests surrounding delete
1790 2005-08-01 David Yip <yipdw@rose-hulman.edu>
1792 * src/ui/icons.cpp, src/ui/stock-items.cpp, src/ui/stock.cpp,
1793 src/ui/stock.h:
1794 added Inkboard UI stock items
1796 * src/dialogs/whiteboard*:
1797 old C/Gtk Inkboard dialogs for collecting user input necessary
1798 to establish Jabber connections and Inkboard sessions (they're
1799 still used in some parts of the Inkboard code)
1801 * src/Makefile.am, src/Makefile_insert, src/desktop.cpp,
1802 src/desktop.h, src/document.cpp, src/file.cpp, src/file.h,
1803 src/menus-skeleton.h, src/verbs.cpp, src/verbs.h:
1804 added necessary UI code to access Inkboard functions
1806 * src/jabber_whiteboard/Makefile_insert,
1807 src/jabber_whiteboard/buddy-list-manager.*,
1808 src/jabber_whiteboard/callbacks.*,
1809 src/jabber_whiteboard/chat-handler.*,
1810 src/jabber_whiteboard/connection-establishment.*,
1811 src/jabber_whiteboard/defines.h,
1812 src/jabber_whiteboard/error*,
1813 src/jabber_whiteboard/internal-constants.*,
1814 src/jabber_whiteboard/invitation-confirm-dialog.*,
1815 src/jabber_whiteboard/jabber-handlers.*,
1816 src/jabber_whiteboard/makefile*,
1817 src/jabber_whiteboard/message-*,
1818 src/jabber_whiteboard/node-*,
1819 src/jabber_whiteboard/received-message-helpers.cpp,
1820 src/jabber_whiteboard/player-functors.*,
1821 src/jabber_whiteboard/session-*,
1822 src/jabber_whiteboard/tracker-node.h,
1823 src/jabber_whiteboard/typedefs.h:
1824 Initial commit of Inkboard code
1825 * src/ui/dialog/session-player*,
1826 src/ui/dialog/whiteboard*:
1827 C++/Gtkmm replacements for some old C/Gtk dialogs
1828 * configure.ac:
1829 added Inkboard configure checks
1830 * src/ui/view/edit.cpp,
1831 src/ui/view/edit.h,
1832 src/ui/view/view.cpp:
1833 added Inkboard code stubs to new Gtkmm code
1834 * share/ui/menus-bars.xml:
1835 added Inkboard code stubs to menu UI XML
1837 2005-08-01 Ralf Stephan <ralf@ark.in-berlin.de>
1839 * src/sp-object.cpp: improved doxygen documentation
1841 2005-07-31 Ralf Stephan <ralf@ark.in-berlin.de>
1843 * src/nodepath.cpp: removed three dependencies
1845 2005-07-31 MenTaLguY <mental@rydia.net>
1847 * src/sp-object.cpp, src/sp-object.h, src/sp-use.cpp:
1848 adopt more consistent refcounting policy
1850 * src/sp-object.h: make second parameter to sp_object_ref and
1851 sp_object_unref optional
1853 2005-07-30 Ralf Stephan <ralf@ark.in-berlin.de>
1855 * src/draw-anchor.cpp, src/nodepath.h: reduced dependencies
1856 * src/nodepath.cpp: removed duplicate dependency, added two from
1857 nodepath.h, made triangle_area() inline
1858 * src/node-context.cpp: added dependency removed from nodepath.h
1859 * src/Doxyfile: added 2 further files to the scanned list
1860 * src/nodepath.h: moved function docs into nodepath.cpp
1861 * src/color.cpp: made file work with src/Doxyfile
1862 * src/color.cpp, src/draw-anchor.cpp, src/geom.cpp, src/nodepath.cpp:
1863 improved doxygen documentation
1864 * src/event-context.cpp: added a \todo
1865 * src/geom.cpp: added editor footer
1867 2005-07-30 Ted Gould <ted@gould.cx>
1869 * src/Makefile_insert, src/inkscape.cpp, src/inkscape.h,
1870 src/interface.cpp, src/selection.cpp, src/verbs.cpp, src/verbs.h,
1871 src/extension/effect.cpp, src/extension/effect.h, src/menus-skeleton.h:
1873 Doing two things. One, making menus configurable by an external xml file
1874 and the second is enabling sensitivity in the verbs. These are both in
1875 pretty basic states right now, but workable.
1877 2005-07-29 MenTaLguY <mental@rydia.net>
1879 * src/shortcuts.cpp: made Ctrl+Shift+G the "primary" ungroup shortcut
1881 2005-07-28 Carl Hetherington <inkscape@carlh.net>
1883 * src/arc-context.cpp: CodingStyle. Replace gboolean with bool.
1885 * src/desktop-events.cpp: CodingStyle: whitespace. Add editor
1886 variables block. gboolean exorcism. Declaration-to-first-use fixes.
1889 2005-07-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
1891 * src/style.h (SP_SCALE24_MAX): Change from 0xffffff to 0xff0000,
1892 and add documentation for choice of value.
1893 (SP_SCALE24_TO_FLOAT) Return a double instead of a float.
1894 (SP_SCALE24_FROM_FLOAT) Change rounding behaviour.
1895 These changes are intended to combat float rounding bugs on x86.
1897 * src/style.cpp (sp_style_merge_from_style_string): Use libcroco
1898 to parse style="..." attribute strings, to improve CSS parsing.
1900 2005-07-27 Ralf Stephan <ralf@ark.in-berlin.de>
1902 * src/Doxyfile: added 10 further files to the scanned list
1903 * src/gc-anchored.h, src/gc-managed.h, src/object-hierarchy.h,
1904 src/pencil-context.h, src/selection.h, src/sp-object.h, src/sp-spiral.h,
1905 src/svg-view.h, src/verbs.h, src/livarot/float-line.h, src/util/list.h,
1906 src/widgets/paint-selector.h, src/xml/repr.h:
1907 made file work with src/Doxyfile
1908 * src/livarot/int-line.h, src/livarot/float-line.h:
1909 moved part of documentation into *.cpp file
1910 * src/gc-anchored.h, src/knot-holder-entity.h, src/nodepath.h,
1911 src/pen-context.h, src/pencil-context.h, src/selection.h,
1912 src/sp-gradient.h, src/sp-gradient.cpp, src/sp-item.h, src/sp-object.h,
1913 src/sp-spiral.h, src/style.h, src/svg-view.h, src/extension/extension.h,
1914 src/libnr/nr-matrix.h, src/livarot/int-line.h, src/livarot/int-line.cpp,
1915 src/livarot/float-line.h, src/livarot/float-line.cpp,
1916 src/livarot/sweep-event.h, src/livarot/sweep-event-queue.h,
1917 src/util/list.h, src/widgets/paint-selector.h, src/xml/repr.h,
1918 src/xml/repr.cpp: documentation improvements
1919 * src/sp-item.h: added editor footer
1921 2005-07-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
1923 * src/svg/stringstream.h, src/svg/stringstream.cpp:
1924 Trim trailing zeros from after the decimal point when writing
1925 float or double to Inkscape::SVGOStringStream.
1926 * src/style-test.cpp: Update expected output accordingly.
1927 * src/svg/stringstream-test.h: New unit test.
1928 * src/Makefile.am, src/svg/Makefile_insert: Add the new unit test.
1929 * src/svg/Makefile_insert:
1930 Don't link unused ftos.cpp, but do link new file stringstream.cpp.
1932 2005-07-26 Michael Wybrow <mjwybrow@users.sourceforge.net>
1934 * share/icons/icons.svg: Add icon for connector context.
1936 2005-07-25 Ralf Stephan <ralf@ark.in-berlin.de>
1938 * src/libnr/nr-pixblock.h: interface cleanup of NRPixBlock: size and mode
1939 are now named enums, empty is now bool, changes to function interfaces
1940 because of that, changed C macros to C++ inline functions, changed clean
1941 flag in some function interfaces from int to bool.
1942 * src/libnr/nr-pixblock.cpp: adaptations due to changes in nr-pixblock.h,
1943 added assert to ...setup_extern() which remains a bit ... risky,
1944 * src/display/sp-canvas.cpp:
1945 made sp_canvas_item_construct() static, inlined two other functions
1946 * src/svg-view.cpp: piped emit_resized through C++ façade (incomplete)
1947 * src/ui/view/view.h: removed legacyMessageContext() member
1948 * src/Doxyfile: added files, and options to collect todo and bugs
1949 * src/display/curve.cpp: moved member docs into curve.h
1950 * src/event-context.cpp: long line cosmetics, moved a function for clarity
1951 * src/sp-offset.h, src/sp-spiral.cpp, src/svg-view.cpp,
1952 src/libnr/nr-types.h: added editor footer
1953 * src/color-rgba.h, src/draw-anchor.h, src/event-context.*, src/knot-*.h,
1954 src/message-*.h, src/modifier-fns.h, src/nodepath.h,
1955 src/pencil-context.cpp, src/pen-context.*, src/snap.*, src/sp-gradient.h,
1956 src/sp-gradient-fns.h, src/sp-item.cpp, src/sp-item-notify-moveto.h,
1957 src/sp-linear-gradient*, src/sp-offset.*, src/sp-radial-gradient*,
1958 src/sp-spiral.cpp, src/style.cpp, src/svg-view.cpp, src/verbs.cpp,
1959 src/dialogs/export.cpp, src/display/bezier-utils.cpp,
1960 src/display/curve.*, src/diplay/sp-canvas.*,
1961 src/extension/implementation/plugin*, src/extension/internal/gimpgrad.h,
1962 src/libnr/nr-matrix.h, src/libnr/nr-matrix-scale-ops.h,
1963 src/libnr/nr-matrix-translate-ops.h, src/libnr/nr-pixblock.*,
1964 src/libnr/nr-point.h, src/libnr/nr-rotate.h, src/libnr/nr-rotate-fns.h,
1965 src/libnr/nr-scale-matrix-ops.h, src/libnr/nr-types.h,
1966 src/livarot/int-line.h, src/ui/view/view.*:
1968 made file work with src/Doxygen, doxygen documentation improvements
1970 2005-07-24 Ted Gould <ted@gould.cx>
1972 * 0.42 Release
1974 2005-07-21 Ted Gould <ted@gould.cx>
1976 * 0.42pre3
1978 2005-05-21 Kees Cook <kees@outflux.net>
1980 * share/icons/*xpm, src/ui/dialog/transformation.cpp,
1981 src/ui/widget/labelled.cpp, src/ui/widget/labelled.h:
1982 Hooked up Gtkmmified Icon manager correctly. (bug 1217367)
1983 * Makefile.mingw, Makefile.mingw.common: patch 1241293 for build fixes
1985 2005-07-12 Ted Gould <ted@gould.cx>
1987 * 0.42pre2
1989 2005-07-11 MenTaLguY <mental@rydia.net>
1991 * src/debug/logger.cpp: wrap stack vector in method to avoid
1992 potential static initialization issues
1994 * src/sp-object.cpp: add refcount logging
1996 2005-07-09 MenTaLguY <mental@rydia.net>
1998 * src/document-undo.cpp, src/inkscape.cpp, src/debug/event.h,
1999 src/debug/logger.cpp, src/debug/logger.h, src/debug/simple-event.h,
2000 src/xml/composite-node-observer.cpp, src/xml/event.cpp,
2001 src/xml/simple-node.cpp:
2003 Categorize debugging events and add the ability to filter them
2004 via setting the INKSCAPE_DEBUG_FILTER environment variable to
2005 a comma-separated list of debug event categories.
2007 2005-07-06 Ben Fowler <bpfowler@users.sourceforge.net>
2009 * src/interface.cpp: Spackle for Bug 1217361 "freeze on quitting
2010 with transform dialog"
2012 2005-07-06 Ben Fowler <bpfowler@users.sourceforge.net>
2014 * src/interface.cpp: Whitespace changes only
2016 2005-07-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
2018 * Info.plist.in, packaging/osx-app.sh, packaging/macosx/*:
2020 Changes and new files required to build an Inkscape dmg on Mac OS X.
2022 2005-07-05 Ted Gould <ted@gould.cx>
2024 * 0.42pre1
2026 2005-07-04 MenTaLguY <mental@rydia.net>
2028 * src/sp-metadata.cpp: strip id= attributes under rdf:RDF elements
2030 2005-07-04 MenTaLguY <mental@rydia.net>
2032 * src/sp-object.cpp, src/xml/node-fns.h, src/xml/node-fns.cpp:
2033 don't force id= attributes on anything except elements in the SVG,
2034 Sodipodi, or Inkscape namespaces.
2036 2005-07-04 MenTaLguY <mental@rydia.net>
2038 * src/verbs.cpp: redo cryve's fix to use defaultLabel() rather than
2039 label()
2041 2005-07-04 Bryce Harrington <bryce@bryceharrington.org>
2043 * src/livarot/float-line.cpp: Patch from Ralf Stephan
2044 <ralf@ark.in-berlin.de> to suppress two warnings.
2046 2005-06-28 Ted Gould <ted@gould.cx>
2048 * src/verbs.h:
2050 Changing from gnu::hash_map to std::map. The only reason this was a
2051 hash_map before is because I was stealing code that I didn't understand,
2052 and a std::map works as well. This fixes bug #1172199 for Tru64.
2054 2005-06-28 Ted Gould <ted@gould.cx>
2056 * src/extension/dependency.cpp:
2058 Fix for #1169396 -- setting the default type for a dependency to file,
2059 this seems to be the only way that the print function could end up using
2060 undefined memory, and then passing it on the gettext.
2062 2005-06-28 Ted Gould <ted@gould.cx>
2064 * src/extension/implementation/script.cpp,
2065 src/extension/implementation/script.h:
2067 Adding support for information coming back on STDERR from scripts. This
2068 fixes bug #1220959 and RFE #1178941
2070 2005-07-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2072 * src/sp-stop.h, sp-gradient.cpp, widgets/gradient-vector.cpp:
2073 Implement currentColor as possible value for stop-color, as per spec.
2075 2005-07-02 Kees Cook <kees@outflux.net>
2077 * src/dialog/rdf.cpp: Added FreeArt license, RFE #1230981.
2079 2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
2081 * inkscape.nsi: Fix for bug #1230744 'wrong installer language'
2082 by theadib.
2084 * src/swatches.cpp: Fix for bug #1217973. The KDE swatches file
2085 consists of 3 column numbers (missing 4th column), and also lacks
2086 an ending newline. In this situation, the name variable returned
2087 from trim() could be null, thus causing a segfault when used as an
2088 input to Glib::ustring.
2090 * src/sp-image.cpp: Patch for bug #1210100 by bpfowler to help
2091 narrow in on the cause of the bug.
2093 * README: Requested change for bug #1174991. Directions for
2094 installation of perl libs
2096 2005-07-01 Ben Fowler <bpfowler@users.sourceforge.net>
2098 * src/desktop.cpp src/svg-view.cpp src/dialogs/display-settings.cpp
2099 src/dialogs/export.cpp src/dialogs/find.cpp
2100 src/extension/internal/ps.cpp: Replaced calls to gtk_widget_set_usize
2101 with GTK2 version.
2103 2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
2105 * inkscape.pod, src/main.cpp: Applying Makzu's patch to implement
2106 --vacuum-defs
2108 2005-06-28 Ted Gould <ted@gould.cx>
2110 * 0.42pre0
2112 2005-06-23 MenTaLguY <mental@rydia.net>
2114 * src/extension/implementation/script.cpp:
2115 support for ruby scripts (interpreter="ruby")
2117 2005-06-20 Ted Gould <ted@gould.cx>
2119 * src/desktop.cpp, src/desktop.h, src/document-private.h,
2120 src/document.cpp, src/document.h, src/extension/effect.h,
2121 src/extension/implementation/script.cpp:
2123 Adding in a signal to show that the document is being reconstructed from
2124 another document. This is used by the scripting extensions implementation
2125 to say to the desktops that they need to save their object references
2126 as strings instead of pointers -- and then recreate them when the
2127 reconstruction is complete.
2129 * src/extension/prefdialog.cpp: Making "OK" have focus.
2131 * src/verbs.cpp, src/verbs.h: Some prototype code to start making verbs
2132 sensitive or not. Not tied in to anything currently.
2134 2005-06-20 MenTaLguY <mental@rydia.net>
2136 * src/xml/repr-io.cpp: whoops... don't emit xmlns:xml
2138 2005-06-18 Richard Hughes <cyreve@users.sourceforge.net>
2140 * src/text-context.cpp, src/text-context.h, src/libnrtype/Layout-TNG.h:
2141 implement double- and triple-clicking of text for selecting the
2142 current word and line respectively
2144 2005-06-16 MenTaLguY <mental@rydia.net>
2146 * src/interface.cpp: removed "Go to root" context menu item
2148 * src/widgets/layer-selector.cpp: hide "(root)" unless it is the current
2149 layer
2151 2005-06-11 Aaron Spike <aaron@ekips.org>
2153 * confiugre.ac,
2154 packaging/autopackage/default.apspec.in:
2156 Adding the autopackage specfile
2158 2005-06-10 Richard Hughes <cyreve@users.sourceforge.net>
2160 * src/text-context.cpp:
2161 use ctrl-left/right for moving cursor by word in text mode,
2162 and ctrl-a for select all text
2164 2005-06-09 Bryce Harrington <bryce@bryceharrington.org>
2166 * src/ui/dialogs/align-and-distribute.cpp,
2167 src/ui/dialogs/align-and-distribute.h,
2168 src/verbs.cpp:
2169 Hooking up Aubanel's new align and distribute dialog
2171 2005-06-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2173 * src/text-context.cpp (sp_text_context_root_handler):
2174 Greater conformance to ISO 14755 for unicode entry. We now
2175 implement all of the ``Basic method'' portion of that spec
2176 except for non-latin hexadecimal digits (first 6 letters of
2177 other alphabets). (Instead, we do the same as for all other
2178 shortcuts, viz. force a group0 (latin) interpretation of the
2179 keypress.)
2181 2005-06-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2183 * src/pen-context.cpp (spdc_endpoint_snap): Pen tool: do snapping
2184 (i.e. namedview_free_snap_all_types) even for initial point.
2186 * src/Makefile.am (INCLUDES), src/extension/script/Makefile_insert
2187 (extension_script_libscript_a_CXXFLAGS):
2189 Put PERL_CFLAGS PYTHON_CFLAGS into global INCLUDES rather than
2190 using a libscript_a_CXXFLAGS var (which involved creating .o files
2191 specific to that lib).
2193 2005-06-06 Ted Gould <ted@gould.cx>
2195 * src/extensions/effect.cpp:
2197 Adding in the code so that effects can be undoable.
2199 * src/extensions/implementation/script.[cpp,h]
2201 Adding in the code so that a new window is not displayed when an
2202 effect is executed. Now it is in the same window (much nicer).
2204 * src/extensions/internal/latex*.[cpp,h]
2206 Patches from the mailing list to add LaTeX output.
2208 2005-06-04 MenTaLguY <mental@rydia.net>
2210 * src/extensions/init.cpp:
2212 That tears it. Showing the error dialog on startup goes. I've
2213 had to respond to one too many bloody bug reports. If we released
2214 0.42 with this too we'll drive away users permanently. As it was,
2215 a lot of people were assuming 0.41 was broken when they saw this
2216 and reverted to 0.40.
2218 2005-05-31 MenTaLguY <mental@rydia.net>
2220 * src/preferences-skeleton.h: disable extension error dialog on startup
2221 -- I'm sick of hearing that Inkscape is broken because people see
2222 this dialog on startup. It makes us look bad.
2224 We're not going to repeat this for 0.42 -- find a better approach.
2226 2005-05-28 MenTaLguY <mental@rydia.net>
2228 * src/document.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp,
2229 src/sp-flowtext.cpp, src/sp-object.cpp, src/sp-object.h,
2230 src/sp-path.cpp, src/sp-rect.cpp, src/sp-root.cpp, src/sp-root.h,
2231 src/sp-shape.cpp, src/version.cpp, src/version.h:
2233 propagate SVG version upwards, and move SPVersion into Inkscape
2234 namespace
2236 2005-05-24 Simarilius <Simarilius@yahoo.com>
2238 * src/verbs.cpp, src/dialogs/tiledialog.cpp, src/dialogs/tiledialog.h,
2239 src/ui/dialogs/dialog-manager.cpp
2241 Converted the tiledialog over to the inkscape:ui:dialog class and hooked
2242 it into dialog manager
2244 2005-05-24 Ted Gould <ted@gould.cx>
2246 * src/extension/dependency.cpp, src/extension/extension.cpp,
2247 src/extension/extension.h, src/extension/init.cpp,
2248 src/extension/implementation/script.cpp:
2250 Applying patch 1199856 which allows Inkscape to have multiple directories
2251 for extensions. Currently those are /share/inkscape/extensions and
2252 ~/.inkscape/extensions. The patch was written by Aaron Spike.
2254 2005-05-23 Ted Gould <ted@gould.cx>
2256 * share/extensions/<alot>
2258 Adding in Aaron Spike's extensions so that they come with the standard
2259 build. Lot's of useful stuff that is worth having for most users.
2261 2005-05-19 MenTaLguY <mental@rydia.net>
2263 * src/verbs.cpp, src/ui/dialog/align-and-distribute.h,
2264 src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h,
2265 src/ui/dialog/document-preferences.h, src/ui/dialog/export.h,
2266 src/ui/dialog/extension-editor.h, src/ui/dialog/fill-and-stroke.h,
2267 src/ui/dialog/find.h, src/ui/dialog/inkscape-preferences.h,
2268 src/ui/dialog/layer-editor.h, src/ui/dialog/messages.h,
2269 src/ui/dialog/text-properties.h, src/ui/dialog/transformation.h,
2270 src/ui/dialog/xml-editor.h, src/ui/view/edit.cpp:
2272 refactoring of the dialog manager code, introducing factory
2273 functions and a method specifically for showing a dialog
2275 2005-05-19 MenTaLguY <mental@rydia.net>
2277 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
2279 fix layer property undo crash bugs (#1192708 and #1171704)
2281 2005-05-19 MenTaLguY <mental@rydia.net>
2283 * src/debug/Makefile_insert, src/debug/sysv-heap.cpp,
2284 src/debug/sysv-heap.h, src/gc.cpp, src/debug/gc-heap.h,
2285 src/debug/heap.cpp:
2287 moved GC Heap statistics stuff into libdebug to ease circular
2288 dependencies
2290 2005-05-17 MenTaLguY <mental@rydia.net>
2292 * src/ui/dialog/memory.cpp:
2294 reduce magnitude of memory jitter somewhat by avoiding some vector
2295 resizing and copying
2297 2005-05-16 MenTaLguY <mental@rydia.net>
2299 * src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h:
2301 revised Debug::Heap API slightly
2303 * src/ui/dialog/memory.cpp, src/ui/dialog/memory.h:
2305 thousands separators and other niceties. 'apply' now forces a
2306 garbage collection and immediate update.
2308 2005-05-16 MenTaLguY <mental@rydia.net>
2310 * src/ui/dialog/memory.cpp: re-use existing rows, though it doesn't
2311 seem to help memory jitter much
2313 2005-05-15 MenTaLguY <mental@rydia.net>
2315 * src/debug/heap.cpp: fix bounds error
2317 * src/ui/dialog/memory.cpp, src/ui/dialog/memory.h:
2319 flesh out basic memory info dialog
2321 2005-05-15 MenTaLguY <mental@rydia.net>
2323 * configure.ac: cleaned up tests
2325 * src/debug/heap.cpp: fixed feature macro names
2327 2005-05-15 MenTaLguY <mental@rydia.net>
2329 * configure.ac: added tests for mallinfo and malloc.h
2331 * src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h:
2333 fix up Debug::Heap API slightly
2335 2005-05-14 MenTaLguY <mental@rydia.net>
2337 * src/interface.cpp, src/verbs.cpp, src/verbs.h,
2338 src/ui/dialog/Makefile_insert, src/ui/dialog/dialog-manager.cpp,
2339 src/ui/dialog/dialog-manager.h, src/ui/dialog/memory.cpp,
2340 src/ui/dialog/memory.h:
2342 added skeletal memory statistics dialog
2344 2005-05-12 Juerg Billeter <j@bitron.ch>
2346 * configure.ac: Have pkgconfig explicitly require gdkmm-2.4 & glibmm-2.4
2347 (used directly by Inkscape), rather than relying on transitive
2348 dependencies. It's said that this is required in some cases with
2349 pkgconfig 0.17 and later.
2351 2005-05-08 Bryce Harrington <bryce@bryceharrington.org>
2353 * ChangeLog configure.ac src/Makefile_insert src/desktop-widget.h
2354 src/desktop.h src/dropper-context.cpp src/file.cpp
2355 src/shortcuts.cpp src/sp-text.cpp src/splivarot.cpp
2356 src/svg-view.h src/text-context.cpp src/verbs.cpp
2357 src/extension/implementation/plugin-link.h
2358 src/extension/internal/grid.cpp src/helper/action.h
2359 src/helper/window.cpp src/ui/dialog/dialog.cpp
2360 src/ui/dialog/messages.cpp src/ui/view/view.cpp
2361 src/ui/view/view.h:
2363 Moving view.* into src/ui/view/
2365 2005-05-09 MenTaLguY <mental@rydia.net>
2367 * src/gc-alloc.h: const-correctness fix
2369 2005-05-08 Bryce Harrington <bryce@bryceharrington.org>
2371 * configure.ac: Defaulting with-gnome-vfs to on if library is
2372 present.
2374 * po/POTFILES.in : Fixed error causing compile failure
2376 * src/Makefile_insert src/arc-context.cpp src/desktop-events.cpp
2377 src/desktop.cpp src/desktop.h src/dyna-draw-context.cpp
2378 src/gradient-context.cpp src/gradient-toolbar.cpp
2379 src/interface.cpp src/make.dep src/make.files
2380 src/rect-context.cpp src/select-context.cpp
2381 src/select-toolbar.cpp src/seltrans.cpp src/spiral-context.cpp
2382 src/star-context.cpp src/toolbox.cpp src/verbs.cpp src/view.cpp
2383 src/view.h src/application/application.cpp
2384 src/application/application.h src/application/editor.cpp
2385 src/application/editor.h src/ui/dialog/align-and-distribute.cpp
2386 src/ui/dialog/align-and-distribute.h
2387 src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h
2388 src/ui/dialog/dialog.cpp src/ui/dialog/dialog.h
2389 src/ui/dialog/document-preferences.cpp
2390 src/ui/dialog/document-preferences.h src/ui/dialog/export.cpp
2391 src/ui/dialog/export.h src/ui/dialog/extension-editor.cpp
2392 src/ui/dialog/extension-editor.h
2393 src/ui/dialog/fill-and-stroke.cpp
2394 src/ui/dialog/fill-and-stroke.h src/ui/dialog/find.cpp
2395 src/ui/dialog/find.h src/ui/dialog/inkscape-preferences.cpp
2396 src/ui/dialog/inkscape-preferences.h
2397 src/ui/dialog/layer-editor.cpp src/ui/dialog/layer-editor.h
2398 src/ui/dialog/messages.h src/ui/dialog/text-properties.cpp
2399 src/ui/dialog/text-properties.h
2400 src/ui/dialog/transformation.cpp src/ui/dialog/transformation.h
2401 src/ui/dialog/tree-editor.h src/ui/dialog/xml-editor.cpp
2402 src/ui/dialog/xml-editor.h src/ui/view/Makefile_insert
2403 src/ui/view/edit.cpp src/ui/view/edit.h :
2405 Renaming sp-desktop-widget.h to desktop-widget.h for
2406 consistency with other desktop files. Beginning migration of
2407 desktop-* and view* files into ui/view/ subdir. Incorporating
2408 DialogManager into existing SPDesktop code. Making SPView
2409 derive from GObject. Changing Messages dialog to run via
2410 DialogManager. Removing getName() and getDesc() routines from
2411 Dialogs.
2413 2005-05-08 MenTaLguY <mental@rydia.net>
2415 * src/Makefile_insert: change link order since the GC code now
2416 depends on the debugging stuff
2418 * src/debug/Makefile_insert, src/debug/heap.cpp, src/debug/heap.h:
2420 added heap statistics stuff
2422 * src/gc.cpp: register the GC heap with the heap statistics facility
2424 2005-05-07 MenTaLguY <mental@rydia.net>
2426 * src/gc-anchored.h, src/gc-core.h, src/gc-finalized.h,
2427 src/gc-managed.h, src/gc.cpp:
2429 hide the global Ops structure from the outside world, and expose
2430 some additional libgc API.
2432 2005-05-07 Ted Gould <ted@gould.cx>
2434 * src/extension/parameter.cpp: bug fix for empty string parameter
2436 * share/extensions/dropshadow.inx,
2437 src/extension/implementation/script.cpp:
2439 Adding in an "interpreter" attribute for "command" that will prepend
2440 the command with the interpreter. Right now only "perl" and "python"
2441 work, and they only prepend "perl" and "python", but more will be
2442 added later.
2444 2005-05-07 MenTaLguY <mental@rydia.net>
2446 * src/xml/composite-node-observer.cpp: bug fixes
2448 * src/xml/simple-node.cpp, src/xml/simple-node.h: switch to using
2449 CompositeNodeObserver, which has saner add/remove semantics
2451 * src/util/list-container-test.cpp: add another test, just to be sure
2453 * src/dialogs/xml-tree.cpp: remove need for is_interactive flag on
2454 attribute changes (the flag is effectively disabled by the other
2455 changes)
2457 2005-05-05 MenTaLguY <mental@rydia.net>
2459 * src/debug/event.h, src/debug/logger.cpp:
2461 PropertyPair is now its own class
2463 * src/xml/simple-node.cpp: add logging of XML node mutation
2465 * src/xml/Makefile_insert, src/xml/composite-node-observer.cpp,
2466 src/xml/composite-node-observer.h:
2468 added CompositeNodeObserver class, which will eventually replace
2469 the existing notifier lists
2471 2005-05-05 MenTaLguY <mental@rydia.net>
2473 * src/inkscape.cpp: try to cleanly terminate log in case of crashes
2475 2005-05-05 MenTaLguY <mental@rydia.net>
2477 * src/document-undo.cpp, src/debug/Makefile_insert, src/debug/logger.cpp,
2478 src/debug/simple-event.h, src/xml/event.cpp:
2480 add debug logging for undo+redo+transactions
2482 2005-05-05 MenTaLguY <mental@rydia.net>
2484 * src/inkscape.cpp, src/main.cpp: initialize and shutdown debug log
2485 from more reliable place
2487 * src/debug/logger.cpp: clean up log via std::atexit()
2489 2005-05-04 MenTaLguY <mental@rydia.net>
2491 * configure.ac, src/Makefile.am, src/Makefile_insert,
2492 src/debug/Makefile_insert, src/debug/makefile.in:
2494 added src/debug/ subdir
2496 * src/gc-alloc.h: no default management type for now
2498 * src/debug/event-tracker.h, src/debug/event.h, src/debug/logger.cpp,
2499 src/debug/logger.h: simple XML logging facility
2501 * src/util/Makefile_insert: fixed cut-and-paste error
2503 2005-04-29 Jon A. Cruz <jon@joncruz.org>
2504 * src/dialogs/swatches.cpp, src/dialogs/eek-preview.h,
2505 src/dialogs/eek-preview.cpp:
2507 Added property to swatch to block taking focus.
2509 2005-04-28 Jon A. Cruz <jon@joncruz.org>
2510 * src/dialogs/Makefile_insert, src/dialogs/eek-preview.cpp,
2511 src/dialogs/eek-preview.h, src/dialogs/swatches.cpp,
2512 src/dialogs/swatches.h, src/ui/previewholder.cpp,
2513 src/ui/previewable.h, src/ui/widget/panel.cpp:
2515 Adding new widget for color swatch usage.
2517 2005-04-24 Bryce Harrington <bryce@bryceharrington.org>
2519 * src/Makefile.am src/Makefile_insert,
2520 src/application/Makefile_insert, src/application/editor.cpp,
2521 src/application/editor.h, src/extension/internal/svg.cpp,
2522 src/ui/Makefile_insert, src/ui/view/Makefile_insert,
2523 src/ui/view/edit.cpp, src/ui/view/edit.h, src/ui/view/makefile.in,
2524 src/application/editor-impl.cpp, src/application/editor-impl.h:
2526 Renaming EditorImpl to UI::View::Edit
2528 Fixing bug 1185873 "batch mode crasher" caused by VFS being
2529 called with relative paths. Adding a check to see whether the
2530 input is a valid uri, and if not, just calling sp_document_new
2531 directly.
2534 2005-04-23 Ted Gould <ted@gould.cx>
2536 * src/extension/input.cpp, src/extension/input.h,
2537 src/extension/output.cpp, src/extension/output.h,
2538 src/extension/system.cpp, src/extension/implementation/implementation.cpp,
2539 src/extension/implementation/implementation.h,
2540 src/extension/implementation/plugin-link.h,
2541 src/extension/implementation/plugin.cpp,
2542 src/extension/implementation/plugin.h,
2543 src/extension/implementation/script.cpp,
2544 src/extension/implementation/script.h, src/extension/internal/eps-out.cpp,
2545 src/extension/internal/eps-out.h:
2547 Changing the prototype for the input/output preferences to be closer to
2548 that of Effects. This is a good thing because now autogui can be used for
2549 all, and it is much cleaner. Unfortunately, this caused alot of files to
2550 be changed. Also, this sets up the extensions dialog (we're only using
2551 one now) to be integrated into the GTKmm codebase easier.
2553 2005-04-21 Jon A. Cruz <jon@joncruz.org>
2554 * src/widgets/sp-color-wheel-selector.cpp,
2555 src/widgets/sp-color-scales.h, src/widgets/sp-color-slider.cpp,
2556 src/widgets/sp-color-scales.cpp:
2557 Changed CMYK selector to display values as 0-100. Fixes REF #1124499.
2559 2005-04-21 Jon A. Cruz <jon@joncruz.org>
2560 * src/xml/repr-io.cpp:
2561 Expand entities; matches 0.41 behavior. Fixes bug #1157478.
2563 2005-04-20 Jon A. Cruz <jon@joncruz.org>
2564 * src/sp-object-repr.cpp:
2565 Turned off the half-done <animate> element. Fixes bug #1119935.
2567 2005-04-19 Carl Hetherington <inkscape@carlh.net>
2569 * src/pen-context.cpp: snap first point to grid correctly, fixing
2570 #1152057. Remove a pointless call to spdc_endpoint_snap().
2572 * src/main.cpp: support for command-line export of PS and EPS,
2573 with options.
2575 2005-04-19 Piers Titus van der Torren <piersvdt@users.sourceforge.net>
2576 * src/seltrans.cpp:
2577 Fixed skew so it displays and snaps to angle instead of percentage.
2579 2005-04-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2581 * src/extension/internal/pov-out.cpp (PovOutput::save):
2582 Was dividing component bytes by 256 instead of the usual 255 to get
2583 floating point component. Changed to use sp_color_get_rgb_floatv
2584 instead. (N.B. This change is wrong if pov files disallow 1.0.)
2586 Multiply opacity by product of all ancestors' opacity property computed
2587 value.
2589 2005-04-18 Carl Hetherington <inkscape@carlh.net>
2591 * src/sp-line.cpp, src/dialogs/unclump.cpp,
2592 src/extension/internal/ps.cpp,
2593 src/libnrtype/Layout-TNG-Output.cpp,
2594 src/Layout-TNG-Scanline-Makers.cpp, src/livarot/PathCutting.cpp:
2595 add missing include of nr-point-matrix-ops.h.
2597 2005-04-17 Jon A. Cruz <jon@joncruz.org>
2598 * src/toolbox.cpp:
2600 Corrected improper use of static. Fixes bug #1171919.
2602 2005-04-16 Ted Gould <ted@gould.cx>
2604 * src/extension/extension.cpp, src/extension/parameter.cpp:
2606 Adding in autogui for strings and booleans. Also making everything
2607 a little more robust.
2609 2005-04-17 cyreve <cyreve@users.sourceforge.net>
2611 * src/: sp-text.cpp, sp-text.h, text-context.cpp, text-editing.cpp,
2612 text-editing.h, libnrtype/Layout-TNG-Compute.cpp: hook up keys
2613 for adding rotate= attribute to text elements
2615 * src/libnrtype/Layout-TNG-OutIter.cpp: visual cursor left/right in
2616 counterdirectional text runs
2618 2005-04-16 cyreve <cyreve@users.sourceforge.net>
2620 * src/: display/nr-arena-glyphs.cpp, libnrtype/FontInstance.cpp,
2621 libnrtype/RasterFont.cpp, libnrtype/font-instance.h,
2622 libnrtype/font-style.h: make miter-limit work for text outlines
2623 (bug 1094430)
2625 2005-04-16 Ted Gould <ted@gould.cx>
2627 * src/main.cpp:
2629 Added a command-line arguement --extension-directory to find what
2630 extension directory Inkscape is configured for. This should be
2631 helpful for external extensions that want to use the same path
2632 as Inkscape itself on their install.
2634 * src/extension/extension.cpp, src/extension/init.cpp:
2636 Putting in half of Aaron's fix, mostly the one to keep things from
2637 crashing, next we need to examine how to add multiple search paths
2638 for extension dependencies.
2640 Also, added a check so that autogui won't create a GUI if there are
2641 no preferences.
2643 2005-04-13 Jon Phillips <jon@rejon.org>
2644 * src/toolbox.cpp: removed code that was beeping and prepped for new
2645 drag-n-drop color swatches.
2647 2005-04-13 cyreve <cyreve@users.sourceforge.net>
2649 * src/path-chemistry.cpp: wire up converting object to path for
2650 flowtext
2652 2005-04-13 Jon A. Cruz <jon@joncruz.org>
2653 * src/dialogs/swatches.cpp:
2655 Simple drag-n-drop out from color swatches.
2657 2005-04-12 cyreve <cyreve@users.sourceforge.net>
2659 * src/: selection-chemistry.cpp, text-context.cpp, text-context.h,
2660 text-editing.cpp, text-editing.h: cut and copy selected text (bug
2661 1175441)
2663 2005-04-12 Ted Gould <ted@gould.cx>
2665 * src/extension/extension.cpp, src/extension/extension.h,
2666 src/extension/parameter.cpp, src/extension/parameter.h,
2667 src/extension/implementation/script.cpp:
2669 This is support for having command line arguments from the parameters,
2670 mostly this is a quick hack to get Aaron working, I'll clean it up
2671 shortly, I promise. But, it does seem to be working right now. More
2672 polish shortly.
2674 2005-04-10 Jon A. Cruz <jon@joncruz.org>
2675 * src/interface.cpp:
2677 Adding drag-n-drop support for arbitrary images. Fixes bug 1177714.
2680 2005-04-10 Ted Gould <ted@gould.cx>
2682 * Lots of files:
2684 Moving around the plugins, and disabling the feature. I've put all
2685 the functionality into the internal directory. This should allow for
2686 the features to be used until plugins could work. Also, adding in
2687 features to do autogui with the parameters of a given extension.
2689 2005-04-09 Bryce <bryce@bryceharrington.org>
2691 * src/view.h, src/application/editor-impl.cpp,
2692 src/application/editor-impl.h, src/svg-view.h:
2694 C++-ification. Created some C++ wrapper member functions for
2695 SPView and SPSVGView, to enable Gtkmmification of SPDesktop
2697 2005-04-09 MenTaLguY <mental@rydia.net>
2699 * src/selection.cpp, src/selection.h, src/dialogs/align.cpp,
2700 src/extension/implementation/script.cpp,
2701 src/extension/plugin/bluredge.cpp, src/util/glib-list-iterators.h:
2703 excise STL abuse, and fix up the glib list iterators
2705 2005-04-09 MenTaLguY <mental@rydia.net>
2707 * src/file.cpp, src/interface.cpp, src/shortcuts.cpp,
2708 src/sp-object-repr.cpp, src/sp-skeleton.cpp, src/verbs.cpp,
2709 src/dialogs/export.cpp, src/display/nr-arena-item.cpp,
2710 src/libnrtype/FontFactory.cpp, src/libnrtype/TextWrapper.h,
2711 src/livarot/ShapeMisc.cpp, src/livarot/float-line.cpp:
2713 combined several different 64-bit cleanness patches
2715 2005-04-08 Jon Phillips <jon@rejon.org>
2716 * src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h:
2717 added copyright statements about dialog manager code I wrote.
2719 2005-04-08 MenTaLguY <mental@rydia.net>
2721 * src/draw-context.cpp, src/dyna-draw-context.cpp, src/path-chemistry.cpp,
2722 src/selection-chemistry.cpp, src/selection.cpp, src/selection.h,
2723 src/splivarot.cpp, src/extension/plugin/bluredge.cpp,
2724 src/trace/trace.cpp:
2726 renaming Inkscape::Selection methods that deal with XML::Nodes
2728 2005-04-08 MenTaLguY <mental@rydia.net>
2730 * src/document-undo.cpp: try again with handling incomplete transactions
2731 more gracefully
2733 2005-04-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2735 * src/io/sys.h, src/io/sys.cpp (dir_open, dir_read_utf8name):
2736 New functions: utf8 wrappers around g_dir_open, g_dir_read_name.
2738 2005-04-02 Bryce Harrington <bryce@bryceharrington.org>
2740 * configure.ac share/ui/menus-bars.xml, src/Makefile.am,
2741 src/Makefile_insert, src/file.cpp,
2742 src/application/editor-impl.cpp,
2743 src/application/editor-impl.h,
2744 src/extension/init.cpp, src/extension/input.cpp,
2745 src/extension/system.cpp,
2746 src/extension/implementation/implementation.cpp,
2747 src/extension/implementation/plugin.cpp,
2748 src/extension/implementation/script.cpp,
2749 src/extension/internal/svg.cpp
2750 : Implementing preliminary load-from-URI functionality.
2753 2005-04-02 MenTaLguY <mental@rydia.net>
2755 * src/document-undo.cpp, src/xml/event-fns.h, src/xml/event.cpp,
2756 src/xml/event.h:
2758 more debugging info for incomplete transactions
2760 2005-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2762 * src/sp-gradient.cpp: Fix crash with cycles in gradient hrefs.
2764 2005-04-01 Jon A. Cruz <jon@joncruz.org>
2765 * src/ui/widget/panel.h, src/ui/widget/panel.cpp, src/ui/previewholder.h,
2766 src/ui/previewholder.cpp,src/dialogs/swatches.cpp,
2767 src/dialogs/swatches.h:
2768 Added UI for switching palettes
2770 2005-04-01 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
2771 * src/style.cpp (sp_style_merge_from_dying_parent): New function to
2772 combine the styles of the <use> element and its ghost child when
2773 unlinking.
2774 * src/sp-use.cpp: Use it.
2776 2005-03-31 Jon A. Cruz <jon@joncruz.org>
2777 * src/ui/widget/panel.cpp, src/ui/widget/panel.h, src/path-prefix.h,
2778 src/dialogs/swatches.cpp, src/dialogs/swatches.h
2779 share/palettes/Makefile.am, share/palettes/svg.gpl:
2780 Adding palette loading.
2782 2005-03-31 Jean-François Lemaire <jflemaire@skynet.be>
2783 * share/icons/David_icons.svg: new icon theme by David Christian Berg
2785 * share/icons/README.icons: explanations on how to use the theme
2787 2005-03-30 Jean-François Lemaire <jflemaire@skynet.be>
2788 * share/icons/icons.svg: included the layer menu icons
2790 * src/verbs.cpp: assigned names for the layer menu icons
2792 2005-03-24 Jon A. Cruz <jon@joncruz.org>
2793 * src/ui/widget/panel.h, src/ui/widget/panel.cpp,
2794 src/ui/previewholder.h, src/ui/previewfillable.h,
2795 src/dialogs/iconpreview.cpp, src/dialogs/swatches.cpp:
2796 Adding panel menu
2798 2005-03-27 Jon Phillips <jon@rejon.org>
2799 * src/toolbox.cpp src/toolbox.h src/ui/dialog/dialog-manager.cpp
2800 src/ui/dialog/dialog-manager.h: Added generic dialog adding,
2801 deleting, and getting and fixed toolboxes to be static with no
2802 warnings.
2804 2005-03-26 Bryce <bryce@bryceharrington.com>
2806 * share/ui/keybindings.rc, share/ui/menus-bars.xml
2807 src/application/editor-impl.cpp, src/application/editor-impl.h,
2808 src/extension/internal/svg.cpp, src/ui/dialog/Makefile_insert,
2809 src/ui/dialog/dialog-manager.cpp,
2810 src/ui/dialog/dialog-manager.h, src/ui/dialog/messages.cpp,
2811 src/ui/dialog/messages.h: Initial implementation of canvas in
2812 gtkmm. Incorporating Messages dialog.
2815 2005-03-24 MenTaLguY <mental@rydia.net>
2817 * src/sp-item.cpp: fix relative transforms to accommodate viewbox
2819 2005-03-24 Jon A. Cruz <jon@joncruz.org>
2821 * src/ui/Makefile_insert, src/dialogs/swatches.cpp,
2822 src/dialogs/swatches.h, src/ui/previewable.h,
2823 src/ui/previewfillable.h, src/ui/previewholder.cpp,
2824 src/ui/previewholder.h:
2825 Refactoring previewable functionality to be more generic
2827 2005-03-24 cyreve <cyreve@users.sourceforge.net>
2829 * src/: text-context.cpp, text-editing.cpp, text-editing.h:
2830 functions for applying style to selected text, and wire them
2831 up to ctrl-b/ctrl-i for bold/italic
2833 2005-03-23 Jon Phillips <jon@rejon.org>
2834 * src/toolbox.h src/toolbox.cpp: Fixed warning messages.
2836 2005-03-23 Jon A. Cruz <jon@joncruz.org>
2838 * src/ui/previewable.h, src/ui/Makefile_insert,
2839 src/dialogs/swatches.h, src/dialogs/swatches.cpp:
2840 Preliminary work for 'Previewable' interface.
2842 2005-03-23 cyreve <cyreve@users.sourceforge.net>
2844 * src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp,
2845 libnrtype/Layout-TNG-Output.cpp: make text on path work correctly
2846 with accent glyphs and suchlike
2848 * src/: text-chemistry.cpp, libnrtype/Layout-TNG.h: apply text's
2849 alignment to startOffset on new textpath elements, fixes bug
2850 1168145
2852 * src/libnrtype/Layout-TNG-OutIter.cpp: selecting text to the end
2853 sometimes displays wrong
2855 2005-03-22 MenTaLguY <mental@rydia.net>
2857 * src/arc-context.cpp, src/desktop-handles.cpp,
2858 src/desktop-handles.h, src/desktop.cpp, src/desktop.h,
2859 src/document.h, src/draw-context.cpp, src/draw-context.h,
2860 src/file.cpp, src/forward.h, src/gradient-context.cpp,
2861 src/gradient-drag.cpp, src/gradient-drag.h, src/gradient-toolbar.cpp,
2862 src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp,
2863 src/node-context.h, src/nodepath.cpp, src/object-ui.cpp,
2864 src/path-chemistry.cpp, src/rect-context.cpp, src/selcue.cpp,
2865 src/selcue.h, src/select-context.cpp, src/select-toolbar.cpp,
2866 src/selection-chemistry.cpp, src/selection-chemistry.h,
2867 src/selection-describer.cpp, src/selection-describer.h,
2868 src/selection.cpp, src/selection.h, src/seltrans.cpp,
2869 src/seltrans.h, src/sp-flowtext.cpp, src/spiral-context.cpp,
2870 src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
2871 src/text-context.cpp, src/toolbox.cpp, src/verbs.cpp,
2872 src/dialogs/align.cpp, src/dialogs/clonetiler.cpp,
2873 src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp,
2874 src/dialogs/find.cpp, src/dialogs/iconpreview.cpp,
2875 src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp,
2876 src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp,
2877 src/dialogs/tiledialog.cpp, src/dialogs/transformation.cpp,
2878 src/dialogs/xml-tree.cpp, src/extension/plugin/bluredge.cpp,
2879 src/extension/plugin/grid.cpp, src/trace/trace.cpp,
2880 src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h,
2881 src/ui/dialog/transformation.cpp, src/ui/dialog/transformation.h,
2882 src/widgets/sp-widget.cpp, src/widgets/sp-widget.h:
2884 SPSelection -> Inkscape::Selection
2886 2005-03-22 cyreve <cyreve@users.sourceforge.net>
2888 * src/text-context.cpp: pressing esc doesn't hide text selection
2890 * src/: text-context.cpp, text-context.h, text-editing.cpp,
2891 text-editing.h, libnrtype/Layout-TNG-OutIter.cpp,
2892 libnrtype/Layout-TNG.h: make text selection inverse
2894 2005-03-21 Jon Phillips <jon@rejon.org>
2896 * share/icons/icons.svg src/dropper-context.cpp
2897 src/dropper-context.h src/toolbox.cpp src/toolbox.h
2898 src/dialogs/display-settings.cpp: Added controls for eye dropper
2899 so that I could get color values. Removed option from application
2900 preferences.
2902 2005-03-21 MenTaLguY <mental@rydia.net>
2904 * src/util/Makefile_insert, src/util/glib-list.h,
2905 src/util/glib-list-iterators.h:
2907 retired old Glib list to Util::List adaptor and replaced it with
2908 new iterator classes that directly wrap the Glib list types
2910 2005-03-21 cyreve <cyreve@users.sourceforge.net>
2912 * src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp: text
2913 selection doesn't show when it starts at the end of a line
2915 * src/: text-context.cpp, text-editing.cpp: crash on overtyping
2916 selection, and displayed selection not removed on overtype
2918 * src/text-editing.cpp: kerning information placed wrongly in text
2919 after child span element
2921 * src/libnrtype/Layout-TNG-OutIter.cpp: crash when pressing home key
2923 * src/: text-context.cpp, text-context.h: text selection using the
2924 mouse
2926 * src/: make.dep, make.files, make.ofiles,
2927 libnrtype/Layout-TNG-OutIter.cpp: further optimisation of text
2928 selection, and an implementation for text on a path
2930 * src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp,
2931 libnrtype/Layout-TNG.h: optimisation of text selection and fixing
2932 some bugs in it
2934 2005-03-18 MenTaLguY <mental@rydia.net>
2936 * src/arc-context.cpp, src/file.cpp, src/gradient-context.cpp,
2937 src/node-context.cpp, src/object-ui.cpp, src/path-chemistry.cpp,
2938 src/rect-context.cpp, src/select-context.cpp,
2939 src/selection-chemistry.cpp, src/selection.cpp, src/selection.h,
2940 src/sp-flowtext.cpp, src/spiral-context.cpp, src/splivarot.cpp,
2941 src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp,
2942 src/dialogs/find.cpp, src/dialogs/in-dt-coordsys.cpp,
2943 src/dialogs/xml-tree.cpp:
2945 cleaned up the selection API slightly
2947 2005-03-20 cyreve <cyreve@users.sourceforge.net>
2949 * src/: text-context.cpp, text-context.h, text-editing.cpp,
2950 text-editing.h, libnrtype/Layout-TNG-OutIter.cpp,
2951 libnrtype/Layout-TNG.h: initial implementation of text selection
2952 (keyboard only)
2954 * src/libnrtype/Layout-TNG-OutIter.cpp: making
2955 createSelectionShape() work
2957 * src/: sp-text.cpp, sp-text.h: text-anchor sometimes won't work in
2958 text on a path when x/y coordinates are set
2960 * src/libnrtype/Layout-TNG-Output.cpp: text on path: cut characters
2961 before start of path and calculate bounding box correctly when
2962 this happens
2964 2005-03-14 Jon A. Cruz <jon@joncruz.org>
2965 * src/dialogs/Makefile_insert, src/dialogs/swatches.cpp,
2966 src/dialogs/swatches.h, src/verbs.h, src/verbs.cpp,
2967 src/interface.cpp:
2968 Initial cut of swatches panel.
2970 2005-03-19 cyreve <cyreve@users.sourceforge.net>
2972 * src/libnrtype/Layout-TNG-Compute.cpp: rendering of
2973 multiple-character clusters in rtl text is wrong (bug 1166603)
2975 * src/: make.dep, make.files, make.ofiles, sp-text.cpp, sp-text.h,
2976 text-editing.cpp: glue kerning info back together on deleting
2977 line breaks
2979 * src/sp-tspan.cpp: textpath startOffset attribute doesn't save
2980 correctly when it's a percentage (remnants of bug 1124722)
2982 * src/: text-context.cpp, text-context.h, text-editing.cpp,
2983 text-editing.h, libnrtype/Layout-TNG.h: use Layout::iterator for
2984 storing cursor position. Fixes bug 1093660 related to rtl cursor
2985 movement
2987 * src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG.h: implement
2988 backend cursor movement functions properly for multidirectional
2989 text
2991 * src/libnrtype/Layout-TNG-Output.cpp: create more efficient
2992 postscript output
2994 * src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG-Output.cpp,
2995 Layout-TNG.h: obey text-align attribute when fitting text to a
2996 path (fixes bug 1124722)
2998 * src/: attributes-test.cpp, attributes.cpp, attributes.h,
2999 sp-flowtext.cpp, sp-text.cpp, sp-tspan.cpp, sp-tspan.h,
3000 style-test.cpp, libnrtype/Layout-TNG-Output.cpp: wire up
3001 startOffset attribute to textpath and fix bugs in it
3003 * src/sp-flowtext.cpp: unflow text command loses formatting
3005 * src/xml/repr-io.cpp: xml pretty-printer adding whitespace in
3006 xml:space=preserve elements
3008 * src/: sp-flowtext.cpp, text-editing.cpp: line breaks not being
3009 put before strings immediately following para elements, and
3010 deleting line breaks copies style wrongly
3012 2005-03-18 MenTaLguY <mental@rydia.net>
3014 * src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert,
3015 src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h,
3016 src/xml/node-fns.cpp, src/xml/node-fns.h, src/xml/node-iterators.h,
3017 src/xml/repr.cpp, src/xml/simple-node.cpp:
3019 renamed node-fns-tree to node-fns, and moved sp_repr_prev etc
3020 into Inkscape::XML namespace (as e.g. previous_node)
3022 2005-03-18 cyreve <cyreve@users.sourceforge.net>
3024 * src/libnrtype/Layout-TNG-Compute.cpp: cursor position on blank
3025 first line sometimes goes wrong
3027 * src/: make.dep, make.files, make.ofiles, text-editing.cpp:
3028 spurious line break added before text in text and font dialog
3029 (bug 1166016)
3031 * src/: make.dep, make.files, make.ofiles, libnrtype/FlowBoxes.cpp,
3032 libnrtype/FlowBoxes.h, libnrtype/FlowDefs.h,
3033 libnrtype/FlowDest.cpp, libnrtype/FlowDest.h,
3034 libnrtype/FlowEater.cpp, libnrtype/FlowEater.h,
3035 libnrtype/FlowRes.cpp, libnrtype/FlowRes.h,
3036 libnrtype/FlowResOut.cpp, libnrtype/FlowSols.cpp,
3037 libnrtype/FlowSols.h, libnrtype/FlowSrc.cpp, libnrtype/FlowSrc.h,
3038 libnrtype/FlowSrcText.cpp, libnrtype/FlowSrcText.h,
3039 libnrtype/FlowStyle.cpp, libnrtype/FlowStyle.h,
3040 libnrtype/FlowUtils.cpp, libnrtype/FlowUtils.h,
3041 libnrtype/Makefile_insert: remove all old text layout code (7,577
3042 lines)
3044 * src/: sp-flowregion.cpp, sp-flowregion.h, sp-flowtext.cpp,
3045 sp-string.cpp, sp-tspan.cpp: purge flow_dest class from code
3047 * src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp,
3048 libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: define a value
3049 for line-height:normal and use it consistently
3051 * src/: sp-text.cpp, sp-text.h, text-editing.cpp: adjust kerning
3052 attributes on adding/removing line breaks
3054 2005-03-17 MenTaLguY <mental@rydia.net>
3056 * src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp:
3058 whoops, we were calling the 'children' vfunc rather than
3059 'last_child' when appending, hence the bug... fixed now.
3061 2005-03-17 cyreve <cyreve@users.sourceforge.net>
3063 * src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp,
3064 libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: x,y
3065 attributes on tspans set wrongly when alignment != left (bug
3066 1165427)
3068 * src/: sp-text.cpp, sp-text.h: break before tspan role=line
3069 elements, ie allow first tspan not to have role=line
3071 * src/: make.dep, make.files, make.ofiles, sp-flowtext.cpp,
3072 sp-object.cpp: fix inheritance problems with xml:space attribute
3074 * src/libnrtype/Layout-TNG-OutIter.cpp: crash on pressing enter
3075 immediately after creating text
3077 * src/: object-ui.cpp, sp-flowtext.cpp: set xml:space=preserve on
3078 new flowdiv elements
3080 * src/libnrtype/Layout-TNG-Compute.cpp: second try at solving
3081 numerical problems when line-height is set
3083 * src/: sp-flowtext.cpp, sp-flowtext.h, verbs.cpp: slightly
3084 objectify SPFlowtext and rearrange its updating a tiny bit
3086 * src/: path-chemistry.cpp, sp-flowregion.cpp, sp-offset.cpp,
3087 sp-text.cpp, sp-text.h, sp-use-reference.cpp, splivarot.cpp:
3088 slightly objectify SPText & rearrange updating code, also fixes
3089 bug causing all letters to appear on top of each other
3091 * src/libnrtype/Layout-TNG-Compute.cpp: characters will draw
3092 multiple times when x or y attributes set
3094 2005-03-16 cyreve <cyreve@users.sourceforge.net>
3096 * src/text-editing.cpp: kerning: add/remove kerns with
3097 insertion/deletion of characters, and only apply kerns to the
3098 topmost xml object
3100 * src/: help.cpp, selection-chemistry.cpp, sp-text.cpp, sp-text.h,
3101 text-context.cpp, text-editing.cpp, text-editing.h,
3102 dialogs/text-edit.cpp: move functions applying to both text and
3103 flowtext to text-editing & rename them. Also fixes crash on
3104 letter/linespacing adjustment for flowtext
3106 * src/text-editing.cpp: fix crash on pressing delete at the end of
3107 text
3109 * src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp,
3110 libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h:
3111 position cursor correctly in empty text objects
3113 * src/: sp-item-group.cpp, sp-object.cpp: optimise adding children
3114 to the end of a group - big improvement for tile clones
3116 * src/: sp-flowtext.cpp, sp-text.cpp, text-context.cpp,
3117 text-editing.cpp, text-editing.h: text editing fixes: track line
3118 breaks with preceding para tag, finish abstracting line
3119 break/remove functions to work on flowtext
3121 * src/libnrtype/Layout-TNG-Compute.cpp: cursor positioning
3122 off-by-one in some cases of wrapped text
3124 2005-03-15 cyreve <cyreve@users.sourceforge.net>
3126 * src/libnrtype/Layout-TNG-Compute.cpp: small tweak to make cursor
3127 positioning work right in counterdirectional spans in fully
3128 justified text
3130 * src/sp-text.cpp: tweak function for adjusting linespacing by
3131 keyboard to be more precise
3133 * src/: attributes-test.cpp, attributes.cpp, make.dep, make.files,
3134 make.ofiles, style-test.cpp, style.cpp,
3135 libnrtype/Layout-TNG-Output.cpp: make the unit tests pass for the
3136 new styles, and workaround build breakage when pango < 1.8
3137 installed
3139 * src/: sp-flowtext.cpp, sp-flowtext.h,
3140 libnrtype/Layout-TNG-Compute.cpp,
3141 libnrtype/Layout-TNG-Scanline-Makers.cpp, libnrtype/Layout-TNG.h:
3142 wiring up full justification to old attribute & fixing bugs in
3143 it, which turned in to a major refactoring of layout code
3145 2005-03-14 Jon Phillips <jon@rejon.org>
3146 * src/attributes-test.cpp, src/attributes.cpp, src/attributes.h,
3147 src/desktop.cpp, src/sp-namedview.cpp, src/sp-namedview.h,
3148 src/dialogs/desktop-properties.cpp:
3149 Added showpageshadow preference to document preferences. Set to
3150 on automatically and saves with document if off.
3152 2005-03-14 MenTaLguY <mental@rydia.net>
3154 * src/display/nr-arena-item.h, src/display/nr-arena-item.cpp,
3155 src/display/nr-arena-group.cpp:
3157 added virtual accessor for last child
3159 2005-03-14 Jon A. Cruz <jon@joncruz.org>
3160 * src/interface.cpp, src/verb.cpp, src/verbs.h,
3161 src/ui/widget/panel.cpp, src/dialogs/Makefile_insert,
3162 src/dialogs/extensions.cpp, src/dialogs/extensions.h,
3163 src/extension/error-file.cpp:
3164 Added rough cut of initial extensions panel and dialog.
3166 2005-03-13 Bryce Harrington <bryce@bryceharrington.org>
3168 * src/path-prefix.h: Rearranging linking of libui and libutil
3170 * src/application/application.cpp, src/application/application.h
3171 src/application/editor-impl.cpp,
3172 src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog.cpp,
3173 src/ui/dialog/dialog.h, src/ui/widget/labelled.cpp,
3174 src/ui/dialog/transformation.h, src/ui/dialog/transformation.cpp,
3175 src/ui/widget/unit-menu.h, src/util/units.cpp:
3176 Integrating Transformation dialog. Removing hardcoded paths.
3178 * share/icons/Makefile.in, share/icons/arrows-horiz.svg,
3179 share/icons/arrows-vert.svg, share/icons/arrows_hor.xpm,
3180 share/icons/arrows_ver.xpm, share/icons/rotate.svg,
3181 share/icons/rotate.xpm, share/icons/scale_hor.xpm,
3182 share/icons/scale_ver.xpm, share/icons/Makefile.am:
3183 Adding icons needed by transformation dialog
3185 * share/ui/units.txt, share/ui/units.xml:
3186 Moving units into ui/ subdir. Dunno if this is the best
3187 location for them, but pjrm thought it'd be ok for now.
3189 2005-03-13 cyreve <cyreve@users.sourceforge.net>
3191 * src/sp-text.cpp: allow adjusting letter spacing when cursor is at
3192 eol
3194 * src/: make.dep, make.files, make.ofiles,
3195 libnrtype/Layout-TNG-Compute.cpp,
3196 libnrtype/Layout-TNG-OutIter.cpp,
3197 libnrtype/Layout-TNG-Output.cpp, libnrtype/Layout-TNG.h: fix
3198 kerning when align != left, and fix linespacing < 100
3200 * src/: sp-flowtext.cpp, sp-text.cpp, sp-text.h, style.cpp,
3201 style.h, libnrtype/Layout-TNG-Compute.cpp,
3202 libnrtype/Layout-TNG-Input.cpp, libnrtype/Layout-TNG-OutIter.cpp,
3203 libnrtype/Layout-TNG-Output.cpp,
3204 libnrtype/Layout-TNG-Scanline-Maker.h, libnrtype/Layout-TNG.h:
3205 implement line-height css property, & fix percentage handling in
3206 style
3208 2005-03-12 MenTaLguY <mental@rydia.net>
3210 * src/node-context.cpp, src/node-context.h, src/nodepath.cpp,
3211 src/nodepath.h, src/toolbox.cpp, src/dialogs/align.cpp:
3213 Renamed Path namespace to Inkscape::NodePath, to avoid conflict
3214 with livarot
3216 2005-03-12 Kees Cook <kees@outflux.net>
3218 * inkscape.nsi: added German translation from Adib Taraben.
3220 2005-03-12 MenTaLguY <mental@rydia.net>
3222 * src/sp-namedview.cpp, src/sp-metadata.cpp: it's valid for an SPObject
3223 'write' method to be passed the object's own XML node; account for this.
3225 2005-03-12 MenTaLguY <mental@rydia.net>
3227 * src/xml/simple-node.cpp: assert that src != this in
3228 SimpleNode::mergeFrom
3230 2005-03-12 MenTaLguY <mental@rydia.net>
3232 * src/gc-alloc.h: minor cosmetic adjustments
3234 * src/util/list-container.h: pedantically correct implementation of
3235 ListContainer::max_size()
3237 * src/xml/simple-node.cpp: use Util::ListContainer iterators in a more
3238 STL-ish fashion
3240 2005-03-12 Jon A. Cruz <jon@joncruz.org>
3241 * src/ui/widget/panel.h, src/ui/widget/panel.cpp,
3242 src/ui/widget/Makefile_insert, src/dialogs/iconpreview.h,
3243 src/dialogs/iconpreview.cpp:
3244 Initial addition of Panel.
3246 2005-03-12 cyreve <cyreve@users.sourceforge.net>
3248 * src/sp-flowtext.cpp: text unflow command losing space characters:
3249 add xml:space to generated elements
3251 * src/: attributes.cpp, attributes.h, make.dep, make.files,
3252 make.ofiles, sp-flowtext.cpp, sp-text.cpp, style.cpp, style.h,
3253 text-context.cpp, text-editing.cpp, dialogs/text-edit.cpp,
3254 libnrtype/FlowRes.cpp, libnrtype/Layout-TNG-Compute.cpp,
3255 libnrtype/Layout-TNG-Input.cpp: add several new text properties
3256 to SPStyle and rearrange some of the existing ones, also remove
3257 spurious warning on applying kerning
3259 * src/sp-flowtext.cpp: svg spec requires us to break after flowline
3260 content, not before
3262 2005-03-11 cyreve <cyreve@users.sourceforge.net>
3264 * src/desktop-style.cpp, src/sp-text.cpp, src/sp-text.h,
3265 src/sp-tspan.cpp, src/sp-tspan.h, src/text-chemistry.cpp,
3266 src/text-editing.cpp,
3267 src/text-editing.h: combine the common attribute handling for text,
3268 tspan and textpath into one class
3270 * src/sp-flowtext.cpp, src/sp-string.cpp: reimplement xml:space attribute
3272 * src/sp-text.cpp, src/libnrtype/Layout-TNG-OutIter.cpp,
3273 src/libnrtype/Layout-TNG.h: apply calculated x/y attributes to tspan
3274 role=line elements
3276 * src/libnrtype/Layout-TNG-Output.cpp: postscript text output
3277 incorrectly scaled (and other problems)
3279 2005-03-10 cyreve <cyreve@users.sourceforge.net>
3281 * src/sp-flowdiv.h, src/sp-flowtext.h,
3282 src/sp-text.cpp, src/sp-text.h, src/sp-tspan.h, src/text-context.cpp,
3283 src/text-editing.cpp, src/text-editing.h,
3284 src/libnrtype/Layout-TNG-Compute.cpp,
3285 src/libnrtype/Layout-TNG-OutIter.cpp: clean up xml tree properly on
3286 deleting line break, & fix various compile issues
3288 * src/nodepath.cpp, src/sp-flowdiv.cpp,
3289 src/sp-flowdiv.h, src/sp-flowtext.cpp, src/sp-flowtext.h,
3290 src/sp-string.cpp,
3291 src/sp-string.h, src/sp-text.cpp, src/sp-text.h, src/sp-tspan.cpp,
3292 src/sp-tspan.h,
3293 src/text-editing.cpp, src/verbs.cpp, src/libnrtype/FontInstance.cpp,
3294 src/libnrtype/font-instance.h, src/livarot/Shape.h,
3295 src/libnrtype/Layout-TNG-Compute.cpp, src/libnrtype/Layout-TNG-Input.cpp,
3296 src/libnrtype/Layout-TNG-OutIter.cpp,
3297 src/libnrtype/Layout-TNG-Output.cpp,
3298 src/libnrtype/Layout-TNG-Scanline-Maker.h,
3299 src/libnrtype/Layout-TNG-Scanline-Makers.cpp,
3300 src/libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: huge rewrite of
3301 text layout (and some text editing) code
3303 2005-03-07 Kees Cook <kees@outflux.net>
3305 * src/libnr/have_mmx.S, src/libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S,
3306 src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S,
3307 src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S,
3308 src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: execstack patch
3309 from Mike Hearn.
3311 2005-03-07 Jon A. Cruz <jon@joncruz.org>
3312 * src/interface.cpp, src/verbs.h, src.verbs.cpp, src/widgets/icon.cpp,
3313 src/dialogs/iconpreview.h, src/dialogs/iconpreview.cpp,
3314 src/dialogs/Makefile_insert:
3315 Initial cut of icon preview.
3317 2005-03-05 Bryce Harrington <bryce@bryceharrington.org>
3319 * share/icons/*.svg, share/icons/Makefile.am: Adding icons for
3320 new gui interface
3322 * src/ui/icons.cpp: Fixing some paths
3324 * src/main.cpp src/application/Makefile_insert,
3325 src/application/app-prototype.h,
3326 src/application/application.cpp src/application/editor.cpp,
3327 src/ui/widget/toolbox.cpp,
3328 src/application/editor-impl.cpp:
3329 Broke out editor-impl class to its own file. Continued getting
3330 the new interface to the point where it'll load and run.
3332 * share/ui/keybindings.rc, share/ui/toolbox.xml, share/ui/menus-bars.xml:
3333 Migrating some of the UI definition stuff into main codebase
3335 2005-03-05 Jon A. Cruz <jon@joncruz.org>
3336 * src/widgets/layer-selector.cpp, src/widgets/icon.h,
3337 src/widgets/icon.cpp, src/dialogs/align.cpp, src/dialogs/find.cpp,
3338 src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp,
3339 src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
3340 src/dialogs/xml-tree.cpp, src/interface.cpp:
3341 Purging PixBufFactory and sp_icon_new_scaled.
3343 2005-03-05 Jon A. Cruz <jon@joncruz.org>
3344 * src/widgets/icon.cpp, src/widgets/icon.cpp: Switched icon loading
3345 to be deferred and react to theme changes on-the-fly.
3347 2005-03-05 Bryce Harrington <bryce@bryceharrington.org>
3349 * src/application/Makefile_insert,
3350 src/application/app-prototype.cpp,
3351 src/application/editor.h,
3352 src/application/app-prototype.h,
3353 src/application/application.cpp:
3354 Adding Application::AppPrototype class
3355 * src/application/editor.cpp,
3356 src/application/editor.h:
3357 Changing member function getImpl() to getWindow()
3359 2005-03-04 Jon A. Cruz <jon@joncruz.org>
3360 * src/widgets/icon.cpp: Changed stock item loading to use stock
3361 GtkImage widgets directly.
3363 2005-03-03 MenTaLguY <mental@rydia.net>
3365 * src/widgets/icon.cpp: more idiomatic iteration
3367 2005-03-02 Jon A. Cruz <jon@joncruz.org>
3368 * src/toolbox.cpp: Added preference to make the top toolbox 'small'.
3370 2005-03-02 Jon A. Cruz <jon@joncruz.org>
3371 * src/desktop-events.cpp, src/desktop.cpp, src/gradient-toolbar.cpp,
3372 src/interface.cpp, src/select-toolbar.cpp, src/toolbox.cpp,
3373 src/toolbox.h, src/dialogs/find.cpp,
3374 src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp,
3375 src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
3376 src/dialogs/xml-tree.cpp, src/widgets/button.cpp,
3377 src/widgets/button.h, src/widgets/icon.cpp, src/widgets/icon.h,
3378 src/widgets/layer-selector.cpp, src/widgets/paint-selector.cpp,
3379 src/widgets/widget-sizes.h:
3380 Initial pass removing hardcoded icon sizes.
3382 2005-03-01 MenTaLguY <mental@rydia.net>
3384 * src/extensions/internal/ps.cpp: apply patch from Michael Forbes
3385 (miforbes@mbhs.edu) to support gradient fills in Postscript
3387 2005-03-01 MenTaLguY <mental@rydia.net>
3389 * src/xml/node.h, src/xml/simple-node.cpp, src/xml/simple-node.h:
3391 begin migration of notification interface to use NodeObserver
3392 rather than NodeEventVector
3394 2005-03-01 MenTaLguY <mental@rydia.net>
3396 * src/xml/Makefile_insert, src/xml/node-listener.h, src/xml/repr.cpp,
3397 src/xml/simple-node.cpp, src/xml/simple-node.h:
3399 reworked listener list to use Util::ListContainer
3401 * src/xml/node-observer.h: minor name cleanups
3403 2005-03-01 MenTaLguY <mental@rydia.net>
3405 * src/Makefile.am, src/algorithms/find-if-before.h:
3407 added new generic algorithm
3409 2005-03-01 MenTaLguY <mental@rydia.net>
3411 * src/Makefile.am, src/util/Makefile_insert,
3412 src/util/list-container-test.cpp, src/util/list-container.h:
3414 tests and fixes for Util::ListContainer
3416 2005-03-01 MenTaLguY <mental@rydia.net>
3418 * src/Makefile.am, src/libnr/Makefile_insert, src/xml/Makefile_insert:
3419 use in-tree copy of cxxtest
3421 * src/util/Makefile_insert, src/util/list-container.h:
3422 add Util::List-based STL container
3424 2005-02-28 SwinginCelt <swinginceltgmail.com>
3426 * Fixed an improper conversion of sp_repr_document_merge that was causing
3427 extra data being written to the prefrences file every time inkscape
3428 exited.
3430 2005-02-26 SwinginCelt <swinginceltgmail.com>
3432 * Replaced all sp_repr_set_content calls with direct call to
3433 repr->setContent.
3434 * Replaced all sp_repr_merge calls with direct call to
3435 repr->mergeFrom.
3436 * Removed inline sp_repr_document_merge because it wasn't used anywhere.
3437 * Removed inline sp_repr_set_content because it wasn't used anywhere.
3439 2005-02-26 MenTaLguY <mental@rydia.net>
3441 * cxxtest: imported cxxtest tree
3443 2005-02-24 Jon A. Cruz <jon@joncruz.org>
3444 * src/main.cpp, io/sys.h, io/sys.cpp:
3445 Refactoring input filename conversion and fallback.
3446 Fixes bug #1151536.
3448 2005-02-22 Jon A. Cruz <jon@joncruz.org>
3449 * src/main.cpp:
3450 Refactoring sp_main_*. Adding cleanup phase on extracted filename list.
3452 2005-02-22 Bryce Harrington <bryce@bryceharringotn.org>
3454 * src/main.cpp, src/application/application.cpp: Adding --new-gui
3455 option.
3457 2005-02-22 Ted Gould <ted@gould.cx>
3459 * src/interface.cpp:
3461 Changing the effects menu to be driven by the preferences file so that the
3462 file can be the same whether or not the effects are shown.
3464 2005-02-22 MenTaLguY <mental@rydia.net>
3466 * src/desktop-style.cpp, src/selection-chemistry.cpp,
3467 src/xml/attribute-record.h, src/xml/node.h, src/xml/repr-css.cpp,
3468 src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h:
3470 use Inkscape::Util::List for attribute lists, and sprinkle some
3471 appropriate 'using's in to make things less verbose
3473 2005-02-22 Jon A. Cruz <jon@joncruz.org>
3474 * src/inkscape.cpp, src/main.cpp, src/extension/input.cpp, src/io/sys.cpp,
3475 src/xml/repr-io.cpp:
3476 Better catching of problematic filenames.
3477 Made segv handler only use dialog box when app is using a gui.
3478 Fixes bug #1145847.
3480 2005-02-22 Ted Gould <ted@gould.cx>
3482 * src/extension/effect.cpp, src/extension/prefdialog.cpp,
3483 src/extension/prefdialog.h,
3484 src/extension/implementation/implementation.cpp,
3485 src/extension/implementation/implementation.h,
3486 src/extension/implementation/plugin-link.h,
3487 src/extension/implementation/plugin.cpp,
3488 src/extension/implementation/plugin.h,
3489 src/extension/implementation/script.cpp,
3490 src/extension/implementation/script.h, src/extension/plugin/grid.cpp:
3492 Changing the API of the effects preferences so that it doesn't use
3493 sockets and plugs anymore. Now there is a generic widget passed down so
3494 that should work on every platform.
3496 * src/extension/plugin/grid.cpp:
3498 Fixing the grid so that it uses the right axis.
3500 * share/extensions/Makefile.am, share/extensions/bluredge.inx,
3501 share/extensions/randompnt.inx, share/extensions/randompos.inx,
3502 src/extension/plugin/Makefile_insert, src/extension/plugin/bluredge.cpp,
3503 src/extension/plugin/randompnt.cpp, src/extension/plugin/randompos.cpp:
3505 Adding some cool new effects, well, they're not really done yet,
3506 but getting the basis code into CVS so I don't loose it :)
3508 2005-02-21 MenTaLguY <mental@rydia.net>
3510 * src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert,
3511 src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h,
3512 src/xml/repr-get-children.cpp, src/xml/repr-get-children.h,
3513 src/xml/repr.cpp, src/xml/simple-node.cpp:
3515 renamed header files
3517 * src/xml/Makefile_insert, src/xml/invalid-operation-exception.h:
3519 added Inkscape::XML::InvalidOperationException
3521 * src/xml/simple-node.h:
3523 avoid a second indirect function call from SimpleNode::appendChild
3525 2005-02-20 SwinginCelt <swinginceltgmail.com>
3527 * Replaced all sp_repr_attr calls with direct call to
3528 repr->attribute.
3529 * Replaced all sp_repr_document_unref calls with direct call to
3530 Inkscape::GC::release(...).
3531 * Removed iinline sp_repr_document_ref because it wasn't used anywhere.
3533 2005-02-20 MenTaLguY <mental@rydia.net>
3535 * src/inkscape.cpp: removed unused signals
3537 2005-02-19 MenTaLguY <mental@rydia.net>
3539 * src/arc-context.cpp, src/desktop.cpp, src/document-private.h,
3540 src/document-undo.cpp, src/document.cpp, src/event-context.cpp,
3541 src/gradient-chemistry.cpp, src/gradient-chemistry.h,
3542 src/gradient-drag.cpp, src/gradient-drag.h, src/node-context.cpp,
3543 src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
3544 src/star-context.cpp, src/toolbox.cpp,
3545 src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
3546 src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
3547 src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
3548 src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert,
3549 src/xml/attribute-record.h, src/xml/document.h, src/xml/event-fns.h,
3550 src/xml/event.cpp, src/xml/event.h, src/xml/node-event-vector.h,
3551 src/xml/node-iterators.h, src/xml/node-listener.h, src/xml/node.h,
3552 src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-io.cpp,
3553 src/xml/repr-sorting.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp,
3554 src/xml/repr.h, src/xml/simple-document.h, src/xml/simple-node.cpp,
3555 src/xml/simple-node.h, src/xml/simple-session.cpp,
3556 src/xml/sp-css-attr.h, src/xml/sp-repr-action-fns.h,
3557 src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h,
3558 src/xml/sp-repr-attr.h, src/xml/sp-repr-doc.h,
3559 src/xml/sp-repr-event-vector.h, src/xml/sp-repr-iterators.h,
3560 src/xml/sp-repr-listener.h, src/xml/sp-repr.h:
3562 renamed header files to match new class names
3564 2005-02-19 MenTaLguY <mental@rydia.net>
3566 * src/arc-context.cpp, src/arc-context.h, src/desktop-events.cpp,
3567 src/desktop-style.cpp, src/desktop-style.h, src/desktop.cpp,
3568 src/document-private.h, src/document-undo.cpp, src/document.cpp,
3569 src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp,
3570 src/dyna-draw-context.h, src/event-context.cpp, src/event-context.h,
3571 src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp,
3572 src/inkscape.h, src/inkview.cpp, src/interface.cpp, src/knotholder.cpp,
3573 src/knotholder.h, src/layer-fns.cpp, src/main.cpp, src/node-context.cpp,
3574 src/nodepath.cpp, src/nodepath.h, src/object-ui.cpp,
3575 src/path-chemistry.cpp, src/prefs-utils.cpp, src/rect-context.cpp,
3576 src/rect-context.h, src/selection-chemistry.cpp, src/selection.cpp,
3577 src/selection.h, src/seltrans.cpp, src/sp-anchor.cpp,
3578 src/sp-animation.cpp, src/sp-clippath.cpp, src/sp-conn-end-pair.cpp,
3579 src/sp-conn-end-pair.h, src/sp-defs.cpp, src/sp-ellipse.cpp,
3580 src/sp-flowdiv.cpp, src/sp-flowregion.cpp, src/sp-flowtext.cpp,
3581 src/sp-gradient-fns.h, src/sp-gradient-test.cpp, src/sp-gradient.cpp,
3582 src/sp-guide.cpp, src/sp-image.cpp, src/sp-item-group.cpp,
3583 src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp,
3584 src/sp-linear-gradient-fns.h, src/sp-marker.cpp, src/sp-mask.cpp,
3585 src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-namedview.h,
3586 src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object-repr.h,
3587 src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp, src/sp-offset.h,
3588 src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp,
3589 src/sp-polyline.cpp, src/sp-radial-gradient-fns.h, src/sp-rect.cpp,
3590 src/sp-root.cpp, src/sp-shape.cpp, src/sp-skeleton.cpp,
3591 src/sp-spiral.cpp, src/sp-star.cpp, src/sp-string.cpp,
3592 src/sp-symbol.cpp, src/sp-text.cpp, src/sp-tspan.cpp,
3593 src/sp-use-reference.h, src/sp-use.cpp, src/spiral-context.cpp,
3594 src/spiral-context.h, src/splivarot.cpp, src/star-context.cpp,
3595 src/star-context.h, src/style.cpp, src/style.h, src/text-chemistry.cpp,
3596 src/text-context.cpp, src/text-editing.cpp, src/toolbox.cpp,
3597 src/verbs.cpp, src/application/application.cpp,
3598 src/application/application.h, src/application/editor.h,
3599 src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp,
3600 src/dialogs/export.cpp, src/dialogs/fill-style.cpp, src/dialogs/rdf.cpp,
3601 src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h,
3602 src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp,
3603 src/dialogs/tiledialog.cpp, src/dialogs/xml-tree.cpp,
3604 src/ecma/EcmaBinding.cpp, src/ecma/EcmaBinding.h,
3605 src/extension/dependency.cpp, src/extension/dependency.h,
3606 src/extension/effect.cpp, src/extension/effect.h,
3607 src/extension/extension.cpp, src/extension/extension.h,
3608 src/extension/input.cpp, src/extension/input.h,
3609 src/extension/output.cpp, src/extension/output.h,
3610 src/extension/print.cpp, src/extension/print.h, src/extension/system.cpp,
3611 src/extension/implementation/plugin.cpp,
3612 src/extension/implementation/script.cpp,
3613 src/extension/implementation/script.h,
3614 src/extension/internal/gdkpixbuf-input.cpp,
3615 src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
3616 src/extension/internal/svg.cpp, src/extension/plugin/grid.cpp,
3617 src/helper/stock-items.cpp, src/trace/trace.cpp,
3618 src/widgets/dash-selector.cpp, src/widgets/dash-selector.h,
3619 src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp,
3620 src/widgets/layer-selector.cpp, src/widgets/layer-selector.h,
3621 src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp,
3622 src/widgets/sp-widget.h, src/widgets/sp-xmlview-attr-list.cpp,
3623 src/widgets/sp-xmlview-attr-list.h, src/widgets/sp-xmlview-content.cpp,
3624 src/widgets/sp-xmlview-content.h, src/widgets/sp-xmlview-tree.cpp,
3625 src/widgets/sp-xmlview-tree.h, src/widgets/spw-utilities.h,
3626 src/xml/comment-node.h, src/xml/element-node.h, src/xml/node-observer.h,
3627 src/xml/repr-action-test.cpp, src/xml/repr-css.cpp,
3628 src/xml/repr-get-children.cpp, src/xml/repr-get-children.h,
3629 src/xml/repr-io.cpp, src/xml/repr-sorting.cpp, src/xml/repr-sorting.h,
3630 src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h,
3631 src/xml/session.h, src/xml/simple-document.h, src/xml/simple-node.cpp,
3632 src/xml/simple-node.h, src/xml/simple-session.cpp,
3633 src/xml/simple-session.h, src/xml/sp-css-attr.h,
3634 src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp,
3635 src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h,
3636 src/xml/sp-repr-doc.h, src/xml/sp-repr-event-vector.h,
3637 src/xml/sp-repr-iterators.h, src/xml/sp-repr-listener.h,
3638 src/xml/sp-repr.h, src/xml/text-node.h, src/xml/transaction-logger.h:
3640 SPRepr -> Inkscape::XML::Node
3641 SPReprDoc -> Inkscape::XML::Document
3642 SPReprAttr -> Inkscape::XML::AttributeRecord
3643 SPReprAction -> Inkscape::XML::Event
3644 SPReprEventVector -> Inkscape::XML::EventVector
3645 SPReprListener -> Inkscape::XML::NodeListener
3647 etc..
3649 2005-02-19 Jon A. Cruz <jon@joncruz.org>
3650 * src/extension/extension.h, src/extension/internal/svg.cpp,
3651 src/extension/internal/svgz.cpp:
3652 Fixing .svgz Inkscape save and adding .svgz Plain save.
3653 Fixes bug #1144223
3655 2005-02-18 Jon A. Cruz <jon@joncruz.org>
3656 * src/Makefile.am, src/libnr/Makefile_insert,
3657 src/libnr/nr-point-fns-test.h src/libnr/nr-types-test.h:
3658 Adding initial version of CxxTest test cases.
3660 2005-02-17 Jon A. Cruz <jon@joncruz.org>
3662 * src/io/gzipinputstream.h, src/io/gzipinputstream.cpp: Changed
3663 decompression to be streammed and removed hardcoded limit.
3665 2005-02-17 MenTaLguY <mental@rydia.net>
3667 * src/inkscape.h, src/inkscape.cpp, src/desktop.cpp:
3669 rewrote "last desktop standing" test to not suck
3671 2005-02-15 SwinginCelt <swinginceltgmail.com>
3673 * Replaced some sp_repr_attr calls with direct call to
3674 repr->attribute.
3676 2005-02-16 John Cliff <simarilius@yahoo.com>
3678 * src/dialogs/tiledialog.h, src/dialogs/tiledialog.cpp,
3679 src/dialogs/makefile_insert, src/verbs.cpp, src/verbs.h:
3680 Added a dialog that allows you to arrange the selection
3681 in a grid pattern with user defined spacing.
3682 its in objects->grid arrange...
3684 2005-02-15 SwinginCelt <swinginceltgmail.com>
3686 * Replaced inline function sp_repr_name with direct call to
3687 repr->name.
3688 * Replaced inline function sp_repr_content with direct call to
3689 repr->content.
3690 * Replaced inline function sp_repr_has_attr with direct call to
3691 repr->matchAttributeName.
3693 2005-02-15 MenTaLguY <mental@rydia.net>
3695 * src/document.cpp, src/document.h, src/file.cpp, src/help.cpp,
3696 src/inkscape.cpp, src/inkview.cpp, src/slideshow.cpp,
3697 src/dialogs/filedialog.cpp, src/dialogs/stroke-style.cpp,
3698 src/extension/internal/gdkpixbuf-input.cpp,
3699 src/extension/internal/svg.cpp, src/extension/plugin/gimpgrad.cpp,
3700 src/helper/stock-items.cpp, src/widgets/icon.cpp:
3702 removed unused SPDocument::advertize
3704 2005-02-14 MenTaLguY <mental@rydia.net>
3706 * src/document.cpp: remove redundant assignment that appears to confuse
3707 gcc anyhow
3709 2005-02-14 SwinginCelt <swingincelt@gmail.com>
3711 * Replaced inline function sp_repr_set_position_absolute with
3712 direct call to repr>->setPosition.
3714 2005-02-13 Bryce <bryce@bryceharrington.org>
3716 * src/main.cpp, src/application/application.cpp, src/inkscape.h,
3717 src/application/editor-impl.h, src/application/editor.cpp
3718 src/application/editor.h, src/ui/dialog/dialog-manager.cpp,
3719 src/ui/dialog/dialog-manager.h, src/application/app-prototype.h
3720 src/application/application.h: Integrating I::A::Application
3721 into the execution path. Now its run() routine is called from
3722 main().
3724 * src/application/Makefile_insert, src/application/makefile.in,
3725 src/application/editor-impl.h, src/application/editor.cpp,
3726 src/application/editor.h: Initial import of inkscape_gtkmm
3727 code. Also see doc/NewAppArchitecture/ presentation for the
3728 rationale behind this.
3730 * src/ui/dialog/align-and-distribute.cpp,
3731 src/ui/dialog/align-and-distribute.h,
3732 src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h,
3733 src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h,
3734 src/ui/dialog/document-preferences.cpp,
3735 src/ui/dialog/document-preferences.h,
3736 src/ui/dialog/export.cpp, src/ui/dialog/export.h,
3737 src/ui/dialog/extension-editor.cpp, src/ui/dialog/extension-editor.h,
3738 src/ui/dialog/fill-and-stroke.cpp, src/ui/dialog/fill-and-stroke.h,
3739 src/ui/dialog/find.cpp, src/ui/dialog/find.h,
3740 src/ui/dialog/inkscape-preferences.cpp,
3741 src/ui/dialog/inkscape-preferences.h,
3742 src/ui/dialog/layer-editor.cpp, src/ui/dialog/layer-editor.h,
3743 src/ui/dialog/messages.cpp, src/ui/dialog/messages.h,
3744 src/ui/dialog/text-properties.cpp, src/ui/dialog/text-properties.h,
3745 src/ui/dialog/tree-editor.cpp, src/ui/dialog/tree-editor.h,
3746 src/ui/dialog/xml-editor.cpp, src/ui/dialog/xml-editor.h,
3747 src/ui/widget/combo-text.cpp, src/ui/widget/combo-text.h,
3748 src/ui/widget/handlebox.cpp, src/ui/widget/handlebox.h,
3749 src/ui/widget/icon-widget.cpp, src/ui/widget/icon-widget.h,
3750 src/ui/widget/labelled.cpp, src/ui/widget/labelled.h,
3751 src/ui/widget/notebook-page.cpp, src/ui/widget/notebook-page.h,
3752 src/ui/widget/scalar-unit.cpp, src/ui/widget/scalar-unit.h,
3753 src/ui/widget/scalar.cpp, src/ui/widget/scalar.h,
3754 src/ui/widget/toolbox.cpp, src/ui/widget/toolbox.h,
3755 src/ui/widget/unit-menu.cpp, src/ui/widget/unit-menu.h:
3756 Initial import of the gtkmm code. These are mainly
3757 unimplemented stubs, but have few dependencies so are easy to
3758 integrate at this stage.
3760 * src/ui/widget/Makefile_insert, src/ui/widget/makefile.in,
3761 src/ui/dialog/Makefile_insert, src/ui/dialog/makefile.in,
3762 src/ui/Makefile_insert, src/ui/makefile.in: Adding makefile
3763 support for new code.
3765 * io/simple-sax.h, io/simple-sax.cpp: Adding Jon's simple SAX
3766 code
3768 * util/units.h, util/units.cpp: New inkscape_gtkmm units code
3770 2005-02-12 MenTaLguY <mental@rydia.net>
3772 * src/document.cpp, src/document.h, src/sp-gradient-test.cpp:
3774 SPDocument is now a "real C++ class", managed by the garbage collector
3776 2005-02-12 MenTaLguY <mental@rydia.net>
3778 * src/document-private.h, src/document.cpp, src/document.h, src/view.cpp,
3779 src/view.h, src/dialogs/xml-tree.cpp:
3781 switched SPDocument to sigc++ signals
3783 2005-02-12 Kees Cook <kees@outflux.net>
3785 * Makefile.am, configure.ac, Makefile.mingw.common, inkscape.nsi: undoing
3786 my "configure" changes. Was dumb and forgot about native compiles on
3787 win32.
3788 * inkview.1.in, share/extensions/inkscape-shadow-white.sh,
3789 share/extensions/inkscape-shadow.sh: corrections found by Wolfram
3790 Quester during Debian packaging.
3791 * src/desktop-events.cpp, src/file.cpp, src/gradient-chemistry.cpp,
3792 src/interface.cpp, src/layer-fns.cpp, src/nodepath.cpp,
3793 src/object-ui.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp,
3794 src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowtext.cpp,
3795 src/sp-object.cpp, src/sp-pattern.cpp, src/sp-text.cpp, src/splivarot.cpp,
3796 src/text-editing.cpp, src/dialogs/clonetiler.cpp, src/dialogs/rdf.cpp,
3797 src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp,
3798 src/extension/internal/gdkpixbuf-input.cpp, src/extension/plugin/grid.cpp,
3799 src/widgets/gradient-selector.cpp, src/xml/repr-action-test.cpp,
3800 src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/repr-util.cpp,
3801 src/xml/repr.cpp, src/xml/repr.h: inline function removal patches from
3802 Robert Crosbie.
3804 2005-02-11 Kees Cook <kees@outflux.net>
3806 * src/Makefile.mingw, src/make.*: win32 compile updates.
3807 * src/extensions/internal/gnome.cpp: added my missing "comment" code.
3808 * src/shortcuts.cpp, doc/keys.xml, doc/keys.html, share/screens/keys.svg:
3809 added explicit ctrl-w. since gtk already binds it, we may as well show it.
3811 2005-02-10 Jon A. Cruz <jon@joncruz.org>
3813 * src/inkscape.cpp: Changed from SHGetSpecialFolderPath to
3814 SHGetSpecialFolderLocation. Fixes bug #1085641
3816 2005-02-10 MenTaLguY <mental@rydia.net>
3818 * src/document.h, src/document.cpp: get rid of casting macro uses
3820 2005-02-10 MenTaLguY <mental@rydia.net>
3822 * src/desktop.cpp, src/document-undo.cpp, src/document.cpp, src/file.cpp,
3823 src/gradient-chemistry.cpp, src/inkscape.cpp, src/interface.cpp,
3824 src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-object-repr.cpp,
3825 src/sp-object.cpp, src/svg-view.cpp, src/uri-references.cpp,
3826 src/view.cpp, src/dialogs/stroke-style.cpp,
3827 src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp:
3829 get rid needless uses of SP_IS_DOCUMENT (if we can't trust the
3830 compiler's type checking, what can we trust?)
3832 2005-02-10 MenTaLguY <mental@rydia.net>
3834 * src/desktop-style.h, src/desktop.h, src/document.h, src/event-context.h,
3835 src/inkscape.h, src/knotholder.h, src/nodepath.h,
3836 src/selection-chemistry.h, src/selection.h, src/sp-conn-end-pair.h,
3837 src/sp-object-repr.h, src/sp-object.h, src/style.h,
3838 src/dialogs/sp-attribute-widget.h, src/extension/implementation/script.h,
3839 src/xml/repr-get-children.h, src/xml/repr.h, src/xml/sp-repr-action.h,
3840 src/xml/sp-repr-attr.h, src/xml/xml-forward.h:
3842 got rid of xml-forward.h
3844 2005-02-10 Kees Cook <kees@outflux.net>
3846 * configure.ac, Makefile.am, src/Makefile.am, Makefile.mingw.common.in,
3847 inkscape.nsi.in: setting up "configure" to build the other files that
3848 expect version numbers to get updated. Including mingw files in dist
3849 package.
3851 2005-02-10 Jon A. Cruz <jon@joncruz.org>
3852 * src/io/uristream.h, src/io/uristream.cpp,
3853 src/extension/internal/svg.h, src/extension/internal/svg.cpp,
3854 src/extension/internal/Makefile_insert,
3855 src/extension/internal/extension.h,
3856 src/extension/internal/init.cpp:
3857 Adding internal .svgz load and save extension.
3858 Probable fix for bugs #1074996, #1050361, #925033, #1052307
3860 2005-02-08 Kees Cook <kees@outflux.net>
3862 * src/extension/implementation/script.cpp: proper /tmp handling.
3863 Closes bug #1074996.
3864 * src/inkscape.cpp, src/inkscape.h, src/dialogs/export.cpp: correction
3865 for export dialog paths. Closes bug #1114714.
3866 * inkscape.nsi, Makefile.mingw.common: version bumps
3867 * src/text-context.cpp: removed preedit code; it was broken and unneeded.
3869 2005-02-08 Ted Gould <ted@gould.cx>
3871 * Released 0.41
3873 2005-02-01 Kees Cook <kees@outflux.net>
3875 * src/xml/sp-css-attr.h, src/desktop-style.cpp, src/xml/repr-css.cpp,
3876 src/xml/repr.h: Fixed SPCSSAttr to be a "real" class, at mental's
3877 direction. Fixes my "default prefs don't show attrs" bug.
3878 * src/helper/stock-items.cpp: removing redundant code.
3879 * src/libnr/nr-point.h, src/libnrtype/FlowUtils.h, src/livarot/Shape.h:
3880 added explicit initializations to keep valgrind happy.
3881 * src/dir-util.cpp, src/sp-path.cpp, src/splivarot.cpp,
3882 src/svg/svg-length.cpp, src/widgets/icon.cpp:
3883 cleaning up memory leaks detected by valgrind.
3884 * src/extension/dependancy.cpp: made repr-attr tags untranslatable.
3885 * src/extension/system.cpp: correcting extension autodetection when
3886 there are conflicting matching modules.
3887 * src/dialogs/filedialog.cpp, src/extension/extension.h,
3888 src/extension/internal/svg.cpp: .svgz loading works again as
3889 expected. Non-functioning modules are not listed in file dialogs.
3890 * src/text-context.cpp, src/text-editing.cpp: preedit modes don't
3891 work correctly for multi-byte characters. See bug 1086769.
3893 2005-01-31 Jon A. Cruz <jon@joncruz.org>
3894 * src/file.cpp, src/inkscape.cpp, src/interface.cpp,
3895 src/dialogs/export.cpp, src/extension/init.cpp:
3896 sanitize messages before passing to display dialogs.
3898 2005-01-31 Kees Cook <kees@outflux.net>
3900 * src/libnrtype/FontFactory.cpp: added a crude font name detection
3901 routine to work around a Pango crash bug. This can be removed once
3902 Pango is fixed. See bug #1025565. Actually, I figured out a fix.
3903 * print.cpp, print.h, sp-shape.cpp, extension/print.cpp,
3904 extension/print.h, extension/implementation/implementation.cpp,
3905 extension/implementation/implementation.h,
3906 extension/implementation/plugin.cpp, extension/implementation/plugin.h,
3907 extension/internal/gnome.h, extension/internal/ps.cpp,
3908 extension/internal/ps.h, extension/internal/win32.h:
3909 In an attempt to start debugging print rendering, I've added the
3910 Print::comment function so that SPItem boundries can be easily
3911 seen in rendered output.
3912 * src/preferences-skeleton.h, src/sp-shape.cpp,
3913 src/dialogs/display-settings.cpp, src/extension/internal/ps.cpp:
3914 Added printout comments for print debugging. Fixed dash output
3915 bug #1104050.
3916 * src/dialogs/rdf.cpp: fixed rdf:bag displays. Closes bug #1113316.
3918 2005-01-30 Jon A. Cruz <jon@joncruz.org>
3919 * src/io/sys.h, src/io/sys.cpp: added utility routine to cleanup
3920 strings with invalid UTF-8 for display.
3922 2004-01-30 Kees Cook <kees@outflux.net>
3924 * src/make.dep, src/make.exclude, src/make.files, src/make.ofiles,
3925 src/io/uristream.cpp, src/io/sys.cpp: additional win32 changes
3926 using Jon Cruz's new mkdir function. Getting Win32 to compile the
3927 "io" directory. Closes bug #1107305.
3928 * src/file.cpp, src/inkscape-stock.cpp, src/inkscape.cpp,
3929 src/interface.cpp, src/main.cpp, src/dialogs/export.cpp,
3930 src/dialogs/stroke-style.cpp, src/extension/input.cpp,
3931 src/extension/implementation/script.cpp, src/helper/stock-items.cpp,
3932 src/io/sys.cpp, src/io/sys.h, src/widgets/icon.cpp: wrapped
3933 g_file_test with new Inkscape::IO::file_test since g_file_test isn't
3934 utf8-safe.
3935 * src/inkscape.cpp: removed call to g_free on non-alloced string.
3936 fixed up crash-save location to be utf8-okay.
3937 * src/extension/extension.cpp: convert from utf8 before open.
3938 * src/sp-spiral.cpp, src/object-edit.cpp: found place where CLAMP on
3939 spiral's t0 wasn't working. Closes bug #1075640.
3941 2004-01-28 MenTaLguY <mental@rydia.net>
3943 * src/sp-object.h, src/sp-object.cpp:
3944 efficiency fixes which should be helpful when loading large documents
3946 2005-01-29 Jon A. Cruz <jon@joncruz.org>
3948 * src/file.h, src/file.cpp, src/inkscape.cpp, src/sp-image.cpp,
3949 src/extension/implementation/script.cpp,
3950 src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
3951 src/extension/plugin/gimpgrad.cpp, src/helper/png-write.cpp,
3952 src/io/Makefile_insert, src/io/sys.h, src/io/sys.cpp,
3953 src/trace/imagemap.cpp, src/xml/repr-io.cpp:
3955 Refactored open routine to better location.
3957 2004-01-28 Kees Cook <kees@outflux.net>
3959 * configure.ac: added test for libgc 6.4 or better.
3960 * src/main.cpp: calling new SPRepr methods instead of inline wrappers.
3962 2004-01-27 MenTaLguY <mental@rydia.net>
3964 * src/xml/simple-node.h, src/xml/simple-node.cpp:
3966 SimpleNode::lastChild() and SimpleNode::appendChild() are now
3967 O(1) rather than O(n)
3969 2004-01-26 MenTaLguY <mental@rydia.net>
3971 * src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h,
3972 src/xml/sp-repr-action.h, src/xml/sp-repr-event-vector.h:
3974 inlined legacy wrappers
3976 * src/xml/simple-node.cpp: really fixed #1108231 now
3978 2005-01-25 Jon A. Cruz <jon@joncruz.org>
3980 * src/interface.cpp: Passed file import call to shared code.
3981 Fixed bug #1108620.
3983 2005-01-25 MenTaLguY <mental@rydia.net>
3985 * src/xml/simple-node.cpp: fixed bug #1108231
3987 2005-01-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
3989 * src/dialogs/desktop-properties.cpp: Changed set of paper sizes offered:
3991 Removed `Folio' pagesize (which means a different paper size to
3992 different people; will Folio be missed? If so, can we improve
3993 the name?).
3995 Changed ISO page sizes (A0..A10, B0..B10) to match official ISO
3996 specification in mm.
3998 Note that these differ from ghostscript's idea of page sizes;
3999 see comment in desktop-properties.cpp for speculation of
4000 possible problems (fuzziness from antialiasing).
4002 (Note also that our previous sizes differed even more from
4003 gs_statd.ps...)
4005 Coalesced Ledger and Tabloid to a single entry (11x17in);
4006 previously they differed in size.
4008 Changed Icon 16x16 from 16pt to 16px; similarly Icon 32x32 and
4009 Banner 468x60.
4011 2004-01-24 MenTaLguY <mental@rydia.net>
4013 * src/xml/simple-node.cpp: potential fix for bug #1108231
4015 2004-01-23 Ted Gould <ted@gould.cx>
4017 * po/POTFILES.in, share/extensions/dia.inx,
4018 src/preferences-skeleton.h, src/extension/Makefile_insert,
4019 src/extension/dependency.cpp, src/extension/dependency.h,
4020 src/extension/error-file.cpp, src/extension/error-file.h,
4021 src/extension/extension.cpp, src/extension/extension.h,
4022 src/extension/init.cpp, src/extension/prefdialog.cpp:
4024 Adding in functionality to write out an error log based on the failing to
4025 load of extensions. There is also a new error dialog that appears if one
4026 or more fail to alert the user and tell them where the error log is
4027 stored. In the log there is more complex descriptions of what failed.
4029 2004-01-23 MenTaLguY <mental@rydia.net>
4031 * src/sp-object.cpp: fix for id binding bug
4033 2004-01-23 MenTaLguY <mental@rydia.net>
4035 * src/xml/repr-io.cpp: don't complain about not having a namespace
4036 URI for the standard xml: prefix
4038 * src/desktop-style.cpp, src/desktop.cpp, src/document-undo.cpp,
4039 src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp,
4040 src/interface.cpp, src/nodepath.cpp, src/object-edit.cpp,
4041 src/path-chemistry.cpp, src/prefs-utils.cpp, src/select-toolbar.cpp,
4042 src/selection-chemistry.cpp, src/sp-defs.cpp, src/sp-flowdiv.cpp,
4043 src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-item.cpp,
4044 src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object.cpp,
4045 src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-string.cpp,
4046 src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use.cpp, src/splivarot.cpp,
4047 src/text-chemistry.cpp, src/text-context.cpp, src/text-editing.cpp,
4048 src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp,
4049 src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp,
4050 src/extension/extension.h, src/extension/implementation/script.cpp,
4051 src/widgets/dash-selector.cpp, src/widgets/gradient-vector.cpp,
4052 src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert,
4053 src/xml/comment-node.h, src/xml/element-node.h,
4054 src/xml/repr-action-test.cpp, src/xml/repr-css.cpp,
4055 src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
4056 src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
4057 src/xml/repr.h, src/xml/simple-document.cpp, src/xml/simple-document.h,
4058 src/xml/simple-node.cpp, src/xml/simple-node.h,
4059 src/xml/sp-repr-action.cpp, src/xml/sp-repr-doc.h, src/xml/sp-repr.h,
4060 src/xml/text-node.h:
4062 got rid of xml/repr-private.h, removed
4063 sp_repr_document_createTextNode(), made SPRepr and SPReprDoc abstract
4064 interfaces, and moved the SPRepr implementations into separate files
4065 in the Inkscape::XML namespace
4067 * src/util/shared-c-string-ptr.h: added equality operators to avoid
4068 certain ambiguities
4070 2004-01-22 MenTaLguY <mental@rydia.net>
4072 * src/xml/Makefile_insert, src/xml/repr-private.h, src/xml/repr.cpp,
4073 src/xml/session.h, src/xml/simple-session.cpp, src/xml/simple-session.h,
4074 src/xml/sp-repr-action.cpp, src/xml/transaction-logger.h:
4076 added Inkscape::XML::Session and Inkscape::XML::TransactionLogger
4077 to provide a new interface for transactions, rather than doing it from
4078 SPReprDoc
4080 2004-01-22 MenTaLguY <mental@rydia.net>
4082 * src/xml/Makefile_insert, src/xml/node-observer.h,
4083 src/xml/repr-private.h, src/xml/repr.cpp:
4085 moved repr loging behind generic observer interface
4087 2005-01-22 Ted Gould <ted@gould.cx>
4089 * src/display/canvas-grid.cpp, src/display/canvas-grid.h;
4091 Fixing 1103001. Now major grid lines work alot more like you
4092 think that they should.
4094 2005-01-21 MenTaLguY <mental@rydia.net>
4096 * src/util/Makefile_insert, src/util/shared-c-string-ptr.cpp,
4097 src/util/shared-c-string-ptr.h, src/util/shared-c-string.cpp,
4098 src/util/shared-c-string.h, src/xml/repr-io.cpp,
4099 src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
4100 src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h:
4102 renamed Util::SharedCString to Util::SharedCStringPtr, which is
4103 more descriptive of what it actually is
4105 2005-01-21 MenTaLguY <mental@rydia.net>
4107 * src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp:
4109 simplify the cacheing of repr position indices, and make it something
4110 that can work with an abstract interface
4112 2005-01-20 Kees Cook <kees@outflux.net>
4114 * src/file.cpp: added some debug output to help bulia debug bug #1102318.
4115 * configure.ac: more attempts at detecting the -lgc libs.
4117 2005-01-19 Kees Cook <kees@outflux.net>
4119 * configure.ac: trying to correct the -lgc detection.
4120 * inkscape.pod: added theme details.
4121 * src/widgets/widget-sizes.h: went from 20 to 24 for toolbar icon size
4122 to match other GTK applications.
4123 * src/extension/db.cpp: corrected STL "not found" handling. Didn't
4124 fix bug #1102318.
4126 2005-01-18 Kees Cook <kees@outflux.net>
4128 * src/inkscape.h, src/inkscape.cpp, src/widgets/icons.cpp:
4129 Added basic theme support! Whee!
4130 * share/inkscape/icons.svg: restoring original up/down/flip icons since
4131 icons are themable now. We should stick to our original look.
4132 * share/screens/about.svg: added Brisgeek's 0.41 about screen. Had
4133 to tweak background: looks like doc background isn't imported.
4134 * share/icons/*.xpm, share/icons/*.png: removed them. Not being used.
4136 2005-01-17 MenTaLguY <mental@rydia.net>
4138 * src/desktop-style.cpp, src/inkscape.cpp, src/interface.cpp,
4139 src/path-chemistry.cpp, src/prefs-utils.cpp, src/selection-chemistry.cpp,
4140 src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-object.cpp,
4141 src/sp-text.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
4142 src/dialogs/xml-tree.cpp, src/extension/internal/pov-out.cpp,
4143 src/widgets/dash-selector.cpp, src/xml/repr-css.cpp,
4144 src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
4145 src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
4146 src/xml/sp-repr-action.cpp:
4148 Made all SPRepr fields private, and moved most functionality into
4149 member functions. Also shuffled SPReprDoc members, to avoid
4150 need for SPReprDoc to be finalized.
4152 2005-01-17 Kees Cook <kees@outflux.net>
4154 * share/markers/markers.svg: applied patch #990884, which provides a
4155 few mirrored arrows until marker transforms are finished.
4156 * share/icons/icons.svg: updates per Bulia's request.
4158 2005-01-16 MenTaLguY <mental@rydia.net>
4160 * src/sp-object.cpp: non-elements no longer get ids assigned
4162 2005-01-15 MenTaLguY <mental@rydia.net>
4164 * src/arc-context.cpp, src/document-private.h, src/document.cpp,
4165 src/document.h, src/event-context.cpp, src/node-context.cpp,
4166 src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
4167 src/star-context.cpp, src/toolbox.cpp, src/uri-references.cpp,
4168 src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
4169 src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
4170 src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
4171 src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
4172 src/xml/sp-repr-event-vector.h:
4174 Removed attribute setting callback, and decoupled ids and object/repr
4175 bindings (object <-> repr associations are now remembered directly,
4176 though ids are still tracked too).
4178 This means it is now possible to set a null id on an object without
4179 anything breaking (hopefully). For now we will still assign ids
4180 to everything by default...
4182 2005-01-15 MenTaLguY <mental@rydia.net>
4184 * src/arc-context.cpp, src/event-context.cpp, src/node-context.cpp,
4185 src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
4186 src/star-context.cpp, src/toolbox.cpp,
4187 src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
4188 src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
4189 src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
4190 src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
4191 src/xml/sp-repr-event-vector.h:
4193 remove all veto callbacks but setting attributes
4195 2005-01-15 Kees Cook <kees@outflux.net>
4197 * src/inkscape.cpp: correcting windows path for preferences. Closes
4198 bug #933461.
4200 * src/file.cpp, src/nodepath.cpp, src/selection-describer.cpp,
4201 src/seltrans.cpp, src/sp-item-group.cpp, src/sp-path.cpp,
4202 src/sp-spiral.cpp, src/sp-star.cpp, src/dialogs/find.cpp:
4203 Using ngettext for plural localized strings. Please try to keep this
4204 up. Closes bug #1076872.
4206 * share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
4207 src/inkscape-stock.h, src/dialogs/stroke-style.cpp,
4208 src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
4209 src/dialogs/xml-tree.cpp: Finished the last of the missing pixmap
4210 replacements from Andreas Nilsson. Fixed some mistakes in the earlier
4211 changes (need to call sp_icon_new_scaled not sp_icon_new).
4213 2005-01-14 MenTaLguY <mental@rydia.net>
4215 * src/gc.cpp: leave the free space multiplier at the default, which
4216 will hopefully (according to Hans) avoid some of the odd gc issues
4217 we've had, if nothing else does
4219 2005-01-14 Kees Cook <kees@outflux.net>
4221 * share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
4222 src/inkscape-stock.h, src/verbs.cpp, src/dialogs/stroke-style.cpp,
4223 src/dialogs/transformation.cpp, src/widgets/icon.cpp, src/widgets/icon.h,
4224 src/widgets/paint-selector.cpp:
4225 Fixed up code and replaced pixmaps with icons from myself and
4226 Andreas Nilsson.
4228 2005-01-11 MenTaLguY <mental@rydia.net>
4230 * src/xml/repr-io.cpp: promote non-namespaced SVG documents into SVG
4231 namespace
4233 2005-01-08 MenTaLguY <mental@rydia.net>
4235 * src/Makefile_insert, src/gc-anchored.cpp, src/gc-anchored.h:
4236 abstracted allocation of anchors
4238 2005-01-06 Ted Gould <ted@gould.cx>
4240 * src/interface.cpp, src/extension/effect.cpp,
4241 src/extension/implementation/implementation.cpp,
4242 src/extension/implementation/implementation.h,
4243 src/extension/implementation/plugin-link.h,
4244 src/extension/implementation/plugin.cpp,
4245 src/extension/implementation/plugin.h,
4246 src/extension/implementation/script.cpp,
4247 src/extension/implementation/script.h, src/extension/plugin/gimpgrad.cpp,
4248 src/extension/plugin/grid.cpp:
4250 Changing the effects preferences so that it uses sockets and plugs which
4251 will allow out of process GUIs to work too. This is a first pass with
4252 nothing beautiful, but it does seem to work.
4254 2005-01-03 MenTaLguY <mental@rydia.net>
4256 * src/document.cpp, src/main.cpp, src/sp-root.cpp:
4257 get rid of ugly xmlns hacks
4259 * src/inkscape.cpp, src/extension/internal/svg.cpp, src/xml/repr-io.cpp:
4260 automatically include xmlns declarations for the required namespaces,
4261 and make a best effort at using a default namespace when requested
4262 and possible
4264 2005-01-02 Kees Cook <kees@outflux.net>
4266 * share/icons/icons.svg: updated view and location
4267 * src/document.cpp, src/dialogs/rdf.cpp: fixed another bug in metadata
4268 due to svg: prefix change.
4269 * src/inkscape-stock.h, src/inkscape-stock.cpp, share/icons/Makefile.am:
4270 removed unused xpm icons
4272 2005-01-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4274 * src/fontsize-expansion.h, src/fontsize-expansion.cpp:
4275 New files.
4276 * src/Makefile_insert: Add the new files to libinkpre_a_SOURCES.
4277 * src/desktop-style.cpp (sp_desktop_apply_css_recursive):
4278 When calling sp_css_attr_scale, change the expansion calculation
4279 to use fontsize_expansion().
4280 * src/sp-text.cpp (sp_text_set_transform): Similarly use
4281 fontsize_expansion() instead of generic m.expansion().
4283 2005-01-01 Kees Cook <kees@outflux.net>
4285 * src/extension/db.h, src/extension/db.cpp, src/extension/init.cpp:
4286 created "modulelist" to maintain initialization order for extension
4287 lists.
4289 2004-12-31 MenTaLguY <mental@rydia.net>
4291 * src/xml/repr-io.cpp, src/xml/repr.h: initial scaffoliding for more
4292 cosmetic use of prefixes in output files (and eventually more proper
4293 namespace handling for output as well)
4295 2004-12-31 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4297 * src/sp-text.cpp (sp_text_set_transform): Change scaling of font size.
4298 The result should be closer to what CorelDraw, XaraX, Canvas 7 and
4299 Expression3 do according to vellum, though I don't know the exact
4300 rule that they use.
4302 2004-12-25 Ted Gould <ted@gould.cx>
4304 * share/extensions/grid.inx, src/extension/extension.cpp,
4305 src/extension/extension.h, src/extension/plugin/grid.cpp:
4307 Futher improvements to the grid plugin. This involves mostly adding in
4308 parameters at this time, but, ofcourse, I never implemented floating
4309 point parameters -- so that had to be done first. More modular code so
4310 that things can be adjusted externally better.
4312 2004-12-25 Ted Gould <ted@gould.cx>
4314 * share/extensions/Makefile.am, share/extensions/grid.inx,
4315 src/extension/implementation/plugin-link.h,
4316 src/extension/implementation/plugin.cpp,
4317 src/extension/plugin/Makefile_insert, src/extension/plugin/gimpgrad.cpp,
4318 src/extension/plugin/grid.cpp:
4320 Adding in a new effect plugin, grid. It draws a grid on the canvas which
4321 is just an easy way to do some neat things. It is mostly done, but still
4322 needs cleanup. Some other files required modification to make this
4323 possible.
4325 2004-12-25 MenTaLguY <mental@rydia.net>
4327 * src/event-context.cpp: removed unused handler
4329 2004-12-25 Ted Gould <ted@gould.cx>
4331 * share/extensions/svg_dropshadow:
4333 Changing to use "svg:g" instead of "g" for the group.
4335 * src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h,
4336 src/extension/system.cpp, src/extension/system.h,
4337 src/extension/implementation/implementation.cpp,
4338 src/extension/implementation/implementation.h,
4339 src/extension/implementation/plugin.cpp,
4340 src/extension/implementation/plugin.h,
4341 src/extension/implementation/script.cpp,
4342 src/extension/implementation/script.h:
4344 Final stuff to get Effects working as well as the did before, which
4345 is okay, but not great. This involved changing the API to get an SPView
4346 instead of an SPDocument because then I can get the selection information
4347 from the view that is being used.
4349 2004-12-24 MenTaLguY <mental@rydia.net>
4351 * src/sp-object-repr.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
4352 src/dialogs/rdf.cpp, src/dialogs/xml-tree.cpp,
4353 src/widgets/sp-xmlview-tree.cpp, src/xml/repr-io.cpp,
4354 src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
4355 src/xml/repr.h:
4357 cleaned out unused code and unhygenic macros, as well as fixing
4358 constructors for text and comment nodes
4360 2004-12-24 Ted Gould <ted@gould.cx>
4362 * src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h:
4364 Okay, now the effects menu really works! Well, the implementation seems
4365 to be broken, but the wrapper seems to be all working.
4367 2004-12-24 Ted Gould <ted@gould.cx>
4369 * src/interface.cpp, src/verbs.cpp, src/verbs.h, src/extension/effect.cpp,
4370 src/extension/effect.h:
4372 Getting the Effects menu basically working. This included some fixes to
4373 the verbs where they were incrementing the database incorrectly. The
4374 effects are the first component to take advantage of the dynamically
4375 created verbs, and exercised new code. Now the basic menu is available,
4376 but there is no functionality there.
4378 2004-12-24 Ted Gould <ted@gould.cx>
4380 * src/interface.cpp, src/verbs.cpp, src/verbs.h:
4382 Basic code for the effects menu.
4384 * src/dialogs/filedialog.cpp, src/dialogs/filedialog.h,
4385 src/extension/db.cpp, src/extension/db.h:
4387 Changing the DB access functions to use std::list instead of GSList so
4388 that it is more standard, and we get rid of a specialized class that
4389 really isn't that useful. Less memory usage, and fixes a leak.
4391 * src/extension/effect.cpp, src/extension/effect.h:
4393 Adding in a "Last Effect" to be used in the menus.
4395 * src/extension/extension-forward.h, src/extension/extension.cpp,
4396 src/extension/extension.h, src/extension/input.cpp,
4397 src/extension/output.cpp, src/extension/timer.cpp, src/extension/timer.h,
4398 src/extension/Makefile_insert:
4400 Adding in the timer functions so that modules will unload in a given
4401 amount of time. For more information on this read the documentation
4402 in the files. Kinda a lazy deallocation.
4404 * src/extension/implementation/implementation.cpp:
4406 Fix unload so that it is not recursive.
4408 2004-12-23 MenTaLguY <mental@rydia.net>
4410 * src/arc-context.cpp, src/document.cpp, src/draw-context.cpp,
4411 src/dyna-draw-context.cpp, src/file.cpp, src/gradient-chemistry.cpp,
4412 src/interface.cpp, src/layer-fns.cpp, src/main.cpp, src/object-ui.cpp,
4413 src/path-chemistry.cpp, src/rect-context.cpp,
4414 src/selection-chemistry.cpp, src/sp-anchor.cpp, src/sp-clippath.cpp,
4415 src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp,
4416 src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-gradient-test.cpp,
4417 src/sp-gradient.cpp, src/sp-image.cpp, src/sp-item-group.cpp,
4418 src/sp-line.cpp, src/sp-marker.cpp, src/sp-mask.cpp,
4419 src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-offset.cpp,
4420 src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp,
4421 src/sp-polyline.cpp, src/sp-rect.cpp, src/sp-root.cpp,
4422 src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp,
4423 src/sp-tspan.cpp, src/sp-use.cpp, src/spiral-context.cpp,
4424 src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
4425 src/text-context.cpp, src/dialogs/find.cpp, src/dialogs/rdf.cpp,
4426 src/dialogs/xml-tree.cpp, src/ecma/EcmaBinding.cpp,
4427 src/extension/internal/gdkpixbuf-input.cpp,
4428 src/extension/internal/svg.cpp, src/livarot/ShapeDraw.cpp,
4429 src/xml/repr-io.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp:
4431 use normalized qnames for SVG elements too
4433 2004-12-23 Kees Cook <kees@outflux.net>
4435 * configure.ac, src/Makefile_insert, src/extension/script/Makefile_insert:
4436 adding Perl and Python compile tests. Corrected library locations.
4437 * src/extension/script/InkscapeScript.h,
4438 src/extension/script/InkscapePython.cpp,
4439 src/extension/script/InkscapeScript.cpp: white space fix, and
4440 added config.h, and some small debugging for myself. Hope Bob doesn't
4441 mind! :)
4442 * src/dialogs/scriptdialog.cpp: added comments to default code.
4444 2004-12-22 Kees Cook <kees@outflux.net>
4446 * configure.ac, src/extension/script/Makefile_insert: automake cleanups
4447 to deal with perl/python detection.
4449 2004-12-20 David Turner <novalis@gnu.org>
4450 * src/widgets/gradient-vector.cpp:
4451 Fixed bug with gradient stops at 0 and 100%. Closes 1085920.
4453 2004-12-18 Bob Jamison <rjamison@titan.com>
4455 * src/extensions/script/*:
4456 New files that enable embedding of scripting languages
4457 in Inkscape. Currently using Swig to embed Perl and Python.
4459 * autoconf.ac:
4460 Allow opting for perl or python with --with-perl=yes|no
4461 and --with-python=yes|no
4463 2004-12-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4465 * streq.h (streq), strneq.h (strneq), memeq.h (memeq):
4466 New convenience functions for strcmp(a,b)==0 etc.
4468 * src/dir-util.cpp (sp_relative_path_from_path):
4469 Fix when base is a string prefix of path but a directory prefix
4470 (e.g. path=/foo/barney, base=/foo/bar).
4472 2004-12-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4474 * src/sp-conn-end.cpp (sp_conn_end_move_compensate):
4475 Fix for undo/save: wasn't calling updateRepr().
4477 2004-12-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4479 * src/style.cpp (sp_style_merge_from_style_string):
4480 More standards-conforming parsing of style strings into prop:value
4481 pairs.
4483 2004-12-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4485 * src/style.h, src/style.cpp, src/libnrtype/font-style-to-pos.cpp:
4486 Fix font-weight value: s/darker/bolder/.
4488 * src/style.cpp (sp_style_merge_from_parent):
4489 Fix bug with specifying stroke-width with unit of em or ex.
4490 (We were ignoring the number, treating it as 1em or 1ex.)
4492 * src/style.h, src/style.cpp (sp_style_read_dash,
4493 sp_style_write_string, sp_style_write_difference):
4494 Allow `inherit' as a value for dasharray.
4495 (Also plug small memory leak in sp_style_read_dash.)
4497 2004-12-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4499 * src/style.cpp (sp_style_write_string):
4500 Fix for when stroke-dasharray either explicitly set to `none', or
4501 inherits non-none.
4503 * src/style.cpp (sp_style_write_ienum):
4504 Fix: preserve explicit `inherit' request.
4505 * (sp_style_read, sp_style_merge_property):
4506 Allow explicit `inherit' for `display' property.
4508 * src/style.cpp (sp_style_read):
4509 Fix copy&paste bug affecting `visibility' and `display' properties.
4511 2004-12-07 David Turner <novalis@gnu.org>
4513 * src/libnrtype/RasterFont.cpp, src/display/nr-arena-shape.cpp:
4514 Fixed dash rendering bug (#1077213)
4516 2004-12-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4518 * src/style.h, src/style.cpp: Support all `display' values
4519 required by SVG 1.1. (No functional change, insofar as the new
4520 values all have the same behaviour as our existing `block' value
4521 in SVG.)
4522 * src/sp-item.cpp, src/style.cpp: Use `inline' (SP_CSS_DISPLAY_INLINE)
4523 rather than `block' as our generic display value meaning `don't hide
4524 this', as per spec.
4526 * src/style.cpp: Prefer to write lr-tb etc. rather than the
4527 abbreviations lr etc. (Also add comment saying why.)
4529 2004-12-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4531 * src/dialogs/xml-tree.cpp (on_attr_select_row_set_value_content):
4532 Fix segfault: treat NULL as empty string for display purposes.
4534 2004-11-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4536 * src/svg/svg.h, src/svg/sp-svg.def, src/svg/svg-length.cpp:
4537 (sp_svg_boolean_read, sp_svg_write_percentage):
4538 Remove these unused functions.
4539 (sp_svg_length_read_lff, sp_svg_number_write_d,
4540 sp_svg_number_write_i): Mark static.
4542 * configure.ac:
4543 When adding -lgc to LIBS, also add its dependencies -lpthread -ldl.
4545 2004-11-28 Ted Gould <ted@gould.cx>
4547 * 0.40
4549 2004-11-25 MenTaLguY <mental@rydia.net>
4551 * share/tutorials/tutorial-calligraphy.svg: spelling fix
4553 * src/widgets/layer-selector.cpp: fixing the layer selector update bug;
4554 sigc++ apparently doesn't deal with reference arguments very well
4556 2004-11-25 MenTaLguY <mental@rydia.net>
4558 * src/layer-fns.cpp: fix layer creation within sublayers
4560 * src/dialogs/layer-properties.cpp: fix dialog leak
4562 2004-11-25 MenTaLguY <mental@rydia.net>
4564 * src/inkscape.cpp: eliminate duplicated code across #ifdefs
4566 * src/verbs.cpp, src/dialogs/layer-properties.cpp,
4567 src/dialogs/layer-properties.h:
4569 LayerPropertiesDialog is no longer a singleton, since it's kind of a
4570 per-desktop (well, ideally per-document) thing. Remaining to do:
4571 fix update of layer selector widget, and eliminate leak of dialog
4572 objects.
4574 2004-11-24 Kees Cook <kees@outflux.net>
4576 * inkscape.spec: added SMP flags, added static library link capability.
4578 2004-11-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4580 * src/draw-context.cpp (spdc_concat_colors_and_flush):
4581 Do nothing if empty curve; in particular, don't try to close an
4582 empty curve.
4584 * src/pen-context.cpp (spdc_endpoint_snap):
4585 Fix use of uninitialized value when snapping.
4587 2004-11-23 Bryce Harrington <bryce@bryceharrington.org>
4589 * src/dialogs/layer-properties.cpp: Fixing bug causing two new
4590 layers to get created when hitting enter
4592 2004-11-23 Kees Cook <kees@outflux.net>
4594 * share/tutorials: added Josh's changes, resized, repositioned for
4595 800x600.
4596 * src/verbs.h, src/verbs.cpp, src/interface.cpp: added tracing
4597 tutorial.
4599 2004-11-23 MenTaLguY <mental@rydia.net>
4601 * src/rect-context.cpp: disallow drawing on locked or invisible layers
4603 * src/widgets/layer-properties.h, src/widgets/layer-properties.cpp:
4604 slight HIG-ification
4606 * src/desktop.cpp, src/desktop.h, src/widgets/layer-selector.cpp,
4607 src/widgets/layer-selector.h, src/verbs.cpp, src/sp-desktop-widget.h
4609 removed vestigal layer renaming thing
4611 * src/verbs.cpp, src/dialogs/layer-properties.cpp,
4612 src/dialogs/layer-properties.h:
4614 reuse dialog for creating layers as well as for renaming them
4616 2004-11-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4618 * src/display/bezier-utils.cpp (generate_bezier): For the sake of
4619 our current pencil tool, don't use free optimization of the end
4620 tangent vector.
4622 2004-11-21 MenTaLguY <mental@rydia.net>
4624 * src/verbs.cpp: add accels for layer menu items
4626 2004-11-21 Bryce Harrington <bryce@bryceharrington.org>
4628 * src/dialogs/layer-properties.cpp, src/verbs.cpp,
4629 src/dialogs/layer-properties.h: Hooking up layer rename
4630 functionality, and making it show correctly.
4632 * src/dialogs/debugdialog.cpp, src/dialogs/find.cpp,
4633 src/dialogs/tracedialog.cpp: Fixing dialog show behavior
4635 2004-11-21 Kees Cook <kees@outflux.net>
4637 * src/sp-object.cpp, src/sp-metadata.cpp: added some debugging, and
4638 fixed a dumb error in my metadata _release handler. Should mostly
4639 close bug 1069772.
4640 * src/Makefile_insert, src/sp-skeleton.cpp, src/sp-skeleton.h:
4641 created some example SPObject implementations for a basis for any
4642 new SPObjects in the future.
4643 * src/dialogs/xml-tree.cpp: fixing logic bug in identability checker.
4644 Added immutability test to actually close 1069772.
4645 * share/icons/icons.svg, src/verbs.cpp, src/interface.cpp: adding
4646 icons for the "new" menu, vacuum, reverse, make bitmap, and trace.
4648 2004-11-20 Jon A. Cruz <jon@joncruz.org>
4650 * src/extension/db.h, src/extension/db.cpp, src/dialogs/filedialog.cpp:
4651 Added extension matching pattern. Fixed bug 1064888.
4653 * src/dialogs/filedialog.cpp (isValidImageFile):
4654 Fixed previewing bug 1067551.
4656 2004-11-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4658 * src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
4659 Add splitpoints parameter. Callers updated.
4661 * src/display/bezier-utils.cpp
4662 (sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full):
4663 Change last parameter from lg_max_beziers to max_beziers.
4664 Callers updated.
4666 2004-11-19 Bryce <bryce@bryceharrington.org>
4668 * src/dialogs/layer-properties.cpp,
4669 src/dialogs/layer-properties.h: Adding some widgets.
4671 2004-11-18 Bryce <bryce@bryceharrington.org>
4673 * src/dialogs/Makefile_insert, src/dialogs/makefile.msc,
4674 src/dialogs/layer-properties.h, src/dialogs/layer-properties.h:
4675 Adding a layer properties dialog for renaming layers
4677 * src/desktop.cpp src/interface.cpp, src/verbs.cpp,
4678 src/verbs.h src/dialogs/layer-properties.cpp,
4679 src/dialogs/layer-properties.h,
4680 src/widgets/layer-selector.cpp: Hooking in layer props dialog.
4682 2004-11-16 MenTaLguY <mental@rydia.net>
4684 * src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h,
4685 src/widgets/layer-selector.cpp, src/widgets/Makefile_insert:
4687 removed Widgets::DocumentTreeModel because unused
4689 * src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
4690 src/xml/repr.h:
4692 cache successive sibling counts (self+subsequent siblings) in SPRepr
4693 to make sp_repr_n_children() and sp_repr_position() more efficient,
4694 which will be needed later for e.g. GTK tree models.
4696 sp_repr_nth_child() isn't any faster as a result of the changes,
4697 but it probably won't need to be
4699 * src/xml/repr.cpp: fixed refcount leak in SPRepr::SPRepr(SPRepr const &)
4701 2004-11-15 MenTaLguY <mental@rydia.net>
4703 * src/gc.cpp: add initial stubs that print an informative error
4704 if the GC functions are used before Inkscape::GC::init() is called
4706 2004-11-14 MenTaLguY <mental@rydia.net>
4708 * configure.ac, src/gc-core.h, src/gc-managed.h, src/gc-anchored.h,
4709 src/gc-finalized.h, src/gc.cpp:
4711 make disabling the collector a run-time rather than a compile-time
4712 option; there are now three garbage collector options, selectable
4713 by setting the _INKSCAPE_GC environment variable:
4715 * enable - the normal collector (default)
4716 * debug - the debugging collector
4717 * disable - use standard malloc in place of the libgc allocator
4719 2004-11-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4721 * src/display/bezier-utils.cpp: Make end tangent/s be unconstrained for
4722 sp_bezier_fit_cubic, sp_bezier_fit_cubic_r, and around corner nodes.
4724 * src/pencil-context.cpp (fit_and_split): Allow the bezier fitter to
4725 choose the middle control points freely except to the extent required
4726 for smooth nodes.
4728 * src/display/bezier-utils.cpp (generate_bezier):
4729 If either end tangent is specified as zero then estimate the
4730 corresponding control point without constraining its direction
4731 from the endpoint.
4733 * src/pencil-context.h, src/pencil-context.cpp
4734 (fit_and_split, sp_pencil_context_init): Explicitly remember required
4735 tangent instead of using "first two points" hack.
4737 * src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
4738 Detect & prevent "ghost spikes", by allowing a corner node if
4739 the specified tangent would result in a spike.
4741 * src/display/bezier-utils.cpp (generate_bezier): Better handling
4742 of the case of infinite solutions for the lengths of the two
4743 tangent vectors: try requiring that the lengths equal each other,
4744 and solving for that length (just one variable).
4746 2004-11-13 Kees Cook <kees@outflux.net>
4748 * src/document.cpp: wrapped updateDisplay call in undo insensitivity.
4749 Closes bug #1030436.
4751 2004-11-12 MenTaLguY <mental@rydia.net>
4753 * src/main.cpp: fpresetsticky -> fpsetsticky
4755 * src/verbs.cpp: cast width changes
4757 * src/libnrtype/FlowBoxes.h, src/libnrtype/FlowDefs.h,
4758 src/libnrtype/FlowDest.h, src/libnrtype/FlowEater.h,
4759 src/libnrtype/FlowRes.h, src/libnrtype/FlowSols.h,
4760 src/libnrtype/FlowSrc.h, src/libnrtype/FlowSrcText.h,
4761 src/libnrtype/FlowStyle.h, src/libnrtype/FlowUtils.h:
4762 remove stdint.h which isn't being used here
4764 * src/widgets/icon.h, src/widgets/icon.cpp:
4765 icon greys out when insensitive
4767 * src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
4768 documentation
4770 * src/verbs.cpp: changed cast to reinterpret_cast to hopefully
4771 avoid compiler warning
4773 2004-11-11 Kees Cook <kees@outflux.net>
4775 * src/seltrans.cpp, src/select-context.cpp: ref counting SPObjects
4776 correctly so undo's don't blow up an active resize/move. Closes
4777 bug #1018756.
4779 2004-11-11 MenTaLguY <mental@rydia.net>
4781 * src/inkscape.cpp, src/main.cpp, src/widgets/icon.cpp:
4782 removed sp_bitmap_icons
4784 * configure.ac, src/sp-image.cpp, src/object-ui.cpp:
4785 removed stale autotrace support code
4787 2004-11-10 MenTaLguY <mental@rydia.net>
4789 * src/sp-item.cpp, src/sp-clippath.cpp, src/cp-mask.cpp:
4790 minor refcounting tweaks
4792 * src/sp-image.cpp: fixed failure to release GdkPixbufLoader when
4793 done with it (fixes bug #1063054)
4795 2004-11-10 Kees Cook <kees@outflux.net>
4797 * configure.ac, src/gc-core.h: corrected gc.h path detection.
4799 2004-11-09 MenTaLguY <mental@rydia.net>
4801 * src/dialogs/fileselector.cpp: fixed cut-and-paste refcount bug
4802 between SVGPreview::setFileName and SVGPreview::setFromMem that
4803 was leaking bitmap image preview SPDocuments
4805 2004-11-09 Bryce Harrington <bryce@bryceharrington.org>
4807 * src/dialogs/item-properties.cpp
4809 2004-11-09 MenTaLguY <mental@rydia.net>
4811 * src/sp-item.cpp, src/style.cpp, src/style.h:
4812 use 'display' rather than 'visibility' for hiding, and give display
4813 a more "modern" representation in SPStyle like visibility's
4815 2004-11-09 Kees Cook <kees@outflux.net>
4817 * src/dialogs/xml-tree.cpp: added better context to the status bar.
4818 added warning flash for id conflicts.
4819 * src/toolbox.cpp: killed some copy/paste code while bug hunting.
4821 2004-11-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4823 * src/sp-item.h, src/sp-item.cpp
4824 (isExplicitlyHidden, setExplicitlyHidden): New methods.
4826 * src/dialogs/item-properties.cpp: Change from having a `Visible'
4827 checkbox that explicitly sets the SVG visibility property to
4828 having a `Hide' checkbox that controls whether or not the
4829 element has visibility:hidden. (Mitigates #1061934.)
4831 * src/sp-object.h, src/sp-object.cpp (visible, setVisible):
4832 Remove these methods.
4834 2004-11-07 MenTaLguY <mental@rydia.net>
4836 * src/gc-finalized.h: fix for Debian bug #279991 (cast to ptrdiff_t
4837 rather than int), and basic documentation
4839 2004-11-06 MenTaLguY <mental@rydia.net>
4841 * src/sp-item.cpp: fix desktop-specific version of SPItem::isHidden()
4842 to deal correctly with parent visibility
4844 2004-11-05 MenTaLguY <mental@rydia.net>
4846 * src/widgets/layer-selector.cpp: more work on making the lock/hide
4847 buttons actually do something
4849 * src/sp-item.cpp, src/sp-item.h: implement lock/hide related methods
4851 * src/verbs.cpp: "Remove All Kerns" -> "Remove Manual Kerning"
4853 2004-11-04 Kees Cook <kees@outflux.net>
4855 * src/dialogs/rdf.h, src/dialogs/rdf.cpp: added rdf:Bag for the
4856 dc:subject keyword list. Closed bug #1021025.
4857 * src/dialogs/xml-tree.cpp, src/widgets/sp-xmlview-attr-list.cpp,
4858 src/widgets/sp-xmlview-attr-list.h: added status bar to XML
4859 editor. added row-change callback for XML tree view. This
4860 all supports a possible future solution to bug #869683.
4861 * src/dialogs/desktop-properties.cpp: memory leak in RDF code.
4863 2004-11-04 MenTaLguY <mental@rydia.net>
4865 * src/widgets/layer-selector.cpp: togglable images and formatting
4866 changes (make current layer bold)
4868 * src/uri.h, src/uri.cpp: added assignment operator
4870 2004-11-03 MenTaLguY <mental@rydia.net>
4872 * src/widgets/Makefile_insert, src/widgets/shrink-wrap-button.cpp,
4873 src/widgets/shrink-wrap-button.h:
4875 added Inkscape::Widgets::shrink_wrap_button, to make any gtk button
4876 an SPButton-like shrink-wrapped button
4878 * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
4880 abandon SPButton for layer selector buttons
4882 2004-11-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4884 * po/check-markup: New script: detects <b>markup<b> <b>problems<7b>
4885 in the <b>translated strings. (~10 such problems found.)
4886 * Makefile.am (all, check, distcheck): Run po/check-markup (with
4887 varying permissiveness of errors).
4889 2004-11-02 MenTaLguY <mental@rydia.net>
4891 * doc/keys.xml: added documentation of layer keys
4893 2004-11-01 Kees Cook <kees@outflux.net>
4895 * src/dialogs/align.cpp, src/dialogs/debugdialog.cpp: localized
4896 some missed strings.
4898 2004-11-01 MenTaLguY <mental@rydia.net>
4900 * share/icons/icons.svg: gave bulia's eye icons ids
4902 * src/widgets/layer-selector.h, src/widgets/layers-selector.cpp:
4903 fixed up visibility/lock toggles... now to make them actually do
4904 something
4906 2004-10-31 MenTaLguY <mental@rydia.net>
4908 * src/util/glib-list.h: adaptor for glib lists
4910 * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
4911 save the repr next to the SPObject
4913 2004-10-30 MenTaLguY <mental@rydia.net>
4915 * src/util/list.h: more list cleanups and documentation
4917 * src/verbs.cpp: call sp_document_done() for layer verbs too
4919 2004-10-30 Bryce Harrington <bryce@bryceharrington.org>
4921 * src/dialogs/item-properties.cpp, src/sp-object.h: Cleaning up
4922 stubs, disabling some more of the desc code to prevent crash.
4923 The change to SPObject::label() broke the label editing code;
4924 fixing it.
4926 2004-10-30 Kees Cook <kees@outflux.net>
4928 * src/sp-metadata.cpp, src/sp-metadata.h, src/Makefile_insert,
4929 src/document.cpp, src/sp-object-repr.cpp, src/sp-object.cpp:
4930 I've created my very first SPObject! SPMetadata is alive! No
4931 more nasty hack to have it disappear from SVG Plain. Mental
4932 won't have to take away my CVS access any more! :)
4933 * inkscape2.nsi: update from Adib Taraben
4935 2004-10-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
4937 * src/libnr/nr-matrix.cpp (nr_matrix_invert):
4938 Fix for last commit to this file, which broke src==dest case.
4939 * src/libnr/nr-matrix-test.cpp: Add test cases for nr_matrix_invert.
4941 2004-10-30 MenTaLguY <mental@rydia.net>
4943 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
4944 update when layers added/removed/reordered.
4946 * src/verbs.h, src/verbs.cpp: added "rename layer" verb.
4948 2004-10-29 Kees Cook <kees@outflux.net>
4950 * src/Makefile_insert, src/trace/Makefile_insert,
4951 src/util/Makefile_insert: distcheck cleanups.
4953 2004-10-29 MenTaLguY <mental@rydia.net>
4955 * src/widgets/layer-selector.cpp: default labels in italic
4957 * src/sp-object.h, src/sp-object.cpp: inkscape:label fixes
4959 * src/layer-fns.cpp: make ordering of layers complete; not just among
4960 siblings
4962 * src/util/list.h: documentation update
4964 2004-10-29 Bryce Harrington <bryce@bryceharrington.org>
4966 * layer-fns.cpp: documenting
4967 * layer-selector.cpp: documenting & fixing funky widget resizing
4968 * object-ui.cpp, dialogs/item-properties.cpp, sp-object.h,
4969 sp-object.cpp, widgets/layer-selector.cpp: add ability to set
4970 inkscape:label from "Item Properties", remove id setting from
4971 "Item Properties", switch to using
4972 SPObject::label()/SPObject?::defaultLabel() in UI where object
4973 ID is currently used. Documenting. Switching from "label" to
4974 "inkscape:label" where appropriate. Adding
4975 visible()/setVisible() functions and activating checkbox.
4976 * dialogs/item-properties.cpp: Adding title and desc boxes.
4977 Adjusting layout of dialog a bit. Changing to use of tables
4978 instead of horiz/vert boxes for layout. Setting to inactive
4979 until some underlying bits get finished.
4981 2004-10-29 Kees Cook <kees@outflux.net>
4983 * src/dialogs/export.cpp: moved function-based static state variable
4984 into the dialog state variables. Closes bug #993447.
4985 * src/display/curve.cpp: fixed compile warning.
4986 * src/sp-namedview.cpp: wasn't ref counting correctly. Closes #955020.
4988 2004-10-29 Jon A. Cruz <jon@joncruz.org>
4990 * src/sp-image.cpp, src/extension/internal/gdkpixbuf-input.cpp:
4991 Refactoring filenames and file opening
4992 Scales imported images if DPI is known and not 72 DPI. Fixes
4993 #1029755
4995 2004-10-29 MenTaLguY <mental@rydia.net>
4997 * src/widgets/layer-selector.cpp, src/verbs.cpp:
4998 unselect objects when layer is manually switched
5000 2004-10-28 Kees Cook <kees@outflux.net>
5002 * src/document-undo.cpp, src/document.cpp, src/sp-namedview.cpp,
5003 src/sp-text.cpp, src/dialogs/desktop-properties.cpp,
5004 src/dialogs/export.cpp, src/extension/input.cpp,
5005 src/extension/output.cpp, src/extension/system.cpp:
5006 Fixing calls to sp_document_set_undo_sensitive to correct allow for
5007 nesting, as suggested by mental. Found while tracking down bug
5008 #1030436.
5010 2004-10-28 MenTaLguY <mental@rydia.net>
5012 * src/util/list.h: cleanups of list class. I think, aside from
5013 documentation and maybe fixes for g++ 3.4 (if required), this
5014 is the last set of changes I will need to make.
5016 * src/sp-item.cpp, src/splivarot.cpp, src/util/reverse-list.h,
5017 src/util/filter-list.h, src/util/map-list.h:
5018 adjust for changes in the list class' interface
5020 * src/desktop.cpp, src/sp-desktop-widget.h:
5021 removed old layer selector and added SPDesktop::itemIsHidden()
5023 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
5024 more work; it's now at least as functional as the old selector it
5025 replaces
5027 2004-10-27 Kees Cook <kees@outflux.net>
5029 * src/libnr/nr-point.h: use NR::X and NR::Y instead of "0" and "1".
5030 * src/dialogs/export.cpp: stack/register weirdness requires a function
5031 call to get true == comparison of NR::Rect's. Closes bug #1048614.
5032 * src/dialogs/align.cpp: saving erased iterator. Closes bug #1054270.
5033 * share/extensions/ill2svg.pl: added strict, warnings, and detection
5034 of Image::Magick module. Closes bug #990659.
5035 * src/dialogs/find.h, src/dialogs/find.cpp: removed unfinished new
5036 find dialog instantiation. Closes bug #1048802.
5038 2004-10-27 Carl Hetherington <inkscape@carlh.net>
5040 * src/extension/output.cpp: better fix for 1004134 after advice
5041 from Ted.
5043 2004-10-26 Carl Hetherington <inkscape@carlh.net>
5045 * src/extension/output.cpp: don't reset modified flag until after
5046 save has happened, in case it fails. Fixes 1004134.
5048 * src/livarot/ShapeSweep.cpp: fix a typo in my cleanups. Fixes
5049 1048151.
5051 2004-10-25 Bryce Harringotn <bryce@bryceharrington.org>
5053 * file.cpp, file.h, dialogs/export.cpp: Adding error return logic
5054 for png export code so that failure to write can be tracked.
5055 Adding an error dialog for when this occurs. Fixes bug 1038932.
5057 * extension/system.cpp: Changing sp_ui_error_dialog to g_warning
5058 so won't crash when running from commandline. Fixes bug
5059 1000350.
5061 * inkscape.cpp, inkscape.h, main.cpp, dialogs/filedialog.cpp:
5062 Adding Inkscape::Application::use_gui flag as temporary hack to
5063 prevent gui dialogs from being used when running from
5064 commandline. Fixes bug 1045067.
5066 2004-10-26 Carl Hetherington <inkscape@carlh.net>
5068 * src/livarot/PathCutting.cpp: fix a couple of bugs that I
5069 introduced that cause crashes on cut path.
5071 2004-10-25 Kees Cook <kees@outflux.net>
5073 * src/sp-object.cpp: nasty hack to not export metadata on "Plain SVG".
5074 I promise I'll fix this with a proper SPObject soon.
5076 2004-10-25 Jon A. Cruz <jon@joncruz.org>
5077 * src/file.cpp, src/file.h, src/inkscape.cpp, src/sp-image.cpp,
5078 src/uri.cpp, src/uri.h, src/dialogs/filedialog.cpp,
5079 src/extension/input.cpp, src/extension/implementation/script.cpp,
5080 src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
5081 src/extension/internal/win32.h, src/extension/plugin/gimpgrad.cpp,
5082 src/helper/png-write.cpp, src/trace/imagemap.cpp, src/xml/repr-io.cpp:
5084 Refactoring filenames and file opening
5086 2004-10-24 MenTaLguY <mental@rydia.net>
5088 * src/Makefile.am: added/removed files
5090 * src/util/copy-list.h: nobody's using it right now, get rid of it
5092 * src/traits/copy.h, src/traits/list-copy.h:
5093 traits for determining the type to make a copy of a value
5095 * src/sp-item.cpp, src/util/filter-list.h src/util/map-list.h,
5096 src/util/reverse-list.h, src/widgets/layer-selector.cpp
5097 src/xml/sp-repr-action.cpp:
5099 let the list functions infer their own result type (where possible)
5101 * src/util/forward-pointer-iterator.h: its value type is a reference
5103 2004-10-23 MenTaLguY <mental@rydia.net>
5105 * src/desktop.cpp: removed vertical usize limits on statusbar
5107 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
5108 more layer selector work; simplfied model and customized CellRenderer
5109 settings a bit
5111 * src/attributes.cpp, src/attributes.h, src/sp-object.cpp, src/sp-object.h:
5112 add inkscape:label attribute
5114 * src/file.cpp, src/sp-anchor.h, src/sp-animation.h, src/sp-chars.h,
5115 src/sp-clippath.h, src/sp-conn-end.cpp, src/sp-defs.h, src/sp-ellipse.h,
5116 src/sp-gradient.h, src/sp-guide.h, src/sp-image.h, src/sp-line.h,
5117 src/sp-linear-gradient.h, src/sp-marker.h, src/sp-mask.h,
5118 src/sp-namedview.h, src/sp-object-group.h, src/sp-offset.h, src/sp-path.h,
5119 src/sp-pattern.h, src/sp-polygon.h, src/sp-polyline.h,
5120 src/sp-radial-gradient.h, src/sp-rect.cpp, src/sp-rect.h, src/sp-root.h,
5121 src/sp-spiral.h, src/sp-star.h, src/sp-stop.h, src/sp-string.h,
5122 src/sp-symbol.h, src/sp-text.h, src/sp-tspan.h, src/sp-use.h,
5123 src/sp-offset.cpp, src/sp-shape.h:
5125 make inheritance actual
5127 2004-10-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5129 * src/libnr/*: Move some things from nr-matrix-ops.h to new files.
5131 * src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp:
5132 New function is_zero. Move is_unit_vector here
5133 (was private to sp-spiral.cpp).
5135 * src/display/bezier-utils-test.cpp: Disable a test, replacing with a
5136 todo printf and adding a comment explaining.
5138 2004-10-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5140 * src/pencil-context.cpp: Ensure that data points array p is uniqued
5141 and contains no NaNs.
5143 * src/libnr/nr-point-fns.cpp (LInfty): Fix bug with NaN coordinates:
5144 return NaN (rather than unspecified behaviour).
5145 * src/libnr/nr-point-fns-test.cpp: Add test cases for L1,L2,LInfty
5146 handling of NaN.
5148 * src/pencil-context.cpp: Fix bug: undesirable interactions between
5149 snapping and snap-to-anchor.
5151 2004-10-21 MenTaLguY <mental@rydia.net>
5153 * src/desktop.cpp: SPDesktop::currentRoot() should pull from
5154 the current layer hierarchy just like SPDesktop::currentLayer();
5155 doubly so, since currently when switching documents the layer hierarchy
5156 is updated before the document is switched
5158 * src/util/Makefile_insert, src/util/copy-list.h: add list copy thingy
5160 * src/util/list.h: add rest()
5162 * src/util/reverse-list.h: bug fixes to reverse_list_in_place()
5164 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
5165 more work on layer selector
5167 2004-10-21 Carl Hetherington <inkscape@carlh.net>
5169 * src/livarot/Path.cpp, src/livarot/Path.h,
5170 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5171 src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
5172 src/livarot/ShapeMisc.cpp: excise separate path description data
5173 structure.
5175 * src/livarot/Path.h, src/livarot/Path.cpp,
5176 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5177 src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
5178 src/livarot/ShapeMisc.cpp, src/livarot/livarot-forward.h: move
5179 path description structs into their own files, and rename a few
5180 member variables.
5182 * src/livarot/Path.h, src/livarot/PathConversion.cpp,
5183 src/livarot/PathOutline.cpp: remove some unused functions.
5185 2004-10-20 Carl Hetherington <inkscape@carlh.net>
5187 * src/livarot/Path.cpp: fix for 1050379, and probably lots of
5188 others.
5190 * src/livarot/Path.h, src/livarot/PathOutline.cpp: bug fix for a
5191 previous commit.
5193 * src/livarot/Path.cpp: fix a memory leak.
5195 2004-10-19 Carl Hetherington <inkscape@carlh.net>
5197 * src/livarot/Path.h, src/livarot/PathSimplify.cpp: more
5198 simplification cleanups.
5200 * src/livarot/PathStroke.cpp: coding style cleanups.
5202 * src/livarot/Path.h, src/livarot/PathSimplify.cpp,
5203 src/livarot/PathStroke.cpp: more cleanups; don't modify Path::pts
5204 and Path::nbPt.
5206 * src/livarot/Path.cpp, src/livarot/Path.h,
5207 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5208 src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: use a
5209 std::vector for Path::pts.
5211 2004-10-18 Carl Hetherington <inkscape@carlh.net>
5213 * src/livarot/Path.h, src/livarot/PathSimplify.cpp: coding style
5214 and const cleanups.
5216 * src/livarot/PathSimplify.cpp: some very minor cleanups, and
5217 temporary comments for myself.
5219 * src/livarot/PathConversion.cpp: coding style cleanups.
5221 * src/livarot/PathConversion.cpp: fix for bug 1048827.
5223 * src/livarot/Path.h, src/livarot/PathSimplify.cpp: clean up
5224 simplification code.
5226 2004-10-17 MenTaLguY <mental@rydia.net>
5228 * share/templates/Makefile.am, share/templates/layers.svg:
5229 added a layer template
5231 * src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
5232 more layer selector work
5234 * src/util/filter-list.h, src/util/Makefile_insert:
5235 added filter_list()
5237 2004-10-15 Carl Hetherington <inkscape@carlh.net>
5239 * src/livarot/PathSimplify.cpp: remove #ifdef
5240 pseudo_douglas_pecker code that wasn't being used.
5242 2004-10-15 MenTaLguY <mental@rydia.net>
5244 * src/view.h: removed obsolete status message functions
5246 * src/attributes.h: remove unused #define
5248 * src/sp-object.cpp: fix for bug #1048268 (inkscape:collect being written
5249 in "plain SVG" files)
5251 * src/sp-item.h, src/sp-item.cpp: added isLocked() and isHidden()
5252 predicates
5254 * src/sp-item.cpp, src/sp-style.cpp: basic support for visibility CSS
5255 property
5257 2004-10-14 Ted Gould <ted@gould.cx>
5259 * share/extension/*.inkmod -> *.inx
5260 src/extension/init.cpp
5262 Changing the filename extension that is used to identify Inkscape
5263 extensions to the one specified in the design document.
5265 2004-10-14 MenTaLguY <mental@rydia.net>
5267 * src/util/list.h: more 3.4 fixes
5269 2004-10-13 MenTaLguY <mental@rydia.net>
5271 * src/util/list.h, src/util/forward-pointer-iterator.h:
5273 fixes to (hopefully) build with g++ 3.4 (and generally be less evil
5274 anyway)
5276 2004-10-14 Carl Hetherington <inkscape@carlh.net>
5278 * src/livarot/int-line.cpp: coding style cleanups.
5280 * src/livarot/float-line.cpp, src/livarot/float-line.h:
5281 refactoring, removal of dead code.
5283 * src/display/guideline.cpp, src/display/guideline.h: coding style
5284 cleanups.
5286 * src/livarot/Path.cpp, src/livarot/Path.h,
5287 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5288 src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: merge
5289 Path::path_lineto and Path::path_lineto_b.
5291 2004-10-14 Carl Hetherington <inkscape@carlh.net>
5293 * src/Path.cpp, src/Path.h, src/PathConversion.cpp,
5294 src/PathCutting.cpp, src/PathOutline.cpp, src/PathSimplify.cpp,
5295 src/ShapeMisc.cpp: use a vector of pointers for Path::descr_cmd.
5297 * src/livarot/Ligne.cpp, src/livarot/Ligne.h,
5298 src/livarot/int-line.cpp, src/livarot/int-line.h,
5299 src/livarot/float-line.cpp, src/livarot/float-line.h,
5300 src/livarot/livarot-forward.h, src/livarot/ShapeRaster.cpp,
5301 src/sp-flowregion.cpp, src/display/canvas-bpath.cpp,
5302 src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
5303 src/display/sp-ctrlline.cpp, src/libnrtype/FlowDest.cpp,
5304 src/libnrtype/RasterFont.cpp: split Ligne into float-line and
5305 int-line.
5307 * src/libnrtype/FlowDest.cpp, src/libnrtype/RasterFont.cpp,
5308 src/libnrtype/raster-position.h, src/livarot/float-line.cpp,
5309 src/livarot/float-line.h, src/livarot/int-line.cpp: use
5310 std::vector for arrays in FloatLigne.
5312 * src/livarot/float-line.cpp, src/livarot/float-line.h: remove
5313 lots of dead code. Make some methods private.
5315 2004-10-12 MenTaLguY <mental@rydia.net>
5317 * src/Makefile.am: added files
5319 * src/layer-fns.cpp, src/sp-item.cpp: use iterators, simplifying code
5321 * src/sp-object.cpp, src/splivarot.cpp: adapt to new version of
5322 Inkscape::Algorithms::longest_common_suffix
5324 * src/sp-object.h, src/sp-repr-iterators.h: add new iterator classes
5326 * src/algorithms/find-last-if.h: add counterpart of std::find_if
5328 * src/algorithms/longest-common-suffix.h: rewrite to use iterators
5330 * src/algorithms/longest-prefix.h, src/algorithms/longest-suffix.h,
5331 src/algorithms/shortest-prefix.h, src/algorithms/shortest-suffix.h:
5333 removed; these algorithms are no longer necessary when using
5334 iterators
5336 * src/traits/list.h: no longer needed
5338 * src/traits/reference.h: add "Pointer" member type
5340 * src/util/Makefile_insert: shuffled files
5342 * src/util/list.h: reworked Inkscape::Util::List to be a "handle" type
5343 that can also be used as an STL iterator
5345 * src/util/forward-pointer-iterator.h: treat a pointer as an iterator,
5346 given a base pointer type and a type which defines the iteration
5347 strategy
5349 * src/util/map.h: obsolete
5351 * src/util/map-list.h: iterator-based implementation
5353 * src/traits/tree-iterator.h: no longer necessary (superceded by
5354 specific applications of Inkscape::Util::ForwardPointerIterator)
5356 * src/sp-object-tree-iterator.h, src/util/parent-axis.h,
5357 src/util/sibling-axis.h: obsolete
5359 * src/util/map.h, src/util/reverse.h: obsolete
5361 * src/util/map-list.h, src/util/reverse-list.h:
5362 iterator-based implementations
5364 * src/xml/Makefile_insert: added file
5366 * src/xml/repr.h: removed old tree iterator stuff
5368 * src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h: use new
5369 pointer iterator facility
5371 * src/xml/sp-repr-iterators.h: pointer iterators for SPRepr
5373 2004-10-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5375 * src/display/bezier-utils.h, src/display/bezier-utils.cpp
5376 (sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full): Change the meaning
5377 of the last parameter: was max_depth, now lg_max_beziers, with the
5378 relationship lg_max_beziers = max_depth + 1. Callers updated.
5380 * src/xml/repr.cpp (sp_repr_change_order):
5381 Add g_return_if_fail for some conditions that would break structural
5382 integrity, and add a TODO comment indicating incompleteness.
5383 Use sp_repr_prev function.
5385 * src/xml/repr-get-children.h, src/xml/repr-get-children.cpp
5386 (sp_repr_prev_sibling): Rename to sp_repr_prev for consistency
5387 with sp_repr_next. Don't consider it an error for child to be
5388 NULL or parentless. Callers updated.
5390 * src/draw-context.cpp (spdc_concat_colors_and_flush,
5391 spdc_flush_white): Misc readability cleanups.
5393 * src/display/curve.cpp (sp_curve_reverse): Fix a bug where the
5394 reversed curve wrongly included a trailing moveto command. (Bug
5395 introduced in my 2004-09-05 change: one of the callers I didn't
5396 know how to cause to run.)
5398 2004-10-12 Ted Gould <ted@gould.cx>
5400 * share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
5401 share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
5402 share/extensions/eps_input.inkmod, share/extensions/epsi_output.inkmod,
5403 share/extensions/gimpgrad.inkmod, share/extensions/ps_input.inkmod,
5404 share/extensions/roundhole.inkmod, share/extensions/sk_input.inkmod,
5405 share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
5406 share/extensions/txt2svg.inkmod, share/extensions/wmf_input.inkmod,
5407 src/extension/dependency.cpp, src/extension/dependency.h,
5408 src/extension/extension.cpp, src/extension/init.cpp:
5410 Moving all of the dependency stuff from the scripts, up to the root
5411 extension level. This means that everyone can have dependencies, and
5412 dependency checking (a good thing). This makes use of the new
5413 'Dependency' class that is also in the extension directory.
5415 2004-10-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5417 * src/pencil-context.cpp (sp_pencil_context_root_handler): Split into
5418 many functions, fixing some illegal union aliasing along the way (as
5419 was done for sp_pen_context_root_handler).
5421 * src/modifier-fns.h: New file of inline functions based on macros.h
5422 MOD__CTRL etc. macros.
5423 * src/Makefile_insert: Add the new file.
5425 * src/pen-context.h: Change size of p array from SP_DRAW_MAX_POINTS to
5426 5 now that we aren't sharing with SPPencilContext.
5428 * src/draw-context.cpp, src/draw-context.h, src/pen-context.cpp,
5429 src/pen-context.h, src/pencil-context.cpp, src/pencil-context.h:
5430 Move npoints,p from SPDrawContext to both SPPenContext and
5431 SPPencilContext.
5433 * src/draw-context.cpp, src/draw-context.h: Split off new files
5434 pen-context.h, pen-context.cpp, pencil-context.h, pencil-context.cpp,
5435 draw-anchor.h, draw-anchor.cpp.
5436 * src/Makefile_insert: Add the new files.
5438 2004-10-10 Ted Gould <ted@gould.cx>
5440 * src/event-context.cpp, src/file.cpp, src/file.h, src/print.cpp,
5441 src/print.h, src/selection-chemistry.h, src/sp-image.cpp, src/sp-item.cpp,
5442 src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-symbol.cpp,
5443 src/tools-switch.cpp, src/dialogs/export.cpp, src/dialogs/filedialog.cpp,
5444 src/extension/Makefile_insert, src/extension/db.cpp,
5445 src/extension/dependency.cpp, src/extension/dependency.h,
5446 src/extension/effect.cpp, src/extension/effect.h,
5447 src/extension/extension-forward.h, src/extension/extension.cpp,
5448 src/extension/extension.h, src/extension/input.cpp, src/extension/input.h,
5449 src/extension/output.cpp, src/extension/output.h, src/extension/print.cpp,
5450 src/extension/print.h, src/extension/system.cpp,
5451 src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp,
5452 src/extension/internal/svg.cpp, src/libnrtype/FlowResOut.cpp:
5454 Splitting out the different types of extensions into their own files so
5455 that the overall dependencies can be reduced. Caused a ripple through
5456 lots of other files. Hopefully the dependency situation is better now.
5458 2004-10-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5460 * src/draw-context.cpp:
5461 Change xp,yp file globals to NR::Point pen_draw_origin_w.
5463 * src/draw-context.cpp (sp_pen_context_root_handler):
5464 Split into many routines. Fix some illegal union member aliasing.
5465 (pen_handle_key_press): Minor code cleanups in backspace handling.
5466 (pen_handle_motion_notify): Make tolerance var local instead of
5467 file-global. (This transformation is applicable to many
5468 dragtolerance users.)
5470 * src/draw-context.cpp (spdc_endpoint_snap_handle):
5471 Change argument type from SPDrawContext to SPPenContext, and
5472 specialize definition accordingly. Caller updated.
5474 * src/draw-context.h: Change red_curve_is_valid from char to bool.
5475 * src/draw-context.cpp: Change red_curve_is_valid assignments from
5476 0x00/0x01 to false/true (using find & replace).
5478 2004-10-07 Carl Hetherington <inkscape@carlh.net>
5480 * src/nr-object.cpp, src/nr-object.h: coding style and const
5481 fixes.
5483 * src/nr-rect.cpp: added a doxygen comment. Some coding style
5484 fixes.
5486 * src/sp-paint-server.cpp: coding style fixes.
5488 * src/nr-arena-item.cpp, src/nr-arena-item.h: move a comment to
5489 the .cpp file and make it doxygen-style.
5491 * src/livarot/Path.cpp: coding style cleanups. Add an assert to
5492 Path::Transform().
5494 * src/livarot/Path.cpp, src/livarot/Path.h: fix some archaic
5495 notation.
5497 * src/livarot/Ligne.cpp: coding style cleanups.
5499 * src/livarot/PathOutline.cpp, src/livarot/Path.h: fix a rather
5500 nasty hack in the outlining code.
5502 * src/livarot/Path.cpp, src/livarot/Path.h,
5503 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5504 src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
5505 src/livarot/ShapeMisc.cpp, src/splivarot.cpp, src/sp-offset.cpp:
5506 use std::vector for Path::descr_cmd.
5508 * src/livarot/Path.cpp, src/livarot/Path.h,
5509 src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
5510 src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
5511 src/livarot/ShapeMisc.cpp: getType() and setType() in Path::path_descr.
5513 2004-10-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5515 * src/sp-object-repr.cpp (sp_repr_type_lookup): Distinguish between XML
5516 element name and sodipodi:type attribute value: use a separate table
5517 for each.
5518 * src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_lookup):
5519 Don't export this function. (Also rename it to name_to_gtype and
5520 change its definition for separate tables.)
5522 2004-10-03 Kees Cook <kees@outflux.net>
5524 * src/dialogs/rdf.cpp, src/dialogs/repr-util.cpp, src/dialogs/repr.h:
5525 Since "dc:title" can appear at multiple XML levels, a way to
5526 control max depth in searching was added. (Closes bug #1009290)
5528 2004-09-30 MenTaLguY <mental@rydia.net>
5530 * src/widgets/document-tree-model.cpp:
5531 more bug fixes
5533 * src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
5534 get the layer selector sort of in more order
5536 2004-09-28 Ted Gould <ted@gould.cx>
5538 * src/verbs.cpp, src/verbs.h, src/view.cpp:
5540 Making it so that actions get deleted as views get destroyed.
5542 2004-09-27 Ted Gould <ted@gould.cx>
5544 * src/desktop.h, src/forward.h, src/interface.cpp, src/interface.h,
5545 src/select-toolbar.cpp, src/shortcuts.cpp, src/shortcuts.h,
5546 src/toolbox.cpp, src/toolbox.h, src/verbs.cpp, src/verbs.h,
5547 src/dialogs/align.cpp, src/dialogs/align.h,
5548 src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp,
5549 src/dialogs/export.cpp, src/dialogs/find.cpp,
5550 src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp,
5551 src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
5552 src/dialogs/xml-tree.cpp, src/helper/action.cpp, src/helper/action.h:
5554 Wow, alot of files changed. The ones that changed the most are
5555 verb.cpp and verb.h, which are almost entirely different. What happened
5556 here is the verbs were made object oriented. So, as the verbs
5557 are built into everything, lots of files changed. Now the code
5558 for the verbs is much cleaner, and I think a little bit faster.
5559 Also, it will be easier to extend the verbs for use in effects.
5561 2004-09-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5563 * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
5564 Get rid of operator NR::translate(), which was allowing
5565 *implicit* (and typically lossy) conversion to NR::translate,
5566 and which made a bug hard to find.
5568 * src/sp-gradient-test.cpp: New unit test file. I believe this is the
5569 first test that tests an SPObject.
5570 * src/Makefile_insert, src/Makefile.am: Invoke the new test.
5572 2004-09-24 MenTaLguY <mental@rydia.net>
5574 * src/selection-chemistry.cpp:
5576 "select all" and "clear" now operate on the current layer rather than on
5577 the document root
5579 * src/verbs.cpp, src/shortcuts.cpp, layer-fns.cpp, src/sp-item.cpp:
5581 keyboard shortcuts and fixes for layer verbs
5583 2004-09-23 MenTaLguY <mental@rydia.net>
5585 * src/message-stack.h, src/message-stack.cpp:
5587 return id of flashed messages so they are cancellable
5589 * src/message-context.h, src/message-context.cpp:
5591 message context flashes now supercede one another, as regular
5592 messages do (they do not supercede regular messages though)
5594 * src/interface.cpp, src/layer-fns.cpp, src/layer-fns.h, src/verbs.cpp:
5596 initial stab at layers menu; not everything works the way it should
5597 quite yet
5599 * src/message-context.h, src/message-context.cpp:
5601 added flash methods to Inkscape::MessageContext
5603 * src/gc-core.h, src/display/nr-arena-glyphs.cpp,
5604 src/display/nr-arena-group.cpp,
5605 src/display/nr-arena-item.cpp, src/display/nr-arena-item.h,
5606 src/display/nr-arena-shape.cpp, src/libnr/nr-object.cpp,
5607 src/libnr/nr-object.h,
5609 eliminate more sources of leaks; managed objects shouldn't use refcounts
5610 among themselves
5612 * src/xml/repr.cpp: don't nuke log pointer
5614 2004-09-21 MenTaLguY <mental@rydia.net>
5616 * src/gc-finalized.h: fix for stupid bug preventing finalizable objects
5617 from being collected
5619 * src/Makefile_insert, src/gc.cpp, src/gc-core.h:
5620 move Inkscape::GC::init out-of-line, and funnel GC warnings through
5621 glib
5623 2004-09-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5625 * src/sp-marker.h, src/sp-marker.cpp (sp_marker_show_instance):
5626 Change to using NR::Matrix instead of NRMatrix. Update caller.
5628 * src/sp-gradient.cpp (sp_gradient_get_g2d_matrix,
5629 sp_gradient_get_gs2d_matrix, sp_gradient_set_gs2d_matrix):
5630 New NR::Matrix/NR::Rect versions of existing functions.
5632 * src/libnr/nr-matrix-translate-ops.h (operator/): New function.
5634 * src/libnr/nr-matrix-scale-ops.cpp: New file.
5635 * src/libnr/nr-matrix-scale-ops.h (operator/(Matrix,scale)):
5636 New function.
5638 2004-09-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5640 * src/sp-gradient.h: Change gradientTransform from NRMatrix to
5641 NR::Matrix. Users updated.
5643 * src/Makefile.am (EXTRA_DIST), Makefile_insert
5644 dialogs/Makefile_insert extension/implementation/Makefile_insert
5645 extension/internal/Makefile_insert helper/Makefile_insert
5646 livarot/Makefile_insert (blah_SOURCES):
5647 Add some .h files for `make dist'.
5649 2004-09-19 MenTaLguY <mental@rydia.net>
5651 * src/gc-core.h: don't defer finalizers
5653 * src/gc-core.h: bump up free space divisor -- collections should
5654 happen ~32x more frequently
5656 2004-09-19 Carl Hetherington <inkscape@carlh.net>
5658 * src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp,
5659 src/display/sp-ctrlline.cpp, src/libnrtype/RasterFont.cpp,
5660 src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: remove some
5661 unused parameters from calls to raster code.
5663 * src/livarot/ShapeRaster.cpp: coding style cleanups.
5665 * src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: factored out
5666 _updateIntersection().
5668 * src/livarot/AVL.cpp, src/livarot/AVL.h: remove DblLinked. Cleanups.
5670 2004-09-18 MenTaLguY <mental@rydia.net>
5672 * src/dialogs/filedialog.cpp: unref the preview document we created
5674 2004-09-18 Carl Hetherington <inkscape@carlh.net>
5676 * src/livarot/AVL.cpp, src/livarot/AVL.h,
5677 src/livarot/DblLinked.cpp, src/livarot/DblLinked.h,
5678 src/livarot/LivarotDefs.h, src/livarot/ShapeRaster.cpp,
5679 src/livarot/ShapeSweep.cpp, src/livarot/sweep-tree.cpp,
5680 src/livarot/sweep-tree.h, src/sweep-event.h: replace leftFoo and
5681 rightFoo with foo[2] in a few places. Associated cleanups.
5683 * src/livarot/Shape.h: use Side rather than a bool for
5684 TesteIntersection. Add some methods. Remove some unused variables.
5686 * src/livarot/ShapeSweep.cpp: simplify TesteIntersection with use
5687 of Side.
5689 * src/livarot/sweep-event.h: const fix.
5691 * src/livarot/sweep-event.cpp: simplifications with use of Side.
5693 * src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
5694 src/livarot/ShapeMisc.cpp, src/ShapeSweep.cpp: lastA/firstA in
5695 Shape::dg_point ->
5697 further work on stroking; break out bezier approximation into
5698 public functions
5700 2004-09-10 MenTaLguY <mental@rydia.net>
5702 * src/render/polygon.h, src/render/shape-builder.h,
5703 src/render/shape-builder.cpp, src/render/stroke.h,
5704 src/render/dash.h:
5706 beginnings of a simple alternate renderer
5708 2004-09-09 Carl Hetherington <inkscape@carlh.net>
5710 * src/sp-flowtext.cpp, src/sp-offset.cpp, src/splivarot.cpp,
5711 src/display/nr-arena-shape.cpp, src/libnrtype/FlowDest.cpp,
5712 src/livarot/PathConversion.cpp, src/livarot/Shape.h: make
5713 Shape::nbPt and Shape::nbAr private and provide accessor methods.
5715 * src/display/nr-arena-shape.cpp, src/livarot/Shape.h: make
5716 Shape::flags private.
5718 * src/splivarot.cpp, src/livarot/PathStroke.cpp,
5719 src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
5720 src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
5721 Clean up handling of flags in Shape class
5723 * src/livarot/AlphaLigne.cpp, src/livarot/Path.cpp,
5724 src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp,
5725 src/livarot/ShapeSweepUtils.cpp: it's ok to free NULL.
5727 * src/livarot/Shape.h, src/sp-offset.cpp, src/splivarot.cpp,
5728 src/display/nr-arena-shape.cpp: Make Shape::pts private and offer
5729 a read-only accessor.
5731 * src/livarot/Shape.cpp, src/livarot/Shape.h,
5732 src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
5733 src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/
5734 livarot/ShapeSweepUtils.cpp, src/livarot/ShapeUtils.h: Rename
5735 Shape::pts to Shape::_pts, and use getPoint() wherever possible.
5737 * src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
5738 src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
5739 src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Add
5740 dg_point::totalDegree() and make use of it.
5743 2004-09-08 MenTaLguY <mental@rydia.net>
5745 * src/libnr/nr-object.h, src/libnr/nr-object.cpp: fix NRObject
5746 initialization
5748 * configure.in, src/gc-core.h, src/gc-managed.h, src/gc-anchored,
5749 src/gc-finalized.h:
5751 add a --disable-gc ./configure option to omit garbage collection
5752 from the build (the normal allocator will be used, although
5753 memory will obviously leak since it does not get explicitly freed)
5755 * src/xml/repr.cpp: SPRepr's copy constructor needs to properly
5756 initialize its fields
5758 * src/xml/repr-util.cpp, src/xml/repr-private.h,
5759 src/xml/repr.h, src/xml/repr.cpp:
5761 new child-count-related routines, and added mutation signals
5762 to SPReprDoc
5764 * src/desktop.cpp: call the "Active Group" widget by its TRUE NAME!
5766 * src/widgets/Makefile_insert, src/widgets/document-tree-model.cpp,
5767 src/widgets/document-tree-model.h, src/widgets/layer-selector.cpp,
5768 src/widgets/layer-selector.h:
5770 very cursory start on new layers UI
5772 2004-09-08 Carl Hetherington <inkscape@carlh.net>
5774 * src/helper/stock-items.cpp: fix a bad free(). Improve coding
5775 style compliance.
5777 * src/libnrtype/FlowRes.cpp: slightly unpleasant fix for a buffer
5778 overrun.
5780 2004-09-07 MenTaLguY <mental@rydia.net>
5782 * src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
5783 src/livarot/ShapeSweep.cpp:
5785 use std::vector for points array (seems to crash less?)
5787 * src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
5788 src/livarot/Ligne.cpp, src/livarot/Path.cpp,
5789 src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
5790 src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
5791 src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
5793 switch to glib's allocator routines, which have the expected
5794 semantics
5796 * src/livarot/evil-malloc.h: removed
5798 2004-09-07 Ted Gould <ted@gould.cx>
5800 * src/color-rgba.h:
5802 Some comments and some little code clean up things. Added a couple
5803 of constructors to make life a little simpler.
5805 2004-09-06 Ted Gould <ted@gould.cx>
5806 * src/extension/plugin/gimgrad.cpp, src/extension/implementation/plugin*
5807 share/extension/gimpgrad.inkmod, src/extension/system.cpp,
5808 src/extension/extension.h:
5810 Mega commit. This commit does two things, it adds in the ability to
5811 do plugins in Inkscape. This means that there are loadable modules
5812 that can be used for just about anything. It also provides a sample
5813 implementation of a plugin to load GIMP gradients. This means that
5814 GIMP gradients can be imported into Inkscape, giving a larger set of
5815 gradients that can be used in Inkscape.
5817 Currently, nothing here is really complete, but it is functional. The
5818 plugins really only work for input plugins, and the GIMP gradient example
5819 isn't very robust. They will come shortly.
5821 2004-09-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5823 * src/display/curve.h, src/display/curve.cpp:
5824 Change x,y members to NR::Point.
5825 Rename posset (spiced&spiked hot milk) to posSet as per CodingStyle.
5827 * src/display/curve.cpp (sp_curve_reverse): Previously this
5828 routine returned only the last subpath, and made it an open
5829 path. Now it preserves all aspects of the curve other than
5830 reversing it. I believe this change makes no difference to the
5831 draw-context and dyna-draw-context callers (though I haven't
5832 managed to test all of these callers), whereas for the `reverse
5833 path' command, users presumably expect the new behaviour.
5835 * src/display/curve.cpp (sp_curve_closepath_current):
5836 Fix bad assertion.
5838 * src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
5839 (get_translation): New function.
5841 * src/sp-polygon.cpp (polygon_get_value): Use static linkage.
5842 (sp_polygon_set): Remove debugging output. Add `todo' comment.
5844 2004-09-03 MenTaLguY <mental@rydia.net>
5846 * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
5847 src/sp-namedview.h:
5849 remember previously selected layer on load
5851 2004-09-02 MenTaLguY <mental@rydia.net>
5853 * src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp:
5855 reintroduced the inkscape:groupmode attribute
5857 * src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
5858 src/libnr/nr-object.cpp:
5860 remove USE_LIBGC macro again
5862 2004-08-30 MenTaLguY <mental@rydia.net>
5864 * src/sp-object.cpp:
5866 ref the object while SPObject::deleteObject runs, so it doesn't
5867 get destroyed halfway through [ fix for bug #1012874 ]
5869 2004-08-29 MenTaLguY <mental@rydia.net>
5871 * src/gc-core.h:
5873 turn off scanning of dynamic library data segments; we don't need
5874 it, and it seems to cause problems on FC2
5876 2004-08-27 MenTaLguY <mental@rydia.net>
5878 * src/traits/function.h: add typedefs for all argument positions,
5879 specifying 'void' for all arguments after the last
5881 * src/livarot/evil-malloc.h, src/livarot/BitLigne.cpp,
5882 src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
5883 src/livarot/Shape.cpp, src/livarot/ShapeSweepUtils.cpp:
5885 work around livarot bugs so I can use ElectricFence
5887 * src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
5888 src/libnr/nr-object.cpp:
5890 make the garbage collector easy to disable by undefining
5891 USE_LIBGC in src/gc-core.h
5893 2004-08-26 MenTaLguY <mental@rydia.net>
5895 * src/document-private.h, src/document.h, src/document.cpp:
5897 add notification signal when resources are added or removed
5899 2004-08-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5901 * src/xml/repr-css.cpp (sp_repr_css_print):
5902 Fix for shared string change.
5904 * src/sp-text.cpp (sp_text_description):
5905 Fix for when font Name() call fails.
5907 * src/sp-text.cpp: CodingStyle changes, including moving some
5908 declarations to first use.
5909 Remove unused __SP_TEXT_C__ define.
5911 2004-08-25 Carl Hetherington <inkscape@carlh.net>
5913 * src/sp-cursor.cpp, src/sp-cursor.h, src/sp-guide.cpp:
5914 coding style cleanups.
5916 2004-08-24 MenTaLguY <mental@rydia.net>
5918 * src/gc-anchor.h: fix to always use the GC base address, since
5919 that will not always be the same as 'this', when I::GC::Anchored
5920 is used via multiple inheritance.
5922 2004-08-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
5924 * src/libnrtype/TextWrapper.h, src/libnrtype/TextWrapper.cpp (AppendUTF8):
5925 Use strlen instead of for-loop.
5926 Change printf to g_return_if_fail (and document that the argument
5927 must be valid UTF-8).
5928 Mark the text pointer as not being written through (const).
5930 2004-08-23 MenTaLguY <mental@rydia.net>
5932 * src/xml/repr.cpp, src/xml/sp-repr-action.h:
5934 removed stupid default 'next' constructor arguments and force them
5935 to be specified explicitly (and fix the omission of one, which
5936 fixes bug #1014541)
5938 2004-08-22 MenTaLguY <mental@rydia.net>
5940 * src/Makefile_insert, src/gc-alloc.h:
5942 introduced a GC-aware STL allocator
5944 * src/document-private.h, src/document.h, src/document.cpp:
5946 switch to using STL map for "id changed" signals
5948 2004-08-21 MenTaLguY <mental@rydia.net>
5950 * src/Makefile_insert, src/util/Makefile_insert: get libinkutil
5951 deps straightened out
5953 * src/document-private.h, src/document-undo.cpp, src/document.cpp:
5955 adapt for new APIs, header cleanups/refactorings
5957 * src/gc-core.h, src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
5959 rewrote interface to Boehm GC for increased flexibility; there are now
5960 three main classes:
5962 - Inkscape::GC::Managed: objects managed by the GC; replaces
5963 Inkscape::GC::Object
5965 - Inkscape::GC::Finalized: objects for which the GC will call
5966 destructors automatically; replaces
5967 Inkscape::GC::FinalizedObject
5969 - Inkscape::GC::Anchored: managed objects which can be 'anchored'
5970 to prevent collection while non-gc-aware
5971 objects are holding references; replaces
5972 Inkscape::Refcounted
5974 Note that they no longer inherit from each other(!), so you will
5975 need to mix-and-match via multiple inheritance. The latter two
5976 don't do anything useful without the first, however.
5978 * src/gc-object.h, src/refcounted.h: removed
5980 * src/message-context.cpp, src/message-stack.h, src/selection.h,
5981 src/view.cpp, src/libnr/nr-object.h, src/util/list.h,
5982 src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h, src/desktop.cpp:
5984 adopt new GC API and header refatorings
5986 * src/Makefile.am, src/util/Makefile_insert:
5988 list util/* files in util's Makefile_insert now.
5990 * src/util/reverse.h: revive anx fix Inkscape::Util::reverse
5992 * src/util/share-c-string.cpp, src/util/share-c-string.h: removed
5994 * src/util/shared-c-string.cpp, src/util/shared-c-string.h:
5996 employ the type system to make shared strings a little safer to use;
5997 you can still shoot yourself in the foot, but at least now you need
5998 to aim and pull the trigger first
6000 * src/xml/Makefile_insert, src/xml/repr-action-test.cpp,
6001 src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.h:
6003 reorganize transaction logging files
6005 * src/xml/repr-action-test.cpp: updated headers
6007 * src/xml/repr-action.cpp, src/xml/repr-action.h: removed
6009 * src/xml/repr-private.h, src/xml/repr.cpp, src/xml/repr.h:
6011 update for new GC API and shared strings
6013 * src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp,
6014 src/xml/sp-repr-action.h:
6016 header refactoring and new GC API
6018 * src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h:
6020 new GC API
6022 2004-08-20 Carl Hetherington <inkscape@carlh.net>
6024 * src/zoom-context.cpp, src/view.cpp, src/version.cpp,
6025 src/sp-defs.cpp: coding style cleanups.
6027 * src/sp-polygon.cpp: coding style and a few other small cleanups.
6029 * src/sp-anchor.cpp: coding style cleanups. Remove unnecessary
6030 static variable.
6032 2004-08-18 Bryce Harrington <bryce@bryceharrington.org>
6034 * autogen.sh: Fixing the 'missing ltmain.sh' bug
6036 2004-08-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6038 * src/sp-star.cpp: Use cast to guint32 instead of using modulo 2**32.
6039 Fix a uint compilation bug on Windows reported by mrchapp.
6040 Mark a few functions as static.
6042 2004-08-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6044 * src/sp-conn-end.cpp (change_endpts):
6045 Use new sp_curve_stretch_endpoints function: i.e. preserve the
6046 shape of the connector path.
6048 * src/display/curve.h, src/display/curve.cpp
6049 (sp_curve_stretch_endpoints): New function.
6051 * src/sp-use-reference.cpp: CodingStyle changes.
6053 * src/sp-item.h, src/sp-item.cpp (sp_item_write_transform):
6054 Indicate that adv won't get written to.
6056 * src/sp-rect.cpp (sp_rect_set_transform): Call sp_rect_set_shape,
6057 so that bbox is up-to- src/livarot/PathConversion.cpp,
6058 src/livarot/Shape.cpp,
6059 src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
6060 src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp,
6061 src/livarot/ShapeSweepUtils.cpp:
6062 Revert these files to their state prior to mental's "2004-08-08"
6063 entry (the change made in 2004-08-09 02:23 UTC).
6065 2004-08-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6067 * src/algorithms/longest-common-suffix.h: Fix bug I introduced three
6068 days ago.
6070 * src/attributes.h, src/attributes.cpp: New attributes
6071 SP_ATTR_CONNECTION_START, SP_ATTR_CONNECTION_END.
6072 * src/sp-conn-end.h, src/sp-conn-end.cpp,
6073 src/sp-conn-end-pair.h, src/sp-conn-end-pair.cpp:
6074 New files.
6075 * src/Makefile_insert (libinkpre_a_SOURCES): Add the new files.
6077 * src/sp-path.cpp, src/sp-path.h: Call the new connector stuff.
6079 * src/display/curve.h, src/display/curve.cpp
6080 (sp_curve_first_point, sp_curve_last_point): New functions.
6082 (sp_curve_transform): Re-implement with NR::Matrix/NR::Point.
6083 The old code appears to be buggy for sheer/rotate matrices
6084 due to calculating each y coord using the new corresponding x coord
6085 instead of the previous value.
6087 Also add NR::translate version.
6089 Get rid of the return value. Callers updated.
6091 * src/sp-item.h, src/sp-item.cpp: (i2anc_affine): New function
6092 (essentially a rename of existing private partial_xform function, but
6093 differing behaviour on encountering non-SPItem in the hierarchy).
6095 (i2i_affine): New function (essentially a rename of existing
6096 SPItem::getRelativeAffine). Implement SPItem::getRelativeAffine in
6097 terms of the new function.
6099 (sp_item_dt2i_affine): NR::Matrix version.
6101 * src/libnr/nr-path.h (c, setC): new methods.
6103 2004-08-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6105 * src/desktop-affine.cpp (sp_desktop_w2doc_affine,
6106 sp_desktop_doc2w_affine, sp_desktop_doc2d_xy_point),
6107 src/knotholder.cpp (knot_moved_handler), src/sp-item.cpp
6108 (SPItem::getRelativeTransform), src/sp-rect.cpp
6109 (sp_rect_set_transform), src/display/sp-canvas-util.cpp
6110 (sp_canvas_item_i2i_affine, sp_canvas_item_set_i2w_affine):
6111 Cleanup: Use the new division operators instead of multiplication by
6112 inverse. (Currently the division operators are implemented as
6113 multiplication by inverse.)
6115 * src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
6116 src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
6117 Hurriedly fix some problems caused by overly-hurried changes.
6118 Address some signed/unsigned warnings.
6119 Add some assertions.
6120 (Haven't checked the performance cost of the assertions.)
6122 * src/livarot/Shape.h: Make constructors explicit.
6124 2004-08-08 MenTaLguY <mental@rydia.net>
6126 * src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-offset.cpp,
6127 src/splivarot.cpp, src/display/nr-arena-shape.cpp,
6128 src/livarot/PathConversion.cpp, src/livarot/Shape.cpp,
6129 src/livarot/Shape.h, src/livarot/ShapeDraw.cpp,
6130 src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp,
6131 src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
6133 replace ad-hoc realloced arrays with std::vector and deal with
6134 uninitialized data problems that valgrind complained about
6136 * libgc.supp: valgrind suppression profile for libgc, which necessarily
6137 reads and runs comparisons on a lot of uninitalized data; the present
6138 form of this file is probably too broad however
6140 2004-08-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6142 * src/libnr/nr-matrix-div.h, src/libnr/nr-matrix-div.cpp:
6143 operator/(NR::Point, NR::Matrix), operator/(NR::Matrix, NR::Matrix):
6144 new functions, new files.
6146 * src/algorithms/longest-common-suffix.h:
6147 Handle in O(1) time the common case of equal tails.
6148 Documentation.
6150 2004-08-08 Ted Gould <ted@gould.cx>
6152 * src/svg-profile.h, src/Makefile_insert:
6154 Adding the first support in for trying to determine which profiles are
6155 used with certain functionality, and if that is used by the current
6156 document. Really, right now, there is no code changes to anything that
6157 compiles. But this is the header file that contains the class that
6158 I'm plannig to use in the future.
6160 2004-08-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6162 * src/libnrtype/RasterFont.h, src/libnrtype/RasterFont.cpp:
6163 Get rid of argumentless constructor (which was leaving
6164 style.transform as random bits), replace with constructor taking
6165 style argument. Caller updated.
6166 Disable default copy constructor and operator=.
6168 2004-08-06 MenTaLguY <mental@rydia.net>
6170 * configure.in, src/gc-core.h, src/gc-object.h,
6171 src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp,
6172 src/display/nr-arena-image.cpp, src/display/nr-arena-item.cpp,
6173 src/display/nr-arena-shape.cpp, src/display/nr-arena.cpp,
6174 src/helper/action.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
6176 make NRObject GC-aware
6178 2004-08-06 David Turner <novalis@gnu.org>
6179 * src/sp-shape.cpp (sp_shape_marker_get_transform): Make marker handling
6180 match
6181 SVG spec better.
6183 2004-08-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6185 * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
6186 NR::Matrix *= NR::scale: new.
6188 * src/sp-object.cpp, src/sp-object.h, src/sp-object-tree-iterator.h:
6189 Move TreeIterator<SPObject *> specialization to snew file
6190 sp-object-tree-iterator.h.
6191 Mark several pointers as not being written through.
6192 Correspondingly change TreeIterator specialization to
6193 <SPObject const *> instead of <SPObject *>.
6195 * display/nr-arena-item.cpp, display/nr-arena-item.h:
6196 Add NR::Matrix version of nr_arena_item_set_transform.
6198 * src/sp-item.h, src/sp-item.cpp (getRelativeTransform, partial_xform):
6199 Mark pointers as not written through.
6201 * src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
6202 src/path-chemistry.cpp, src/rect-context.cpp,
6203 src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowdiv.cpp,
6204 src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-item-group.cpp,
6205 src/sp-item-notify-moveto.cpp, src/sp-item-transform.cpp,
6206 src/sp-item.cpp, src/sp-item.h, src/sp-offset.cpp, src/sp-rect.cpp,
6207 src/sp-shape.cpp, src/sp-use.cpp, src/spiral-context.cpp,
6208 src/splivarot.cpp, src/star-context.cpp, src/text-context.cpp,
6209 src/dialogs/item-properties.cpp:
6210 Change SPItem->transform from NRMatrix to NR::Matrix.
6212 * src/libnr/nr-matrix-ops.h (operator*(NR::Matrix, NRMatrix)): new.
6214 * src/libnr/nr-matrix.h: NR::Matrix *= NR::translate: new operator.
6216 * src/nodepath.cpp: Mark NodeSort operator< as static.
6217 Indentation as per CodingStyle.
6219 * src/libnr/nr-scale.h (NR::scale(double)): new constructor.
6221 * src/svg/svg-affine.cpp (sp_svg_transform_write), src/svg/svg.h:
6222 Add NR::Matrix version.
6224 2004-08-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6226 * src/display/bezier-utils.cpp: Misc. minor changes.
6228 2004-08-04 MenTaLguY <mental@rydia.net>
6230 * configure.in, src/gc-object.h, src/refcounted.h:
6232 start using libgc in earnest; Inkscape::Refcounted is now GC-aware
6234 2004-08-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6236 * src/nodepath.cpp: Cleanups: Mark some things as static. Switch from
6237 pointer to reference in some places. Make const placement conform to
6238 CodingStyle.
6240 * src/inkview.cpp (sp_svgview_main_key_press): Accept some common keys
6241 like PgUp, q.
6243 * src/draw-context.cpp (fit_and_split):
6244 Slight simplification: don't handle impossible condition npoints < 2.
6245 * src/proofs: Update accordingly. (Also add some bezier-utils proofs.)
6247 2004-08-04 David Turner <novalis@gnu.org>
6249 * sp-path.cpp: 'd' is a required attribute for paths. Ensure that
6250 all paths have it.
6252 2004-08-03 MenTaLguY <mental@rydia.net>
6254 * src/dialogs/rdf.cpp, src/xml/repr-util.cpp, src/xml/repr.h:
6255 removed sp_repr_recursive_drop() which is unneeded and
6256 creates unnecessary thrash in the undo logs
6258 * src/livarot/Shape.h, src/livarot/Shape.cpp,
6259 src/livarot/ShapeSweep.cpp, src/livarot/ShapeMisc.cpp:
6261 experiment to replace ad-hoc realloc() arrays with std::vector
6263 2004-08-02 David Turner <novalis@gnu.org>
6265 * file.cpp, file.h, interface.cpp, toolbox.cpp, verbs.cpp, verbs.h:
6267 Added vacuum command to remove unused defs.
6269 2004-08-02 MenTaLguY <mental@rydia.net>
6271 * configure.in: sigc++ 2.0.2 (and before?) has a bug that
6272 causes us to crash. require >= 2.0.3
6274 * src/Makefile.am, src/Makefile_insert, src/gc-core.h,
6275 src/gc-object.h, src/algorithms/longest-common-suffix.h,
6276 src/traits/list.h, src/traits/reference.h, src/util/flip.h,
6277 src/util/fold.h, src/util/list-iterator.h, src/util/list.h,
6278 src/util/map.h, src/util/parent-axis.h, src/util/reverse.h,
6279 src/util/sibling-axis.h, src/util/tuple.h, src/util/zip.h:
6281 more "functional" work
6283 2004-08-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6285 * src/display/curve.cpp, src/display/curve.h:
6286 Greater conformance with CodingStyle.
6288 2004-07-31 David Turner <novalis@gnu.org>
6290 * dialogs/xml-tree.cpp: Improved focus, added keystroke for attr commit.
6292 2004-07-31 Ted Gould <ted@gould.cx>
6294 * src/extension/extension.cpp,
6295 src/extension/implementation/implementation.cpp,
6296 src/extension/implementation/implementation.h,
6297 src/extension/implementation/script.cpp,
6298 src/extension/implementation/script.h, src/extension/internal/eps-out.cpp,
6299 src/extension/internal/eps-out.h:
6301 Okay, changed the prefs_ prototypes to include which extension they are
6302 working with. This should clean up some warnings before they become
6303 problems later.
6305 2004-07-31 Ted Gould <ted@gould.cx>
6307 * src/print.cpp, src/extension/extension.cpp, src/extension/extension.h,
6308 src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp:
6310 Changed the get and set param prototypes so that they aren't overloaded
6311 anymore - this was flaky. Also added a document to the prototype so
6312 that document specific parameters can be supported in the future.
6314 2004-07-28 David Turner <novalis@gnu.org>
6316 * sp-gradient.cpp, widgets/gradient-vector.cpp: fixed gradient handling to
6317 properly render gradients with sharp color boundaries
6319 2004-07-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6321 * src/inkview.cpp: Make the window title be the name of the
6322 instead of the current file instead of the first file.
6324 * src/round-test.cpp: New unit-test file.
6326 * src/desktop.h, src/sp-desktop-widget.h:
6327 Move SPDesktopWidget stuff from desktop.h to new file
6328 sp-desktop-widget.h.
6330 * debian/*: Copy lots of changes from wolfi's official Debian package
6331 of inkscape.
6332 Also use separate builddir, which simplifies the `clean' target.
6334 2004-07-24 MenTaLguY <mental@rydia.net>
6336 * configure.in, src/Makefile.am, src/main.cpp, src/gc-core.h:
6337 added libgc dependency
6339 * src/Makefile.am, traits/function.h:
6340 added trait class for functions and C++ "functors"
6342 * src/Makefile.am, util/flip.h:
6343 added flip() which, given a function with two arguments,
6344 returns an identical function with its arguments reversed
6346 2004-07-23 MenTaLguY <mental@rydia.net>
6348 * src/Makefile.am, src/traits/reference.h, src/util/tuple.h:
6349 added generic Tuple type
6351 2004-07-23 Ted Gould <ted@gould.cx>
6353 * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
6354 src/sp-namedview.h, src/dialogs/desktop-properties.cpp,
6355 src/display/canvas-grid.cpp, src/display/canvas-grid.h:
6357 Adding in the ability to have 'emphasis grid lines' where some lines are a
6358 different color than others. In the default case every fifth grid line
6359 gets to be 0x11 darker alpha. Nothing that will get in your way, but
6360 enough that you can find the spacing. All parameters are changeable in
6361 document preferences.
6363 2004-07-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6365 * autogen.sh: Move unversioned automake to last resort.
6367 2004-07-20 Kees Cook <kees@outflux.net>
6369 * src/dialogs/desktop-preferences.cpp: corrected my usage of static
6370 l18n strings.
6371 * src/dialogs/stroke-style.cpp: fixed missing l18n. (bug #994837)
6372 * src/dialogs/sp-attribute-widget.cpp: went hunting for other static
6373 l18n strings. Fixed some here too.
6374 * autogen.sh: cleanups and more debugging.
6375 * share/extensions/sk2svg.sh: tempfile cleanups from pjrm (patch #990009)
6377 2004-07-20 Nathan Hurst <njh@mail.csse.monash.edu.au>
6379 * debian/changelog, configure.in: Moved to 0.40cvs and updated
6380 debian stuff.
6382 2004-07-18 MenTaLguY <mental@rydia.net>
6384 * configure.in, src/Makefile.am, src/algorithms/Makefile_insert,
6385 src/algorithms/makefile.in, src/traits/Makefile_insert,
6386 src/traits/makefile.in, src/util/Makefile_insert, src/util/makefile.in:
6388 added src/algorithms, src/traits, and src/util subdirs
6390 * src/algorithms/longest-common-suffix.h:
6392 added generic "longest common suffix" algorithm
6394 * src/traits/list.h: added traits class for lists
6396 * src/traits/tree-iterator.h: added traits class for n-ary tree iterators
6398 * src/util/list-iterator.h: STL iterator for lists
6400 * src/util/parent-axis.h: parent "axis" of tree iterator as list
6402 * src/util/sibling-axis.h: sibling "axis" of tree iterator as list
6404 * src/xml/repr.h: specialize Traits::TreeIterator for SPRepr *
6406 * src/sp-object.h: specialize Traits::TreeIterator for SPObject *
6408 * src/sp-object.cpp: use generic "longest common suffix" to find
6409 nearest common ancestor
6411 * src/splivarot.cpp: use genric "longest common suffix" to find
6412 nearest common ancestor here too
6414 2004-07-18 Kees Cook <kees@outflux.net>
6416 * Makefile.am, configure.in, autogen.sh, toolversions.sh:
6417 cleaning up some automake misbehavior from the gtkmm patch.
6418 automake 1.4isms snuck back in.
6419 * src/desktop-events.cpp: unlocalized strings updated.
6421 2004-07-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6423 * src/sp-path.cpp (sp_path_write): Handle shape->curve==NULL.
6425 2004-07-18 MenTaLguY <mental@rydia.net>
6427 * Makefile.am, configure.in, m4/Makefile.am, m4/codeset.m4, m4/gettext.m4,
6428 m4/glibc21.m4, m4/iconv.m4, m4/isc-posix.m4, m4/lcmessage.m4,
6429 m4/progtest.m4, src/arc-context.cpp, src/arc-context.h, src/desktop.cpp,
6430 src/desktop.h, src/document.cpp, src/document.h, src/draw-context.cpp,
6431 src/draw-context.h, src/event-context.h, src/main.cpp,
6432 src/message-stack.h, src/node-context.cpp, src/node-context.h,
6433 src/nodepath.cpp, src/nodepath.h, src/object-hierarchy.h,
6434 src/rect-context.cpp, src/rect-context.h, src/selcue.cpp, src/selcue.h,
6435 src/selection-describer.cpp, src/selection-describer.h,
6436 src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
6437 src/sp-item.cpp, src/sp-item.h, src/sp-object.cpp, src/sp-object.h,
6438 src/sp-offset.cpp, src/sp-offset.h, src/sp-pattern.cpp, src/sp-use.cpp,
6439 src/sp-use.h, src/spiral-context.cpp, src/spiral-context.h,
6440 src/star-context.cpp, src/star-context.h, src/text-context.cpp,
6441 src/text-context.h, src/toolbox.cpp, src/uri-references.cpp,
6442 src/uri-references.h, src/view.cpp, src/view.h,
6443 src/dialogs/xml-tree.cpp:
6445 merged Aubanel MONNIER's gtkmm upgrade patch
6447 2004-07-17 Carl Hetherington <inkscape@carlh.net>
6449 * src/sp-use.cpp: fix a compiler warning (closes #992960)
6451 * src/sp-offset.cpp: fix a compiler warning (closes #992960)
6453 * src/sp-text.cpp: fix a compiler warning (closes #992959)
6455 2004-07-16 Kees Cook <kees@outflux.net>
6457 * src/verbs.h, src/verbs.cpp: added "sp_verbs_find" function for bryce.
6459 2004-07-15 Ted Gould <ted@gould.cx>
6461 * 0.39 Release
6463 2004-07-14 MenTaLguY <mental@rydia.net>
6465 * src/sp-object.cpp: disable recursive update warning for release
6467 * src/select-context.cpp: work around probable cut-and-paste bug
6468 between sp_select_context_item_handler and
6469 sp_select_context_root_handler by checking for drag_escaped
6471 2004-07-13 MenTaLguY <mental@rydia.net>
6473 * src/make.exclude: omit extension/script/js/js.c from build
6475 2004-07-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6477 * src/dialogs/rdf.cpp: Don't add dc:description entry to SVG files.
6479 * src/utest/utest.h: Add include guard.
6481 2004-07-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6483 * src/decimal-round.h (decimal_round): New file, new function.
6484 * src/round.h (decimal_round): New file, new function.
6485 * src/Makefile_insert: Add to libinkpost_a_SOURCES.
6487 2004-07-11 MenTaLguY <mental@rydia.net>
6489 * src/document.h, src/document-undo.cpp:
6490 added sp_document_get_undo_sensitive() for capturing and restoring
6491 undo sensitivity
6493 * src/sp-object.cpp: don't log id changes made to resolve
6494 duplicate ids (to avoid undo badness) (fix for bug #989023)
6496 2004-07-11 Kees Cook <kees@outflux.net>
6498 * src/preferences-skeleton.h, src/extension/init.cpp: with simarilius,
6499 tracked down the cause of bug #988445. Extension code now has a
6500 small section that validates preferences for valid extension names.
6501 * src/dialogs/filedialog-win32.cpp: corrected an assert test, and
6502 changed dialog to take the passed window title.
6503 * autogen.sh, config.h.mingw, configure.in, src/Makefile_insert,
6504 src/help.cpp, src/inkscape-stock.cpp, src/inkscape.cpp, src/main.cpp,
6505 src/make.dep, src/make.files, src/path-prefix.h, src/prefix.cpp,
6506 src/prefix.h, src/dialogs/stroke-style.cpp,
6507 src/extension/Makefile_insert, src/extension/init.cpp,
6508 src/extension/implementation/Makefile_insert,
6509 src/extension/implementation/script.cpp,
6510 src/extension/internal/Makefile_insert, src/helper/stock-items.cpp,
6511 src/widgets/icon.cpp:
6512 Cleaned up all the path #define's and usage. In the process found at
6513 least 3 separate bugs associated with file locations. This should
6514 hopefully work for Win32 as well. Bottom line in this change: don't use
6515 INKSCAPE_DATADIR anywhere except in "path-prefix.h". This includes
6516 an update to the autopackage code as well with fixes so that
6517 a change to "--enable-binreloc" will get recompiled correctly. These
6518 changes should address bug #978391.
6520 2004-07-11 Carl Hetherington <inkscape@carlh.net>
6522 * src/attributes.cpp, src/attributes.h: remove confusing
6523 snaptogrid and snaptoguides options.
6525 * src/desktop-events.cpp: use inkscape:guide-bbox instead of
6526 snaptoguides to turn guides on.
6528 * src/desktop.cpp: no need to worry about Snapper::getEnabled().
6530 * src/snap.cpp, src/snap.h: Remove explicit enabled flag from
6531 Snapper, as itconfuses people. Added
6532 namedview_dim_snap_all_types(). Return useful stuff from
6533 vector_snap_list.
6535 * src/rect-context.cpp: Use hack to make snapping kind of work
6536 even with snap-to-bbox enabled.
6538 * src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp: remove
6539 snaptogrid and snaptoguides options as they confuse people. Use
6540 better names for the scale origin radio buttons, as suggested by
6541 Bulia.
6543 * src/seltrans.cpp: Fix some cases where snap wasn't correctly applied.
6545 2004-07-10 MenTaLguY <mental@rydia.net>
6547 * src/sp-image.cpp: prospective fix for bug #979858
6549 * src/select-context.cpp, src/select-context.h,
6550 src/seltrans.cpp, src/seltrans.h:
6552 gave SPSelTrans its own Inkscape::MessageContext, fixing
6553 bug #977971
6555 2004-07-10 Kees Cook <kees@outflux.net>
6557 * src/knot.cpp: solved bug #988513: knot could stay grabbed in
6558 situations where the tool went away but never got "button_release"
6559 event. This patch uses the "enter" and "leave" notifiers to disable
6560 the grab before a "motion" can come and snag the knot.
6562 2004-07-09 Kees Cook <kees@outflux.net>
6564 * src/widgets/paint-selector.cpp: solved bug #984902: the pattern
6565 menu was being destroyed since it was remaining part of the frame
6566 that was being destroyed whenever the selector changed. It gets
6567 ref-counted, disconnected, and destroyed correctly now.
6568 * mkinstalldirs: automake 1.8 stopped including "mkinstalldirs", but
6569 intltool still uses it. We'll need to keep this until intltool
6570 fixes the bug. intltool 0.31 and earlier are all buggy.
6572 2004-07-09 Carl Hetherington <inkscape@carlh.net>
6574 * src/draw-context.cpp: remove some debugging g_prints.
6576 2004-07-08 MenTaLguY <mental@rydia.net>
6578 * src/interface.cpp: fixed crash on desktop context menu
6580 * src/desktop.h, src/desktop.cpp:
6582 added SPDesktop::isWithinViewport() to conveniently determine
6583 if an item is within view
6585 also made isLayer() const
6587 * src/sp-object.h: added SPObject::hasChildren() predicate
6589 * src/sp-object.cpp: revert to old behavior of breaking parent
6590 link before emitting "release" signal
6592 * src/selection-chemistry.cpp: rewrote sp_selection_item_next()
6593 and sp_selection_item_prev() to work with layers
6595 2004-07-08 Carl Hetherington <inkscape@carlh.net>
6597 * src/libnrtype/FontFactory.cpp: disable printing of debug
6598 messages.
6600 * src/sp-item-group.cpp: give it a snappoints method to fix
6601 937318.
6603 * src/draw-context.cpp: fix a couple of places where Shift isn't
6604 checked before snapping.
6607 2004-07-07 MenTaLguY <mental@rydia.net>
6609 * src/desktop.cpp, src/interface.cpp: remove the word "layer"
6610 for now, and disable the layer selector when the user is not
6611 inside a group
6613 2004-07-07 Kees Cook <kees@outflux.net>
6615 * src/dialogs/desktop-properties.cpp: added a few g_asserts, and
6616 added a missing sp_signal_disconnect_by_data for the color picker,
6617 which closes bug #975864. Stopped accidentally calling
6618 sp_document_done from the update handler (fixes bug #986411).
6619 * src/dialogs/dialog-events.cpp, src/helper/action.cpp:
6620 whitespace changes, typo fixes, added a few g_asserts.
6621 * src/selection-chemistry.cpp, src/desktop.cpp: when deleting items
6622 from the desktop, the selection context may need to be cleared since
6623 it may have pointers to the deleted items. To do this, I just
6624 reselect the current tool (fixes bug #983243).
6625 * src/dialogs/xml-tree.cpp, src/dialogs/desktop-properties.cpp:
6626 corrected tooltips memory handling.
6628 2004-07-06 MenTaLguY <mental@rydia.net>
6630 * src/desktop.cpp: minor tweaks to make the existing layers
6631 code easier to work with in its current state (particularly,
6632 to sidestep some existing bugs that otherwise require more
6633 UI work to fix)
6635 2004-07-06 Carl Hetherington <inkscape@carlh.net>
6637 * src/seltrans.cpp, src/sp-namedview.cpp,
6638 src/display/bezier-utils.cpp, src/libnr/nr-types.cpp:
6639 isnan appears to need a std:: namespace qualifier.
6641 2004-07-06 Ted Gould <ted@gould.cx>
6643 * src/libnr/nr-point.h, src/libnr/nr-rect.h:
6645 Adding in a function to round the points and rectangles. Using this
6646 for less precise comparisons. Also, added in a function to print
6647 each of these.
6649 * src/dialogs/export.cpp:
6651 Major revisions to do all kinds of fun stuff. The major one being
6652 that filenames and dpi's can now be stored on selections. This
6653 makes it so that people working on a section of a document can export
6654 it consistently.
6656 2004-07-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6658 * src/sp-typeset-utils.h: Greatly reduce #includes.
6660 * src/color-rgba.h, src/Makefile_insert, src/desktop.h:
6661 Move ColorRGBA from desktop.h to new file color-rgba.h.
6662 * src/desktop.cpp, src/dropper-context.cpp: #include it.
6664 2004-07-05 Kees Cook <kees@outflux.net>
6666 * src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp,
6667 src/dialogs/rdf.h: added multiline data entry items, reduced
6668 overall width of the dialog, and created the license entry areas.
6669 Auto-detection of license on load works now.
6671 2004-07-05 MenTaLguY <mental@rydia.net>
6673 * src/desktop.cpp: comitted further work which gives us a
6674 partially-functional layers menu (not actually hooked up to
6675 change layers yet), and it is not always updated when it needs
6676 to be (yet). It does also fix the crash though.
6678 * src/desktop.cpp, src/desktop.h, src/document.cpp,
6679 src/sp-item-group.cpp, src/sp-item-group.h:
6681 additional layers work; backed off on promoting siblings to
6682 layers automatically and reintroduced "global" layer mode
6684 2004-07-05 Carl Hetherington <inkscape@carlh.net>
6686 * src/desktop.cpp: prevent crash by adding a check for
6687 layer == NULL to SPDesktopWidget::_buildLayerStatusMenuItem.
6689 * src/selection-chemistry.cpp: prevent crash on copying empty
6690 groups.
6692 2004-07-04 MenTaLguY <mental@rydia.net>
6694 * src/sp-object.cpp: fixed bug #979281 -- I had accidentally
6695 reversed the sense of a test in SPObject::requestModified(),
6696 such that CHILD_MODIFIED notifications were never being sent
6698 * src/widgets/sp-color-notebook.cpp: always assume colors are
6699 8-digit hex rrggbbaa, and zero-fill accordingly
6701 HAPPY NATHAN#@$?#$#@$!?!?!?
6703 * src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h,
6704 src/interface.cpp, src/select-context.cpp, src/selection-chemistry.cpp,
6705 src/sp-item-group.cpp, src/sp-item-group.h, src/widgets/widget-sizes.h:
6707 Added selection-changes-current-layer and other layer refinements.
6708 Except for fixing the currently broken layer combo box on the status
6709 bar, I think this is pretty much the last of the layerish work I'm
6710 willing to do for 0.39 since we're in freeze now.
6712 2004-07-03 Kees Cook <kees@outflux.net>
6714 * src/document.cpp, src/dialogs/desktop-properties.cpp,
6715 src/dialogs/rdf.cpp, src/dialogs/rdf.h:
6716 Added several more RDF entities. Created entry tooltips. Set
6717 a few RDF defaults for the document.
6719 2004-07-03 MenTaLguY <mental@rydia.net>
6721 * src/desktop.cpp, src/document.cpp:
6723 siblings of a layer now become layers too
6725 * src/interface.cpp: switched to command names suggested by bulia
6727 * src/object-hierarchy.cpp, src/object-hierarchy.h:
6729 bugfixes and cleanups
6731 * src/sp-item-group.cpp, src/sp-item-group.h, src/sp-root.cpp:
6733 new layerMode() and setLayerMode() methods; SPGroupMode becomes
6734 SPGroup::LayerMode
6736 * src/sp-object.h: added isSiblingOf() method
6738 * src/sp-object.cpp: leave parent pointer in place until after
6739 "release" handlers finish
6741 2004-07-02 Kees Cook <kees@outflux.net>
6743 * src/document.cpp, src/dialogs/desktop-properties.cpp,
6744 src/dialogs/rdf.cpp, src/dialogs/rdf.h, src/xml/repr.h:
6745 Made RDF's writable now. Handling modifications and defaults.
6746 Mental and others will most likely kill me when they finally
6747 read this code.
6749 2004-07-02 MenTaLguY <mental@rydia.net>
6751 * src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp,
6752 src/sp-item-group.h:
6754 Removed the "inkscape:groupmode" attribute and added note about how
6755 the group/layer mode setting needs to be per-view, not global.
6757 * src/desktop.cpp, src/desktop.h,
6758 src/object-hierarchy.cpp, src/object-hierarchy.h:
6760 Added notification signals for switching layers, as well as putting
6761 groups in layer mode when they are being used as layers.
6763 Notably, you can now call SPDesktop::connectCurrentLayerChanged() to
6764 connect to a SigC++ signal to be notified when the current layer
6765 changes.
6767 * src/interface.cpp, src/object-ui.cpp:
6769 Fixed up the "Enter Group" and "Leave Group" context menu
6770 commands a bit, and implement them both in the same places.
6772 2004-07-02 Carl Hetherington <inkscape@carlh.net>
6774 * src/desktop-snap.cpp, src/desktop-snap.h, src/snap.cpp, src/snap.h,
6775 src/Makefile_insert src/arc-context.cpp src/draw-context.cpp
6776 src/dyna-draw-context.cpp src/make.dep src/make.files src/make.ofiles
6777 src/makefile.msc src/nodepath.cpp src/rect-context.cpp
6778 src/select-context.cpp src/selection-chemistry.cpp src/seltrans.cpp
6779 src/sp-namedview.h src/spiral-context.cpp src/star-context.cpp:
6780 renamed desktop-snap.* to snap.* since it has nothing to do with the
6781 desktop any more.
6783 * src/draw-context.cpp: Temporary hack to prevent snapping
6784 completely failing to work when snapping to bbox points. Support
6785 shift-disables-snap for freehand drawing.
6787 * src/snap.cpp, src/snap.h: Added some temporary methods to assist
6788 with hacks elsewhere.
6790 2004-07-01 Kees Cook <kees@outflux.net>
6792 * src/xml/repr.h, src/xml/repr-util.h, src/dialogs/rdf.cpp:
6793 moved "repr_lookup_name" into the repr-util collection so
6794 that the RDF stuff doesn't need to know about SPRepr internals.
6795 Now that I've started to grok the SPRepr stuff, this seems best.
6796 Added "sp_repr_recursive_drop" for use in the future when I may
6797 want to throw away an entire tree of SPRepr items (like ditching
6798 a blank "dc:rights" section).
6800 2004-07-01 MenTaLguY <mental@rydia.net>
6802 * src/sp-item.cpp: fix clip path loading bug
6804 * src/sp-object.cpp: relax analness about object ids a little
6806 2004-06-30 Kees Cook <kees@outflux.net>
6808 * src/dialogs/desktop-properties.cpp, src/dialogs/rdf.h,
6809 src/dialogs/rdf.cpp: built the various functions needed to extract
6810 the RDF text elements from the DOM. XML in the document will now
6811 be displayed in the entry fields.
6813 2004-06-28 MenTaLguY <mental@rydia.net>
6815 * src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr-css.cpp,
6816 src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp,
6817 src/xml/repr.cpp, src/xml/sp-repr-attr.h: applied peter's patch to
6818 break out NRReprAttr
6820 * src/sp-object.cpp, src/sp-object.h:
6822 added SPObject::nearestCommonAncestor, which given another SPObject
6823 returns the nearest common ancestor of the two SPObjects.
6825 * src/sp-item.cpp, src/sp-item.h:
6827 added SPItem::getRelativeTransform, which computes the SPItem's
6828 transform relative to another SPObject
6830 * src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
6831 src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp,
6832 src/text-context.cpp:
6834 drawing tools now cope with drawing within transformed groups
6835 (i.e. layers)
6837 2004-06-27 MenTaLguY <mental@rydia.net>
6839 * src/sp-object.h: remove sp_object_request_update,
6840 sp_object_invoke_update, sp_object_invoke_modified,
6841 sp_object_request_modified, and sp_object_invoke_write, which have been
6842 deprecated and are now completely unused
6844 * src/Makefile_insert, src/desktop.cpp, src/desktop.h,
6845 src/object-hierarchy.cpp, src/object-hierarchy.h, src/sp-object.cpp,
6846 src/sp-object.h:
6848 Implemented SPDesktop::setCurrentLayer(), introducing
6849 Inkscape::ObjectHierarchy to permit falling back to parents if
6850 the current layer is removed.
6852 * src/object-ui.cpp, src/interface.cpp: really crude hack of
6853 Sodipodi-like "enter group" and "leave group"
6855 2004-06-26 MenTaLguY <mental@rydia.net>
6857 * src/refcounted.h: allow reffing/unreffing const objects
6859 * src/arc-context.cpp, src/draw-context.cpp, src/dropper-context.cpp,
6860 src/event-context.cpp, src/event-context.h, src/node-context.cpp,
6861 src/rect-context.cpp, src/selcue.cpp, src/selcue.h,
6862 src/select-context.cpp, src/select-context.h, src/seltrans.cpp,
6863 src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
6864 src/text-context.cpp, src/zoom-context.cpp:
6866 Make SPSelTrans and SPSelCue proper C++ classes with constructors.
6868 * src/document.h, src/dialogs/xml-tree.cpp: removed sp_document_lookup_id
6870 * src/sp-object.cpp: clarify what is happening with bug #980407 --
6871 the clone is getting attached to the repr before the original SPObject
6872 is.
6874 2004-06-26 Carl Hetherington <inkscape@carlh.net>
6876 * src/node-context.cpp: make sure nodepath->nodeContext is set up
6877 when the selection changes. Fixes 936739.
6879 2004-06-25 MenTaLguY <mental@rydia.net>
6881 * src/display/sp-canvas.cpp: enabled win32 current item workaround on
6882 all platforms
6884 2004-06-25 Kees Cook <kees@outflux.net>
6886 * src/dialogs/rdf.h, src/dialogs/rdf.cpp, src/dialogs/Makefile_insert,
6887 src/dialogs/desktop-properties.cpp:
6889 Added data entry widgets for document metadata, including a rough
6890 license selector, and debug rdf generator. Corrected whitespace,
6891 added table for RDF entity lookup, tag, and title mapping. Added
6892 initial loading framework. Cleaned up rdf_work_entity_t usage.
6894 2004-06-25 Carl Hetherington <inkscape@carlh.net>
6896 * src/sp-namedview.cpp: cleanups in grid snap settings. Fix a
6897 typo.
6899 * src/seltrans.cpp: optional default origin for scaling. Fixes
6900 to snap during scale.
6902 * src/seltrans.h: s/opposit/opposite/. Add some comments.
6904 * src/dialogs/display-settings.cpp: add default scale origin
6905 option.
6907 * src/desktop-snap.h: changes to snap_list_scale prototype.
6909 * src/desktop-snap.cpp: snap_list_scale now returns whether
6910 it snapped or not. The best scale snap is now the one that
6911 changes the scale factor least, rather than the one that
6912 results in the snap point being closest to where it used to be.
6914 * src/display/sp-canvas.cpp: fix for win32 freeze-at-border bug,
6915 copied from SP.
6917 * src/knot.cpp, src/select-context.cpp: change spellings from
6918 British to American English for translators.
6920 2004-06-24 rejon <kidproto@users.sf.net>
6922 * src/verbs.cpp: I changed the reverse command to be more verbose and
6923 explanative.
6925 2004-06-24 MenTaLguY <mental@rydia.net>
6927 * src/seltrans.cpp: slight change to make showing/hiding center
6928 mark easier later on
6930 * configure.in, src/main.cpp, src/star-context.cpp,
6931 src/display/bezier-utils.cpp, src/display/canvas-bpath.cpp,
6932 src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
6933 src/display/sp-ctrlline.cpp, src/libnr/nr-svp.cpp,
6934 src/libnrtype/FontFactory.cpp, src/libnrtype/RasterFont.cpp,
6935 src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
6936 src/livarot/Ligne.cpp, src/livarot/PathOutline.cpp,
6937 src/livarot/ShapeMisc.cpp, src/widgets/font-selector.cpp:
6939 fixes for floating-point portability issues, courtesy of
6940 Colin Marquardt.
6942 * src/extensions/init.cpp: dirent.h requires inttypes.h on OS X
6944 2004-06-23 MenTaLguY <mental@rydia.net>
6946 * src/Makefile_insert, src/desktop.cpp, src/managed.h,
6947 src/message-context.cpp, src/message-stack.h, src/refcounted.h,
6948 src/selection.h, src/view.cpp:
6950 Changed my mind.
6952 Inkscape::Managed is more properly called Inkscape::Refcounted
6954 * src/libnrtype/Makefile_insert, src/libnrtype/codepages.h,
6955 src/libnrtype/cp1250.cpp, src/libnrtype/cp1251.cpp,
6956 src/libnrtype/cp1252.cpp, src/libnrtype/cp1253.cpp,
6957 src/libnrtype/cp1254.cpp, src/libnrtype/cp1255.cpp,
6958 src/libnrtype/cp1256.cpp, src/libnrtype/cp1257.cpp,
6959 src/libnrtype/cp1258.cpp, src/libnrtype/cp874.cpp,
6960 src/libnrtype/cp932.cpp, src/libnrtype/cp936.cpp,
6961 src/libnrtype/cp949.cpp, src/libnrtype/cp950.cpp:
6963 removed unused Win32 codepage crap
6965 2004-06-23 Carl Hetherington <inkscape@carlh.net>
6967 * src/inkscape.cpp: Don't connect to SIGBUS on Win32, as
6968 it doesn't seem to exist. Add Emacs mode line.
6969 Declaration-to-first-use and coding style cleanups.
6971 * src/desktop-snap.h: a few double -> NR::Coord fixes.
6973 * src/nodepath.cpp: turn off snapping when Shift is held down.
6974 Some minor cleanups.
6976 * src/dialogs/display-settings.cpp: remove my rather dubious
6977 move_with_grid option.
6979 * src/select-context.cpp: rationalise grid modifiers; now Shift
6980 disables snap and Alt snaps movement to the grid.
6982 2004-06-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
6984 * share/extensions/dia2svg.sh: Fix bashism and insecure tempfile usage.
6986 2004-06-23 Ted Gould <ted@gould.cx>
6988 * share/extensions/dropshadow.inkmod, share/extensions/roundhole.inkmod,
6989 src/extension/system.cpp:
6991 Setting it up so that poorly formed inkmod files generate actual GTK
6992 warnings so that they can be easily hidden. Also, fixing these two inkmod
6993 files so that they don't generate the above mentioned warnings.
6995 2004-06-22 Kees Cook <kees@outflux.net>
6997 * src/inkscape.cpp: added SIGBUS and SIGABRT handling.
6999 2004-06-22 John Cliff <simarilius@yahoo.com>
7001 * src/object-edit.cpp: Added knots for manipulation of pattern fills.
7002 * src/sp-shape.cpp, src/sp-shape.h: Added sp_shape_set_pattern to
7003 explictly set the transform rather than multiplying like adjust.
7006 2004-06-22 Carl Hetherington <inkscape@carlh.net>
7008 * src/sp-shape.cpp: add sp_shape_snappoints.
7010 * src/desktop-snap.cpp: minor cleanups. Added a comment.
7012 * src/sp-text.cpp: removed an old comment.
7014 * src/sp-ellipse.cpp: fix snappoints method now that the parent
7015 class method has changed.
7017 * src/sp-rect.cpp: snappoints method is not required as it's now
7018 handled by SPShape.
7020 * src/sp-image.cpp: use SPItem's snappoints method.
7022 * src/file.cpp: fix another call to g_file_test with a
7023 possibly-NULL parameter. Fixes #977413.
7025 2004-06-21 Carl Hetherington <inkscape@carlh.net>
7027 * src/file.cpp: don't call g_file_test with a NULL path. Fixes
7028 #976703.
7030 * src/desktop-snap.cpp: default to snapping to bounding boxes when
7031 snapping is first enabled. Rework in terms of SPNamedView rather
7032 than SPDesktop.
7034 * src/desktop-snap.h: rework in terms of SPNamedView rather than
7035 SPDesktop.
7037 * src/arc-context.cpp, src/draw-context.cpp,
7038 src/dyna-draw-context.cpp, src/nodepath.cpp src/rect-context.cpp,
7039 src/select-context.cpp, src/selection-chemistry.cpp,
7040 src/seltrans.cpp, src/sp-namedview.cpp, src/spiral-context.cpp,
7041 src/star-context.cpp: Adapt for changes to snap code naming.
7043 * src/seltrans.cpp: cleanups to sp_sel_trans_skew_request and
7044 sp_sel_trans_scale_request.
7046 2004-06-20 Ted Gould <ted@gould.cx>
7048 * share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
7049 share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
7050 share/extensions/epsi_output.inkmod, share/extensions/roundhole.inkmod,
7051 share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
7052 share/extensions/txt2svg.inkmod, src/extension/extension.h,
7053 src/extension/system.cpp, src/extension/implementation/script.cpp,
7054 src/extension/internal/eps-out.cpp,
7055 src/extension/internal/gdkpixbuf-input.cpp,
7056 src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
7057 src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
7058 src/extension/internal/win32.cpp:
7060 Changing the naming of the extensions to be more Java style naming to
7061 allow for more extension in the future.
7063 2004-06-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7065 * src/extension/internal/ps.cpp (PrintPS): Initialize _stream to
7066 NULL (fixes segfaults when exporting to an unopenable file), and
7067 initialize _bitmap to false instead of random.
7069 2004-06-20 MenTaLguY <mental@rydia.net>
7071 * src/desktop.cpp, src/managed.h, src/message-context.h,
7072 src/message-stack.h, src/message.h, src/view.cpp:
7074 Document classes, and change Managed to have an initial refcount
7075 of one at creation.
7077 2004-06-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7079 * src/libnrtype/FontFactory.cpp, src/libnrtype/FontInstance.cpp,
7080 src/libnrtype/font-instance.h: If both WIN32 and WITH_XFT are
7081 defined, then use just the WITH_XFT code. (I don't know if it's
7082 possible for both to be defined, but we might as well document
7083 that the existing code doesn't handle both being defined, AFAICT.)
7085 * src/libnrtype/FontFactory.cpp (ink_strstr): Document brokenness.
7086 (is_regular, is_nonbold, is_italic, etc.): Mark as static.
7088 * src/Makefile.am (EXTRA_DIST): Remove reference to deleted files
7089 libnrtype/nr-type-w32.cpp, libnrtype/nr-type-w32.h,
7090 libnrtype/nr-type-xft.cpp, libnrtype/nr-type-xft.h.
7092 * src/config.h.win32: Define PACKAGE_TARNAME, for require-config.h.
7093 More accurate mathematical constants (20 decimal places instead of 3).
7095 2004-06-19 MenTaLguY <mental@rydia.net>
7097 * src/desktop.cpp, src/managed.h, src/rect-context.cpp,
7098 src/rect-context.h, src/selection.h, src/view.cpp:
7100 SPSelection now derives from Inkscape::Managed
7102 * src/Makefile_insert, src/select-context.cpp, src/select-context.h,
7103 src/selection-describer.h, src/selection-describer.cpp:
7105 Introduced Inkscape::SelectionDescriber to which SPSelectContext
7106 delegates the task of displaying descriptions of the current
7107 selection. This fixes bug #945735.
7109 2004-06-19 Carl Hetherington <inkscape@carlh.net>
7111 * src/desktop-snap.{cpp,h}: sp_desktop_dim_snap_list returns
7112 whether or not it snapped anything.
7114 * src/select-context.cpp: fix snap on move behaviour (again)
7116 * src/widgets/dash-selector.cpp: fix off-by-one spotted by
7117 valgrind.
7119 2004-06-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7121 * src/extension/internal/ps.cpp (begin): Add some basic error handling.
7123 * src/extension/internal/ps.cpp (setup): Simplify an expression now that
7124 _bitmap is a bool.
7126 * src/extension/internal/ps.h: Twiddle the order of the fields.
7127 Replace bitfields with bool/short.
7129 * src/libnrtype/Makefile_insert, src/libnrtype/FontInstance.h,
7130 src/make.files, src/make.ofiles, src/make.dep:
7131 Remove src/libnrtype/FontInstance.h (see change below).
7133 * src/libnrtype/RasterFont.h, src/libnrtype/raster-glyph.h,
7134 src/libnrtype/raster-position.h:
7135 Move raster_glyph, raster_position from RasterFont.h to new files
7136 raster-glyph.h, raster-position.h.
7137 * src/libnrtype/Makefile_insert: Add the new files to SOURCES.
7139 * src/libnrtype/FontInstance.h, src/libnrtype/font-glyph.h,
7140 src/libnrtype/font-instance.h, src/libnrtype/font-style.h:
7141 Move font_glyph, font_instance, and font_style definitions from
7142 FontInstance.h into new files font-glyph.h, font-instance.h,
7143 font-style.h.
7144 * src/libnrtype/Makefile_insert: Add the new files to SOURCES.
7146 * src/libnrtype/nrtype-forward.h: New file.
7147 * src/libnrtype/Makefile_insert: Add it to SOURCES.
7148 * src/libnrtype/FontFactory.h, src/libnrtype/TextWrapper.h:
7149 #include it (replacing local declarations in some cases).
7151 * src/livarot/livarot-forward.h: New file.
7152 * src/livarot/Ligne.h, src/livarot/Path.h, src/livarot/Shape.h:
7153 #include it (replacing local declarations in some cases).
7154 * src/livarot/Makefile_insert: Add it to SOURCES.
7156 2004-08-18 Ted Gould <ted@gould.cx>
7158 * src/file.cpp, src/preferences-skeleton.h:
7160 Adding the feature that the save and open directories are saved in the
7161 preferences. The last one will be used.
7163 2004-08-18 Carl Hetherington <inkscape@carlh.net>
7165 * src/widgets/font-selector.cpp: uint -> guint to fix
7166 compile errors.
7168 * src/desktop-snap.{cpp,h}: make snap functions aware of the
7169 type of point they are snapping, so they can decide whether
7170 to ignore it.
7172 * src/arc-context.cpp, src/rect-context.cpp,
7173 src/spiral-context.cpp, src/star-context.cpp,
7174 src/draw-context.cpp, src/dyna-draw-context.cpp, src/nodepath.cpp,
7175 src/selection-chemistry.cpp, src/seltrans.cpp:
7176 temporarily update for changes to snapping API.
7178 * src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp:
7179 adapt for small changes to Snapper API.
7181 * src/select-context.cpp: use new snapping API.
7183 2004-08-17 Bryce Harrington <bryce@bryceharrington.org>
7185 * nodepath.cpp path-chemistry.cpp selection-chemistry.cpp,
7186 seltrans.cpp sp-typeset.cpp splivarot.cpp text-context.cpp,
7187 tools-switch.cpp dialogs/find.cpp: Converting statusbar
7188 messages from old style to new, as per
7189 http://inkscape.org/cgi-bin/wiki.pl?StatusbarAPI
7191 2004-06-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7193 * src/mkdep.pl: Add `by mkdep.pl' to `automatically generated' line.
7195 * src/dialogs/desktop-properties.cpp:
7196 Greater conformance to CodingStyle. Add FIXME comment.
7198 * src/sp-namedview.cpp: Tighter scoping for iteration var.
7199 Simplify some code by greater use of cheap sp_unit_get_by_id.
7201 2004-06-17 MenTaLguY <mental@rydia.net>
7203 * src/Makefile_insert, src/arc-context.cpp, src/arc-context.h,
7204 src/desktop-events.cpp, src/desktop.cpp, src/desktop.h,
7205 src/draw-context.cpp, src/dropper-context.cpp, src/event-context.cpp,
7206 src/event-context.h, src/file.cpp, src/interface.cpp, src/knot.cpp,
7207 src/managed.h, src/message-context.cpp, src/message-context.h,
7208 src/message-stack.cpp, src/message-stack.h, src/message.h,
7209 src/select-context.cpp, src/view.cpp, src/view.h,
7210 src/libnrtype/FontFactory.cpp, src/libnrtype/nr-type-primitives.h,
7211 src/widgets/font-selector.cpp:
7213 New status messages primitives (statusbar bug not fixed yet though).
7215 2004-06-17 Carl Hetherington <inkscape@carlh.net>
7217 * src/helper/stock-items.cpp: fix a compiler warning. Minor
7218 coding style cleanups.
7220 * src/arc-context.cpp, src/desktop-snap.cpp, src-desktop-snap.h,
7221 src/rect-context.cpp, src/spiral-context.cpp,
7222 src/star-context.cpp: Replace desktop.h include with forward
7223 references in desktop-snap.h, and add desktop.h includes in
7224 files which require them.
7226 * src/widgets/spw-utilities.cpp, src/widgets/spw-utilities.h:
7227 add spw_vbox_checkbutton.
7229 * src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
7230 src/sp-namedview.h, src/desktop-snap.cpp, src/desktop-snap.h,
7231 src/desktop.cpp, src/desktop.h,
7232 src/dialogs/desktop-properties.cpp, src/seltrans.cpp,
7233 src/seltrans.h, src/selection.cpp, src/selection.h,
7234 src/select-context.cpp, src/selection-chemistry.cpp:
7236 Start of new and hopefully improved snapping code.
7238 2004-06-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7240 * src/helper/units.h, src/helper/units.cpp:
7241 (sp_unit_get_by_id): new function.
7242 (sp_convert_distance_full): Change arguments & return value.
7243 Call g_log if no conversion possible.
7244 Callers updated.
7245 (sp_unit_get_default, sp_unit_get_by_name): Remove unused functions.
7246 sp_units: Less rounding error in unittobase.
7248 2004-06-16 Carl Hetherington <inkscape@carlh.net>
7250 * src/sp-item.h: added a comment.
7252 2004-06-15 Ted Gould <ted@gould.cx>
7254 * share/extensions/ai_input.inkmod:
7255 Removing the command-line argument to specify line endings.
7257 * src/print.cpp, src/print.h, src/sp-text.cpp,
7258 src/extension/extension.cpp, src/extension/extension.h,
7259 src/extension/implementation/implementation.cpp,
7260 src/extension/implementation/implementation.h,
7261 src/extension/internal/ps.cpp, src/extension/internal/ps.h:
7263 Changing it so that the text to vector is its own function. This way it
7264 can be used as a parameter in Postscript, but then can be easily used for
7265 drivers which only support vector drawing.
7267 2004-06-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7269 * src/select-toolbar.cpp: Cleanups and preparation for px units.
7271 * src/helper/units.h, src/helper/units.cpp:
7272 Add reference version of sp_points_get_units, sp_units_get_points.
7273 Implement as simple multiplication instead of sp_convert_distance.
7274 (sp_units_table_sane): New function.
7275 * src/helper/units-test.cpp: Test sp_units_table_sane.
7277 * src/sp-object-repr.cpp: Move some declarations to first use.
7278 * src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_register):
7279 Change return type to void.
7281 * src/sp-item.cpp (sp_item_repr_compare_position):
7282 Reimplement as shallow wrapper around sp_repr_compare_position.
7284 * src/helper/units.h, src/helper/units.cpp:
7285 SPUnitId: new enum, to allow replacing string lookups.
7286 Get rid of handling for unused SP_UNIT_USERSPACE.
7287 Remove unused SPUnit.version field.
7289 * src/helper/units-test.cpp (test_bases): Test sp_unit_get_identity.
7291 * src/helper/Makefile_insert (helper_units_test_LDADD): Fix the previous
7292 commit: -lglib-2.0 instead of -lglib.
7294 2004-06-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7296 * src/Makefile.am, src/helper/Makefile_insert,
7297 src/helper/units-test.cpp:
7298 New unit test file units-test.cpp.
7300 * src/select-toolbar.cpp: Greater conformance to CodingStyle.
7302 2004-06-14 Carl Hetherington <inkscape@carlh.net>
7304 * src/libnrtype/TextWrapper.cpp: Fix what looks like an off-by-one.
7306 * ChangeLog, src/prefs-utils.cpp:
7307 Fix bracketing typo that causes an array to be overrun.
7309 2004-06-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7311 * src/sp-path.cpp: Move some declarations to first use.
7313 2004-06-13 Kees Cook <kees@outflux.net>
7315 * src/xml/repr.h, src/xml/repr-utils.cpp: adding additional RDF URIs
7316 to the default namespace prefix list.
7318 2004-06-13 MenTaLguY <mental@rydia.net>
7320 * src/arc-context.cpp, src/desktop.cpp, src/desktop.h, src/document.cpp,
7321 src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp,
7322 src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp,
7323 src/rect-context.cpp, src/selection-chemistry.cpp, src/sp-object.cpp,
7324 src/sp-object.h, src/spiral-context.cpp, src/splivarot.cpp,
7325 src/star-context.cpp, src/svg-view.h, src/text-context.cpp,
7326 src/extension/internal/gdkpixbuf-input.cpp:
7328 added SPDesktop::currentRoot() and SPDesktop::currentLayer(), which
7329 report the current "view" root and current "editing" layer,
7330 respectively; I've also added SPObject::appendReprChild().
7332 Between the two of them, they replace sp_document_add_repr, which
7333 has been removed. Generally to add a repr to a document, you would
7334 now use either:
7336 SP_DOCUMENT_DEFS(document)->appendReprChild(repr);
7338 or:
7340 desktop->currentLayer()->appendReprChild(repr);
7342 2004-06-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7344 * src/sp-clippath.h, src/sp-gradient.h, src/sp-marker.h, src/sp-mask.h,
7345 src/sp-pattern.h:
7346 Explicitly mark _acceptObject as virtual.
7347 (Already declared as virtual in base class.)
7349 * src/file.cpp, src/main.cpp: Greater conformance to CodingStyle.
7351 * src/node-context.h, src/selcue.h, src/sp-pattern.h,
7352 src/widgets/sp-color-wheel-selector.h:
7353 Add missing includes as found by src/check-header-compile.
7355 * src/Makefile_insert:
7356 * src/sp-use-reference.cpp:
7357 * src/sp-use-reference.h:
7358 * src/sp-use.cpp:
7359 * src/sp-use.h:
7360 Move SPUseReference from sp-use.h to new files sp-use-reference.h,
7361 sp-use-reference.cpp.
7363 * src/sp-use.h (_acceptObject): Fix can't-use-ancestor check.
7365 * src/uri-references.h (getOwner): Fix copy&paste bug.
7367 2004-06-11 MenTaLguY <mental@rydia.net>
7369 * src/sp-object.h, src/sp-object.cpp:
7371 migrated several SPObject methods to C++ methods:
7373 sp_object_invoke_write -> SPObject::updateRepr
7374 sp_object_request_update -> SPObject::requestDisplayUpdate
7375 sp_object_invoke_update -> SPObject::updateDisplay
7376 sp_object_request_modified -> SPObject::requestModified
7377 sp_object_invoke_modified -> SPObject::emitModified
7379 (leaving deprecated wrappers in place for now)
7381 * src/document.cpp, src/object-edit.cpp, src/sp-clippath.cpp,
7382 src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-image.cpp,
7383 src/sp-item-group.cpp, src/sp-item.cpp, src/sp-line.cpp,
7384 src/sp-marker.cpp, src/sp-mask.cpp, src/sp-offset.cpp,
7385 src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-root.cpp,
7386 src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp,
7387 src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
7388 src/sp-use.cpp, src/dialogs/stroke-style.cpp, src/sp-path.cpp:
7390 transitioned to SPObject::requestDisplayUpdate and
7391 SPObject::updateDisplay
7393 * src/arc-context.cpp, src/document.cpp, src/gradient-chemistry.cpp,
7394 src/knotholder.cpp, src/main.cpp, src/rect-context.cpp,
7395 src/sp-anchor.cpp, src/sp-clippath.cpp, src/sp-defs.cpp,
7396 src/sp-gradient.cpp, src/sp-item-group.cpp, src/sp-item.cpp,
7397 src/sp-mask.cpp, src/sp-namedview.cpp, src/sp-object-group.cpp,
7398 src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp,
7399 src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-shape.cpp,
7400 src/sp-spiral.cpp, src/sp-text.cpp, src/sp-use.cpp,
7401 src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp,
7402 src/style.cpp, src/toolbox.cpp, src/dialogs/fill-style.cpp,
7403 src/dialogs/stroke-style.cpp, src/extension/internal/svg.cpp:
7405 transitioned to SPObject::requestModified, SPObject::emitModified,
7406 and SPObject::updateRepr; also reworked "minimal" version of
7407 updateRepr.
7409 * src/sp-object.h: added a little documentation
7411 * src/document.cpp, src/document.h, src/file.cpp,
7412 src/gradient-chemistry.cpp, src/help.cpp, src/object-ui.cpp,
7413 src/selection-chemistry.cpp, src/selection.cpp, src/seltrans.cpp,
7414 src/sp-clippath.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
7415 src/sp-namedview.cpp, src/sp-object.cpp, src/sp-offset.cpp,
7416 src/sp-pattern.cpp, src/sp-root.cpp, src/sp-text.cpp,
7417 src/sp-typeset.cpp, src/sp-use.cpp, src/splivarot.cpp,
7418 src/uri-references.cpp, src/dialogs/fill-style.cpp,
7419 src/dialogs/item-properties.cpp, src/dialogs/stroke-style.cpp,
7420 src/helper/stock-items.cpp, src/widgets/gradient-selector.cpp,
7421 src/widgets/gradient-vector.cpp, src/widgets/icon.cpp:
7423 replaced sp_document_lookup_id with SPDocument::getObjectById,
7424 and SPDocument::getObjectByRepr
7426 (left deprecated stub in place, but it should be unused at this point)
7428 2004-06-11 Ted Gould <ted@gould.cx>
7430 * src/file.cpp, src/inkscape.cpp, src/interface.cpp, src/prefs-utils.cpp,
7431 src/prefs-utils.h:
7433 Moving the recent document setting and getting code into the prefs-utils
7434 files so that they'll be with the preferences (which they really kinda
7435 are). Then, moved the place where they are set from the removing of the
7436 document to where the files are opened and 'save as'd. (yes, I made up a
7437 word/contraction).
7439 2004-06-10 Carl Hetherington <inkscape@carlh.net>
7441 * src/desktop-snap.cpp, src/desktop-snap.h,
7442 src/satisfied-guide-cns.cpp, src/satisfied-guide-cns.h,
7443 select-context.cpp, selection.cpp, selection.h, seltrans.cpp,
7444 seltrans.h, sp-ellipse.cpp, sp-image.cpp,
7445 sp-item-notify-moveto.cpp, sp-item-rm-unsatisfied-cns.cpp,
7446 sp-item-update-cns.cpp, sp-item.cpp, sp-item.h, sp-offset.cpp,
7447 sp-rect.cpp, sp-spiral.cpp, sp-star.cpp, sp-text.cpp:
7449 Use a std::vector to store snap points, rather than a fixed-size
7450 array.
7452 2004-06-09 Carl Hetherington <inkscape@carlh.net>
7454 * src/desktop-snap.cpp, src/desktop-snap.h: Coding style fixes.
7455 Use NR::Coord rather than double where appropriate. Added some
7456 comments. Use NR::Dim2 where appropriate. Use NR_HUGE rather
7457 than hardcoded 1e18s.
7459 * src/rect-context.cpp, src/nodepath.cpp, src/arc-context.cpp:
7460 Adapt for changes to sp_desktop_dim_snap prototype.
7462 * src/select-context.cpp:
7463 Adapt for changes to sp_desktop_dim_snap_list prototype.
7465 2004-06-08 MenTaLguY <mental@rydia.net>
7467 * src/display/sp-canvas.h, src/livarot/DblLinked.h,
7468 src/livarot/LivarotDefs.h, src/livarot/AVL.h, src/livarot/Shape.h,
7469 src/livarot/ShapeUtils.h, src/livarot/Ligne.h,
7470 src/object-edit.cpp, src/spiral-context.cpp, src/sp-shape.cpp:
7472 Portability fixes from Colin Marquardt <colin@marquardt-home.de>.
7474 2004-06-08 Carl Hetherington <inkscape@carlh.net>
7476 * src/main.cpp: remove the call to
7477 Extension::Internal::PrintWin32::init() entirely after Ted pointed
7478 out that it would be called by code in src/extension/init.cpp
7479 anyway.
7481 2004-06-08 Ted Gould <ted@gould.cx>
7483 * src/main.cpp:
7485 Added in a version command to our command line args. This fixes
7486 enhancement request 968642.
7488 2004-06-07 MenTaLguY <mental@rydia.net>
7490 * src/document.cpp, src/document.h, src/document-undo.cpp,
7491 src/sp-object.h, src/sp-object.cpp:
7492 renamed object garbage collection routines to fit the "orphan"
7493 terminology
7495 2004-06-07 Carl Hetherington <inkscape@carlh.net>
7497 * src/main.cpp: tentative fix for startup crash on Win32. Ensure
7498 that Extension::Internal::PrintWin32::init() is not called until
7499 after inkscape_application_init().
7501 2004-06-07 Ted Gould <ted@gould.cx>
7503 * src/inkscape.cpp, src/main.cpp:
7505 Moving the initialization of the extensions into the Inkscape application
7506 init. I have mixed feelings on this. On one hand, basically extension
7507 init gets called directly after applicaiton init and extensions init has
7508 nothing to do with anything else in main. On the other hand I'm not sure
7509 that it is directly related to the structure of the application itself.
7510 Comments are welcome.
7512 2004-06-06 MenTaLguY <mental@rydia.net>
7514 * src/attributes.cpp, src/attributes.h: added inkscape:collect attribute
7515 to specify orphan collection policy (collect with parent, or always
7516 collect)
7518 * src/document-undo.cpp, src/document.cpp, src/document.h: added an orphan
7519 collection pass as part of comitting an undo step
7521 * src/sp-object.cpp, src/sp-object.h:
7522 add total hrefcount for all descendants, and basic orphan collection
7523 facilities
7525 * src/gradient-chemistry.cpp, src/dialogs/stroke-style.cpp,
7526 src/extension/internal/gdkpixbuf-input.cpp:
7527 mark automatically added gradients, patterns, and markers for orphan
7528 collection
7530 2004-06-06 Bryce Harrington <bryce@bryceharrington.org>
7532 * libnrtype/nr-type-xft.cpp, libnrtype/nr-font.cpp,
7533 libnrtype/nr-rasterfont.cpp, libnrtype/nr-type-directory.cpp,
7534 libnrtype/nr-typeface.cpp, libnrtype/nr-type-w32.cpp,
7535 libnrtype/nr-type-ft2.cpp, libnrtype/nr-type-pos-def.cpp,
7536 libnrtype/nr-type-primitives.cpp:
7538 Documenting the routines. This adds basic code docs for
7539 everything in libnrtype.
7541 2004-06-06 Ted Gould <ted@gould.cx>
7543 * src/main.cpp, src/preferences-skeleton.h, src/extension/extension.cpp:
7545 Making it so that the extension parameters get saved in the Inkscape
7546 preferences. Most people will notice that their printer gets saved now.
7547 But this does alot more than that. Added an "extensions" group to the
7548 preferences skeleton for all these settings. All settings get saved as
7549 "module ID"."param name". Also had to change where the extensions get
7550 init'd in the startup to put it behind the Inkscape application so that
7551 prerefences could be used.
7553 2004-06-03 Ted Gould <ted@gould.cx>
7555 * src/file.cpp, src/dialog/filedialog.cpp:
7557 Making the whole file dialog alot more fun. Basically, now the
7558 first filename will always be unique on files that don't have a
7559 filename already. And, if you've selected a different default
7560 extension, that extension's filename extension will be placed
7561 on the file. Also, when you change the extension to save with
7562 in the dialog, the filename extension will change with you (assuming
7563 that you were using filename extensions previously ofcourse).
7564 Finally, the checkbox to autoappend extensions is no insensitive
7565 when "Autodetect" is selected.
7567 2004-06-03 MenTaLguY <mental@rydia.net>
7569 * src/file.cpp, src/extension/internal/ps.cpp,
7570 src/extension/internal/win32.cpp, src/sp-pattern.cpp,
7571 src/dialogs/stroke-style.cpp, src/display/nr-arena-glyphs.cpp,
7572 src/display/nr-arena-group.cpp, src/display/nr-arena-image.cpp,
7573 src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
7574 src/widgets/icon.cpp, src/dialogs/nr-arena-item.h:
7576 Introduced the notion of "parent" NRGCs
7578 2004-06-02 bulia byak <bulia@users.sourceforge.net>
7580 * src/selection.h, src/selection.cpp:
7582 * preferences-skeleton.h dialogs/display-settings.cpp sp-item.cpp: New
7583 settings
7584 for various compensations
7586 * sp-shape.cpp sp-shape.h sp-rect.cpp sp-path.cpp: Factored out adjustments
7587 (stroke and pattern so far) from optimizing items into sp-shape.
7589 * libnr: Added distance function for a couple of points. Added expansions
7590 for X and Y.
7592 * object-edit.cpp sp-rect.cpp sp-item.cpp toolbox.cpp: Made rect use
7593 absolute
7594 radii, added recursive compensation on item_transform. Added new knot for
7595 rect, moved corner knots to the top right corner. Rect toolbar shows visible
7596 rx/ry.
7598 * toolbox.cpp: Finally got the freeze semaphores right (prevent loops for
7599 changes both from the repr and from toolbar UI).
7601 * sp-namedview.cpp: Guarding against nan in zoom, cx, cy
7603 * select-toolbar.cpp helper/unit-menu.cpp helper/unit-menu.h: Fix units menu
7604 size
7606 * node-context.cpp: Second Esc or empty-click deselects object
7608 * desktop.cpp desktop.h: Restored sticky zoom
7610 * preferences-skeleton.h extension/internal/gdkpixbuf-input.cpp file.cpp: Do
7611 not
7612 group import if only one item; move its defs to our defs; select and move
7613 under cursor the imported item/group. Optionally import bitmaps as filled
7614 rects.
7616 * many -context files: Decoupled seltrans and selcue so that the latter can
7617 be
7618 used outside of selector; enabled optional selcue in all tools
7620 * many files: New set_color signals on desktop, switching the dropper to
7621 them;
7622 needs to be redone for style. Excise the old inkscape::color_set signal.
7624 * dialogs/stroke-style.cpp: Fix the "all clubs" marker preview bug. In
7625 markers
7626 menu, skip document markers with stockid only if the same stockid is in
7627 markers.svg; add separator.
7629 * many fill and stroke files: Remove old mode selector, remove dropper
7630 checkbox
7631 (now always on). Remember active colorselector page. Remove redundant checks
7632 in setting color (fixes at least one bug). Cosmetics, cleanup, b/w icons,
7633 shortened labels, added mnemonics and tooltips, removed the drop-down modes
7634 list. Switched color spinbuttons to 0..255 enabling 0..1 floats to be typed
7635 as
7636 well.
7638 * dialogs/find.* et al: Find dialog, command
7640 * selection-chemistry.cpp: Fix copying objects from different parents; fix
7641 and
7642 reorganize copying gradients, recurse into groups
7644 * dialogs/xml-tree.cpp: Removed unused desktop shutdown signal, fixes
7645 problem
7646 with saving window settings on exit
7648 * select-toolbar.cpp: Percentage unit, lock toggle, NR::Rectification
7650 * sp-object.cpp path-chemistry.cpp splivarot.cpp et al: Sending
7651 _delete_signal
7652 recursively for descendants; switched to deleteObject where appropriate to
7653 notify clones
7655 * preferences-skeleton.h desktop.cpp desktop.h interface.cpp: Window layout
7656 fully configurable, commands in the View menu
7658 * path-chemistry.cpp: Fixed transform when combining inside group
7660 * preferences-skeleton.h sp-item.cpp dialogs/display-settings.cpp: Fixes in
7661 scalestroke (coded by Carl): arbitrary depth recusion, setting stroke-width
7662 via repr, pref in the transforms tab
7664 * widgets/sp-xmlview-attr-list.cpp: More robust listener
7666 2004-06-01 Ted Gould <ted@gould.cx>
7668 * src/extension/internal/gdkpixbuf-input.cpp:
7669 Making it so that the lists of extensions and mimetypes are
7670 used in the creation of the plugins. Also, free'ing everything
7671 properly so that we don't have a memory leak.
7673 2004-05-30 MenTaLguY <mental@rydia.net>
7675 * src/selection.h, src/selection.cpp:
7676 rework SPSelection to be SPObject- rather than SPItem- oriented;
7677 this will be needed later for the layers/document tree dialog
7678 (and could prove useful for the XML editor later too)
7680 * src/sp-item.h: make SPItem a proper C++ subclass of SPObject
7682 * src/dialogs/item-properties.cpp:
7683 correct overly intimate knowledge of SPObject (use SP_OBJECT_ID rather
7684 than directly accessing the SPObject::id member)
7686 2004-05-27 Kees Cook <kees@outflux.net>
7688 * src/extension/internal/ps.h, src/extension/internal/ps.cpp:
7689 Hopefully fixed the locale problems in the PS output generator.
7690 * src/sp-offset.cpp, src/display/bezier-utils-test.cpp,
7691 src/display/nr-arena-item.cpp, src/libnr/nr-svp-render.cpp,
7692 src/libnr/testnr.cpp, src/livarot/AlphaLigne.cpp,
7693 src/livarot/Ligne.cpp, src/livarot/Path.cpp,
7694 src/livarot/PathCutting.cpp, src/livarot/Shape.cpp,
7695 src/livarot/ShapeDraw.cpp, src/livarot/ShapeSweep.cpp,
7696 src/svg/svg-affine.cpp: added comments and notes to all remaining
7697 "printf"ish calls that have %g or %f in them. Most are just debug
7698 output, etc. Hopefully we are actually free of locale bugs! :)
7699 * src/desktop.h, src/desktop.cpp: desktop's knowledge of
7700 fullscreen-ness doesn't depend on having the ability to DO it. Other
7701 functions already test "is_fullscreen" to alter their behavior.
7703 2004-05-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7705 * src/extension/system.h, src/extension/system.cpp (build_from_file):
7706 Remove unused second argument. Callers updated.
7707 * src/extension/system.cpp (build_from_reprdoc):
7708 Just one call to sp_repr_name per child.
7709 * src/extension/system.h, src/extension/system.cpp:
7710 Cleanup: greater conformance to CodingStyle.
7712 2004-05-23 MenTaLguY <mental@rydia.net>
7714 * src/libnrtype/Makefile_insert, src/libnrtype/nr-type-gnome.cpp,
7715 src/libnrtype/nr-type-gnome.h, src/libnrtype/nr-type-dictionary:
7717 removed gnome-print libnrtype backend
7719 2004-05-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7721 * src/xml/repr.h, src/xml/repr-util.cpp:
7722 Remove unused function sp_repr_set_position_relative.
7724 * src/xml/repr-util.cpp (sp_repr_compare_position, sp_repr_position):
7725 Minor cleanups.
7727 2004-05-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7729 * src/sp-use.cpp: Cleanup: greater conformance to CodingStyle.
7731 * src/sp-item-group.cpp (sp_item_group_ungroup): Fix bug #956334:
7732 ungrouping was reversing the order of the group members.
7734 * src/xml/repr-get-children.h, src/xml/repr-get-children.cpp: New files.
7735 * src/xml/Makefile_insert (xml_libspxml_a_SOURCES): Add the new files.
7737 * src/xml/repr-private.h, src/xml/repr.cpp (sp_repr_nth_child):
7738 Remove this unused function.
7740 * src/xml/repr.h, src/xml/repr.cpp (sp_repr_parent):
7741 Mark pointer as not written through (const).
7743 2004-05-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7745 * src/xml/repr.cpp: Cleanup: greater conformance to CodingStyle.
7747 * src/Makefile_insert: Add missing dependencies on inkscape_version.h.
7748 * src/display/Makefile_insert: Adapt dependency object names for
7749 `subdir-objects' automake option.
7750 * src/helper/Makefile_insert: Adapt dependency object names for
7751 lack of libspchelp-specific CPPFLAGS.
7753 2004-05-17 Carl Hetherington <inkscape@carlh.net>
7755 * src/libnrtype/nr-type-w32.cpp: Tentative fix for
7756 build problems on Win32.
7758 * src/extension/internal/svg.cpp: Coding style cleanups.
7760 2004-05-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7762 * src/sp-item.h, src/sp-item.cpp: Remove unused
7763 distance-conversion functions sp_item_distance_to_svg_bbox,
7764 sp_item_distance_to_svg_viewport.
7766 * src/sp-item.cpp: Cleanup: greater conformance to CodingStyle.
7768 * acinclude.m4: Remove.
7770 2004-05-16 Carl Hetherington <inkscape@carlh.net>
7772 * src/extension/internal/svg.cpp:
7773 Throw an exception if sp_repr_save_file fails. This should close
7774 bug 948921.
7776 2004-05-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7778 * src/check-header-compile.in: New script.
7779 * configure.in: Add it to list of files for substitution.
7781 * src/star-context.cpp: Minor cleanups, and use g_strdup_printf instead
7782 of fixed-size buffer for translated string.
7784 * src/selection-chemistry.cpp: Use NR::Rect bounds() method instead of
7785 old bounds(NRRect*).
7787 * src/document.cpp (sp_document_create):
7788 * src/preferences-skeleton.h:
7789 Use INKSCAPE_VERSION from inkscape_version.h instead of VERSION.
7791 * src/libnr/nr-rotate-test.cpp: Use new rotate_equalp function.
7793 * src/libnr/nr-translate-ops.h (operator-): New function.
7795 * src/select-context.cpp:
7796 * src/selection-chemistry.cpp:
7797 * src/xml/repr.h:
7798 * src/sp-defs.h:
7799 Cleanup: greater conformance to CodingStyle.
7801 * src/libnr/nr-macros.h: Don't #include nr-matrix.h, nr-rect.h.
7803 * src/arc-context.h, src/desktop-affine.h, src/dir-util.h,
7804 src/draw-context.h, src/dyna-draw-context.h, src/help.h,
7805 src/knotholder.h, src/prefs-utils.h, src/select-toolbar.h,
7806 src/sp-clippath.h, src/sp-mask.h, src/sp-pattern.h, src/sp-use.h,
7807 src/text-context.h, src/toolbox.h, src/tools-switch.h,
7808 src/dialogs/dialog-events.h, src/dialogs/sp-attribute-widget.h,
7809 src/display/sp-canvas.h, src/helper/gnome-utils.h,
7810 src/helper/png-write.h, src/helper/stock-items.h, src/inkjar/jar.h,
7811 src/libnr/nr-matrix.cpp, src/libnr/nr-point-l.h,
7812 src/svg/stringstream.h, src/svg/svg-affine.cpp,
7813 src/widgets/gradient-selector.h, src/widgets/paint-selector.h,
7814 src/widgets/spinbutton-events.h, src/widgets/spw-utilities.h,
7815 src/xml/repr-action.h:
7816 Add missing header files as detected by check-header-compile script.
7818 * src/libnr/nr-rotate-fns.h, src/libnr/nr-rotate-fns.cpp: New files.
7819 * src/libnr/nr-rotate-fns-test.cpp: New unit test.
7820 * src/libnr/Makefile_insert, src/Makefile.am: Reference new files,
7821 add to unit tests.
7823 * src/libnr/nr-rotate.h: Add Coord,Coord constructor.
7825 * src/libnr/nr-rotate.h, src/libnr/nr-rotate-ops.h (operator*=):
7826 New method.
7828 * src/libnr/nr-point-fns.h (point_equalp): New function.
7830 * src/radial.h: Remove this unused header.
7832 * src/xml/xml-forward.h: New file.
7833 * src/xml/Makefile_insert: Add it to xml_libspxml_a_SOURCES.
7834 * src/xml/repr-private.h: Include it.
7836 2004-05-16 MenTaLguY <mental@rydia.net>
7838 * src/libnrtype/nr-type-directory.cpp, src/libnrtype/nr-type-ft2.cpp,
7839 src/libnrtype/nr-type-ft2.h, src/libnrtype/nr-type-gnome.h,
7840 src/libnrtype/nr-type-w32.h, src/libnrtype/nr-type-xft.cpp,
7841 src/libnrtype/nr-typeface.h:
7843 transition to C++ inheritance
7845 * src/verbs.cpp, src/helper/action.h, src/helper/action.cpp,
7846 src/widgets/button.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
7848 removed barely-used "in-place construction" facility for NRObject
7850 * src/helper/action.h, src/helper/action.cpp,
7851 src/display/nr-arena-glyphs.cpp, src/display/nr-arena-glyphs.h,
7852 src/display/nr-arena-image.cpp, src/display/nr-arena-image.h,
7853 src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
7854 src/helper/action.cpp, src/helper/action.h, src/libnr/nr-object.cpp,
7855 src/libnr/nr-object.h, src/libnrtype/nr-type-ft2.cpp,
7856 src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
7857 src/libnrtype/nr-typeface.cpp:
7859 Made NRObject "C++-compatible". All C++ features including virtual
7860 methods and RTTI should now be available to NRObject subclasses
7861 _provided_:
7863 a) there is an unbroken chain of _C++_ inheritance from the subclass
7864 back to NRObject
7866 b) the NRObject-derived inheritance chain is always first in cases
7867 of multiple inheritance (the NRObject must be first in the memory
7868 layout)
7870 c) The subclass in question overrides NRObjectClass::cpp_ctor in its
7871 own class_init function, with a pointer to a function that calls
7872 the specific subclass' constructor (via placement new -- you will
7873 need to #include <new> for this to work)
7875 n.b. Objects of classes which do not override cpp_ctor will appear
7876 to the C++ runtime system (RTTI and virtual dispatch, at least) as
7877 objects of the closest ancestor class which does override it
7878 (NRObject or NRActiveObject if nothing else).
7880 2004-05-15 MenTaLguY <mental@rydia.net>
7882 * src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
7883 further reduced dependency on SPStyle
7885 2004-05-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7887 * src/libnr/nr-path.cpp, src/libnr/nr-path.h (nr_path_matrix_bbox_union):
7888 Get rid of no-longer-needed tolerance arg. Update callers.
7890 * src/selection.cpp, src/sp-chars.cpp, src/sp-image.cpp,
7891 src/sp-item-group.cpp, src/sp-item.cpp, src/sp-item.h,
7892 src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp,
7893 src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
7894 src/sp-use.cpp, src/dialogs/fill-style.cpp,
7895 src/dialogs/stroke-style.cpp, src/display/nr-arena-shape.cpp,
7896 src/libnr/nr-path.cpp, src/libnr/nr-path.h,
7897 src/libnrtype/nr-font.cpp, src/libnrtype/nr-rasterfont.cpp,
7898 src/libnrtype/nr-type-gnome.cpp, src/widgets/icon.cpp,
7899 src/widgets/paint-selector.cpp:
7900 Change argument from NRMatrix to NR::Matrix in SPItemClass->bbox,
7901 sp_item_invoke_bbox, sp_item_invoke_bbox_full,
7902 nr_path_matrix_bbox_union. Users updated.
7904 * src/libnr/nr-rect.h, src/libnr/nr-rect.cpp (nr_rect_union_pt):
7905 new function.
7907 * src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
7908 (NR::transform): new function.
7910 * src/Makefile_insert: Move fixes.cpp from libinkpre.a to libinkpost.a.
7911 * src/xml/Makefile_insert (xml_repr_action_test_LDADD):
7912 Add libinkpost.a, for fixes.o. `make check' now works again.
7914 * src/sp-text.cpp (sp_text_set_transform):
7915 Don't include SP_OBJECT_CHILD_MODIFIED_FLAG in flags for
7916 sp_object_request_update. Addresses `critical' warning.
7918 2004-05-13 John Cliff <simarilius@yahoo.com>
7920 * src/dialogs/stroke-style.cpp: Switched to using get_stock to retrieve
7921 markers.
7922 * src/helpers/stock-items.h, src/helpers/stock-items.cpp: created to handle
7923 stock items.
7924 * src/prefix.h: Added marker and gradient directorys.
7926 2004-05-13 Kees Cook <kees@outflux.net>
7928 * configure.in, src/main.cpp, config.h.mingw, debian/rules:
7929 made popt a requirement instead of an option.
7931 2004-05-13 Carl Hetherington <cth103@houllier.home>
7933 * sp-color-notebook.cpp: Fix uninitialised value spotted by valgrind.
7935 * stroke-style.cpp:
7936 Fix ink_extract_marker_name returning a pointer into a free()d buffer.
7938 2004-05-13 Ted Gould <ted@gould.cx>
7940 * src/file.cpp:
7941 Making the default filename _("untitled.svg")
7943 2004-05-12 Kees Cook <kees@outflux.net>
7945 * config.h.mingw: added g_ascii_strtod macro.
7947 2004-05-12 Carl Hetherington <inkscape@carlh.net>
7949 * src/dialogs/export.cpp: fix faulty logic with exporting of
7950 selections, as reported by Artemio on the ML.
7952 * src/dialogs/desktop-properties.cpp: Fix a gtk_table size.
7953 Make use of spw_dropdown in one place.
7955 * src/select-context.cpp: Remove alt-drag "slow move" mode.
7956 Make alt-drag move without any grid snap, even if the grid
7957 is enabled. Add a new mode, shift-drag, which preserves
7958 objects' grid offsets rather than snapping their snappoints.
7960 * src/selection-chemistry.cpp: Pasted objects have the same
7961 offset from the grid as the original, if the grid is enabled.
7962 Also a NRRect -> NR::Rect fix thrown in for no extra charge.
7964 * src/dialogs/display-settings.cpp: Added option to reverse
7965 the actions of drag and shift-drag when moving objects.
7967 2004-05-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
7969 * src/main.cpp (main): Test ENABLE_NLS instead of HAVE_NLS (which
7970 wasn't getting defined). Restores translations on *nix systems
7971 when inkscape translations aren't in system-wide /usr/share/locale.
7973 2004-05-10 Carl Hetherington <inkscape@carlh.net>
7975 * src/sp-item.cpp, src/dialogs/display-settings.cpp: primitive
7976 support for preserving line widths when scaling. Thanks to Bulia
7977 for telling me what to do :)
7978 * src/dialogs/align.cpp: refactor some cut-and-paste code into
7979 a separate function. Remove NRRect. Declaration-to-first-use
7980 cleanups.
7981 * src/dialogs/transformation.cpp, src/dialogs/fill-stype.cpp:
7982 NRRect removal. Declaration-to-first-use cleanups.
7984 2004-05-09 MenTaLguY <mental@rydia.net>
7986 * src/sp-paint-server.h: SPPaintServer now uses C++ inheritance
7988 (bigger question -- should SPPaintServer derive from SPObject? I think
7989 not, actually ... it's more something that should be aggregated into
7990 the various paint-server-capable types)
7992 * src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
7993 first steps in removing SPStyle dependency from NRArenaShape --
7994 add fill and stroke paint server members, and use those instead
7995 of reading directly from an SPStyle.
7997 2004-05-09 Kees Cook <kees@outflux.net>
7999 * src/libnrtype/nr-type-xft.cpp: added patch 898200, hopefully this
8000 won't break anyone.
8001 * src/dialogs/desktop-properties.cpp: added patch 947127, along with
8002 some orientation bugfixes, list cleanup, and logic to select the
8003 correct menu items based on document settings.
8004 * configure.in: default to always replace g_ascii_strtod.
8006 2004-05-08 Kees Cook <kees@outflux.net>
8008 * src/extension/internal/gdkpixbuf-input.cpp: skip SVG files. (open bug)
8009 * configure.in, src/Makefile_insert, src/fixes.cpp: added replacement
8010 for g_ascii_strtod, since it has locale-related bugs in gnome 2.0.
8011 The upstream version is fixed, so some day, we won't need this any
8012 more. (fixes "ugly icons" bug, and possibly the spinbutton locale bug)
8013 * src/dyna-draw-context.cpp, src/rect-context.cpp, src/sp-namedview.cpp,
8014 src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp,
8015 src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-root.cpp,
8016 src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp,
8017 src/sp-text.cpp, src/spiral-context.cpp, src/star-context.cpp,
8018 src/svg/ftos.cpp, src/svg/svg-affine.cpp, src/svg/svg-color.cpp,
8019 src/svg/svg-length.cpp: adding "config.h", making a few extra
8020 locale-sensitive functions use g_ascii versions.
8022 2004-05-08 MenTaLguY <mental@rydia.net>
8024 * src/sp-item.cpp: move "transformed" signal emission after actual
8025 application of transform
8027 * src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr.cpp:
8028 fix lifecycle issues with content and attribute strings
8030 * src/sp-object.h, src/sp-object.cpp: added SPObject::setId()
8032 2004-05-08 Kees Cook <kees@outflux.net>
8034 * src/verbs.cpp, src/help.cpp: localizing "about" and "keys" stuff.
8035 * po/*.po: rebuilt for new strings.
8037 2004-05-08 Carl Hetherington <inkscape@carlh.net>
8039 * src/dialogs/desktop-properties.cpp: the usual cleanups. Also
8040 add some sp_document_done()s in various places.
8042 2004-05-08 bulia byak <bulia@users.sourceforge.net>
8044 * widgets/paint-selector.cpp: Tooltips, slight cosmetics
8046 * main.cpp: --help edit
8048 * sp-use.h sp-use.cpp: Redid move compensation using _transformed_signal
8050 * sp-item.h sp-item.cpp: Added _transformed_signal, emitted by
8051 write_transform,
8052 passes the difference transform relative to the old one (not the new
8053 transform
8054 set)
8056 * nodepath.cpp: Fix lagging update of the other handle for smooth nodes
8058 * widgets/dash-selector.cpp: (Almost) fixed display of shorter-than-0.5
8059 dashes
8060 in selector; proper fixing will require manual drawing the dashes instead of
8061 using gdk dashes
8063 * preferences-skeleton.h: lots of new dasharrays
8065 * dialogs/stroke-style.cpp: Remove repetitive code; relocation patch from
8066 mhearn; fixed, reenabled, and automated marker previews (no need for
8067 previews
8068 in markers.svg)
8070 * share/markers/markers.svg: Cleanup, sizes, remove manual previews
8072 * style.cpp: Disabled warning for overflow property (we need it for markers)
8074 * splivarot.cpp: Fixed transform when doing boolop inside group
8076 * libnr/nr-path.cpp: Ported fix from sodi, fixes two bugs with endnodes of a
8077 curve on the same hor/vert line
8079 * sp-namedview.cpp: Use set_default_size instead of _resize for setting
8080 window
8081 from namedview
8083 * preferences-skeleton.h dialogs/item-properties.cpp: Objects props
8084 transientized (better late than never)
8086 * dialogs/display-settings.cpp: Added simplify threshold
8088 * sp-use.cpp: Mega-kill use on unlink
8090 * preferences-skeleton.h dialogs/display-settings.cpp: Orphaned clones
8091 options
8093 * sp-item-group.cpp: Prevent jumps when ungrouping clone with its original
8095 * sp-object.cpp: Fix crash when deleting clone and its original
8097 * toolbox.cpp, tool contexts: Alt-x and top panel keyboard shortcuts now
8098 work
8099 for all tools
8101 * sp-use.cpp enums.h: Unlink option on self-delete
8103 * sp-use.cpp: Fix: disappeating clone on undoing ungrouping (_show finally
8104 works properly)
8106 * splivarot.cpp: Boolops: cleanup, preserve id, parent, position, fix to
8107 take
8108 style from the bottom object
8110 * interface.cpp verbs.cpp shortcuts.cpp: Mnemonics, tooltips, shortcuts,
8111 cleanup, autoraise removed from menu
8113 2004-05-07 Kees Cook <kees@outflux.net>
8115 * src/verbs.cpp: re-localizing tutorials. My goof!
8116 * po/POTFILES.in: removed arikkei references
8118 2004-05-07 Carl Hetherington <inkscape@carlh.net>
8120 * src/desktop.cpp: make sure that a SPNamedView's modified signal
8121 is connected to the SPDesktop even when a file is loaded into an
8122 existing SPDesktop. Fixes problems whereby grid snap does not
8123 work for the first file loaded in a session. Fix a && -> & typo.
8125 * src/sp-object.cpp: declaration-to-first-use and coding style
8126 cleanups.
8128 2004-05-05 Spundun Bhatt <spundun@isi.edu>
8130 * configure.in: Stole Nathan's configure hack and used it to
8131 support gtkmm-2.4
8133 2004-05-06 Ted Gould <ted@gould.cx>
8135 * src/file.cpp, src/extension/extension.cpp, src/extension/init.cpp,
8136 src/extension/internal/Makefile_insert,
8137 src/extension/internal/gdkpixbuf-input.cpp,
8138 src/extension/internal/gdkpixbuf-input.h:
8139 Changing the import functionality so that it works much more like open.
8140 You can use any format, and it will place that file directly in the
8141 document that you are working on. Added input extensions that cover all
8142 of the bitmap formats that are covered with gdkpixbuf. Also, more
8143 formats can be used using the scripting system.
8145 2004-05-06 Carl Hetherington <inkscape@carlh.net>
8147 * src/sp-line.cpp, src/sp-mask.cpp, src/sp-metrics.cpp:
8148 declaration-to-first-use and coding style cleanups
8150 2004-05-05 MenTaLguY <mental@rydia.net>
8152 * src/libnrtype/nr-type-dictionary.cpp: removed 'private-fonts'
8153 feature (we should rely on fontconfig for "custom" font stuff)
8155 * configure.in, src/Makefile_include, src/Makefile.am,
8156 src/libarikkei/*: removed the now unused libarikkei
8158 2004-05-05 Nathan Hurst <njh@mail.csse.monash.edu.au>
8160 * src/dialogs/text-edit.cpp, configure.in: Added support for spell
8161 checking in text dialog.
8163 2004-05-04 MenTaLguY <mental@rydia.net>
8165 * src/display/nr-arena-glyphs.h: fixed cut-and-paste error in
8166 NRArenaGlyphsGroup::create()
8168 * src/selection.cpp, src/selection.h: fixed global "changed" propagation
8170 2004-05-02 MenTaLguY <mental@rydia.net>
8172 * src/file.cpp, src/print.cpp, src/sp-chars.cpp, src/sp-clippath.cpp,
8173 src/sp-image.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
8174 src/sp-pattern.cpp, src/sp-shape.cpp, src/sp-text.cpp,
8175 src/sp-use.cpp, src/dialogs/stroke-style.cpp,
8176 src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp,
8177 src/display/nr-arena-glyphs.h, src/display/nr-arena-group.h,
8178 src/display/nr-arena-image.h, src/display/nr-arena-item.cpp,
8179 src/display/nr-arena-item.h, src/display/nr-arena-shape.h,
8180 src/display/nr-arena.h, src/libnr/nr-object.h, src/widgets/icon.cpp:
8182 removed nr_arena_item_new in favor of static ::create() functions
8183 which call NRArenaItem::init() to perform setup (i.e. setting
8184 NRArenaItem::arena). Eventually NRArenaItem::init() and
8185 nr_arena_item_init will merge and become NRArenaItem's constructor.
8187 2004-04-30 MenTaLguY <mental@rydia.net>
8189 * src/sp-use.cpp: call parent class' write methods rather than
8190 attempting to do everything (wrongly) ourselves; among other
8191 things, <use> transform attributes weren't getting written
8193 * src/sp-object.h, src/sp-object.cpp:
8195 designate a "successor" object so we still perform as
8196 expected if objects are replaced in the middle of e.g. a
8197 bulk delete operation
8199 * src/sp-use.cpp: cleanups and succession logic for <use>
8200 deletion
8202 * src/widgets/sp-hwrap-box.cpp, src/widgets/sp-hwrap-box.h,
8203 src/widgets/sp-vwrap-box.cpp, src/widgets/sp-vwrap-box.h,
8204 src/widgets/sp-wrap-box.cpp, src/widgets/sp-wrap-box.h,
8205 src/widgets/test-wrapbox.cpp, src/widgets/Makefile_insert:
8207 Removed unused (and imperfect) "wrapbox" widgets.
8209 * src/sp-object.h, src/sp-object.cpp, src/sp-item-group.cpp:
8211 Removed unused sp_object_invoke_forall and sp_object_sequence
8212 methods. (forall might be nice to have, but we can do better
8213 implementation-wise now that we're in C++-land)
8215 2004-04-30 njh <njh@mail.csse.monash.edu.au>
8217 * main.cpp: replaced gtk_init with g_type_init for console mode.
8218 Closes 944969.
8220 2004-04-29 MenTaLguY <mental@rydia.net>
8222 * src/sp-image.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp,
8223 src/sp-path.cpp, src/sp-rect.cpp, src/sp-text.cpp:
8225 write_transform becomes set_transform, which applies the given
8226 transform to the object without (!) invoking a repr write
8228 * src/sp-star.cpp, src/svg/svg-length.h, src/svg/svg-length.cpp,
8229 src/svg-types.h, src/svg/svg.h:
8231 replaced raw integers with real units enum
8233 * src/libnr/nr-matrix.h:
8235 removed dead assertion (it's always valid to retrieve the
8236 translation component of a matrix)
8238 * src/selection-chemistry.cpp:
8240 delete items via SPItem (SPObject), not repr
8242 * src/sp-object.h, src/sp-object.cpp:
8244 added SPObject::deleteObject() and a delete notification signal;
8245 SPObject now inherits from GObject in the C++ sense
8247 * src/sp-use.h:
8249 don't accept references to the use or its ancestors (preventing
8250 infinite loops)
8252 * src/sp-use.cpp, src/sp-use.h:
8254 added automatic deletion when referrent is deleted
8256 * src/uri-reference.h:
8258 added URIReference::getOwner()
8260 2004-04-29 Carl Hetherington <inkscape@carlh.net>
8262 * src/extension/internal/win32.cpp: add textToPath parameter to
8263 description in order to fix #944131.
8265 2004-04-28 Carl Hetherington <inkscape@carlh.net>
8267 * src/desktop.cpp, src/inkscape.cpp, src/sp-namedview.cpp
8268 Part of the fix for #942149. Also fixed some compiler warnings.
8270 * src/display/nr-arena.cpp: Fixed an unused variable warning.
8272 * src/main.cpp: Fix a warning that is raised on Windows.
8274 2004-04-28 bulia byak <bulia@users.sourceforge.net>
8276 * inkscape.cpp: Fixed prev/next desktop; numbered from 0
8278 * Lots of files: Replaced all strtod() and atof() by g_ascii_strtod()
8280 * interface.cpp verbs.cpp: Tooltip edits
8282 * view.cpp view.h desktop.cpp: Signal and function to pop statusbar message
8284 * dialogs/dialog-events.cpp: Only set the UTILITY hint for non-modal
8285 windows,
8286 fixes "disappearing save as"
8288 * toolbox.cpp widgets/widget-sizes.h widgets/button.cpp: Got rid of button
8289 relief, top panel made less tall
8291 * desktop.cpp preferences-skeleton.h dialogs/display-settings.cpp: Done away
8292 with the sticky zoom button, now in prefs
8294 * path-chemistry.cpp: Preserve id= in combine/break, convert to paths;
8295 preserve
8296 z-order in combine/break; cleanups
8298 * splivarot.cpp: New selection API, Simplify preserves id=
8300 * select-context.cpp preferences-skeleton.h sp-item.cpp display-settings.cpp
8301 splivarot.cpp sp-item-group.cpp sp-item-transform.cpp
8302 sp-item-notify-moveto.cpp nodepath.cpp node-context.cpp seltrans.cpp
8303 seltrans.h: Switched to global preservetransform, transform writing
8304 unification (no more manual transform= setting all over the place), stamp
8305 preserves parent, mental's new SPSelection API, pruning dead code
8307 * verbs.cpp interface.cpp: Eliminated Dialogs menu, added ... to dialog
8308 commands, rearrangements, menu items display tooltips in statusbar when
8309 selected
8311 * sp-item-group.cpp sp-item-group.h: Made document_done optional in ungroup
8312 (not
8313 done when the function is called from another function)
8315 * dialogs/display-settings.cpp enums.h preferences-skeleton.h sp-use.cpp
8316 sp-use.h: Clone move compensation (3 modes), settable in prefs
8318 * seltrans.cpp selection-chemistry.cpp: Do not translate a clone if its
8319 original
8320 is in the selection
8322 * verbs.cpp verbs.h interface.cpp shortcuts.cpp sp-use.cpp sp-use.h
8323 selection-chemistry.cpp selection-chemistry.h: Unlink Clone verb and menu
8324 command (preserves id=)
8326 * selection-chemistry.cpp selection-chemistry.h verbs.h verbs.cpp
8327 shortcuts.cpp
8328 interface.cpp: Select Original verb and command, scrolls to the original
8330 * selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h
8331 interface.cpp:
8332 Clone command
8334 * sp-use.h sp-use.cpp: Use URIReference; Propagate update to parent class
8335 (SPItem) (fixes redraw on dragging a clone)
8337 * dropper-context.cpp dropper-context.h dialogs/display-settings.cpp:
8338 Implemented pick modes (pick either actual color with transparency or
8339 visible
8340 color without transparency); added statusbar indication; color is only set
8341 on
8342 mouse release
8344 * seltrans.cpp display/sodipodi-ctrlrect.cpp: Finally the correct selection
8345 cue
8346 rect (fixed displacement)
8348 2004-04-27 Carl Hetherington <inkscape@carlh.net>
8350 * src/desktop.cpp: Check for there being no items when zooming to
8351 the drawing. This fixes bug #942137.
8353 2004-04-26 Carl Hetherington <inkscape@carlh.net>
8355 * config.h.mingw, prefix.h:
8356 INKSCAPE_VERSION moved to inkscape_version.h.
8357 INKSCAPE_{PIXMAP,SCREENS,TUTORIALS,MARKERS}DIR moved to prefix.h
8359 * src/Makefile.mingw, src/inkscape_version.h.mingw
8360 Use CVS inkscape_version.h.mingw for inkscape_version.h on Win32.
8362 * src/sp-use.cpp: fix a warning.
8364 2004-04-26 Ted Gould <ted@gould.cx>
8366 * share/extensions/ai_input.inkmod, share/extensions/dia.inkmod,
8367 share/extensions/txt2svg.inkmod, src/extension/extension.cpp,
8368 src/extension/internal/svg.cpp:
8370 Making the names of the input extensions look like the output ones.
8371 Also, threw in a slight memory savings in removing the implementation on
8372 deactivated extensions.
8374 2004-04-26 MenTaLguY <mental@rydia.net>
8376 * src/selection.cpp: migrate to new glib idle API
8378 * src/extension/db.cpp: can't call ->deactivated() on a NULL pointer..
8380 2004-04-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8382 * configure.in: Replace use of old AM_PROG_LIBTOOL macro with
8383 AC_PROG_LIBTOOL.
8385 2004-04-26 Ted Gould <ted@gould.cx>
8387 * share/extensions/epsi_output.inkmod:
8389 Added in a check for ps2epsi
8391 * src/dialogs/filedialog.cpp, src/extension/db.cpp, src/extension/db.h,
8392 src/extension/extension.cpp, src/extension/extension.h,
8393 src/extension/init.cpp, src/extension/system.cpp:
8395 Implementing a 'deactivated' extension. This means that it should
8396 still exist, but show up as insensitive in any GUI element that could use
8397 it. The idea here is that users should know what they don't have, but
8398 Inkscape supports.
8400 2004-04-26 Nathan Hurst <njh@mail.csse.monash.edu.au>
8402 * src/{libnr,libnrtype,widgets,display,helper,.}*.{h,cpp}: moved
8403 from typedef _name name; to C++ style struct name; forward
8404 references.
8406 2004-04-25 Ted Gould <ted@gould.cx>
8408 * share/extensions/ai_output.inkmod, share/extensions/dia.inkmod,
8409 share/extensions/dropshadow.inkmod, share/extensions/epsi_output.inkmod,
8410 share/extensions/roundhole.inkmod, share/extensions/svgz_input.inkmod,
8411 share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod,
8412 src/extension/implementation/script.cpp,
8413 src/extension/implementation/script.h:
8415 Adding in support for superior checking of dependencies. Now scripts
8416 can include a line, which will look for a binary in the path. So
8417 something like dia input will no be loaded if there isn't dia available in
8418 the path.
8420 2004-04-25 Carl Hetherington <inkscape@carlh.net>
8422 * src/verbs.cpp, src/rect-context.cpp, src/spiral-context.cpp,
8423 src/event-context.cpp, src/text-context.cpp,
8424 src/dialogs/stroke-style.cpp, src/xml-tree.cpp, src/widgets/sp-widget.cpp:
8425 SPSelection OO-ification.
8427 * src/display/curve.cpp: Don't raise a critical error if a new
8428 curve cannot be created in sp_curve_new_from_bpath(). This can
8429 happen if a file contains a strange path, like one with only a
8430 move in it and nothing else. This is part of the fix for bug
8431 934882.
8433 * src/sp-path.cpp: cope with sp_curve_new_from_bpath() returning
8434 NULL in sp_path_set(). This is the other part of the fix for 934882.
8436 * src/path-chemistry.cpp, src/sp-offset.cpp, src/sp-ellipse.cpp,
8437 src/display/nr-arena-glyhs.cpp:
8438 added asserts for calls to sp_curve_new_from_bpath() which look
8439 like they might not expect it to return NULL.
8441 * src/desktop.h: add a comment about how SPDesktop::selection
8442 should never generally be NULL.
8444 * src/desktop-handles.cpp: ensure that sp_desktop_selection never
8445 returns NULL, so that we don't have to check for this eventuality
8446 elsewhere.
8448 * src/arc-context.cpp, src/seltrans.cpp, src/desktop.cpp: be less defensive
8449 about
8450 SPDesktop::selection being NULL.
8452 * src/path-chemistry.cpp, src/select-context.cpp,
8453 src/selection-chemistry.cpp, src/star-context.cpp,
8454 src/dialogs/align.cpp, src/dialogs/item-properties.cpp,
8455 src/dialogs/text-edit.cpp:
8456 SPSelection OO-ification. Also some coding style and
8457 declaration-to-first-use cleanups.
8459 * src/toolbox.cpp: SPSelection OO-ification. Various cleanups.
8461 * src/selection.h: remove deprecated access functions.
8463 * src/dialogs/fill-style.cpp: declaration-to-first-use cleanups.
8465 * src/selection.cpp: add vim and Emacs mode blocks.
8467 * src/object-ui.cpp: very minor coding style fix.
8469 2004-04-24 MenTaLguY <mental@rydia.net>
8471 * src/arc-context.cpp, src/dyna-draw-context.cpp, src/object-ui.cpp,
8472 src/path-chemistry.cpp, src/rect-context.cpp, src/select-context.cpp,
8473 src/select-toolbar.cpp, src/selection-chemistry.cpp, src/selection.h,
8474 src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp,
8475 src/verbs.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp,
8476 src/dialogs/in-dt-coordsys.cpp, src/dialogs/stroke-style.cpp,
8477 src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp:
8479 removed sp_selection_set_item(), sp_selection_set_repr(),
8480 sp_selection_is_empty(), sp_selection_item_selected(),
8481 and sp_selection_repr_selected()
8483 2004-04-24 Ted Gould <ted@gould.cx>
8485 * share/extensions/ill2svg.pl:
8487 Applying a patch made to the Sodipodi list by Tuukka Pasanen which adds in
8488 support for text in Illustrator files. Also, I backed out the changes
8489 which removed being able to specify the line endings. This will, by
8490 default, force them back to mac compatible. Mac files didn't work with
8491 those changes.
8493 2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8495 * configure.in: Tentatively remove config.h definitions of
8496 INKSCAPE_MARKERSDIR, INKSCAPE_PIXMAPDIR, INKSCAPE_SCREENSDIR,
8497 INKSCAPE_TUTORIALSDIR, with the understanding that these are to be
8498 provided by prefix.h.
8499 * src/prefix.h: Define INKSCAPE_MARKERSDIR.
8501 * src/extension/extension.cpp (Extension):
8502 * src/extension/init.cpp (check_extensions):
8503 Address warning.
8505 * src/dialogs/stroke-style.cpp: #include prefix.h.
8507 * src/Makefile.am (EXTRA_DIST): Add */makefile.in.
8509 * src/libnr/Makefile_insert (libnr_libnr_a_SOURCES):
8510 Add libnr/nr-convex-hull.h, needed by sp-canvas.cpp.
8512 2004-04-24 Ted Gould <ted@gould.cx>
8514 * src/Makefile_include, src/prefix.cpp:
8516 Removing the redefition of NULL and adding to the make system.
8518 2004-04-24 Ted Gould <ted@gould.cx>
8520 * src/extension/db.cpp, src/extension/db.h, src/extension/extension.cpp,
8521 src/extension/extension.h, src/extension/init.cpp,
8522 src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
8523 src/extension/internal/ps-out.cpp, src/extension/internal/ps-out.h:
8525 Adding in more checks for individual extensions. All of them
8526 should still pass though. Also, moved the extension database from
8527 glib to STL. This allows extensions to be deleted while using the
8528 foreach functions (which causes instability with the glib hash
8529 table).
8531 2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8533 * src/dialogs/Makefile_insert:
8534 * src/display/Makefile_insert:
8535 * src/xml/Makefile_insert:
8536 Get rid of unneeded CPPFLAGS specification.
8538 * src/Makefile.am:
8539 * src/Makefile_insert:
8540 New generated file inkscape_version.h, to replace
8541 -DINKSCAPE_VERSION=\"$(VERSION)\".
8542 * src/help.cpp: #include it.
8544 2004-04-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8546 * src/sp-polygon.cpp:
8547 * src/splivarot.cpp:
8548 * src/style.cpp:
8549 Change include stringstream.h to include svg/stringstream.h.
8551 * src/Makefile.am, src/Makefile_insert: Change libinkscape.a use
8552 to eliminate triple compilation of these object files.
8554 * src/Makefile.am: Use `subdir-objects' option.
8556 * src/Makefile.am: Add global INCLUDES setting.
8557 * src/*/Makefile_insert: Get rid of now-redundant $(INKSCAPE_CFLAGS)
8558 from *_CPPFLAGS.
8560 * src/*/makefile.in: `%' as a target doesn't behave as intended,
8561 so replace with less general `clean %.a %.o' and add .SUFFIXES.
8563 2004-04-22 Ted Gould <ted@gould.cx>
8565 * src/draw-context.cpp, src/dropper-context.cpp,
8566 src/dyna-draw-context.cpp, src/node-context.cpp, src/nodepath.cpp,
8567 src/sp-ellipse.cpp, src/sp-offset.cpp, src/sp-path.cpp,
8568 src/sp-polygon.cpp, src/sp-shape.cpp, src/splivarot.cpp, src/toolbox.cpp,
8569 src/display/curve.cpp, src/display/nr-arena-shape.cpp,
8570 src/extension/internal/gnome.cpp, src/extension/internal/ps.cpp,
8571 src/libnr/nr-path.cpp, src/libnr/nr-path.h,
8572 src/libnrtype/nr-rasterfont.cpp, src/libnrtype/nr-type-ft2.cpp,
8573 src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
8574 src/libnrtype/nr-typeface.cpp, src/livarot/PathCutting.cpp,
8575 src/svg/gnome-canvas-bpath-util.cpp, src/svg/svg-path.cpp:
8577 Changing the ART_ enums to NR_ so that if libart is include (like if
8578 you are building gnome-print) it doesn't conflict with the internal
8579 definitions.
8581 * share/extensions/svgz_output.inkmod, src/extension/extension.cpp,
8582 src/extension/init.cpp, src/extension/implementation/script.cpp:
8584 Adding in a little more checking code. Now extensions can start
8585 deleting themseleves if they fail certain tests. More tests are
8586 needed, along with more testing of this feature. Consider this
8587 an 'early release' of the feature. ;)
8589 2004-04-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8591 * src/Makefile.am: Make non-recursive. Now sources */Makefile_insert.
8592 See HACKING or discussion on mailing list.
8593 * autogen.sh: Bump requirement from automake-1.6 to automake-1.7.
8594 * configure.in: Don't generate src/blah/Makefile, but do generate
8595 src/blah/makefile.
8596 * src/*/Makefile.am: Remove.
8597 * src/*/makefile.in: New wrapper makefiles to allow typing `make' from
8598 subdirectories of src. (Not used by compiles started from top-level
8599 or from src/.)
8601 2004-04-21 MenTaLguY <mental@rydia.net>
8603 * src/libnrtype/nr-type-w32.h: fixed unremoved underscores
8605 * src/select-context.cpp, src/selection.cpp, src/selection.h,
8606 src/seltrans.cpp, src/tools-switch.cpp, src/dialogs/align.cpp:
8607 remove improper twiddling of desktop message line from SPSelection;
8608 some additional work is now required in SPSelectContext to update
8609 the message properly in all cases.
8611 * src/selection.h, src/selection.cpp: touched up and documented
8612 SPSelection
8614 * src/uri-references.h: documentation touch-ups
8616 2004-04-20 Kees Cook <kees@outflux.net>
8618 * src/file.cpp, src/desktop.cpp: moved sp_file_open unselection code into
8619 sp_desktop_change_document. Generalized Carl's fix for unref counting
8620 since it applies in both cases. (My bad!)
8622 2004-04-20 MenTaLguY <mental@rydia.net>
8624 * src/text-context.cpp: merged Carl's fix for signal cleanup
8626 * src/selection.h: marked wrappers for old API as deprecated
8628 2004-04-20 Carl Hetherington <inkscape@carlh.net>
8630 * src/extension/internal/ps.cpp, src/extension/internal/ps.h:
8631 Fixed some bugs in exporting images that seem to have been
8632 introduced when the code was copied from the gimp. They caused
8633 problems when exporting bitmap images to PS.
8635 * src/file.cpp: fix bug whereby the first file loaded in a session
8636 would not have its modified status checked when closed. Hence if
8637 you modified the first file you loaded and then closed it, you
8638 would not be asked to confirm the close.
8640 * src/preferences-skeleton.h: add \n to the end of each line to
8641 fix bug 938368.
8643 2004-04-19 MenTaLguY <mental@rydia.net>
8645 * src/arc-context.cpp, src/desktop-handles.h, src/desktop.h,
8646 src/draw-context.cpp, src/draw-context.h, src/forward.h,
8647 src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp,
8648 src/node-context.h, src/rect-context.cpp, src/selection-chemistry.cpp,
8649 src/selection-chemistry.h, src/selection.cpp, src/selection.h,
8650 src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
8651 src/star-context.h, src/text-context.cpp, src/dialogs/xml-tree.cpp,
8652 src/widgets/sp-widget.h:
8654 finished GObject removal from SPSelection
8656 * src/arc-context.h, src/arc-context.cpp, src/desktop.cpp, src/desktop.h,
8657 src/draw-context.cpp, src/draw-context.h, src/node-context.cpp,
8658 src/node-context.h, src/rect-context.cpp, src/rect-context.h,
8659 src/selection.cpp, src/selection.h, src/seltrans.cpp, src/seltrans.h,
8660 src/spiral-context.cpp, src/spiral-context.h, src/text-context.cpp,
8661 src/text-context.h, src/toolbox.cpp:
8663 migrated SPSelection to SigC++ signals (though it's a bit messy
8664 right now)
8666 2004-04-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
8668 * src/dialogs/stroke-style.cpp: Cleanups: greater conformance to
8669 CodingStyle. Moved some declarations to their first use.
8671 2004-04-19 Carl Hetherington <inkscape@carlh.net>
8673 * src/dialogs/stroke-style.cpp, libnr/nr-rect-l.cpp:
8674 Fix a couple of compiler warnings.
8676 * src/dialogs/filedialog-win32.cpp: add OFN_NOCHANGEDIR to Win32
8677 flags in OPENFILENAME structs. This prevents the open / save
8678 boxes from changing the current directory. Any change to the
8679 current directory causes problems for subsequent attempts to
8680 load icons from pixmaps. Also, fix a bug whereby the save
8681 dialogue would sometimes not open due to being passed a filename
8682 it didn't like.
8684 2004-04-19 bulia byak <bulia@users.sourceforge.net>
8686 * shortcuts.cpp selection-chemistry.cpp selection-chemistry.h verbs.cpp
8687 verbs.h
8688 interface.cpp: Clone command (Edit menu, Shift+Ctrl+N)
8690 * sp-use.cpp: Update propagated to parent class (SPItem), misc fixes
8692 * sp-polygon.cpp: Fix for points= updating by adding set_shape call into
8693 _write
8694 (bug 910142)
8696 * text-context.cpp: Do not create text object unless a printable key was
8697 pressed; fixes 934280
8699 * widgets/dash-selector.cpp dialogs/stroke-style.cpp: Removed marker
8700 buttons,
8701 fixed g_free crash in marker menus, added tooltips, added stroke-miterlimit
8702 spinbutton
8704 * splivarot.cpp: Outline handles multiple objects; All commands use correct
8705 stroke_miterlimit
8707 * splivarot.cpp sp-offset.cpp: Fix for 932642
8709 * helper/sodipodi-ctrlrect.cpp: Simplify and fix dashes and offsets
8711 * widgets/gradient-selector.cpp: Tooltip edits
8713 * verbs.cpp verbs.h interface.cpp...: Remove tool options
8715 * seltrans.cpp: Pivot marker made inverse
8717 * toolbox.cpp: More defocusing
8719 * *-context.cpp: Eliminated config widgets from all tools
8721 * toolbox.cpp sp-ellipse.cpp: Ellipse fixes, tooltips
8723 * verbs.cpp: Options -> Preferences
8725 * dialogs/display-settings.cpp: An options dialog, completely new; selector
8726 widget grafted here
8728 * preferences-skeleton.h node-context.cpp select-context.cpp: scaling uses
8729 defaultscale
8731 * dialogs/display-settings.cpp display/nr-arena-image.cpp: Make oversample
8732 saveable
8734 * toolbox.cpp: Aux toolbar for calligraphic
8736 * preferences-skeleton.h: fill-opacity:1 for calligraphic
8738 * select-context.cpp seltrans.cpp seltrans.cpp: Patch to enable box and none
8739 options for per-object selection cue
8741 * main.cpp: Removed C-locale setting, not needed anymore; temporary switch
8742 of
8743 gettext encoding for console output
8745 * inkscape.cpp: Memory fix from sodi
8747 * right-click finishes pen (patch by Carl) draw-context.cpp
8749 2004-04-19 Carl Hetherington <inkscape@carlh.net>
8751 * src/livarot/ShapeRaster.cpp
8752 Fix an unitialised value error that was spotted by valgrind.
8754 2004-04-18 MenTaLguY <mental@rydia.net>
8756 * src/selection.cpp, src/selection.h, src/selection-chemistry.cpp,
8757 src/seltrans.cpp, src/nodepath.cpp:
8758 made all SPSelection members private, and changed all methods into
8759 real C++ methods (with temporary inline wrappers for the old C
8760 pseudo-methods)
8762 2004-04-18 Carl Hetherington <inkscape@carlh.net>
8764 * src/print.cpp, src/print.h, src/sp-text.cpp
8765 src/extension/extension.cpp src/extension/extension.h,
8766 src/extension/implementation/implementation.cpp,
8767 src/extension/implementation/implementation.h,
8768 src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
8769 src/extension/internal/ps.cpp, src/extension/internal/ps.h,
8770 Add very basic feature to allow PS text to be exported as real
8771 text, rather than being converted to paths first. Needs some
8772 work, mostly on font handling.
8774 * src/seltrans.cpp: Slightly improve placement of the bounding
8775 box selection cue.
8777 * src/sp-shape.cpp: various marker-related cleanups, mostly factoring out
8778 common code into functions.
8780 2004-04-17 MenTaLguY <mental@rydia.net>
8781 * src/inkscape.cpp, src/node-context.cpp, src/selection-chemistry.cpp,
8782 src/selection.cpp, src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
8783 src/sp-item.cpp, src/sp-offset.cpp, src/dialogs/transformation.cpp,
8784 src/libnr/nr-rect.cpp, src/libnr/nr-rect.h:
8785 Cleaned up NR::Rect API and made SPSelection's desktop pointer private.
8787 * src/display/sp-canvas.cpp, src/libnr/nr-convex-hull.h,
8788 src/libnr/nr-rect.h:
8790 First use of NR::ConvexHull (for propagating canvas bounding boxes)
8792 2004-04-17 Kees Cook <kees@outflux.net>
8794 * share/icons/icons.svg, src/verbs.cpp: made last three ugly menu icons.
8796 2004-04-17 Nathan Hurst <njh@mail.csse.monash.edu.au>
8798 * configure.in src/draw-context.cpp src/dropper-context.cpp
8799 src/dyna-draw-context.cpp src/nodepath.cpp src/nodepath.h
8800 src/path-chemistry.cpp src/sp-chars.cpp src/sp-ellipse.cpp
8801 src/sp-offset.cpp src/sp-path.cpp src/sp-polygon.cpp
8802 src/sp-shape.cpp src/sp-text.cpp src/splivarot.cpp src/style.cpp
8803 src/style.h src/dialogs/fill-style.cpp
8804 src/dialogs/object-properties.cpp src/dialogs/stroke-style.cpp
8805 src/display/canvas-bpath.cpp src/display/canvas-bpath.h
8806 src/display/canvas-grid.h src/display/curve.cpp
8807 src/display/curve.h src/display/nr-arena-glyphs.cpp
8808 src/display/nr-arena-glyphs.h src/display/nr-arena-shape.cpp
8809 src/display/sodipodi-ctrl.cpp src/display/sodipodi-ctrl.h
8810 src/display/sodipodi-ctrlrect.h src/display/sp-canvas-util.cpp
8811 src/display/sp-canvas-util.h src/display/sp-canvas.cpp
8812 src/display/sp-canvas.h src/display/sp-ctrlline.cpp
8813 src/extension/internal/ps.cpp src/extension/internal/ps.h
8814 src/libnr/Makefile.am src/libnr/libnr.def src/libnr/nr-path.cpp
8815 src/libnr/nr-path.h src/libnr/nr-svp-private.h
8816 src/libnr/nr-svp-render.cpp src/libnr/nr-svp-render.h
8817 src/libnr/nr-svp.cpp src/libnr/nr-svp.h
8818 src/libnrtype/nr-rasterfont.cpp src/libnrtype/nr-type-ft2.cpp
8819 src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-w32.cpp
8820 src/libnrtype/nr-typeface.cpp src/livarot/PathCutting.cpp
8821 src/svg/gnome-canvas-bpath-util.cpp
8822 src/svg/gnome-canvas-bpath-util.h src/svg/svg-path.cpp
8823 src/svg/svg.h: removed libart.
8825 * src/libnr/nr-svp-uncross.cpp src/libnr/nr-svp-uncross.h: deleted
8826 uncross and SVL routines.
8829 2004-04-15 Carl Hetherington <inkscape@carlh.net>
8831 * src/make.exclude, src/make.dep, src/make.files, src/make.ofiles:
8832 Various fixes to the Win32 build following rearrangement of some
8833 source files and cleanups to libnr.
8835 * src/sp-text.cpp: remove an unused variable.
8837 * src/display/sodipodi-ctrlrect.cpp: removed two unused variables.
8839 2004-04-16 MenTaLguY <mental@rydia.net>
8841 * src/selection.cpp, src/selection.h, src/forward.h: initial
8842 C++ification of SPSelection class
8844 2004-04-15 Kees Cook <kees@outflux.net>
8846 * debian/control, debian/changes: dropping (currently) unused
8847 dependancies. Added "0.39cvs" tag.
8849 2004-04-15 Carl Hetherington <inkscape@carlh.net>
8851 * src/seltrans.cpp, src/helper/sodipodi-ctrlrect.cpp,
8852 src/helper/sodipodi-ctrlrect.h:
8853 Use black, dashed bounding boxes for indicating itemselection,
8854 rather than red, solid boxes (as suggested by Bulia).
8856 * src/desktop.cpp:
8857 Small fix for the problem whereby the first file loaded in an
8858 Inkscape session will not have its grid set up properly. This was
8859 my patch #935013.
8861 * src/dialogs/filedialog-win32.cpp:
8862 Use the extension system to build the list of allowable file types
8863 for save. This means that save as PS and EPS work properly.
8865 * src/streams-zlib.cpp, src/livarot/PathConversion.cpp,
8866 src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
8867 src/livarot/PathStroke.cpp, src/livarot/Shape.cpp,
8868 src/livarot/ShapeMisc.cpp, src/display/nr-arena-glyphs.cpp,
8869 src/helper/sodipodi-ctrlrect.cpp, src/helper/sp-canvas.cpp,
8870 src/extension/internal/win32.cpp:
8871 Fix compiler warnings, mostly about unused variables.
8873 * src/helper/sp-canvas-util.cpp:
8874 Fix what I and someone else considered to be an obvious typo. The
8875 function in question isn't used, however, so it's a bit difficult
8876 to test.
8878 * src/libnrtype/nr-rasterfont.cpp:
8879 Fix a warning wrt a cast from NR::Matrix to NRMatrix.
8881 * src/sp-shape.cpp:
8882 Fix bug #935758.
8885 2004-04-14 Ted Gould <ted@gould.cx>
8887 * src/file.cpp, dialogs/filedialog.cpp:
8888 Making it so that the filename will get placed in the save as dialog
8889 if there is a name for the file. Otherwise the last save directory
8890 is used (properly now)
8892 2004-04-15 MenTaLguY <mental@rydia.net>
8894 * most files in src/: removed many old "compatable" struct typedefs
8896 * src/libarikkei/arikkei-dict.cpp, src/libarikkei/arikkei-dict.h:
8897 removed unused arikkei files
8899 * configure.in: added gtkmm dependency
8901 2004-04-14 Kees Cook <kees@outflux.net>
8903 * src/helper/unit-menu.cpp: Turns out I found a 2nd bug while
8904 investigating patch 934358. I've applied this patch again, which gives
8905 us the entire fix.
8906 * src/draw-context.cpp: Investigated patch 934351 from cth103. Applied a
8907 slight variation to conform to the function calling styles of that code.
8908 * configure.in: Implemented gcc version test for >= 3.0.0
8909 * src/file.cpp, src/interface.cpp, share/icons/icons.svg, src/verbs.cbb:
8910 finished "File / Revert" implementation. Found a memory leak in
8911 "file_save". Added more sanity checking to "sp_file_revert" and more
8912 status messages.
8913 * src/main.cpp, src/file.h, src/file.cpp: removed redundant code,
8914 implemented
8915 in "sp_file_open".
8917 2004-04-13 Kees Cook <kees@outflux.net>
8919 * tools-version.sh: added a possible fix for BSDish tools.
8920 * configure.in, share/patterns/Makefile.am: inkscape janitor strikes
8921 again! This is a quick cleanup to Ted's new directories. Looks
8922 like "patterns" got left out.
8923 * share/clipart/.cvsignore, share/templates/.cvsignore,
8924 share/examples/.cvsignore, share/fonts/.cvsignore,
8925 share/gradients/.cvsignore, share/keyboards/.cvsignore,
8926 share/palettes/.cvsignore, share/patterns/.cvsignore:
8927 Added Makefile build-cruft to .cvsignores.
8928 * src/helper/unit-menu.cpp: applied a variation to patch 934358 from cth103
8929 to fix grid unit changing bug.
8930 * configure.in: fixed capitalization of "libpng" to avoid confusion.
8931 * src/sp-namedview.cpp, src/document.cpp, src/document.h, src/file.cpp,
8932 src/file.h, src/document-undo.cpp, src/interface.cpp, src/verbs.cpp,
8933 src/verbs.h:
8934 Newly opened files will only create new windows if the current document
8935 is untouched. (RFE#928517)
8936 Added support for future "File/Revert" handling. Needs
8937 a little more support in the SPDocument structure. See notes in
8938 "src/file.cpp", function "sp_file_revert_dialog".
8940 2004-04-13 Ted Gould <ted@gould.cx>
8942 * configure.in, share/Makefile.am, share/clipart/Makefile.am,
8943 share/examples/Makefile.am, share/fonts/Makefile.am
8944 share/gradients/Makefile.am, share/keyboards/Makefile.am
8945 share/markers/Makefile.am, share/palettes/Makefile.am
8946 share/screens/Makefile.am, share/templates/Makefile.am:
8947 Making it so that the clipart and everything else gets put in
8948 the tarball, and also get installed in the share directory. Many
8949 of these have just 'README' files, but they now have good place-
8950 holders for further development.
8952 2004-04-12 Kees Cook <kees@outflux.net>
8954 * src/dialogs/stroke-style.cpp, src/Makefile.am, src/dialogs/Makefile.am,
8955 src/widgets/Makefile.am, configure.in: fixed up INKSCAPE_*DIR paths so CVS
8956 will compile happily for me. This way if paths change, files will be
8957 recompiled. The old way would let configure run again (changing the
8958 datadir path) without forcing a recompile, which could break the
8959 compiled paths.
8961 2004-04-13 John Cliff <simarilius@yahoo.com>
8962 * src/sp-shape.cpp, src/dialogs/stroke-style.cpp:
8963 Couple of changes to marker related code, mid and end markers now point in
8964 correct
8965 direction, turning off start markers behaves correctly.
8966 This follows on from changes made by me and Carl Hetherington that were
8967 commited
8968 yesterday to
8969 src/inkscape-stock.cpp, src/sp-item.cpp, src/sp-marker.cpp,
8970 src/sp-shape.cpp,
8971 src/style.cpp, src/style.h, src/dialogs/stroke-style.cpp
8972 to implement marker UI and fixes to the marker rendering code.
8974 2004-04-11 Ted Gould <ted@gould.cx>
8976 * src/extension/system.cpp, src/extension/internal/eps-out.cpp
8977 src/extension/internal/eps-out.h:
8978 First pass at a file save dialog with EPS output. The dialog
8979 sets the bounding box in the file. Comments encouraged.
8981 2004-04-11 Ted Gould <ted@gould.cx>
8983 * src/file.cpp, src/main.cpp, src/print.cpp, src/extension/init.cpp,
8984 src/extension/init.h, src/extension/system.cpp, src/extension/system.h,
8985 src/extension/implementation/script.cpp,
8986 src/extension/internal/eps-out.cpp,
8987 src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
8988 src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
8989 src/extension/internal/win32.cpp:
8990 Change alot of files, but small changes. Basically just took
8991 system.cpp and init.cpp and finally ported them to the Inkscape::
8992 Extension namespace. Cleaned up the code in them a bunch, it is
8993 much easier to read now! All the other files are just referencing
8994 these changes.
8996 2004-04-11 Kees Cook <kees@outflux.net>
8998 * src/verbs.h, src/verbs.cpp, src/interface.cpp, src/interface.h: replaced
8999 the rest of the missing menu verbs: "View New", "Cleanup". Created
9000 generic function to add icons to a given menu item (for submenu icons
9001 mostly).
9002 * share/icons/icons.svg: added "selection_cleanup", "selection_deselect",
9003 "selection_select_all". Corrected "view_new" and "selection_smooth",
9004 "dialog_toggle", "dialog_tool_options", "file_open_recent".
9005 * src/selection-chemistry.cpp, src/selection-chemistry.h: renamed
9006 "selection_cleanup" function.
9008 2004-04-11 Jon Phillip <jon@rejon.org>
9010 * Makefile.mingw share/Makefile.am src/Makefile.am
9011 share/markers/Makefile.am share/markers/.cvsignore config.h.mingw
9012 configure.in:
9013 Added the proper infrastructure to get files to the right location for
9014 markers.
9016 * share/tutorials/tipsandtricks.svg: Deleted the URL trick because it no
9017 longer works or something.
9019 2004-04-11 Kees Cook <kees@outflux.net>
9021 * src/verbs.h, src/verbs.cpp: added verbs for the Help and Tutorials menus.
9022 * src/interface.cpp: replaced contents of sp_ui_menu_help to use new verbs.
9023 * src/help.h, src/help.cpp: replaced sp_help_keys with more generic
9024 sp_help_open_screen, similar to sp_help_open_tutorial.
9025 * share/icons/icons.svg: created really ugly "help_tutorials" and
9026 "help_keys" icons. The "help_keys" one needs the most help. :)
9028 2004-04-09 Ted Gould <ted@gould.cx>
9030 * share/extensions/Makefile.am, share/extensions/epsi_output.inkmod,
9031 share/extensions/ps2epsi.sh, src/extension/extension.cpp,
9032 src/extension/extension.h, src/extension/init.cpp,
9033 src/extension/implementation/implementation.cpp,
9034 src/extension/implementation/implementation.h,
9035 src/extension/implementation/script.cpp,
9036 src/extension/implementation/script.h,
9037 src/extension/internal/Makefile.am, src/extension/internal/eps-out.cpp,
9038 src/extension/internal/eps-out.h, src/extension/internal/ps.cpp:
9040 Okay, these are some changes that I've had in my directory for
9041 a little while.
9043 1) adding the basics of checking extensions. This will allow
9044 them to remove themselves based on their dependencies failing.
9046 2) Adding the concepts of a 'helper extension' to scripts. This
9047 allows them to use other extensions for handling the data, so
9048 they don't have to deal with SVG directly - Inkscape will
9049 build the pipeline. An example of this is the epsi output.
9051 3) Adding the bounding box change provided by Carl Hetherington
9052 to the Postscript output. The EPS output plugin sets this, so
9053 now EPSes have smaller bounding boxes. A GUI needs to be
9054 written for this setting.
9056 2004-04-08 MenTaLguY <mental@rydia.net>
9058 * configure.in, src/svg/ftos.cpp: fix for OS X build
9060 * src/extensions/internal.ps.cpp: crash fix
9062 2004-04-07 MenTaLguY <mental@rydia.net>
9064 * src/xml/repr.cpp: adjusted the advertising comment in the default
9065 document template (we need a real default document template, btw)
9067 * src/svg/ftos.cpp, src/svg/itos.cpp, src/svg/round.cpp,
9068 src/svg/ftos.h, src/svg/stringstream.h: incorporated Bryce's number
9069 serializing code (disabled for now, due to the impending release)
9071 * src/dialogs/stroke-style.cpp, src/dialogs/sp-shape.cpp:
9072 nuked unused variables
9074 2004-04-07 bulia byak <bulia@users.sourceforge.net>
9076 * icons.svg: Alignment fix
9078 * src/select-toolbar.cpp: Swapped rotate buttons
9080 * share/tutorials/: Cleanup, added Russian translation of basic
9082 * extension/extension.cpp extension/system.cpp extension/internal/ps.cpp
9083 extension/implementation/script/cpp: Fixes to make non-ascii filenames work
9084 again
9086 * src/verbs.cpp: Remove xpm icon that causes trouble on win32
9088 * share/examples/: new gradient.svg, tiger.svgz, cleanup
9090 * src/widgets/gradient-vector.cpp: Crash fix: loading new gradient into the
9091 editor does not completely reset it
9093 * share/icons/icons.svg: New dialog icons, draw tool icons, changed colors
9095 * src/dialogs/align.cpp src/helper/bezier-utils.cpp: remove pjrm's debug
9096 output
9098 * share/tutorials/: SVG cleanup: remove unused font properties, wrong radius
9099 paths in ellipses (leftovers from old versions). Expanded & updated tips &
9100 tricks.
9102 * file.cpp: Set uri on save in one place; save 'offcially' from here only
9104 * system.cpp system.h: Remove redundant uri-setting on open and save, add
9105 official arg to sp_module_system_save to prevent docname/docbase changing on
9106 temporary saves
9108 * many files: _() fixes, edits in labels, messages, tooltips, mnemonics
9110 * src/inkscape.cpp: remove redundancy in error messages for failing to load
9111 prefs
9113 * share/extensions src/extension/internal: Renaming file formats to include
9114 (*.ext)
9116 * src/interface.cpp src/dialogs/filedialog.cpp: Transientize, make modal
9117 open/save dialogs, ditto for warning overwrite and make it unresizeable
9119 * src/dialogs/xml-tree.cpp: Do not deselect item on canvas when a
9120 non-selectable
9121 thing is highlighted in xml editor
9123 * src/sp-guide.cpp: Guide position updated after undo
9125 * src/widgets/sp-xmlview-attr-list.cpp: Max length of viewable attributes
9126 increased
9128 * many files: Adib's svgostringstream patches to remove printfs
9130 * src/selection-chemistry.cpp: Crash fix when pasting style to an object
9131 that
9132 has none (e.g. group)
9134 * src/knot.cpp: Knot dragging autoscrolls
9136 * src/sp-text.cpp src/text-context.cpp: Cursor movements autoscroll
9138 * src/desktop.h src/desktop.cpp: autoscrollspeed can be overridden in call
9139 to
9140 sp_desktop_scroll_to_point
9142 * src/text-context.cpp src/sp-text.cpp: Text cursor made inverse. Initial
9143 cursor
9144 after click is no longer horizontal.
9146 * src/helper/sp-ctrlline.cpp: Always-visible inversion for ctrlline
9148 * src/libnrtype/nr-type-w32.cpp: Fix stretch and variant on win32
9150 * src/widgets/gradient-vector.cpp: Undo fix; new stop takes average of its
9151 neighbors' colors; is between stops even when the last stop is selected
9153 2004-04-06 Ted Gould <ted@gould.cx>
9155 * src/file.cpp, src/dialogs/filedialog.cpp, src/extension/extension.cpp,
9156 src/extension/system.cpp:
9157 Moving code around so that the filename extension gets put on by
9158 the extension that is saving the file. This adds a couple complications
9159 in that the extension now needs to check for overwriting the file
9160 and also set the document URI. Better overall, but a PITA.
9162 2004-04-05 njh <njh@mail.csse.monash.edu.au>
9164 * debian/rules,debian/control: applied patch from Kees Cook to remove
9165 obsolete libraries, and to tidy things up a tad.
9167 2004-04-04 Ted Gould <ted@gould.cx>
9169 * src/main.cpp, src/extension/extension.cpp, src/extension/system.cpp:
9170 Now the input autodetect will try the SVG filter if the autodetect
9171 fails. This was done by the command line, but now it is done
9172 everywhere.
9174 2004-04-04 MenTaLguY <mental@rydia.net>
9176 * src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr.h:
9177 Take the full list of document node children from libxml, and
9178 append them in the correct order. This fixes bug #929348.
9180 * src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr-private.h:
9181 Added API for coping with comments at the root level (i.e. siblings
9182 of the root XML node), and made corresponding changes to the repr-io
9183 code. In theory this should be enough to preserve them upon loading,
9184 though in practice it still doesn't appear to be working (bug #929348).
9185 Is there some libxml thing we need to do?
9187 2004-04-04 Ted Gould <ted@gould.cx>
9189 * a bunch of files
9190 Sorry, I seem to be in some delay getting e-mail. Anyway, a few
9191 files were changed to add in a new parameter 'dataloss' Basically
9192 this signifies that a format was used to save that may not save
9193 the whole document and thus, a pop-up is elevated on close to signal
9194 that you might want to 'really save' this document.
9196 2004-04-03 Ted Gould <ted@gould.cx>
9198 * share/extensions/svgz_input.inkmod, src/file.cpp,
9199 src/extension/extension.cpp, src/extension/internal/svg.cpp:
9200 Making it so that input extensions can specify the output extension
9201 that gets used to save them. If this field isn't filled in, the value
9202 gets set to NULL, and then the Save As dialog is used instead of
9203 just trying to save.
9205 2004-04-03 Ted Gould <ted@gould.cx>
9207 * src/file.cpp, src/main.cpp, src/extension/extension.cpp,
9208 src/extension/extension.h, src/extension/system.cpp,
9209 src/extension/internal/svg.cpp:
9210 Fixing the output_extension flag to not be saved in a file, but also
9211 to be able to be specified by the input module. Also, this fixes
9212 the commandline processing of files to make them use the extension
9213 system.
9215 2004-04-02 Ted Gould <ted@gould.cx>
9217 * src/file.cpp, src/extension/db.cpp, src/extension/internal/svg.cpp:
9218 Changing it so that SVG documents open and default to with
9219 extension namespace. Also, autodetect is reenabled.
9221 2004-04-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
9223 * src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Fix my
9224 previous commit.
9226 2004-04-02 Ted Gould <ted@gould.cx>
9228 * share/extensions/svgz_output.inkmod, src/main.cpp, src/print.cpp,
9229 src/extension/init.cpp, src/extension/implementation/script.cpp,
9230 src/extension/implementation/script.h,
9231 src/extension/internal/Makefile.am, src/extension/internal/ps-out.cpp,
9232 src/extension/internal/ps-out.h, src/extension/internal/ps.cpp:
9233 Fixing the commandline printing. This required fixing both the
9234 print driver to handle the newer extensions stuff. It seems
9235 happy now. I went ahead and implemented save as postscript
9236 while I was at it.
9238 2004-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
9240 * src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Ensure that the
9241 "improved" value is never worse than the previous guess.
9243 * src/helper/bezier-utils.cpp:
9244 Greater CodingStyle conformance, mainly whitespace changes.
9246 * src/helper/bezier-utils.cpp (sp_bezier_fit_cubic_full):
9247 Always reparameterize between generate_bezier and calc_max_error.
9248 Switch from discouraged alloca (see man page) to g_new, at cost of
9249 some extra g_free calls in the code.
9250 (reparameterize): Do in-place modification.
9252 * src/helper/bezier-utils-test.cpp:
9253 Add tests for generate_bezier, sp_bezier_fit_cubic_full.
9254 Change to a simpler test bezier.
9256 * src/helper/bezier-utils.cpp (sp_darray_left_tangent,
9257 sp_darray_right_tangent):
9258 Switch to using just the two end points for calculating the gradient.
9259 (The old code could sometimes cause g_warning's.)
9260 Correct the documentation of requirements.
9261 (sp_darray_center_tangent): Similarly remove the #if'ed out code for
9262 looking at more than two points.
9264 See doc/Changelog_archive.txt for older entries
9266 # Local Variables:
9267 # tab-width:8
9268 # indent-tabs-mode:t
9269 # End:
9270 # vim: tabstop=4:noexpandtab:shiftwidth=4