Code

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

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

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

15 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)

15 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.

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

15 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.

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

15 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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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)

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

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

15 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.

15 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

15 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

15 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

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

15 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

15 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.

15 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

15 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)

15 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

15 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

15 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

15 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

15 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.

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

15 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\!)

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

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

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

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

15 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

15 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

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

15 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)

15 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

15 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.

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

15 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.

15 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.

15 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

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

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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.

15 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

15 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

15 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

15 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.

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

15 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.

15 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

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

15 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

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

15 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

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

15 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

15 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)

15 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.

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

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

15 years agoupdate 2geom to rev1583
johanengelen [Fri, 12 Sep 2008 23:07:54 +0000 (23:07 +0000)]
update 2geom to rev1583

15 years agofix curve test. curve with empty pathvector is *not* closed.
johanengelen [Thu, 11 Sep 2008 22:07:07 +0000 (22:07 +0000)]
fix curve test. curve with empty pathvector is *not* closed.

15 years agofix curve::penultimate_point old behavior. no longer triggers 2geom exception.
johanengelen [Thu, 11 Sep 2008 22:03:22 +0000 (22:03 +0000)]
fix curve::penultimate_point old behavior.  no longer triggers 2geom exception.

15 years agoconvert almost all libnrtype to Geom::
johanengelen [Thu, 11 Sep 2008 21:44:48 +0000 (21:44 +0000)]
convert almost all libnrtype to Geom::

15 years agoMake tooltip reflect the correct range for calligraphy angle fixation
cilix42 [Thu, 11 Sep 2008 15:18:12 +0000 (15:18 +0000)]
Make tooltip reflect the correct range for calligraphy angle fixation

15 years agoFirst patch for Bug 209199: Update Win32 Save As dialog to include a Title edit box...
jeff_schiller [Thu, 11 Sep 2008 07:39:53 +0000 (07:39 +0000)]
First patch for Bug 209199: Update Win32 Save As dialog to include a Title edit box (and label). This edit box is sync'ed with the RDF and doc-level title and allows a user to edit the title prior to save. This patch does not update the GTK dialogs (that will be submitted in a subsequent patch).

15 years agoLIBNR REMOVAL. remove nartbpath test code in build.xml
johanengelen [Wed, 10 Sep 2008 23:44:47 +0000 (23:44 +0000)]
LIBNR REMOVAL. remove nartbpath test code in build.xml

15 years agoLIBNR REMOVAL. remove nartbpath code!!!
johanengelen [Wed, 10 Sep 2008 23:42:59 +0000 (23:42 +0000)]
LIBNR REMOVAL.  remove nartbpath code!!!
remove nartbpath test code etc.
remove inkscape's path parsing, since it is now done by 2geom.

15 years ago2geomify, remove warnings and other fixes
ulferikson [Wed, 10 Sep 2008 14:54:40 +0000 (14:54 +0000)]
2geomify, remove warnings and other fixes

15 years agoFix clipping for Cairo generated PNG's.
tavmjong [Wed, 10 Sep 2008 13:26:52 +0000 (13:26 +0000)]
Fix clipping for Cairo generated PNG's.

15 years agoadd quick comment
johanengelen [Wed, 10 Sep 2008 00:12:17 +0000 (00:12 +0000)]
add quick comment