Code

inkscape.git
16 years agoupdate to latest 2geom. (eol-style fix needed enters at end of some files) 2geom...
johanengelen [Sat, 19 Apr 2008 21:50:45 +0000 (21:50 +0000)]
update to latest 2geom. (eol-style fix needed enters at end of some files)  2geom rev 1216

16 years agonoop: address ‘no newline at end of file’ warning
pjrm [Sat, 19 Apr 2008 01:01:14 +0000 (01:01 +0000)]
noop: address ‘no newline at end of file’ warning

16 years agoYet another md5 fix for 32/64. This time it works on ppc64/gcc
ishmal [Fri, 18 Apr 2008 21:57:47 +0000 (21:57 +0000)]
Yet another md5 fix for 32/64.  This time it works on ppc64/gcc

16 years agoRemoved unnecessary checks from curve.cpp (sp_bpath_check_subpath and friends). ...
jaspervdg [Fri, 18 Apr 2008 16:17:52 +0000 (16:17 +0000)]
Removed unnecessary checks from curve.cpp (sp_bpath_check_subpath and friends). (See bug 166720.)

16 years agoAll extensions are now propper XML files with a namespace and all validate against...
mfloryan [Fri, 18 Apr 2008 15:49:46 +0000 (15:49 +0000)]
All extensions are now propper XML files with a namespace and all validate against the new inkscape.extension.rng RelaxNG schema.

16 years agoAs there is no implementation for this extension it will not validate with the new...
mfloryan [Fri, 18 Apr 2008 15:14:43 +0000 (15:14 +0000)]
As there is no implementation for this extension it will not validate with the new schema. Thus removing this example - all relevant information is now available on the wiki: wiki.inkscape.org/wiki/index.php/Extensions#RadioButton_example

16 years agoupdate to latest 2geom. (eol-style fix)
johanengelen [Fri, 18 Apr 2008 07:20:46 +0000 (07:20 +0000)]
update to latest 2geom. (eol-style fix)

16 years agoallow inx to suppress live preview checkbox
buliabyak [Fri, 18 Apr 2008 03:25:42 +0000 (03:25 +0000)]
allow inx to suppress live preview checkbox

16 years agoprovide a parent for the working-please-wait message so it does not sink
buliabyak [Fri, 18 Apr 2008 02:39:23 +0000 (02:39 +0000)]
provide a parent for the working-please-wait message so it does not sink

16 years agoSmall Paint Bucket optimization for creating GrayMap
johncoswell [Fri, 18 Apr 2008 01:31:11 +0000 (01:31 +0000)]
Small Paint Bucket optimization for creating GrayMap

16 years agoHave Paint Bucket generate the necessary GrayMap for potrace directly, skipping the...
johncoswell [Thu, 17 Apr 2008 22:43:15 +0000 (22:43 +0000)]
Have Paint Bucket generate the necessary GrayMap for potrace directly, skipping the standard, slower potrace filtering routines.

16 years agoFollowing the previous commit - update to the INX files - a step towards proper XML...
mfloryan [Thu, 17 Apr 2008 16:16:48 +0000 (16:16 +0000)]
Following the previous commit - update to the INX files - a step towards proper XML format with schema for INX files.

16 years agoA small step towards making the inx files fully XML / schema compliant
mfloryan [Thu, 17 Apr 2008 16:14:20 +0000 (16:14 +0000)]
A small step towards making the inx files fully XML / schema compliant

16 years agoCreated new Arrange submenu for effects extensions
prokoudine [Thu, 17 Apr 2008 16:01:35 +0000 (16:01 +0000)]
Created new Arrange submenu for effects extensions

16 years agoadded Restack extension from Rob Antonishen
prokoudine [Thu, 17 Apr 2008 15:18:50 +0000 (15:18 +0000)]
added Restack extension from Rob Antonishen

16 years agoupdate to latest 2geom. fixes LPE's ignoring the closing segment of a closed path
johanengelen [Thu, 17 Apr 2008 09:15:33 +0000 (09:15 +0000)]
update to latest 2geom. fixes LPE's ignoring the closing segment of a closed path

16 years agouse the user-specified bounding box type
buliabyak [Thu, 17 Apr 2008 02:41:01 +0000 (02:41 +0000)]
use the user-specified bounding box type

16 years agoreplace text strings by ints for tools/bounding_box
buliabyak [Thu, 17 Apr 2008 02:40:23 +0000 (02:40 +0000)]
replace text strings by ints for tools/bounding_box

16 years agofix by kur9kin for endless loop from bug 212332
buliabyak [Wed, 16 Apr 2008 21:28:19 +0000 (21:28 +0000)]
fix by kur9kin for endless loop from bug 212332

16 years agocmake: copy over excluded dirs from build.xml
johanengelen [Wed, 16 Apr 2008 09:29:16 +0000 (09:29 +0000)]
cmake: copy over excluded dirs from build.xml

16 years agofix include path
johanengelen [Wed, 16 Apr 2008 09:28:45 +0000 (09:28 +0000)]
fix include path

16 years agomake sure --export-area-canvas works for pdf export too
buliabyak [Wed, 16 Apr 2008 06:43:33 +0000 (06:43 +0000)]
make sure --export-area-canvas works for pdf export too

16 years agoCmake: Add simple CMakeLists.txt for 2geom and linking to inkscape
verbalshadow [Wed, 16 Apr 2008 05:18:55 +0000 (05:18 +0000)]
Cmake: Add simple CMakeLists.txt for 2geom and linking to inkscape

16 years agocmake: copy over some excluded files from build.xml
johanengelen [Tue, 15 Apr 2008 20:21:53 +0000 (20:21 +0000)]
cmake: copy over some excluded files from build.xml

16 years agoSet concatenate_before_pwd2 = true in perspective path LPE so that paths don't get...
cilix42 [Tue, 15 Apr 2008 18:38:15 +0000 (18:38 +0000)]
Set concatenate_before_pwd2 = true in perspective path LPE so that paths don't get split into their subpaths (which gives weird results especially with text)

16 years agofixed E/V keys by request from InitMass
prokoudine [Tue, 15 Apr 2008 16:47:07 +0000 (16:47 +0000)]
fixed E/V keys by request from InitMass

16 years agoFixes Bug #216584 (Effects/Color/Replace color not accepting UC) and also implements...
mfloryan [Tue, 15 Apr 2008 16:17:21 +0000 (16:17 +0000)]
Fixes Bug #216584 (Effects/Color/Replace color not accepting UC) and also implements max_length attribute for string parameters in inx files.

16 years agoi18n: Added some comments for translators.
mfloryan [Tue, 15 Apr 2008 08:44:43 +0000 (08:44 +0000)]
i18n: Added some comments for translators.

16 years ago- Clean up LPE bounding box computing code
bgk [Tue, 15 Apr 2008 08:07:29 +0000 (08:07 +0000)]
- Clean up LPE bounding box computing code
- Initial work to make the Perspective Path effect work with groups. Still not working correctly due to a bug in the bounding box code.

16 years agofix include path
johanengelen [Tue, 15 Apr 2008 07:41:43 +0000 (07:41 +0000)]
fix include path

16 years agofix include paths
johanengelen [Tue, 15 Apr 2008 07:37:48 +0000 (07:37 +0000)]
fix include paths

16 years agoMinor string constant fixes to eradicate warnings.
mfloryan [Mon, 14 Apr 2008 19:43:59 +0000 (19:43 +0000)]
Minor string constant fixes to eradicate warnings.

16 years agocmake: move live_effects/n-art-bpath-2geom.* to libnr/n-art-bpath-2geom.*
johanengelen [Mon, 14 Apr 2008 13:43:31 +0000 (13:43 +0000)]
cmake: move live_effects/n-art-bpath-2geom.* to libnr/n-art-bpath-2geom.*

16 years agouse sp_nodepath_make_straight_path in LPE VonKoch
johanengelen [Mon, 14 Apr 2008 08:24:11 +0000 (08:24 +0000)]
use sp_nodepath_make_straight_path in LPE VonKoch

16 years agonode tool update
buliabyak [Mon, 14 Apr 2008 08:18:16 +0000 (08:18 +0000)]
node tool update

16 years agodon't override helperpath preference setting per default in LPE::Effect.
johanengelen [Mon, 14 Apr 2008 08:15:21 +0000 (08:15 +0000)]
don't override helperpath preference setting per default in LPE::Effect.

16 years agopatch from bug 214171
buliabyak [Mon, 14 Apr 2008 07:59:27 +0000 (07:59 +0000)]
patch from bug 214171

16 years agosuppress helperpath and handles showing for LPESpiro
johanengelen [Mon, 14 Apr 2008 07:50:17 +0000 (07:50 +0000)]
suppress helperpath and handles showing for LPESpiro

16 years agouse sp_nodepath_make_straight_path in LPEGears
johanengelen [Mon, 14 Apr 2008 07:42:16 +0000 (07:42 +0000)]
use sp_nodepath_make_straight_path in LPEGears

16 years agowhitespace + comment
johanengelen [Mon, 14 Apr 2008 07:36:34 +0000 (07:36 +0000)]
whitespace + comment

16 years agofix 216898
buliabyak [Mon, 14 Apr 2008 05:32:18 +0000 (05:32 +0000)]
fix 216898

16 years agoplease dont forget to update Makefile_insert\!
buliabyak [Mon, 14 Apr 2008 05:01:31 +0000 (05:01 +0000)]
please dont forget to update Makefile_insert\!

16 years agoplease dont forget to update Makefile_insert\!
buliabyak [Mon, 14 Apr 2008 04:41:21 +0000 (04:41 +0000)]
please dont forget to update Makefile_insert\!

16 years agoshift+s converts node to half-smooth first if adjacent to line, then to full smooth...
buliabyak [Mon, 14 Apr 2008 01:18:04 +0000 (01:18 +0000)]
shift+s converts node to half-smooth first if adjacent to line, then to full smooth; shift+c first converts to cusp then retracts handles; use more robust way to determine if a segment is line, which works for a curve with both retracted handles too

16 years agosuppress helperpath display for spiro
buliabyak [Mon, 14 Apr 2008 01:04:53 +0000 (01:04 +0000)]
suppress helperpath display for spiro

16 years agoC++-ify initialization of Effect class
johanengelen [Sun, 13 Apr 2008 21:15:30 +0000 (21:15 +0000)]
C++-ify initialization of Effect class

16 years agoC++-ify initialization of Parameter and ScalarParam classes
johanengelen [Sun, 13 Apr 2008 21:13:08 +0000 (21:13 +0000)]
C++-ify initialization of Parameter and ScalarParam classes

16 years agofix typo
johanengelen [Sun, 13 Apr 2008 21:09:19 +0000 (21:09 +0000)]
fix typo

16 years agonow with 2geom's arc implem. : accept pasting ellipse path params.
johanengelen [Sun, 13 Apr 2008 21:05:27 +0000 (21:05 +0000)]
now with 2geom's arc implem. : accept pasting ellipse path params.

16 years agomove live_effects/n-art-bpath-2geom.* to libnr/n-art-bpath-2geom.*
johanengelen [Sun, 13 Apr 2008 21:01:01 +0000 (21:01 +0000)]
move live_effects/n-art-bpath-2geom.* to libnr/n-art-bpath-2geom.*

16 years agosync with current 2geom, SVGEllipticalArc
johanengelen [Sun, 13 Apr 2008 21:00:01 +0000 (21:00 +0000)]
sync with current 2geom, SVGEllipticalArc

16 years agotranslator comment
a_b [Sun, 13 Apr 2008 20:29:03 +0000 (20:29 +0000)]
translator comment

16 years agotranslator comment
a_b [Sun, 13 Apr 2008 20:20:43 +0000 (20:20 +0000)]
translator comment

16 years agosync with current 2geom, split_at_discontinuities method and SVGEllipticalArc
johanengelen [Sun, 13 Apr 2008 20:19:07 +0000 (20:19 +0000)]
sync with current 2geom, split_at_discontinuities method and SVGEllipticalArc

16 years agoimprove error reporting from TcpSocket
ishmal [Sun, 13 Apr 2008 20:11:16 +0000 (20:11 +0000)]
improve error reporting from TcpSocket

16 years agotranslator comment
a_b [Sun, 13 Apr 2008 19:58:29 +0000 (19:58 +0000)]
translator comment

16 years agomore debug output messages
ishmal [Sun, 13 Apr 2008 19:34:31 +0000 (19:34 +0000)]
more debug output messages

16 years agoremove split_at_discontinuities from LPE code, because it has been moved to 2geom.
johanengelen [Sun, 13 Apr 2008 19:34:10 +0000 (19:34 +0000)]
remove split_at_discontinuities from LPE code, because it has been moved to 2geom.

16 years agosync with current 2geom, split_at_discontinuities method and SVGEllipticalArc
johanengelen [Sun, 13 Apr 2008 19:27:01 +0000 (19:27 +0000)]
sync with current 2geom, split_at_discontinuities method and SVGEllipticalArc

16 years agoMake fallback to iq auth in the odd situation of server saying it has streams v1...
ishmal [Sun, 13 Apr 2008 19:06:55 +0000 (19:06 +0000)]
Make fallback to iq auth in the odd situation of server saying it has streams v1.0, but doesnt handle sasl (server bug)

16 years agoMake pedro dom list simpler
ishmal [Sun, 13 Apr 2008 17:20:55 +0000 (17:20 +0000)]
Make pedro dom list simpler

16 years agomake saslMd5Authenticate() error message a bit smarter
ishmal [Sun, 13 Apr 2008 16:17:11 +0000 (16:17 +0000)]
make saslMd5Authenticate() error message a bit smarter

16 years agoaddress some char* string literal warnings.
pjrm [Sun, 13 Apr 2008 11:28:59 +0000 (11:28 +0000)]
address some char* string literal warnings.

16 years agoRewrote code to get rid of 32/64 bit problems, and to make is more stream-like. A...
ishmal [Sun, 13 Apr 2008 06:32:58 +0000 (06:32 +0000)]
Rewrote code to get rid of 32/64 bit problems, and to make is more stream-like. A bad type pun assuming that a long was 32 bits caused bug #216571 on a 64 bit machine.

16 years agoSeveral different i18n issues fixed following report from a_b (adresses bug #215387...
mfloryan [Sat, 12 Apr 2008 23:22:47 +0000 (23:22 +0000)]
Several different i18n issues fixed following report from a_b (adresses bug #215387, but still 2 more issues need to be fixed before it can be closed) and minor other issues fixed as spotted. Some changes could be ported to 0.46 branch.

16 years agoMake gnome_canvas_bpath_def_closepath merge two nearly equal endpoints to prevent...
jaspervdg [Sat, 12 Apr 2008 15:43:51 +0000 (15:43 +0000)]
Make gnome_canvas_bpath_def_closepath merge two nearly equal endpoints to prevent endpoints from wrongly being recognized as distinct. (fixing bug 216152)

16 years agoPreserve transform of topmost object when combining paths (fixing bug 215255).
jaspervdg [Sat, 12 Apr 2008 09:32:03 +0000 (09:32 +0000)]
Preserve transform of topmost object when combining paths (fixing bug 215255).

16 years agoSpiro splines LPE using code by Raph Levien
buliabyak [Sat, 12 Apr 2008 08:41:15 +0000 (08:41 +0000)]
Spiro splines LPE using code by Raph Levien

16 years agowith ctrl, snap handles also to the direction of the opposite handle or line segment...
buliabyak [Sat, 12 Apr 2008 04:27:08 +0000 (04:27 +0000)]
with ctrl, snap handles also to the direction of the opposite handle or line segment, its continuation and perpendiculars

16 years agoRefactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a std::list...
dvlierop2 [Fri, 11 Apr 2008 08:03:13 +0000 (08:03 +0000)]
Refactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a std::list in four different places. Now this is handled in only one place

16 years agoCmake: Correct INKSCAPE_LIBDIR value in config.h.cmake, to correct compiling issue...
verbalshadow [Fri, 11 Apr 2008 00:43:06 +0000 (00:43 +0000)]
Cmake: Correct INKSCAPE_LIBDIR value in config.h.cmake, to correct compiling issue with dependency.cpp

16 years agomake delete-preserving-shape the default used by the toolbar delete button
buliabyak [Thu, 10 Apr 2008 16:52:29 +0000 (16:52 +0000)]
make delete-preserving-shape the default used by the toolbar delete button

16 years agomake handle length/angle display immediate
buliabyak [Thu, 10 Apr 2008 16:49:28 +0000 (16:49 +0000)]
make handle length/angle display immediate

16 years agofix bug: extra node added when joining two-node subpaths; comments
buliabyak [Thu, 10 Apr 2008 16:48:04 +0000 (16:48 +0000)]
fix bug: extra node added when joining two-node subpaths; comments

16 years agocmake: exclude /src/dom/work/.* and /src/extension/dxf2svg/.* that are also excluded...
johanengelen [Thu, 10 Apr 2008 13:10:19 +0000 (13:10 +0000)]
cmake: exclude /src/dom/work/.* and /src/extension/dxf2svg/.* that are also excluded from build in build.xml

16 years agocmake: exclude /src/dom/odf/SvgOdg.cpp that is also excluded from build in build.xml
johanengelen [Thu, 10 Apr 2008 12:49:00 +0000 (12:49 +0000)]
cmake: exclude /src/dom/odf/SvgOdg.cpp that is also excluded from build in build.xml

16 years agocmake: exclude some files that are also excluded from build in build.xml
johanengelen [Thu, 10 Apr 2008 12:46:54 +0000 (12:46 +0000)]
cmake: exclude some files that are also excluded from build in build.xml

16 years agocmake: include javainc dir. please check if this works on linux and solaris too
johanengelen [Thu, 10 Apr 2008 12:36:35 +0000 (12:36 +0000)]
cmake: include javainc dir. please check if this works on linux and solaris too

16 years agoadjust the file generation path fir sp-marshal to jive with the include vs add_direct...
acspike [Thu, 10 Apr 2008 12:06:12 +0000 (12:06 +0000)]
adjust the file generation path fir sp-marshal to jive with the include vs add_directories mentality

16 years agoprocess source subdirectories with INCLUDE() instead of ADD_DIRECTORIES()
acspike [Thu, 10 Apr 2008 04:48:40 +0000 (04:48 +0000)]
process source subdirectories with INCLUDE() instead of ADD_DIRECTORIES()
This more or less mimics what is being done by automake with the Makefile_insert files
What we were doing before did not work because add_directories() isn't able to
propagate variables upwards.

16 years agoreplace setting flags as variables with use of add_definitions() to avoid quoting...
acspike [Thu, 10 Apr 2008 01:09:31 +0000 (01:09 +0000)]
replace setting flags as variables with use of add_definitions() to avoid quoting issues and because it looks like the proper cmake way

16 years agodon't set -j anything by default - its not useful and may cause breakage debugging...
mrdocs [Wed, 9 Apr 2008 21:41:47 +0000 (21:41 +0000)]
don't set -j anything by default - its not useful and may cause breakage debugging the new cmake build setup

16 years agochange doEffect functions to use const& parameters
johanengelen [Wed, 9 Apr 2008 21:12:17 +0000 (21:12 +0000)]
change doEffect functions to use const& parameters

16 years agochange to c++ style casts in Effect::New
johanengelen [Wed, 9 Apr 2008 20:50:57 +0000 (20:50 +0000)]
change to c++ style casts in Effect::New

16 years agochange doEffect_path to default to calling pwd2 for all continuous subpaths
johanengelen [Wed, 9 Apr 2008 20:34:47 +0000 (20:34 +0000)]
change doEffect_path to default to calling pwd2 for all continuous subpaths

16 years agoFixed Makefile following earlier commit (removed and added relevant .py files)
mfloryan [Wed, 9 Apr 2008 20:15:37 +0000 (20:15 +0000)]
Fixed Makefile following earlier commit (removed and added relevant .py files)

16 years agoFollowing this thread: http://www.nabble.com/Extension-parameters-td9064285.html...
mfloryan [Wed, 9 Apr 2008 09:51:44 +0000 (09:51 +0000)]
Following this thread: nabble.com/Extension-parameters-td9064285.html#a9064285 cleaned up python webbrowser_* scripts by replacing with one generic launch_webbrowser.py. This required a bit of work with extensions to handle hidden GUI parameters better. URLs are now in the  inkscape_help_*.inx files.

16 years agoanother currentColor fix from bug 174720
buliabyak [Tue, 8 Apr 2008 18:42:56 +0000 (18:42 +0000)]
another currentColor fix from bug 174720

16 years agocommit patch for LaTeX extension. fixes bug #195052
johanengelen [Tue, 8 Apr 2008 18:16:04 +0000 (18:16 +0000)]
commit patch for LaTeX extension. fixes bug #195052

16 years agocmake: remove slashes from previous commit. they really should not be there. looking...
johanengelen [Tue, 8 Apr 2008 18:03:28 +0000 (18:03 +0000)]
cmake: remove slashes from previous commit. they really should not be there. looking elsewhere to fix my prob...

16 years agorename LPESkeletalStrokes -> LPEPatternAlongPath
johanengelen [Tue, 8 Apr 2008 18:02:31 +0000 (18:02 +0000)]
rename LPESkeletalStrokes -> LPEPatternAlongPath

16 years agorename LPEPathAlongPath -> LPEBendPath
johanengelen [Tue, 8 Apr 2008 17:50:06 +0000 (17:50 +0000)]
rename LPEPathAlongPath -> LPEBendPath

16 years agosince marker size depends on stroke width, write stroke width if there's no stroke...
buliabyak [Tue, 8 Apr 2008 08:12:54 +0000 (08:12 +0000)]
since marker size depends on stroke width, write stroke width if there's no stroke but there are markers

16 years agocmake: add CheckStructMember.cmake from KDE. enable struct checks (does this struct...
johanengelen [Mon, 7 Apr 2008 21:05:39 +0000 (21:05 +0000)]
cmake: add CheckStructMember.cmake from KDE. enable struct checks (does this struct even exist? not here on windows)

16 years agocmake: add many config define checks
johanengelen [Mon, 7 Apr 2008 20:52:45 +0000 (20:52 +0000)]
cmake: add many config define checks

16 years agocmake: add \\ to string define so result is something like: -DSSL=\" sfsdf \" ...
johanengelen [Mon, 7 Apr 2008 20:12:57 +0000 (20:12 +0000)]
cmake: add \\ to string define so result is something like:  -DSSL=\" sfsdf \"    (note the slashes in front of the ")

16 years agoset correct svn:eol-style native for LPE files.
johanengelen [Mon, 7 Apr 2008 20:01:11 +0000 (20:01 +0000)]
set correct svn:eol-style native for LPE files.

16 years agocmake: EOL of cmakelists.txt in subdirs
johanengelen [Mon, 7 Apr 2008 19:59:47 +0000 (19:59 +0000)]
cmake: EOL of cmakelists.txt in subdirs

16 years agocmake: generate config files in CMAKE_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR...
johanengelen [Mon, 7 Apr 2008 19:51:56 +0000 (19:51 +0000)]
cmake: generate config files in CMAKE_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR .  add extra comments.

16 years agocmake: EOL
johanengelen [Mon, 7 Apr 2008 19:48:38 +0000 (19:48 +0000)]
cmake: EOL