Code

inkscape.git
16 years agouse 2geom types to calculate bounding box when updating arena shape
johanengelen [Sat, 14 Jun 2008 15:57:54 +0000 (15:57 +0000)]
use 2geom types to calculate bounding box when updating arena shape

16 years agoupdate 2geom
johanengelen [Sat, 14 Jun 2008 15:57:11 +0000 (15:57 +0000)]
update 2geom

16 years agoupdate 2geom, fixes includes
johanengelen [Sat, 14 Jun 2008 15:16:29 +0000 (15:16 +0000)]
update 2geom, fixes includes

16 years agoWin32 fix: set stdout to binary mode before writing a file to it
sasilver [Sat, 14 Jun 2008 15:08:05 +0000 (15:08 +0000)]
Win32 fix: set stdout to binary mode before writing a file to it

16 years agoUpdated RU translation
prokoudine [Sat, 14 Jun 2008 15:03:24 +0000 (15:03 +0000)]
Updated RU translation

16 years agoupdate 2geom
johanengelen [Sat, 14 Jun 2008 15:01:19 +0000 (15:01 +0000)]
update 2geom

16 years agofixed another typo
prokoudine [Sat, 14 Jun 2008 14:39:42 +0000 (14:39 +0000)]
fixed another typo

16 years agoSwitched more extensions to minimal mode
prokoudine [Sat, 14 Jun 2008 14:35:16 +0000 (14:35 +0000)]
Switched more extensions to minimal mode

16 years agoFixed typos and wrong filename reference
prokoudine [Sat, 14 Jun 2008 14:10:51 +0000 (14:10 +0000)]
Fixed typos and wrong filename reference

16 years agoAdded duplicate layer command. Fixes bug #171246.
joncruz [Sat, 14 Jun 2008 08:08:21 +0000 (08:08 +0000)]
Added duplicate layer command. Fixes bug #171246.

16 years agoname update
buliabyak [Sat, 14 Jun 2008 04:42:21 +0000 (04:42 +0000)]
name update

16 years agoremove unused
buliabyak [Sat, 14 Jun 2008 04:37:47 +0000 (04:37 +0000)]
remove unused

16 years agopatch by sas from 227449 with my changes for using ps2pdf instead of pstoedit
buliabyak [Sat, 14 Jun 2008 04:12:54 +0000 (04:12 +0000)]
patch by sas from 227449 with my changes for using ps2pdf instead of pstoedit

16 years agodisable unused pdf-input-cairo
buliabyak [Sat, 14 Jun 2008 03:47:22 +0000 (03:47 +0000)]
disable unused pdf-input-cairo

16 years agoAdded the ability to toggle a layer "solo". Fixes bug #171530.
joncruz [Fri, 13 Jun 2008 15:55:51 +0000 (15:55 +0000)]
Added the ability to toggle a layer "solo". Fixes bug #171530.

16 years agoResolve ID clashes when importing files (fixes bug 168626).
sasilver [Fri, 13 Jun 2008 10:30:44 +0000 (10:30 +0000)]
Resolve ID clashes when importing files (fixes bug 168626).

16 years agoFixed preferences dialog to be usable on small screens, like on the Eee PC.
joncruz [Fri, 13 Jun 2008 04:21:22 +0000 (04:21 +0000)]
Fixed preferences dialog to be usable on small screens, like on the Eee PC.

16 years agogeneral rearrange and copyedit
buliabyak [Fri, 13 Jun 2008 02:42:36 +0000 (02:42 +0000)]
general rearrange and copyedit

16 years ago[INTL] Updated all translation files following some minor code cleanups.
mfloryan [Thu, 12 Jun 2008 21:45:21 +0000 (21:45 +0000)]
[INTL] Updated all translation files following some minor code cleanups.

16 years agoadd svg_write and read methods for Geom::Matrix
johanengelen [Thu, 12 Jun 2008 20:38:23 +0000 (20:38 +0000)]
add svg_write and read methods for Geom::Matrix

16 years agoadd commentary to some methods about 2geom replacements
johanengelen [Thu, 12 Jun 2008 20:35:18 +0000 (20:35 +0000)]
add commentary to some methods about 2geom replacements

16 years agochange NR::Matrix to Geom:: for many sp_item_xxx_affine functions
johanengelen [Thu, 12 Jun 2008 20:20:51 +0000 (20:20 +0000)]
change NR::Matrix to Geom:: for many sp_item_xxx_affine functions

16 years agoupdate 2geom
johanengelen [Thu, 12 Jun 2008 20:18:53 +0000 (20:18 +0000)]
update 2geom

16 years agoSet DOM_STANDALONE
ishmal [Thu, 12 Jun 2008 20:14:33 +0000 (20:14 +0000)]
Set DOM_STANDALONE

16 years agoMissed two * -> Ptr conversions
ishmal [Thu, 12 Jun 2008 20:04:38 +0000 (20:04 +0000)]
Missed two * -> Ptr conversions

16 years agoLPE Enveloppe: return input path when xx and yy are both false
johanengelen [Thu, 12 Jun 2008 18:16:37 +0000 (18:16 +0000)]
LPE Enveloppe: return input path when xx and yy are both false

16 years agoadd POPPLER_NEW_GFXFONT for poppler 0.8.3 api change
ishmal [Thu, 12 Jun 2008 18:15:33 +0000 (18:15 +0000)]
add POPPLER_NEW_GFXFONT for poppler 0.8.3 api change

16 years agoFix to work with a changed api for 0.8.3's GfxFont::getNextChar(). many thanks...
ishmal [Thu, 12 Jun 2008 18:14:25 +0000 (18:14 +0000)]
Fix to work with a changed api for 0.8.3's GfxFont::getNextChar().   many thanks to <tsdgeos>.

16 years agofix crash when ungrouping lpe paths
buliabyak [Thu, 12 Jun 2008 18:11:49 +0000 (18:11 +0000)]
fix crash when ungrouping lpe paths

16 years agoprevent crashing by not running prefs dialog when in command line mode
buliabyak [Thu, 12 Jun 2008 17:05:57 +0000 (17:05 +0000)]
prevent crashing by not running prefs dialog when in command line mode

16 years agoFix bug: allow curved paths again when switching back from 'wait for path' mode in...
cilix42 [Thu, 12 Jun 2008 13:30:04 +0000 (13:30 +0000)]
Fix bug: allow curved paths again when switching back from 'wait for path' mode in pen context

16 years agowhitespace
cilix42 [Thu, 12 Jun 2008 13:29:54 +0000 (13:29 +0000)]
whitespace

16 years agoWhen expecting mouse clicks for a LPE in pen context, don't concatenate with or conti...
cilix42 [Thu, 12 Jun 2008 13:23:48 +0000 (13:23 +0000)]
When expecting mouse clicks for a LPE in pen context, don't concatenate with or continue existing paths

16 years agoMore infrastructure to have waiting LPEs that are freshly created and applied to...
cilix42 [Thu, 12 Jun 2008 13:23:30 +0000 (13:23 +0000)]
More infrastructure to have waiting LPEs that are freshly created and applied to yet-to-be-drawn paths

16 years agoInfrastructure in class LivePathEffect::Effect to put Inkscape into 'wait for paramet...
cilix42 [Thu, 12 Jun 2008 13:23:17 +0000 (13:23 +0000)]
Infrastructure in class LivePathEffect::Effect to put Inkscape into 'wait for parameter path' mode; make LPEMirrorReflect use this to let the user specify the mirroring line

16 years agoPen context can now wait for a specified number of clicks and finish the path afterwa...
cilix42 [Thu, 12 Jun 2008 13:22:56 +0000 (13:22 +0000)]
Pen context can now wait for a specified number of clicks and finish the path afterwards; together with the new polylines mode this will be used to pass paths as arguments to LPEs

16 years agoRemove obsolete variable 'onlycurves' from pen-context.(h|cpp)
cilix42 [Thu, 12 Jun 2008 13:22:47 +0000 (13:22 +0000)]
Remove obsolete variable 'onlycurves' from pen-context.(h|cpp)

16 years agoNew 'polylines only' mode in pen context; to be used later when LPEs are waiting...
cilix42 [Thu, 12 Jun 2008 13:22:37 +0000 (13:22 +0000)]
New 'polylines only' mode in pen context; to be used later when LPEs are waiting for mouse input

16 years agoCommitting fixed patch for autosave. Fixes bug #171092.
joncruz [Thu, 12 Jun 2008 09:53:24 +0000 (09:53 +0000)]
Committing fixed patch for autosave. Fixes bug #171092.

16 years agoFixed uninitialized variables, including modified-since-save.
joncruz [Thu, 12 Jun 2008 09:49:31 +0000 (09:49 +0000)]
Fixed uninitialized variables, including modified-since-save.

16 years agopatch 185522
buliabyak [Thu, 12 Jun 2008 07:22:49 +0000 (07:22 +0000)]
patch 185522

16 years agopatch 234972
buliabyak [Thu, 12 Jun 2008 07:09:22 +0000 (07:09 +0000)]
patch 234972

16 years agoCmake: Fix Dependencies with multiple include directories.
verbalshadow [Thu, 12 Jun 2008 05:23:13 +0000 (05:23 +0000)]
Cmake: Fix Dependencies with multiple include directories.

16 years agopatch 181692
buliabyak [Thu, 12 Jun 2008 02:43:08 +0000 (02:43 +0000)]
patch 181692

16 years agoChange poppler link order
ishmal [Wed, 11 Jun 2008 21:26:43 +0000 (21:26 +0000)]
Change poppler link order

16 years agoAdd interface enumerations to element enumerations
ishmal [Wed, 11 Jun 2008 21:23:49 +0000 (21:23 +0000)]
Add interface enumerations to element enumerations

16 years agofix crashing on additional data dialog when running input or effect extension from...
buliabyak [Wed, 11 Jun 2008 20:18:39 +0000 (20:18 +0000)]
fix crashing on additional data dialog when running input or effect extension from command line

16 years agotweaks
ishmal [Wed, 11 Jun 2008 18:14:36 +0000 (18:14 +0000)]
tweaks

16 years agoBitfield alignment
ishmal [Wed, 11 Jun 2008 17:51:37 +0000 (17:51 +0000)]
Bitfield alignment

16 years agoNo longer needed.
ishmal [Wed, 11 Jun 2008 16:56:40 +0000 (16:56 +0000)]
No longer needed.

16 years agofix bug #239092
mental [Wed, 11 Jun 2008 16:34:55 +0000 (16:34 +0000)]
fix bug #239092

16 years agore-enable assertions
mental [Wed, 11 Jun 2008 15:59:31 +0000 (15:59 +0000)]
re-enable assertions

16 years agoplumb XML::Documents in everywhere
mental [Wed, 11 Jun 2008 15:56:11 +0000 (15:56 +0000)]
plumb XML::Documents in everywhere

16 years agoWe were using wrong gtk locale directory. Gtk's own translations were missing.
ishmal [Wed, 11 Jun 2008 15:55:29 +0000 (15:55 +0000)]
We were using wrong gtk locale directory.  Gtk's own translations were missing.

16 years agohandle PI nodes
mental [Wed, 11 Jun 2008 15:55:04 +0000 (15:55 +0000)]
handle PI nodes

16 years agouse object's document
mental [Wed, 11 Jun 2008 15:54:55 +0000 (15:54 +0000)]
use object's document

16 years agoFixed some strings that upset gettext.
mfloryan [Wed, 11 Jun 2008 12:31:05 +0000 (12:31 +0000)]
Fixed some strings that upset gettext.

16 years agoRemove any baseProfile attribute, as we don't respect it. (See bug 166958.)
sasilver [Wed, 11 Jun 2008 10:54:18 +0000 (10:54 +0000)]
Remove any baseProfile attribute, as we don't respect it. (See bug 166958.)

16 years agoBack out the `document != NULL' assertions added to SimpleNode constructors in r18847...
pjrm [Wed, 11 Jun 2008 08:09:07 +0000 (08:09 +0000)]
Back out the `document != NULL' assertions added to SimpleNode constructors in r18847 (see https://bugs.launchpad.net/inkscape/+bug/239101).

16 years agowarning cleanup
joncruz [Wed, 11 Jun 2008 04:08:16 +0000 (04:08 +0000)]
warning cleanup

16 years ago[INTL] Updated POTFILES.in with new source code file.
mfloryan [Tue, 10 Jun 2008 21:51:50 +0000 (21:51 +0000)]
[INTL] Updated POTFILES.in with new source code file.

16 years agoNew LPE: Mirror reflection
cilix42 [Tue, 10 Jun 2008 15:08:54 +0000 (15:08 +0000)]
New LPE: Mirror reflection

16 years agoGet rid of get_bpath() in lpe-tangent_to_curve.cpp
cilix42 [Tue, 10 Jun 2008 14:10:01 +0000 (14:10 +0000)]
Get rid of get_bpath() in lpe-tangent_to_curve.cpp

16 years agoDon't convert path to straight line for LPE perpendicular bisector
cilix42 [Tue, 10 Jun 2008 14:09:49 +0000 (14:09 +0000)]
Don't convert path to straight line for LPE perpendicular bisector

16 years agoMake broken doOnApply() for LPEs work again
cilix42 [Tue, 10 Jun 2008 14:09:37 +0000 (14:09 +0000)]
Make broken doOnApply() for LPEs work again

16 years agoRemove debugging messages
cilix42 [Tue, 10 Jun 2008 14:09:24 +0000 (14:09 +0000)]
Remove debugging messages

16 years agoWrite all effect parameters to SVG when a LPE knotholder handle is ungrabbed
cilix42 [Tue, 10 Jun 2008 12:35:36 +0000 (12:35 +0000)]
Write all effect parameters to SVG when a LPE knotholder handle is ungrabbed

16 years agofix compile
JucaBlues [Tue, 10 Jun 2008 02:33:43 +0000 (02:33 +0000)]
fix compile
johan had forgotten to include a header

16 years agoupdated slightly
ishmal [Mon, 9 Jun 2008 22:19:26 +0000 (22:19 +0000)]
updated slightly

16 years agobetter compilation for linux
ishmal [Mon, 9 Jun 2008 19:45:38 +0000 (19:45 +0000)]
better compilation for linux

16 years agoremove filters verb and command
buliabyak [Mon, 9 Jun 2008 05:48:13 +0000 (05:48 +0000)]
remove filters verb and command

16 years agoadd selmodified connection to force dialog update on undo
buliabyak [Mon, 9 Jun 2008 05:46:29 +0000 (05:46 +0000)]
add selmodified connection to force dialog update on undo

16 years agorenaming, adding missed ones to the list
buliabyak [Mon, 9 Jun 2008 05:45:12 +0000 (05:45 +0000)]
renaming, adding missed ones to the list

16 years agoFix include in sp-filter.cpp NR:filter issue
verbalshadow [Mon, 9 Jun 2008 03:37:29 +0000 (03:37 +0000)]
Fix include in sp-filter.cpp NR:filter issue

16 years agoforce single single document over a node's lifetime
mental [Sun, 8 Jun 2008 20:42:25 +0000 (20:42 +0000)]
force single single document over a node's lifetime

16 years agoplumb document references a little deeper in
mental [Sun, 8 Jun 2008 19:44:26 +0000 (19:44 +0000)]
plumb document references a little deeper in

16 years agoAdd option to either suppress path flash for items with LPE (e.g., spiro splines...
cilix42 [Sun, 8 Jun 2008 18:47:19 +0000 (18:47 +0000)]
Add option to either suppress path flash for items with LPE (e.g., spiro splines use this) or display it permanently while the item is selected.

16 years agosimplify code that puts anchors at start and end of paths in draw context.
johanengelen [Sun, 8 Jun 2008 18:33:23 +0000 (18:33 +0000)]
simplify code that puts anchors at start and end of paths in draw context.

16 years agoadd method to retrieve first and last path of SPCurve, fix error.
johanengelen [Sun, 8 Jun 2008 18:31:38 +0000 (18:31 +0000)]
add method to retrieve first and last path of SPCurve, fix error.

16 years agoRe-add two handles for PerpBisector LPE (we don't add the other two because they...
cilix42 [Sun, 8 Jun 2008 18:08:56 +0000 (18:08 +0000)]
Re-add two handles for PerpBisector LPE (we don't add the other two because they would duplicate the path's own handles and the correct solution would be to allow knotholders and nodepaths at the same time).
Put the KnotHolderEntity classes into their own namespaces to avoid clashes.

16 years agoBetter way to add LPE knotholder handles; now it happens semi-automatically in a...
cilix42 [Sun, 8 Jun 2008 17:56:04 +0000 (17:56 +0000)]
Better way to add LPE knotholder handles; now it happens semi-automatically in a similar way as adding LPE parameters.

16 years agoMake knotholders for LPE items finally work; each effect can now overload the addKnot...
cilix42 [Sun, 8 Jun 2008 17:33:58 +0000 (17:33 +0000)]
Make knotholders for LPE items finally work; each effect can now overload the addKnotHolderHandles() method to add handles which control its parameters.
There is now also a virtual onKnotUngrabbed() method for each knotholder entity which can be used to do cleanup tasks (for LPE parameters it currently writes the value to SVG, although this should probably happen automatically)

16 years agoAdd 'Mode' label and icon for regular Bezier mode in pen/pencil toolbar
cilix42 [Sun, 8 Jun 2008 17:17:15 +0000 (17:17 +0000)]
Add 'Mode' label and icon for regular Bezier mode in pen/pencil toolbar

16 years agoPatch from sas for LP #231690 (crash when combining two paths)
cilix42 [Sun, 8 Jun 2008 17:08:50 +0000 (17:08 +0000)]
Patch from sas for LP #231690 (crash when combining two paths)

16 years agoPatch from sas to avoid GC warning during vacuum defs (closes LP #236816)
cilix42 [Sun, 8 Jun 2008 16:51:57 +0000 (16:51 +0000)]
Patch from sas to avoid GC warning during vacuum defs (closes LP #236816)

16 years agouse feed_pathvector_to_cairo in display/nr-svgfonts.cpp
johanengelen [Sun, 8 Jun 2008 14:52:39 +0000 (14:52 +0000)]
use feed_pathvector_to_cairo in display/nr-svgfonts.cpp

16 years agouse feed_pathvector_to_cairo in display/nr-arena-shape.cpp
johanengelen [Sun, 8 Jun 2008 14:42:53 +0000 (14:42 +0000)]
use feed_pathvector_to_cairo in display/nr-arena-shape.cpp

16 years agoadd rendering to cairo from Geom::Path and Geom::PathVector !
johanengelen [Sun, 8 Jun 2008 14:36:04 +0000 (14:36 +0000)]
add rendering to cairo from Geom::Path and Geom::PathVector !

16 years agoadd conversion from NR::Rect to Geom::Rect
johanengelen [Sun, 8 Jun 2008 14:35:38 +0000 (14:35 +0000)]
add conversion from NR::Rect to Geom::Rect

16 years agoWarning cleanup
joncruz [Sat, 7 Jun 2008 04:02:08 +0000 (04:02 +0000)]
Warning cleanup

16 years agoellipses and groups now use 2geompath for svg_write: sp_svg_write_path(np->curve...
johanengelen [Fri, 6 Jun 2008 23:51:48 +0000 (23:51 +0000)]
ellipses and groups now use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor sppath, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:47:18 +0000 (23:47 +0000)]
for sppath, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor spirals, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:44:01 +0000 (23:44 +0000)]
for spirals, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve...
johanengelen [Fri, 6 Jun 2008 23:41:20 +0000 (23:41 +0000)]
for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );  (completed)

16 years agofor sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_...
johanengelen [Fri, 6 Jun 2008 23:38:47 +0000 (23:38 +0000)]
for sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_path(np...
johanengelen [Fri, 6 Jun 2008 23:35:43 +0000 (23:35 +0000)]
for path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor nodepath, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_p...
johanengelen [Fri, 6 Jun 2008 23:30:39 +0000 (23:30 +0000)]
for nodepath, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agospdc_flush_white(SPDrawContext *dc, SPCurve *gc) now uses curve->get_pathvector inste...
johanengelen [Fri, 6 Jun 2008 23:18:58 +0000 (23:18 +0000)]
spdc_flush_white(SPDrawContext *dc, SPCurve *gc) now uses curve->get_pathvector instead of get_bpath.

16 years agospcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:13:19 +0000 (23:13 +0000)]
spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses curve->get_pathvector instead of get_bpath.

16 years agoadd comments to SPCurve about 2geomify status of functions
johanengelen [Fri, 6 Jun 2008 23:12:29 +0000 (23:12 +0000)]
add comments to SPCurve about 2geomify status of functions