Code

inkscape.git
16 years agoDon't use SP_ACTIVE_DESKTOP
dvlierop2 [Sun, 23 Nov 2008 19:39:52 +0000 (19:39 +0000)]
Don't use SP_ACTIVE_DESKTOP

16 years ago1) Improve the way the distance to the pointer is taken into account when finding...
dvlierop2 [Sun, 23 Nov 2008 13:55:26 +0000 (13:55 +0000)]
1) Improve the way the distance to the pointer is taken into account when finding the best snap
2) Use this distance also when snapping nodes in the path editor
3) Add a slider in the preferences dialog to control the weighing of this distance

16 years agoUpdating the includes on these files because they need to include simple-node.h as...
Ted Gould [Sun, 23 Nov 2008 04:51:14 +0000 (22:51 -0600)]
Updating the includes on these files because they need to include simple-node.h as they ARE using the implementation.

16 years agoMerging in the OpenMP work from the mailing list with some improved build files.
Ted Gould [Sun, 23 Nov 2008 04:44:08 +0000 (22:44 -0600)]
Merging in the OpenMP work from the mailing list with some improved build files.

16 years agoadded Guides Creator extension by Jonas Termeau (LP300877)
prokoudine [Sat, 22 Nov 2008 19:25:18 +0000 (19:25 +0000)]
added Guides Creator extension by Jonas Termeau (LP300877)

16 years agoMerge from fe-moved
Ted Gould [Fri, 21 Nov 2008 05:24:08 +0000 (23:24 -0600)]
Merge from fe-moved

16 years agoMerge from trunk
Ted Gould [Sat, 1 Nov 2008 03:43:30 +0000 (22:43 -0500)]
Merge from trunk

16 years agoMaking it so that including simple-node.h will generate an error
Ted Gould [Fri, 31 Oct 2008 21:31:40 +0000 (16:31 -0500)]
Making it so that including simple-node.h will generate an error

16 years agoPatch from Hannes Hochreiner to make it so that attributes on the root node copy...
Ted Gould [Fri, 31 Oct 2008 15:13:48 +0000 (10:13 -0500)]
Patch from Hannes Hochreiner to make it so that attributes on the root node copy correctly.

16 years agoMerge from trunk
Ted Gould [Fri, 31 Oct 2008 15:06:16 +0000 (10:06 -0500)]
Merge from trunk

16 years agoMerge from trunk
Ted Gould [Tue, 28 Oct 2008 04:45:31 +0000 (23:45 -0500)]
Merge from trunk

16 years agoFrom trunk
Ted Gould [Mon, 27 Oct 2008 18:03:09 +0000 (13:03 -0500)]
From trunk

16 years agoMerging from trunk
Ted Gould [Sat, 11 Oct 2008 15:16:23 +0000 (11:16 -0400)]
Merging from trunk

16 years agoMerge from trunk.
Ted Gould [Thu, 25 Sep 2008 18:14:41 +0000 (13:14 -0500)]
Merge from trunk.

16 years agoSorry, I got off on a branch and ended up with a bunch of things. I'm just going...
Ted Gould [Thu, 25 Sep 2008 04:27:18 +0000 (23:27 -0500)]
Sorry, I got off on a branch and ended up with a bunch of things.  I'm just going to flatten and merge...  Here's the list.

* Added a focus mode activated by Shift+F11.  The goal of this mode is to
remove all toolbars for a short period so that you maximize screen area.
Useful on small screens.  Also when you know lots of shortcuts.

* Created what I'm calling "Quick Zoom."  The idea here is to have a modal
zoom for touching up something with fine detail and then returning to what
you're doing.  This is activated with the letter "Q" on the keyboard.  When
you release it, you return back to where you were.  This will zoom in on
selected objects, or if you're in the node tool selected nodes.

* Added .svg on the temporary files in extensions.  This'll make many of
them happier.  This only works on recent versions of GLib, but shouldn't
break older ones more than they already are.

* Moved the Inkscape configuration directory on Linux from ~/.inkscape
to ~/.config/Inkscape.  This is the new way to do things with the cross
desktop naming spec.  I'm unsure whether we should be putting crash dumps
in .config or .cache though.

* Removed 'tools_switch_current' because every usage of it already had a
pointer to where it needed to go.  Removes usage of globals.

* Made it so that dialogs will be transparent when not focused.  This is
an alternate to having the docked, and one that I like better as I feel it
gives me more screen area.  You can adjust how much transparency and the
speed of the animation in the preferences dialog.  (Note: this requires
GTK+ 2.12 and a compositor, but gracefully degrades if you don't have
either)

16 years ago[i18n] Added use of plural forms.
mfloryan [Wed, 24 Sep 2008 13:41:17 +0000 (13:41 +0000)]
[i18n] Added use of plural forms.

16 years agoWhitespace cleanup
joncruz [Wed, 24 Sep 2008 09:29:48 +0000 (09:29 +0000)]
Whitespace cleanup

16 years agoAdded base metadata to exported png files. Fixes bug #189954.
joncruz [Wed, 24 Sep 2008 09:01:35 +0000 (09:01 +0000)]
Added base metadata to exported png files. Fixes bug #189954.

16 years agoWhitespace cleanup
joncruz [Wed, 24 Sep 2008 04:11:55 +0000 (04:11 +0000)]
Whitespace cleanup

16 years ago* Lots of documentation for the Inkscape::XML namespace
tweenk [Tue, 23 Sep 2008 23:34:58 +0000 (23:34 +0000)]
* Lots of documentation for the Inkscape::XML namespace
* Doxygen fixes for a few files
* Garbage-collected allocator for STL containers

16 years agoadd a path parameter to doeffect_stack_test to test a bug + fix a stupid error. sorry.
jfbarraud [Tue, 23 Sep 2008 22:12:19 +0000 (22:12 +0000)]
add a path parameter to doeffect_stack_test to test a bug + fix a stupid error. sorry.

16 years agoadd a path parameter to doeffect_stack_test to test a bug
jfbarraud [Tue, 23 Sep 2008 22:06:28 +0000 (22:06 +0000)]
add a path parameter to doeffect_stack_test to test a bug

16 years agoremove lpeobject_ref when invalid lpe name
johanengelen [Tue, 23 Sep 2008 21:38:42 +0000 (21:38 +0000)]
remove lpeobject_ref when invalid lpe name

16 years agofix crash on entering invalid lpe name in xml
johanengelen [Tue, 23 Sep 2008 21:32:47 +0000 (21:32 +0000)]
fix crash on entering invalid lpe name in xml

16 years ago* Bad translation, spotted by Andrea Celli
luca_bruno [Tue, 23 Sep 2008 15:34:59 +0000 (15:34 +0000)]
* Bad translation, spotted by Andrea Celli

16 years agoit's not a good idea to change key of arenaitem in the middle of an update; not only...
buliabyak [Tue, 23 Sep 2008 04:41:02 +0000 (04:41 +0000)]
it's not a good idea to change key of arenaitem in the middle of an update; not only this is unnecessary, but it results in a hard to catch windows-only crash

16 years agoMade bitmap printing use the DPI setting (bug 258916)
kiirala [Mon, 22 Sep 2008 14:07:36 +0000 (14:07 +0000)]
Made bitmap printing use the DPI setting (bug 258916)

16 years agoAdjust blink time and base frequency on gtk setting. Fixes bug #272605.
joncruz [Mon, 22 Sep 2008 07:32:45 +0000 (07:32 +0000)]
Adjust blink time and base frequency on gtk setting. Fixes bug #272605.

16 years agohide item instead of unreffing, and unref arena to prevent memory leak
buliabyak [Mon, 22 Sep 2008 02:05:03 +0000 (02:05 +0000)]
hide item instead of unreffing, and unref arena to prevent memory leak

16 years agoreleasing fails to delete document, even when memory is scarce, so delete it explicitly
buliabyak [Sun, 21 Sep 2008 22:25:37 +0000 (22:25 +0000)]
releasing fails to delete document, even when memory is scarce, so delete it explicitly

16 years agoon closing and document change, if this was the last view on this document, delete...
buliabyak [Sun, 21 Sep 2008 22:24:48 +0000 (22:24 +0000)]
on closing and document change, if this was the last view on this document, delete document to free up memory

16 years agorewrote the document list as a (SPDocument,use_count) map, incrementing use_count...
buliabyak [Sun, 21 Sep 2008 22:23:23 +0000 (22:23 +0000)]
rewrote the document list as a (SPDocument,use_count) map, incrementing use_count for each view of the document; address warnings and fixmes

16 years agofix crash: desktop->selection was not deleted when desktop is destroyed
buliabyak [Sun, 21 Sep 2008 22:16:54 +0000 (22:16 +0000)]
fix crash: desktop->selection was not deleted when desktop is destroyed

16 years ago- refactor snapping code, removing code duplication
dvlierop2 [Sun, 21 Sep 2008 20:18:04 +0000 (20:18 +0000)]
- refactor snapping code, removing code duplication
- fix snapping to page corners

16 years agofix crash: connections were not disconnected on destruction
buliabyak [Sun, 21 Sep 2008 18:37:10 +0000 (18:37 +0000)]
fix crash: connections were not disconnected on destruction

16 years agoFix for GIMP palette export: check that the node has a hasAttributes() method before...
sasilver [Sun, 21 Sep 2008 15:10:19 +0000 (15:10 +0000)]
Fix for GIMP palette export: check that the node has a hasAttributes() method before calling it, otherwise it throws an exception.

16 years agoConst correctness
joncruz [Sun, 21 Sep 2008 10:25:02 +0000 (10:25 +0000)]
Const correctness

16 years agoFixes for missing icons and icon size issues.
joncruz [Sun, 21 Sep 2008 09:59:34 +0000 (09:59 +0000)]
Fixes for missing icons and icon size issues.

16 years agoif export (most likely cairo) fails, issue a warning instead of crashing
buliabyak [Sun, 21 Sep 2008 00:06:01 +0000 (00:06 +0000)]
if export (most likely cairo) fails, issue a warning instead of crashing

16 years agoproperly detach SPObject from repr when deleting clone
buliabyak [Sat, 20 Sep 2008 23:58:20 +0000 (23:58 +0000)]
properly detach SPObject from repr when deleting clone

16 years agofix overreffing of reprs by clones: only ref a repr by a non-cloned SPObject
buliabyak [Sat, 20 Sep 2008 23:46:21 +0000 (23:46 +0000)]
fix overreffing of reprs by clones: only ref a repr by a non-cloned SPObject

16 years agorelease reprs properly
buliabyak [Sat, 20 Sep 2008 23:37:34 +0000 (23:37 +0000)]
release reprs properly

16 years agofix leak and potential crash by disconnecting on delete
buliabyak [Sat, 20 Sep 2008 21:02:26 +0000 (21:02 +0000)]
fix leak and potential crash by disconnecting on delete

16 years agoDon't clip mask surface to mask bounding box.
tavmjong [Sat, 20 Sep 2008 13:14:01 +0000 (13:14 +0000)]
Don't clip mask surface to mask bounding box.

The mask bounding box is the geometric bounding box which dosn't allow
for filters that can extend outside the box. Partial fix for bug 208217.

16 years agofix invalid color:none; optimize opacity and marker-... properties
buliabyak [Fri, 19 Sep 2008 21:31:30 +0000 (21:31 +0000)]
fix invalid color:none; optimize opacity and marker-... properties

16 years agofix writing invalid color:none; optimize opacity (only if <1) and marker-... (only...
buliabyak [Fri, 19 Sep 2008 21:28:55 +0000 (21:28 +0000)]
fix writing invalid color:none; optimize opacity (only if <1) and marker-... (only if different from marker)

16 years agoAdd test-display.cpp to excludes
ishmal [Fri, 19 Sep 2008 19:45:11 +0000 (19:45 +0000)]
Add test-display.cpp to excludes

16 years agoTweak of member to Geom class
ishmal [Fri, 19 Sep 2008 18:40:31 +0000 (18:40 +0000)]
Tweak of member to Geom class

16 years agoshift+letters are reserved for modes inside tools, so we cannot use them for global...
buliabyak [Fri, 19 Sep 2008 18:13:32 +0000 (18:13 +0000)]
shift+letters are reserved for modes inside tools, so we cannot use them for global shortcutas

16 years agoby default, try square arrangement, not 1 row as before
buliabyak [Fri, 19 Sep 2008 18:03:15 +0000 (18:03 +0000)]
by default, try square arrangement, not 1 row as before

16 years agoChange function arg from NR::Matrix to Geom::Matrix. Possible serious bug.
ishmal [Fri, 19 Sep 2008 17:06:35 +0000 (17:06 +0000)]
Change function arg from NR::Matrix to Geom::Matrix.   Possible serious bug.

16 years agotweak tool update
buliabyak [Fri, 19 Sep 2008 16:47:55 +0000 (16:47 +0000)]
tweak tool update

16 years agonew tweak icons (please ALWAYS save this file with inline attrs and no indent\!)
buliabyak [Fri, 19 Sep 2008 16:14:47 +0000 (16:14 +0000)]
new tweak icons (please ALWAYS save this file with inline attrs and no indent\!)

16 years agotransform modes for tweak tool
buliabyak [Fri, 19 Sep 2008 16:11:36 +0000 (16:11 +0000)]
transform modes for tweak tool

16 years ago[INTL] Updated POTFILES
mfloryan [Fri, 19 Sep 2008 14:30:56 +0000 (14:30 +0000)]
[INTL] Updated POTFILES

16 years agoWarning cleanup
joncruz [Fri, 19 Sep 2008 05:45:08 +0000 (05:45 +0000)]
Warning cleanup

16 years agoYet another NR ==> Geom change
cilix42 [Thu, 18 Sep 2008 21:10:10 +0000 (21:10 +0000)]
Yet another NR ==> Geom change

16 years agoNext roud of NR ==> Geom conversion
cilix42 [Thu, 18 Sep 2008 17:48:42 +0000 (17:48 +0000)]
Next roud of NR ==> Geom conversion

16 years agoNR ==> Geom conversion in sp-canvas
cilix42 [Thu, 18 Sep 2008 17:44:03 +0000 (17:44 +0000)]
NR ==> Geom conversion in sp-canvas

16 years agoMore NR::Point ==> Geom::Point
cilix42 [Thu, 18 Sep 2008 17:43:41 +0000 (17:43 +0000)]
More NR::Point ==> Geom::Point

16 years agoMore NR ==> Geom conversion (points and some matrices/transforms)
cilix42 [Thu, 18 Sep 2008 17:42:51 +0000 (17:42 +0000)]
More NR ==> Geom conversion (points and some matrices/transforms)

16 years agoSome NR::Point ==> Geom::Point replacements
cilix42 [Thu, 18 Sep 2008 17:41:03 +0000 (17:41 +0000)]
Some NR::Point ==> Geom::Point replacements

16 years agoFix prerender shortcut by size. Fixes bug #262916.
joncruz [Thu, 18 Sep 2008 07:38:48 +0000 (07:38 +0000)]
Fix prerender shortcut by size. Fixes bug #262916.

16 years agoFixed initialization order issue
joncruz [Thu, 18 Sep 2008 04:50:18 +0000 (04:50 +0000)]
Fixed initialization order issue

16 years agolpe-vonkoch: added checkbox to restrict to (orientation preserving or not) similarity...
jfbarraud [Wed, 17 Sep 2008 22:38:48 +0000 (22:38 +0000)]
lpe-vonkoch: added checkbox to restrict to (orientation preserving or not) similarity transforms.

16 years agoFix minor breakage in grid preferences caused by pref refactoring.
tweenk [Wed, 17 Sep 2008 14:29:50 +0000 (14:29 +0000)]
Fix minor breakage in grid preferences caused by pref refactoring.

16 years agolpe-vonkoch: updated to handle groups + changed parameter interpretation to allow...
jfbarraud [Wed, 17 Sep 2008 00:26:46 +0000 (00:26 +0000)]
lpe-vonkoch: updated to handle groups + changed parameter interpretation to allow general transformations

16 years agofix bug 269390, whitespace
buliabyak [Tue, 16 Sep 2008 23:18:11 +0000 (23:18 +0000)]
fix bug 269390, whitespace

16 years agoAdd a header with forward declarations for the XML namespace.
tweenk [Tue, 16 Sep 2008 22:09:44 +0000 (22:09 +0000)]
Add a header with forward declarations for the XML namespace.

16 years agobug 202103: crash then putting text containing a soft hyphen character (u00AD) onto...
cyreve [Tue, 16 Sep 2008 22:08:41 +0000 (22:08 +0000)]
bug 202103: crash then putting text containing a soft hyphen character (u00AD) onto a path

16 years agoFix some bugs introduced by the preferences rewrite.
tweenk [Tue, 16 Sep 2008 22:05:55 +0000 (22:05 +0000)]
Fix some bugs introduced by the preferences rewrite.

16 years agoFix transformation for items rendered as bitmaps (i.e. filters) in
tavmjong [Tue, 16 Sep 2008 20:55:21 +0000 (20:55 +0000)]
Fix transformation for items rendered as bitmaps (i.e. filters) in
Cairo PDF output.

16 years agoFor so long I didn't have time to update the translation.
dinhtrung [Tue, 16 Sep 2008 17:15:51 +0000 (17:15 +0000)]
For so long I didn't have time to update the translation.
I'll spend more time on this.

Update a few new strings.

16 years agoRefactored preferences handling into a new version of
tweenk [Tue, 16 Sep 2008 17:15:22 +0000 (17:15 +0000)]
Refactored preferences handling into a new version of
the Inkscape::Preferences class. Removed all use of
prefs_get_string_attribute(), pref_path_get_nth_child() and
create_pref() in favor of the new API. Replaced some "0 or 1" integer
preferences with booleans.

16 years agofix leak of the arena and arenaitem
buliabyak [Tue, 16 Sep 2008 16:37:23 +0000 (16:37 +0000)]
fix leak of the arena and arenaitem

16 years agohide the item shown for tracing, fixes leak
buliabyak [Tue, 16 Sep 2008 16:35:18 +0000 (16:35 +0000)]
hide the item shown for tracing, fixes leak

16 years agothis item is not hide'd, so unref it instead to prevent leak
buliabyak [Tue, 16 Sep 2008 16:33:31 +0000 (16:33 +0000)]
this item is not hide'd, so unref it instead to prevent leak

16 years agoremove extra unref; now ref/unref is done by show/hide; this used to stop this arenai...
buliabyak [Tue, 16 Sep 2008 16:31:48 +0000 (16:31 +0000)]
remove extra unref; now ref/unref is done by show/hide; this used to stop this arenaitem from leaking, but this is now fixed properly in SPItem

16 years agoremove unneeded ref, arenaitem is reffed when created on invoke_show and unreffed...
buliabyak [Tue, 16 Sep 2008 16:22:47 +0000 (16:22 +0000)]
remove unneeded ref, arenaitem is reffed when created on invoke_show and unreffed by invoke_hide; this ref caused most arenaitems to leak

16 years agothe proper way to delete a SPDocument, according to mental
buliabyak [Tue, 16 Sep 2008 16:14:06 +0000 (16:14 +0000)]
the proper way to delete a SPDocument, according to mental

16 years agolpe-knot update. Each crossing can be flipped independently.
jfbarraud [Tue, 16 Sep 2008 08:15:41 +0000 (08:15 +0000)]
lpe-knot update. Each crossing can be flipped independently.

16 years agoFinish the original command-name addition.
joncruz [Tue, 16 Sep 2008 04:42:01 +0000 (04:42 +0000)]
Finish the original command-name addition.

16 years agominor bug fix in portion(pw,a,b) when b is a cut of pw.
jfbarraud [Mon, 15 Sep 2008 22:03:54 +0000 (22:03 +0000)]
minor bug fix in portion(pw,a,b) when b is a cut of pw.

16 years agofix first argument being lost in shell mode
buliabyak [Mon, 15 Sep 2008 21:34:13 +0000 (21:34 +0000)]
fix first argument being lost in shell mode

16 years agoMake displaying of unit in lpe-path-length optional
cilix42 [Sun, 14 Sep 2008 18:29:40 +0000 (18:29 +0000)]
Make displaying of unit in lpe-path-length optional

16 years agoScaling factor for lpe-path-length
cilix42 [Sun, 14 Sep 2008 18:29:20 +0000 (18:29 +0000)]
Scaling factor for lpe-path-length

16 years agoFixes for clipping and masking:
tavmjong [Sun, 14 Sep 2008 10:48:52 +0000 (10:48 +0000)]
Fixes for clipping and masking:
  Transformations.
  For masking, must convert RGBA mask to A for Cairo.

16 years agoWarning cleanup
joncruz [Sun, 14 Sep 2008 06:54:02 +0000 (06:54 +0000)]
Warning cleanup

16 years agoHandle optional bbox behavior. Fixes warning.
joncruz [Sun, 14 Sep 2008 04:59:18 +0000 (04:59 +0000)]
Handle optional bbox behavior. Fixes warning.

16 years agoApplied cleaned-up patch for 'server' or 'shell' mode.
joncruz [Sun, 14 Sep 2008 01:27:50 +0000 (01:27 +0000)]
Applied cleaned-up patch for 'server' or 'shell' mode.
Fixes bug #259303

16 years agoWarning for bug
joncruz [Sun, 14 Sep 2008 01:26:26 +0000 (01:26 +0000)]
Warning for bug

16 years agoonly display flash helperpath warning for shapes other than paths
johanengelen [Sat, 13 Sep 2008 21:29:39 +0000 (21:29 +0000)]
only display flash helperpath warning for shapes other than paths

16 years agofix UI node counting
johanengelen [Sat, 13 Sep 2008 21:18:32 +0000 (21:18 +0000)]
fix UI node counting

16 years agoMore sensible behaviour of the treat-selection-as-group option in align & distribute...
cilix42 [Sat, 13 Sep 2008 20:03:55 +0000 (20:03 +0000)]
More sensible behaviour of the treat-selection-as-group option in align & distribute dialog

16 years agotry to fix bug 257289
johanengelen [Sat, 13 Sep 2008 17:22:02 +0000 (17:22 +0000)]
try to fix bug 257289

16 years agoHide canvas text, too, when lpe-path-length is invisible
cilix42 [Sat, 13 Sep 2008 16:51:16 +0000 (16:51 +0000)]
Hide canvas text, too, when lpe-path-length is invisible

16 years agoAdd option to align & distribute dialog to treat the selection as a group (closes...
cilix42 [Sat, 13 Sep 2008 15:31:36 +0000 (15:31 +0000)]
Add option to align & distribute dialog to treat the selection as a group (closes LP 255933)

16 years agoFix to conform to the RELAX NG schema.
sasilver [Sat, 13 Sep 2008 10:09:33 +0000 (10:09 +0000)]
Fix to conform to the RELAX NG schema.

16 years agoMore tabs
joncruz [Sat, 13 Sep 2008 06:57:34 +0000 (06:57 +0000)]
More tabs

16 years agoWhitespace cleanup
joncruz [Sat, 13 Sep 2008 06:55:45 +0000 (06:55 +0000)]
Whitespace cleanup