Code

inkscape.git
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

16 years agocmake: convert more files to svn native eol style. i think only subdirs to go now.
johanengelen [Mon, 7 Apr 2008 19:41:32 +0000 (19:41 +0000)]
cmake: convert more files to svn native eol style. i think only subdirs to go now.

16 years agocmake: make all cmakescripts svn:eol-style native. solved problem i think
johanengelen [Mon, 7 Apr 2008 19:37:06 +0000 (19:37 +0000)]
cmake: make all cmakescripts  svn:eol-style native. solved problem i think

16 years agoRefactor snapper and snapindicator (in order to enable the snapindicator in the selec...
dvlierop2 [Mon, 7 Apr 2008 19:28:34 +0000 (19:28 +0000)]
Refactor snapper and snapindicator (in order to enable the snapindicator in the selector tool)

16 years agocmake: add comment of why to add base binary dir to include path
johanengelen [Mon, 7 Apr 2008 19:26:56 +0000 (19:26 +0000)]
cmake: add comment of why to add base binary dir to include path

16 years agocmake: add pango defines necessary for win32 building, also needed for linux?
johanengelen [Mon, 7 Apr 2008 08:44:53 +0000 (08:44 +0000)]
cmake: add pango defines necessary for win32 building, also needed for linux?

16 years agocmake: add pango defines necessary for win32 building, also needed for linux?
johanengelen [Mon, 7 Apr 2008 08:37:30 +0000 (08:37 +0000)]
cmake: add pango defines necessary for win32 building, also needed for linux?

16 years agocmake: add compile flags to C flags as well
johanengelen [Mon, 7 Apr 2008 08:22:07 +0000 (08:22 +0000)]
cmake: add compile flags to C flags as well

16 years agocmake: remove inkscape_version definition from config.h (it's already in inkscape_ver...
johanengelen [Mon, 7 Apr 2008 08:19:02 +0000 (08:19 +0000)]
cmake: remove inkscape_version definition from config.h (it's already in inkscape_version.h)

16 years agocmake: add CMAKE_CURRENT_BINARY_DIR to include path
johanengelen [Mon, 7 Apr 2008 08:17:02 +0000 (08:17 +0000)]
cmake: add CMAKE_CURRENT_BINARY_DIR to include path

16 years agoadd CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX)
johanengelen [Mon, 7 Apr 2008 08:12:33 +0000 (08:12 +0000)]
add CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX)

16 years agoCmake: Moved CMAKE_C_FLAGS to ConfigCompileFlags.cmake
verbalshadow [Mon, 7 Apr 2008 03:53:51 +0000 (03:53 +0000)]
Cmake: Moved CMAKE_C_FLAGS to ConfigCompileFlags.cmake

16 years agoCMake: add optional flags when found
acspike [Mon, 7 Apr 2008 02:57:41 +0000 (02:57 +0000)]
CMake: add optional flags when found

16 years agoRemove binary dir from Include path and replace with the source root and src/
acspike [Mon, 7 Apr 2008 02:55:07 +0000 (02:55 +0000)]
Remove binary dir from Include path and replace with the source root and src/

16 years agoremove antediluvian cruft
buliabyak [Mon, 7 Apr 2008 00:58:05 +0000 (00:58 +0000)]
remove antediluvian cruft

16 years agorevert last change: svg spec says that even one zero dimension suppresses rendering...
buliabyak [Mon, 7 Apr 2008 00:57:08 +0000 (00:57 +0000)]
revert last change: svg spec says that even one zero dimension suppresses rendering, so this change will need to wait until we switch SPRect to using path

16 years agoallow a rect with only one dimension == 0 to have curve
buliabyak [Mon, 7 Apr 2008 00:52:02 +0000 (00:52 +0000)]
allow a rect with only one dimension == 0 to have curve

16 years agofix bug with garbage lines caused with close_path when part of a subpath is optimized out
buliabyak [Mon, 7 Apr 2008 00:51:24 +0000 (00:51 +0000)]
fix bug with garbage lines caused with close_path when part of a subpath is optimized out

16 years agoconsistency with offset keys
buliabyak [Mon, 7 Apr 2008 00:50:16 +0000 (00:50 +0000)]
consistency with offset keys

16 years agoCmake: more fixs for C internal libs
verbalshadow [Mon, 7 Apr 2008 00:00:42 +0000 (00:00 +0000)]
Cmake: more fixs for C internal libs

16 years agoCmake: Added internal link libraries
verbalshadow [Sun, 6 Apr 2008 17:06:37 +0000 (17:06 +0000)]
Cmake: Added internal link libraries

16 years agoCMake build work
acspike [Sun, 6 Apr 2008 02:40:07 +0000 (02:40 +0000)]
CMake build work
- Comment inkview.cpp because it is another executable file. These will each need to be separated into their own targets.
- Move deptool.cpp into win32 only. perhaps this isn't used at all for cmake builds.
- aggregate all the link flags into a var and pass to the linker to avoid platform specific naming conventions.

16 years agoCmake: Added link libraries
verbalshadow [Sun, 6 Apr 2008 00:09:41 +0000 (00:09 +0000)]
Cmake: Added link libraries

16 years agoCmake: Fix registrytool.cpp to compile on windows only
verbalshadow [Sat, 5 Apr 2008 23:49:41 +0000 (23:49 +0000)]
Cmake: Fix registrytool.cpp to compile on windows only

16 years agoEnable/disable selection tools to match selection
joncruz [Sat, 5 Apr 2008 23:34:45 +0000 (23:34 +0000)]
Enable/disable selection tools to match selection

16 years agoupdate
a_b [Sat, 5 Apr 2008 23:20:55 +0000 (23:20 +0000)]
update

16 years agoConst char fixup
joncruz [Sat, 5 Apr 2008 20:22:51 +0000 (20:22 +0000)]
Const char fixup

16 years agocmake: remove quotes from execute_command. now it works.
johanengelen [Sat, 5 Apr 2008 18:40:56 +0000 (18:40 +0000)]
cmake: remove quotes from execute_command. now it works.

16 years agocmake: fix file names in marshal generation
johanengelen [Sat, 5 Apr 2008 18:24:58 +0000 (18:24 +0000)]
cmake: fix file names in marshal generation