Code

inkscape.git
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

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

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

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

16 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::

16 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

16 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).

16 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

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

16 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

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

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

16 years agoTemporarily specifying a return value to avoid strange bugs
joncruz [Tue, 9 Sep 2008 08:08:34 +0000 (08:08 +0000)]
Temporarily specifying a return value to avoid strange bugs

16 years ago2geom update (rev. 1578); fixes node editing of some degenerate paths
cilix42 [Mon, 8 Sep 2008 22:20:36 +0000 (22:20 +0000)]
2geom update (rev. 1578); fixes node editing of some degenerate paths

16 years agoadd missing #include for gtk version check
cilix42 [Mon, 8 Sep 2008 21:40:42 +0000 (21:40 +0000)]
add missing #include for gtk version check

16 years agoadd version check for new api
ishmal [Mon, 8 Sep 2008 15:36:52 +0000 (15:36 +0000)]
add version check for new api

16 years agoUnselet item in geometry tool when the user clicked into empty space
cilix42 [Mon, 8 Sep 2008 14:31:49 +0000 (14:31 +0000)]
Unselet item in geometry tool when the user clicked into empty space