Code

inkscape.git
15 years agoCmake: Add GSL to LIBS and Includes
verbalshadow [Tue, 24 Jun 2008 06:40:46 +0000 (06:40 +0000)]
Cmake: Add GSL to LIBS and Includes

15 years agoCmake: remove header files from source lists
verbalshadow [Tue, 24 Jun 2008 06:32:23 +0000 (06:32 +0000)]
Cmake: remove header files from source lists

15 years agodelivarotify, render with cairo; regression: cairo cannot do inverse
buliabyak [Tue, 24 Jun 2008 02:33:29 +0000 (02:33 +0000)]
delivarotify, render with cairo; regression: cairo cannot do inverse

15 years agodelivarotify, render with cairo, use nr_path functions for bbox and distance
buliabyak [Tue, 24 Jun 2008 02:32:23 +0000 (02:32 +0000)]
delivarotify, render with cairo, use nr_path functions for bbox and distance

15 years agodelivarotify, render with cairo
buliabyak [Tue, 24 Jun 2008 02:30:47 +0000 (02:30 +0000)]
delivarotify, render with cairo

15 years agoadd helpers for creating cairo_t for a canvas buf
buliabyak [Tue, 24 Jun 2008 02:28:57 +0000 (02:28 +0000)]
add helpers for creating cairo_t for a canvas buf

15 years agoupdate for 32 instead of 24 bpp canvas buf
buliabyak [Tue, 24 Jun 2008 02:26:17 +0000 (02:26 +0000)]
update for 32 instead of 24 bpp canvas buf

15 years agodelivarotify
buliabyak [Tue, 24 Jun 2008 02:23:44 +0000 (02:23 +0000)]
delivarotify

15 years agono more creating and looping over extra buffers for rendering canvas arena, draw...
buliabyak [Tue, 24 Jun 2008 02:23:03 +0000 (02:23 +0000)]
no more creating and looping over extra buffers for rendering canvas arena, draw to the canvas buf directly now that it's also 32bpp

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

15 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

15 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

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

15 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

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

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

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

15 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

15 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

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

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

15 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

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

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

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

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

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

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

15 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

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

15 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

15 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

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

15 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

15 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

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

15 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

15 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

15 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

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

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

15 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

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

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

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

15 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

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

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

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

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

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

15 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

15 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

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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

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

15 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

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

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

15 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

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

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

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

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

15 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

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

15 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

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

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

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

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

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

15 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

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

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

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

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

15 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

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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

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

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

15 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