Code

inkscape.git
16 years agoswitch to 32bpp canvasbuf, create cairo context for it, optionally output to screen...
buliabyak [Tue, 24 Jun 2008 02:18:57 +0000 (02:18 +0000)]
switch to 32bpp canvasbuf, create cairo context for it, optionally output to screen using cairo too (for now off, as it's slower than gdk)

16 years agoupdate for 32bpp canvas buf; delivarotify
buliabyak [Tue, 24 Jun 2008 02:15:31 +0000 (02:15 +0000)]
update for 32bpp canvas buf; delivarotify

16 years agouse light blue for text selection, at least until we can do inversion again
buliabyak [Tue, 24 Jun 2008 02:12:10 +0000 (02:12 +0000)]
use light blue for text selection, at least until we can do inversion again

16 years agospeed up bounds_exact for 2geom even more.
johanengelen [Mon, 23 Jun 2008 22:57:47 +0000 (22:57 +0000)]
speed up bounds_exact for 2geom even more.

16 years agouse exact bbox again in updating shapes
johanengelen [Mon, 23 Jun 2008 22:24:10 +0000 (22:24 +0000)]
use exact bbox again in updating shapes

16 years agoadd comment
johanengelen [Mon, 23 Jun 2008 22:20:59 +0000 (22:20 +0000)]
add comment

16 years agomake faster 2geom bbox calc.
johanengelen [Mon, 23 Jun 2008 22:17:42 +0000 (22:17 +0000)]
make faster 2geom bbox calc.

16 years agosorry to have broken build
johanengelen [Mon, 23 Jun 2008 21:51:35 +0000 (21:51 +0000)]
sorry to have broken build

16 years agoconvert optimizing check into 2geom terms. hopefully correct, please review if you...
johanengelen [Mon, 23 Jun 2008 21:06:21 +0000 (21:06 +0000)]
convert optimizing check into 2geom terms. hopefully correct, please review if you have time

16 years agoadd #include <string.h> for portability
ishmal [Mon, 23 Jun 2008 18:08:05 +0000 (18:08 +0000)]
add #include <string.h> for portability

16 years agoneed #include <typeinfo>
ishmal [Mon, 23 Jun 2008 16:54:27 +0000 (16:54 +0000)]
need #include <typeinfo>

16 years agotweak stdout/stderr piping
ishmal [Mon, 23 Jun 2008 16:51:13 +0000 (16:51 +0000)]
tweak stdout/stderr piping

16 years agoimplement kerning by glyph-name, g1 and g2 attributes
JucaBlues [Mon, 23 Jun 2008 02:47:44 +0000 (02:47 +0000)]
implement kerning by glyph-name, g1 and g2 attributes

16 years agowarning cleanup
JucaBlues [Sun, 22 Jun 2008 23:12:31 +0000 (23:12 +0000)]
warning cleanup

16 years agowarning cleanup
JucaBlues [Sun, 22 Jun 2008 22:57:26 +0000 (22:57 +0000)]
warning cleanup

16 years agoreintroducing code that initially committed in revision 18594 and the have been rever...
JucaBlues [Sun, 22 Jun 2008 22:48:08 +0000 (22:48 +0000)]
reintroducing code that initially committed in revision 18594 and the have been reverted on revision 18607.

* implemented handling of font-style, font-variant, font-weight, and
font-stretch attributes on font-face tags

This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the
font tag to declare font attributes to be stored in the user agent font database).

The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG
documents).

16 years agoread PathVector instead of NArtBpath
johanengelen [Sun, 22 Jun 2008 22:28:03 +0000 (22:28 +0000)]
read PathVector instead of NArtBpath

16 years agoread PathVector instead of NArtBpath
johanengelen [Sun, 22 Jun 2008 22:23:00 +0000 (22:23 +0000)]
read PathVector instead of NArtBpath

16 years agosplit paths using 2geom PathVector
johanengelen [Sun, 22 Jun 2008 22:19:10 +0000 (22:19 +0000)]
split paths using 2geom PathVector

16 years agoLPE Spiro: don't catch all exceptions, only the ContinuityError
johanengelen [Sun, 22 Jun 2008 22:12:38 +0000 (22:12 +0000)]
LPE Spiro: don't catch all exceptions, only the ContinuityError

16 years agoremove obsolete LoadArtBPath from livarot
johanengelen [Sun, 22 Jun 2008 22:12:14 +0000 (22:12 +0000)]
remove obsolete LoadArtBPath from livarot

16 years agouse LoadPathVector instead of LoadArtBPath everywhere
johanengelen [Sun, 22 Jun 2008 22:03:10 +0000 (22:03 +0000)]
use LoadPathVector instead of LoadArtBPath everywhere

16 years agocreate method for Livarot paths to load PathVectors instead of NArtBpaths
johanengelen [Sun, 22 Jun 2008 21:56:33 +0000 (21:56 +0000)]
create method for Livarot paths to load PathVectors instead of NArtBpaths

16 years agouse pathvector directly from SPCurve in LPE path parameter.
johanengelen [Sun, 22 Jun 2008 17:32:08 +0000 (17:32 +0000)]
use pathvector directly from SPCurve in LPE path parameter.

16 years agobetter method to convert nartbpath to PathVector
johanengelen [Sun, 22 Jun 2008 17:28:29 +0000 (17:28 +0000)]
better method to convert nartbpath to PathVector

16 years ago * src/2geom/isnan.h, src/libcola/cola.cpp, src/style.cpp, src/seltrans.cpp,
mjwybrow [Sun, 22 Jun 2008 03:49:00 +0000 (03:49 +0000)]
  * src/2geom/isnan.h, src/libcola/cola.cpp, src/style.cpp, src/seltrans.cpp,
    src/libcola/gradient_projection.cpp, src/libvpsc/generate-constraints.cpp,
    src/libnr/nr-types.cpp, src/libnr/nr-point-fns-test.cpp, src/isnan.h,
    src/libnr/nr-point-fns.cpp, src/libnr/in-svg-plane-test.cpp,
    src/doxygen-main.cpp, src/display/nr-filter-composite.cpp,
    src/display/nr-filter-merge.cpp, src/display/nr-filter-gaussian.cpp,
    src/display/bezier-utils.cpp, src/Makefile_insert, src/eraser-context.cpp,
    src/dyna-draw-context.cpp, src/tweak-context.cpp, src/sp-namedview.cpp,
    src/libnr/in-svg-plane-test.h, src/libnr/nr-point-fns-test.h,
    src/mod360-test.h, src/CMakeLists.txt, src/2geom/linear.h:

    Properly fix the conflicting isnan.h problem:
      1) Update src/2geom/isnan.h to match newest Inkscape src/isnana.h
         (Also commited this change to lib2geom project repository)
      2) Remove Inkscape's src/isnan.h
      3) Update all files to include src/2geom/isnan.h instead of src/isnan.h

16 years agopatch 241565
buliabyak [Sun, 22 Jun 2008 02:20:08 +0000 (02:20 +0000)]
patch 241565

16 years agoadd todo comment to make code prettier
johanengelen [Fri, 20 Jun 2008 23:31:58 +0000 (23:31 +0000)]
add todo comment to make code prettier

16 years agosp_shape now uses 2geom PathVector for all marker positions
johanengelen [Fri, 20 Jun 2008 23:31:48 +0000 (23:31 +0000)]
sp_shape now uses 2geom PathVector for all marker positions

16 years agosp_shape_render for cairo-renderer extension now uses 2geom for marker positions
johanengelen [Fri, 20 Jun 2008 23:19:25 +0000 (23:19 +0000)]
sp_shape_render for cairo-renderer extension now uses 2geom for marker positions

16 years agoremove not used variable
johanengelen [Fri, 20 Jun 2008 22:31:29 +0000 (22:31 +0000)]
remove not used variable

16 years ago2geomify sp_shape_update_marker_view.
johanengelen [Fri, 20 Jun 2008 22:26:20 +0000 (22:26 +0000)]
2geomify sp_shape_update_marker_view.

16 years agopatch from 226459, approved by joel
buliabyak [Fri, 20 Jun 2008 16:38:39 +0000 (16:38 +0000)]
patch from 226459, approved by joel

16 years agoPartial fix (for preventing numerical issues) and restructuring for PathString, plus...
jaspervdg [Fri, 20 Jun 2008 11:11:50 +0000 (11:11 +0000)]
Partial fix (for preventing numerical issues) and restructuring for PathString, plus a small fix for the new 2geom sp_svg_write_curve.

16 years agoFix for sp-style-elem-test to make it work again with new code.
jaspervdg [Fri, 20 Jun 2008 11:09:25 +0000 (11:09 +0000)]
Fix for sp-style-elem-test to make it work again with new code.

16 years agocommenting out a g_warning
JucaBlues [Fri, 20 Jun 2008 04:50:33 +0000 (04:50 +0000)]
commenting out a g_warning

16 years agoreverting (possibly mistaken) edits on configure.ac by cilix42 made on
JucaBlues [Fri, 20 Jun 2008 04:42:28 +0000 (04:42 +0000)]
reverting (possibly mistaken) edits on configure.ac by cilix42 made on
revision 18964

16 years agocomment fix
buliabyak [Thu, 19 Jun 2008 21:43:31 +0000 (21:43 +0000)]
comment fix

16 years agoChanged tools toolbar to use stock GtkToolbar via simple wrapper actions.
joncruz [Thu, 19 Jun 2008 07:34:29 +0000 (07:34 +0000)]
Changed tools toolbar to use stock GtkToolbar via simple wrapper actions.
Fixes bug #166862.
Fixes bug #168677.
Fixes bug #168648.

16 years agoupdate 2geom (r1350)
johanengelen [Wed, 18 Jun 2008 23:31:50 +0000 (23:31 +0000)]
update 2geom (r1350)

16 years agoupdate 2geom
johanengelen [Wed, 18 Jun 2008 22:40:29 +0000 (22:40 +0000)]
update 2geom

16 years agofor validation
ishmal [Wed, 18 Jun 2008 22:39:10 +0000 (22:39 +0000)]
for validation

16 years agoDisplay helper grid for LPELattice; automatically add helper paths for LPE PathParams
cilix42 [Wed, 18 Jun 2008 22:30:36 +0000 (22:30 +0000)]
Display helper grid for LPELattice; automatically add helper paths for LPE PathParams

16 years agoUpdate LPE helper paths "live" on changes
cilix42 [Wed, 18 Jun 2008 22:30:22 +0000 (22:30 +0000)]
Update LPE helper paths "live" on changes

16 years agoMake knotholder members protected
cilix42 [Wed, 18 Jun 2008 22:30:12 +0000 (22:30 +0000)]
Make knotholder members protected

16 years agoImprove comments and catch missing desktop in effect.cpp
cilix42 [Wed, 18 Jun 2008 22:29:59 +0000 (22:29 +0000)]
Improve comments and catch missing desktop in effect.cpp

16 years agoSeparate version of sp_nodepath_generate_helperpath() to generate a helperpath from...
cilix42 [Wed, 18 Jun 2008 22:29:34 +0000 (22:29 +0000)]
Separate version of sp_nodepath_generate_helperpath() to generate a helperpath from a SPCurve directly

16 years agoparser
ishmal [Wed, 18 Jun 2008 22:09:20 +0000 (22:09 +0000)]
parser

16 years agofor IDL parsing
ishmal [Wed, 18 Jun 2008 22:05:17 +0000 (22:05 +0000)]
for IDL parsing

16 years agoCmake: fix quoting in INKSCAPE_LIBS
verbalshadow [Wed, 18 Jun 2008 22:04:15 +0000 (22:04 +0000)]
Cmake: fix quoting in INKSCAPE_LIBS

16 years agochange VERSION to INKSCAPE_VERSION in potracelib.cpp
verbalshadow [Wed, 18 Jun 2008 21:16:59 +0000 (21:16 +0000)]
change VERSION to INKSCAPE_VERSION in potracelib.cpp

16 years agouse INKSCAPE_VERSION rather than VERSION, to help cmake
ishmal [Wed, 18 Jun 2008 20:52:59 +0000 (20:52 +0000)]
use INKSCAPE_VERSION rather than VERSION, to help cmake

16 years agoCmake: Add src/ to include_directories, fix missing includes for file checks
verbalshadow [Wed, 18 Jun 2008 19:31:57 +0000 (19:31 +0000)]
Cmake: Add src/ to include_directories, fix missing includes for file checks

16 years agocompilable! wip
ishmal [Wed, 18 Jun 2008 18:29:30 +0000 (18:29 +0000)]
compilable!  wip

16 years agoadded new LPEs to the list of translatables
prokoudine [Wed, 18 Jun 2008 13:05:08 +0000 (13:05 +0000)]
added new LPEs to the list of translatables

16 years agoadd commentary about temporary canvas items.
johanengelen [Wed, 18 Jun 2008 08:26:43 +0000 (08:26 +0000)]
add commentary about temporary canvas items.

16 years agoFixed tool tooltips
joncruz [Wed, 18 Jun 2008 07:45:48 +0000 (07:45 +0000)]
Fixed tool tooltips

16 years agoConversion to toolbars and preserve size upon undock
joncruz [Wed, 18 Jun 2008 04:13:17 +0000 (04:13 +0000)]
Conversion to toolbars and preserve size upon undock

16 years agoOops! Fix compile.
cilix42 [Wed, 18 Jun 2008 02:27:45 +0000 (02:27 +0000)]
Oops! Fix compile.

16 years agoAdd handle to adjust angle
cilix42 [Wed, 18 Jun 2008 02:14:06 +0000 (02:14 +0000)]
Add handle to adjust angle

16 years agoNew LPE: Copy rotate
cilix42 [Wed, 18 Jun 2008 02:13:55 +0000 (02:13 +0000)]
New LPE: Copy rotate

16 years agoupdate 2geom
cilix42 [Wed, 18 Jun 2008 02:13:41 +0000 (02:13 +0000)]
update 2geom

16 years agoTemporary shortcut for LPEParallel in pen tool
cilix42 [Wed, 18 Jun 2008 02:13:33 +0000 (02:13 +0000)]
Temporary shortcut for LPEParallel in pen tool

16 years agoNew LPE: Parallel
cilix42 [Wed, 18 Jun 2008 02:13:25 +0000 (02:13 +0000)]
New LPE: Parallel

16 years agoRemove superfluous #include from lpe-skeleton.h
cilix42 [Wed, 18 Jun 2008 02:13:13 +0000 (02:13 +0000)]
Remove superfluous #include from lpe-skeleton.h

16 years agoFix wrong descriptions
cilix42 [Wed, 18 Jun 2008 02:13:00 +0000 (02:13 +0000)]
Fix wrong descriptions

16 years agowork in progress
ishmal [Tue, 17 Jun 2008 21:18:19 +0000 (21:18 +0000)]
work in progress

16 years agofix for 2geom change (pointAndDerivative)
johanengelen [Tue, 17 Jun 2008 21:03:56 +0000 (21:03 +0000)]
fix for 2geom change (pointAndDerivative)

16 years agoupdate 2geom
johanengelen [Tue, 17 Jun 2008 21:03:42 +0000 (21:03 +0000)]
update 2geom

16 years ago * src/unicoderange.cpp: s/malloc.h/stdlib.h/to fix compile error on Mac OS X.
mjwybrow [Tue, 17 Jun 2008 00:34:54 +0000 (00:34 +0000)]
  * src/unicoderange.cpp: s/malloc.h/stdlib.h/to fix compile error on Mac OS X.

16 years agouse 2geom method to calc boundingbox of shape
johanengelen [Mon, 16 Jun 2008 21:25:19 +0000 (21:25 +0000)]
use 2geom method to calc boundingbox of shape

16 years agoadd comment (original update code used exact bbox)
johanengelen [Mon, 16 Jun 2008 21:20:20 +0000 (21:20 +0000)]
add comment (original update code used exact bbox)

16 years agohave bbox calculation code use new helper/geom.cpp function. This makes it easier...
johanengelen [Mon, 16 Jun 2008 20:58:41 +0000 (20:58 +0000)]
have bbox calculation code use new helper/geom.cpp function. This makes it easier to optimize it later.

16 years agoadd geom helper file. this will contain Inkscape specific geometry calculation method...
johanengelen [Mon, 16 Jun 2008 20:53:27 +0000 (20:53 +0000)]
add geom helper file. this will contain Inkscape specific geometry calculation methods that are not (yet, if ever) provided by lib2geom.

16 years agoMerge interfaces and element types
ishmal [Mon, 16 Jun 2008 16:58:11 +0000 (16:58 +0000)]
Merge interfaces and element types

16 years agoActivate automatic knotholders for LPE PointParams
cilix42 [Mon, 16 Jun 2008 16:17:27 +0000 (16:17 +0000)]
Activate automatic knotholders for LPE PointParams

16 years agoTemporarily add shortcuts in pen context to activate some LPEs which need path input...
cilix42 [Mon, 16 Jun 2008 16:17:12 +0000 (16:17 +0000)]
Temporarily add shortcuts in pen context to activate some LPEs which need path input. Will be removed soon when we have a UI for this.

16 years agoAddress compile warning
cilix42 [Mon, 16 Jun 2008 16:17:03 +0000 (16:17 +0000)]
Address compile warning

16 years agoNew LPE: Angle bisector
cilix42 [Mon, 16 Jun 2008 16:16:53 +0000 (16:16 +0000)]
New LPE: Angle bisector

16 years agoNew LPE: circle through 3 points
cilix42 [Mon, 16 Jun 2008 16:16:38 +0000 (16:16 +0000)]
New LPE: circle through 3 points

16 years agoSeparate function to put pen context into 'wait for LPE mouse clicks' mode
cilix42 [Mon, 16 Jun 2008 16:16:19 +0000 (16:16 +0000)]
Separate function to put pen context into 'wait for LPE mouse clicks' mode

16 years agocopy complete LPE stack to clipboard instead of only the current active lpe
johanengelen [Mon, 16 Jun 2008 16:09:45 +0000 (16:09 +0000)]
copy complete LPE stack to clipboard instead of only the current active lpe

16 years agoDitch PERMANENT_FLASH because it is handled by providesOwnFlashPath(); avoid flashing...
cilix42 [Mon, 16 Jun 2008 15:46:06 +0000 (15:46 +0000)]
Ditch PERMANENT_FLASH because it is handled by providesOwnFlashPath(); avoid flashing when LPE already provides a helperpath

16 years agoSecond step: try to make helper curves respond faster (don't recreate/delete the...
cilix42 [Mon, 16 Jun 2008 15:45:47 +0000 (15:45 +0000)]
Second step: try to make helper curves respond faster (don't recreate/delete the temporary canvasitems each time the selection is modified); better use of flash paths

16 years agoFirst step towards making helper paths for LPE items work better
cilix42 [Mon, 16 Jun 2008 15:45:16 +0000 (15:45 +0000)]
First step towards making helper paths for LPE items work better

16 years agominor tweak for portability. linux compile was broken
ishmal [Mon, 16 Jun 2008 15:44:16 +0000 (15:44 +0000)]
minor tweak for portability. linux compile was broken

16 years agodon't use exact bbox in nr_arena_shape_update (speed-up)
johanengelen [Mon, 16 Jun 2008 15:34:22 +0000 (15:34 +0000)]
don't use exact bbox in nr_arena_shape_update (speed-up)

16 years agoFix nr_arena_shape_add_bboxes to what it was in the past. (the NPE was caused by...
johanengelen [Mon, 16 Jun 2008 14:21:39 +0000 (14:21 +0000)]
Fix nr_arena_shape_add_bboxes to what it was in the past. (the NPE was caused by wrong copypaste of me...)

16 years agoFixed NPE
joncruz [Mon, 16 Jun 2008 07:40:12 +0000 (07:40 +0000)]
Fixed NPE

16 years agoUnicodeRange class implementation.
JucaBlues [Mon, 16 Jun 2008 01:24:19 +0000 (01:24 +0000)]
UnicodeRange class implementation.
This class represents a range of unicode codepoints as used in the u1
and u2 attributes of glyph kerning nodes.

16 years agonew command: relink clone to copied object
buliabyak [Sun, 15 Jun 2008 16:22:56 +0000 (16:22 +0000)]
new command: relink clone to copied object

16 years agoExtend the .inx RELAX NG schema to allow the appearance="minimal" option that Jon...
sasilver [Sun, 15 Jun 2008 15:57:56 +0000 (15:57 +0000)]
Extend the .inx RELAX NG schema to allow the appearance="minimal" option that Jon Cruz recently added.
All .inx files now validate against the schema again.

16 years agoFormat the .inx RELAX NG schema, to make it more readable, and to allow diffs against...
sasilver [Sun, 15 Jun 2008 15:30:55 +0000 (15:30 +0000)]
Format the .inx RELAX NG schema, to make it more readable, and to allow diffs against it to be comprehensible.

16 years agoMinor fix to conform to the .inx RELAX NG schema.
sasilver [Sun, 15 Jun 2008 12:32:14 +0000 (12:32 +0000)]
Minor fix to conform to the .inx RELAX NG schema.

16 years agoCmake: fix config.h not being found
verbalshadow [Sat, 14 Jun 2008 23:31:50 +0000 (23:31 +0000)]
Cmake: fix config.h not being found

16 years agoImprove "can't find" error msg for pkgconfig
ishmal [Sat, 14 Jun 2008 23:16:13 +0000 (23:16 +0000)]
Improve "can't find" error msg for pkgconfig

16 years agopatch 188381 for tolerance control on pencil
buliabyak [Sat, 14 Jun 2008 23:02:15 +0000 (23:02 +0000)]
patch 188381 for tolerance control on pencil

16 years agoAdd SVGValue class
ishmal [Sat, 14 Jun 2008 21:17:27 +0000 (21:17 +0000)]
Add SVGValue class

16 years agoexperimental version without multiple inheritance
ishmal [Sat, 14 Jun 2008 19:51:16 +0000 (19:51 +0000)]
experimental version without multiple inheritance

16 years agocatch cases where LPE Spiro generates non-continuous paths
johanengelen [Sat, 14 Jun 2008 16:54:35 +0000 (16:54 +0000)]
catch cases where LPE Spiro generates non-continuous paths