Code

inkscape.git
16 years agoUse Python script instead of shell script for .fig import (fixes bug 240889).
sasilver [Fri, 27 Jun 2008 20:43:58 +0000 (20:43 +0000)]
Use Python script instead of shell script for .fig import (fixes bug 240889).

16 years agosodipodi:docname is obsolete
mental [Fri, 27 Jun 2008 12:59:03 +0000 (12:59 +0000)]
sodipodi:docname is obsolete

16 years agoAdded conditional fallback for call in GLib 2.14+
joncruz [Fri, 27 Jun 2008 08:23:07 +0000 (08:23 +0000)]
Added conditional fallback for call in GLib 2.14+

16 years agouse spcurve methods instead of macro (which references to old nartbpath) to determine...
johanengelen [Thu, 26 Jun 2008 23:26:08 +0000 (23:26 +0000)]
use spcurve methods instead of macro (which references to old nartbpath) to determine first and second nodal points

16 years agonoop: be more consistent with function names (get_pathvector => set_pathvector)
johanengelen [Thu, 26 Jun 2008 23:16:23 +0000 (23:16 +0000)]
noop: be more consistent with function names (get_pathvector => set_pathvector)

16 years agouse 2geom path for bbox calculation. (gets rid of yet another reference to old nartbp...
johanengelen [Thu, 26 Jun 2008 23:09:58 +0000 (23:09 +0000)]
use 2geom path for bbox calculation. (gets rid of yet another reference to old nartbpath in spcurve!)

16 years agodon't use splivarot to get livarot path, use livarot's LoadPathVector method instead
johanengelen [Thu, 26 Jun 2008 22:57:43 +0000 (22:57 +0000)]
don't use splivarot to get livarot path, use livarot's LoadPathVector method instead

16 years agouse CairoRenderContext::renderPathVector
johanengelen [Thu, 26 Jun 2008 15:37:26 +0000 (15:37 +0000)]
use CairoRenderContext::renderPathVector

16 years agoadd CairoRenderContext::renderPathVector
johanengelen [Thu, 26 Jun 2008 15:32:30 +0000 (15:32 +0000)]
add CairoRenderContext::renderPathVector

16 years agodon't use splivarot to get livarot path, just use LoadPathVector method
johanengelen [Thu, 26 Jun 2008 15:17:50 +0000 (15:17 +0000)]
don't use splivarot to get livarot path, just use LoadPathVector method

16 years agouse all 2geom typed pathv_matrix_point_bbox_wind_distance
johanengelen [Thu, 26 Jun 2008 15:09:23 +0000 (15:09 +0000)]
use all 2geom typed pathv_matrix_point_bbox_wind_distance

16 years agoadd const to pointers that are not written to
johanengelen [Thu, 26 Jun 2008 15:06:10 +0000 (15:06 +0000)]
add const to pointers that are not written to

16 years agouse all 2geom typed pathv_matrix_point_bbox_wind_distance
johanengelen [Thu, 26 Jun 2008 15:03:47 +0000 (15:03 +0000)]
use all 2geom typed pathv_matrix_point_bbox_wind_distance

16 years agoadd const to references that are not written to
johanengelen [Thu, 26 Jun 2008 15:02:43 +0000 (15:02 +0000)]
add const to references that are not written to

16 years agouse pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_d...
johanengelen [Thu, 26 Jun 2008 14:56:51 +0000 (14:56 +0000)]
use pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_distance everywhere

16 years agorewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bb...
johanengelen [Thu, 26 Jun 2008 14:52:09 +0000 (14:52 +0000)]
rewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bbox_wind_distance. (still not 100% clear to me what this method does, but seemed not necessary for rewriting)

16 years agoFix for opening .eps/.ps/.cdr/etc files with % in their names.
sasilver [Thu, 26 Jun 2008 10:47:08 +0000 (10:47 +0000)]
Fix for opening .eps/.ps/.cdr/etc files with % in their names.

16 years agoDo not have menu entry for SVG Fonts if they are not enabled
joncruz [Thu, 26 Jun 2008 04:09:44 +0000 (04:09 +0000)]
Do not have menu entry for SVG Fonts if they are not enabled

16 years agomoving the fonts dialog to a more logical place (though it still does not work for me)
buliabyak [Thu, 26 Jun 2008 02:16:52 +0000 (02:16 +0000)]
moving the fonts dialog to a more logical place (though it still does not work for me)

16 years agoFixed compilation when the new SVG font stuff is not enabled.
joncruz [Thu, 26 Jun 2008 01:40:35 +0000 (01:40 +0000)]
Fixed compilation when the new SVG font stuff is not enabled.

16 years ago* remove g_warnings
JucaBlues [Thu, 26 Jun 2008 01:01:02 +0000 (01:01 +0000)]
* remove g_warnings
* add 2 experimental entry fields in SVGFonts dialog

16 years agofix bbox calculation for groups that contain groups with nothing in them (zero bbox...
johanengelen [Wed, 25 Jun 2008 21:40:04 +0000 (21:40 +0000)]
fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups)

16 years agohelp detection of path read bug
johanengelen [Wed, 25 Jun 2008 19:50:01 +0000 (19:50 +0000)]
help detection of path read bug

16 years agoadding list of available SVGFonts to the SVGFonts dialog
JucaBlues [Wed, 25 Jun 2008 16:18:02 +0000 (16:18 +0000)]
adding list of available SVGFonts to the SVGFonts dialog

16 years agowarning cleanup
JucaBlues [Wed, 25 Jun 2008 03:02:27 +0000 (03:02 +0000)]
warning cleanup

16 years agomissing files from previous commit
JucaBlues [Wed, 25 Jun 2008 02:58:21 +0000 (02:58 +0000)]
missing files from previous commit

16 years agoadding a dialog for SVG Fonts
JucaBlues [Wed, 25 Jun 2008 02:53:34 +0000 (02:53 +0000)]
adding a dialog for SVG Fonts

16 years agoWarning cleanup
joncruz [Wed, 25 Jun 2008 02:14:41 +0000 (02:14 +0000)]
Warning cleanup

16 years agoadding ifdef HAVE_CONFIG_H
JucaBlues [Wed, 25 Jun 2008 00:23:00 +0000 (00:23 +0000)]
adding ifdef HAVE_CONFIG_H

16 years agowhitespace
buliabyak [Tue, 24 Jun 2008 21:37:50 +0000 (21:37 +0000)]
whitespace

16 years agoadded unicode block (codepoint ranges) lookups
ishmal [Tue, 24 Jun 2008 18:09:01 +0000 (18:09 +0000)]
added unicode block (codepoint ranges) lookups

16 years agoimprove speed of getting curves to cairo, the same way as boundingbox calculation...
johanengelen [Tue, 24 Jun 2008 17:54:19 +0000 (17:54 +0000)]
improve speed of getting curves to cairo, the same way as boundingbox calculation was optimized: do not create transformed path, transform the path's points instead

16 years agokill the green fish
buliabyak [Tue, 24 Jun 2008 16:24:02 +0000 (16:24 +0000)]
kill the green fish

16 years agoadd #include <string.h> for memset(), so that it is portable
ishmal [Tue, 24 Jun 2008 15:28:48 +0000 (15:28 +0000)]
add #include <string.h> for memset(), so that it is portable

16 years agoResolve ID clashes when pasting (fixes bug 165936).
sasilver [Tue, 24 Jun 2008 10:49:28 +0000 (10:49 +0000)]
Resolve ID clashes when pasting (fixes bug 165936).

16 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

16 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

16 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

16 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

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

16 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

16 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

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

16 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

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.