Code

inkscape.git
15 years agoAdd option do deactivate knotholder handles for LPEs (useful if they interfere with...
cilix42 [Mon, 18 Aug 2008 00:41:18 +0000 (00:41 +0000)]
Add option do deactivate knotholder handles for LPEs (useful if they interfere with node handles during editing); doesn't live update the ShapeEditor at the moment

15 years agoBetter position for Geometry tool in toolbox
cilix42 [Mon, 18 Aug 2008 00:40:58 +0000 (00:40 +0000)]
Better position for Geometry tool in toolbox

15 years agoDebugging messages in event-context for mouse and keyboard interaction
cilix42 [Mon, 18 Aug 2008 00:40:39 +0000 (00:40 +0000)]
Debugging messages in event-context for mouse and keyboard interaction

15 years agoSome icons for the geometry tool
cilix42 [Mon, 18 Aug 2008 00:40:23 +0000 (00:40 +0000)]
Some icons for the geometry tool

15 years agowhitespace cleanup
cilix42 [Mon, 18 Aug 2008 00:40:01 +0000 (00:40 +0000)]
whitespace cleanup

15 years agoNew crosshairs cursor for geometry context
cilix42 [Mon, 18 Aug 2008 00:39:41 +0000 (00:39 +0000)]
New crosshairs cursor for geometry context

15 years agoMany debugging messages
cilix42 [Mon, 18 Aug 2008 00:39:23 +0000 (00:39 +0000)]
Many debugging messages

15 years agoUse the visible curve (instead of original curve when a LPE is applied) for testing...
cilix42 [Mon, 18 Aug 2008 00:38:54 +0000 (00:38 +0000)]
Use the visible curve (instead of original curve when a LPE is applied) for testing whether we are over stroke; TODO: we must check whether this is also the right thing to do in all other circumstanced (e.g., when editing in node tool)

15 years agoSince we know what the parent context is we don't need to check whether it has a...
cilix42 [Mon, 18 Aug 2008 00:38:41 +0000 (00:38 +0000)]
Since we know what the parent context is we don't need to check whether it has a root handler

15 years agoChange cursor in LPETool when over stroke; call root handler of parent context, too...
cilix42 [Mon, 18 Aug 2008 00:38:28 +0000 (00:38 +0000)]
Change cursor in LPETool when over stroke; call root handler of parent context, too (except in special situations)

15 years agoReally call sp_lpetool_context_selection_changed() when selection changed (had forgot...
cilix42 [Mon, 18 Aug 2008 00:38:15 +0000 (00:38 +0000)]
Really call sp_lpetool_context_selection_changed() when selection changed (had forgotten to connect to signal before)

15 years agoAdd a ShapeEditor to LPEToolContext which allows us to edit nodes (switching selectio...
cilix42 [Mon, 18 Aug 2008 00:38:00 +0000 (00:38 +0000)]
Add a ShapeEditor to LPEToolContext which allows us to edit nodes (switching selections doesn't work right yet; changing the cursor would also be nice)

15 years agoDon't draw anchors in LPEToolContext
cilix42 [Mon, 18 Aug 2008 00:37:32 +0000 (00:37 +0000)]
Don't draw anchors in LPEToolContext

15 years agoAt the moment mouse click starts waiting for the activated LPE and nothing else ...
cilix42 [Mon, 18 Aug 2008 00:37:16 +0000 (00:37 +0000)]
At the moment mouse click starts waiting for the activated LPE and nothing else (editing is not possible; no toolbar controls yet)

15 years agoAdd lpe-line_segment to LPETool toolbar
cilix42 [Mon, 18 Aug 2008 00:36:52 +0000 (00:36 +0000)]
Add lpe-line_segment to LPETool toolbar

15 years agoMake number of subtools configurable
cilix42 [Mon, 18 Aug 2008 00:36:32 +0000 (00:36 +0000)]
Make number of subtools configurable

15 years agoMake sp_lpetool_mode_changed() generic, i.e., read the activated subtool from the...
cilix42 [Mon, 18 Aug 2008 00:36:15 +0000 (00:36 +0000)]
Make sp_lpetool_mode_changed() generic, i.e., read the activated subtool from the given list

15 years agoRemove commented code
cilix42 [Mon, 18 Aug 2008 00:35:59 +0000 (00:35 +0000)]
Remove commented code

15 years agoAllow more than two options to choose from
cilix42 [Mon, 18 Aug 2008 00:35:43 +0000 (00:35 +0000)]
Allow more than two options to choose from

15 years agoBuild LPETool subtools automatically from a list of effects
cilix42 [Mon, 18 Aug 2008 00:35:27 +0000 (00:35 +0000)]
Build LPETool subtools automatically from a list of effects

15 years agocleanup
cilix42 [Mon, 18 Aug 2008 00:35:11 +0000 (00:35 +0000)]
cleanup

15 years agoLet LPEToolContext derive from PenContext so that we can use its LPE framework
cilix42 [Mon, 18 Aug 2008 00:34:50 +0000 (00:34 +0000)]
Let LPEToolContext derive from PenContext so that we can use its LPE framework

15 years agoGroundwork for new LPETool tool (which consists of subtools that are constructed...
cilix42 [Mon, 18 Aug 2008 00:34:25 +0000 (00:34 +0000)]
Groundwork for new LPETool tool (which consists of subtools that are constructed from LPEs)

15 years agoRename acceptsNumParams() -> acceptsNumClicks() because it makes more sense
cilix42 [Mon, 18 Aug 2008 00:33:33 +0000 (00:33 +0000)]
Rename acceptsNumParams() -> acceptsNumClicks() because it makes more sense

15 years agoRemove done_pathparam_set and friends because it currently isn't used any more anyway...
cilix42 [Mon, 18 Aug 2008 00:33:13 +0000 (00:33 +0000)]
Remove done_pathparam_set and friends because it currently isn't used any more anyway; reimplement its intended functionality by using isReady()

15 years agoreimplement acceptsNumParams(); instead of making it a virtual function we just make...
cilix42 [Mon, 18 Aug 2008 00:32:47 +0000 (00:32 +0000)]
reimplement acceptsNumParams(); instead of making it a virtual function we just make case distinctions

15 years agoNew LPE to draw infinite lines (cut by a limiting bounding box), rays and segments
cilix42 [Mon, 18 Aug 2008 00:32:26 +0000 (00:32 +0000)]
New LPE to draw infinite lines (cut by a limiting bounding box), rays and segments

15 years agocast for EnumParam
cilix42 [Mon, 18 Aug 2008 00:32:01 +0000 (00:32 +0000)]
cast for EnumParam

15 years agoFix startup crash by reverting a one-line change in 2geom; but please investigate...
cilix42 [Sun, 17 Aug 2008 23:25:57 +0000 (23:25 +0000)]
Fix startup crash by reverting a one-line change in 2geom; but please investigate this further

15 years ago#include <algorithm> in geom.cpp (closes LP #258851)
cilix42 [Sun, 17 Aug 2008 19:05:17 +0000 (19:05 +0000)]
#include <algorithm> in geom.cpp (closes LP #258851)

15 years agoadded subroutine ROBO (Master) spline
alvinpenner [Sat, 16 Aug 2008 10:36:40 +0000 (10:36 +0000)]
added subroutine ROBO (Master) spline

15 years agoadd checkbox for ROBO Master output
alvinpenner [Sat, 16 Aug 2008 09:53:44 +0000 (09:53 +0000)]
add checkbox for ROBO Master output

15 years agoUse new methods from 2geom's API
dvlierop2 [Fri, 15 Aug 2008 20:26:58 +0000 (20:26 +0000)]
Use new methods from 2geom's API

15 years agoUpdate to 2geom rev. 1538
dvlierop2 [Fri, 15 Aug 2008 20:23:54 +0000 (20:23 +0000)]
Update to 2geom rev. 1538

15 years agoEliminate more of SP_ACTIVE_DESKTOP
cilix42 [Fri, 15 Aug 2008 19:53:10 +0000 (19:53 +0000)]
Eliminate more of SP_ACTIVE_DESKTOP

15 years agoCorrect fix for Esc and Shift+Z in pencil tool
cilix42 [Fri, 15 Aug 2008 06:49:36 +0000 (06:49 +0000)]
Correct fix for Esc and Shift+Z in pencil tool

15 years agofamily name field on svgfonts dialog now properly saves attribute. Should do the...
JucaBlues [Fri, 15 Aug 2008 01:38:12 +0000 (01:38 +0000)]
family name field on svgfonts dialog now properly saves attribute. Should do the same for other fields on next commits.

15 years agoRemoval of SP_ACTIVE_DESKTOP, next take
cilix42 [Thu, 14 Aug 2008 21:35:32 +0000 (21:35 +0000)]
Removal of SP_ACTIVE_DESKTOP, next take

15 years agoGet rid of a whole bunch of further instances of SP_ACTIVE_DESKTOP (where the desktop...
cilix42 [Thu, 14 Aug 2008 21:33:11 +0000 (21:33 +0000)]
Get rid of a whole bunch of further instances of SP_ACTIVE_DESKTOP (where the desktop is readily available in the calling function)

15 years agoRemove further instances of SP_ACTIVE_DESKTOP
cilix42 [Thu, 14 Aug 2008 21:30:51 +0000 (21:30 +0000)]
Remove further instances of SP_ACTIVE_DESKTOP

15 years agoAdd new extrude
ishmal [Thu, 14 Aug 2008 20:19:43 +0000 (20:19 +0000)]
Add new extrude

15 years agoAdd new extrude
ishmal [Thu, 14 Aug 2008 20:17:59 +0000 (20:17 +0000)]
Add new extrude

15 years agouse 32 and 64 bit sizes explicitly
ishmal [Thu, 14 Aug 2008 17:59:21 +0000 (17:59 +0000)]
use 32 and 64 bit sizes explicitly

15 years agofixme is solved
cilix42 [Thu, 14 Aug 2008 17:39:36 +0000 (17:39 +0000)]
fixme is solved

15 years agoadd svg fonts
ishmal [Thu, 14 Aug 2008 16:21:21 +0000 (16:21 +0000)]
add svg fonts

15 years agoTemporary switch to handle api change in Cairo 1.7+
ishmal [Thu, 14 Aug 2008 16:13:23 +0000 (16:13 +0000)]
Temporary switch to handle api change in Cairo 1.7+

15 years agoRemove a few more instances of SP_ACTIVE_DESKTOP
cilix42 [Thu, 14 Aug 2008 14:11:18 +0000 (14:11 +0000)]
Remove a few more instances of SP_ACTIVE_DESKTOP

15 years agoenable svg fonts
ishmal [Thu, 14 Aug 2008 12:42:43 +0000 (12:42 +0000)]
enable svg fonts

15 years agoadd comment
cilix42 [Thu, 14 Aug 2008 12:29:17 +0000 (12:29 +0000)]
add comment

15 years agofix spcurve test
johanengelen [Wed, 13 Aug 2008 19:10:27 +0000 (19:10 +0000)]
fix spcurve test

15 years agomake spcurve::first_point and last_point boost::optional
johanengelen [Wed, 13 Aug 2008 19:06:18 +0000 (19:06 +0000)]
make spcurve::first_point and last_point boost::optional

15 years agoreturn boost::optional for second and penultimate points of SPCurve
johanengelen [Wed, 13 Aug 2008 18:49:22 +0000 (18:49 +0000)]
return boost::optional for second and penultimate points of SPCurve

15 years agoGet rid of sp_nodepath_current() and a few instances of SP_ACTIVE_DESKTOP by passing...
cilix42 [Wed, 13 Aug 2008 15:06:50 +0000 (15:06 +0000)]
Get rid of sp_nodepath_current() and a few instances of SP_ACTIVE_DESKTOP by passing in the current desktop and nodepath from the caller

15 years agoInitialize the pointer variables in draw-context with NULL, just to be on the safe...
cilix42 [Wed, 13 Aug 2008 14:54:37 +0000 (14:54 +0000)]
Initialize the pointer variables in draw-context with NULL, just to be on the safe side

15 years agoGet rid of some superfluous includes
cilix42 [Wed, 13 Aug 2008 14:51:55 +0000 (14:51 +0000)]
Get rid of some superfluous includes

15 years agoNR:: to Geom:: for most of src/extension/
johanengelen [Tue, 12 Aug 2008 22:42:21 +0000 (22:42 +0000)]
NR:: to Geom:: for most of src/extension/

15 years agoFix some regressions in the snapping of the selector tool
dvlierop2 [Tue, 12 Aug 2008 18:45:32 +0000 (18:45 +0000)]
Fix some regressions in the snapping of the selector tool

15 years agoKhmer traslations updated
sokhem [Tue, 12 Aug 2008 01:30:44 +0000 (01:30 +0000)]
Khmer traslations updated

15 years agoInclude inkscape:connection-start and inkscape:connection-end in ID clash resolution.
sasilver [Mon, 11 Aug 2008 17:52:37 +0000 (17:52 +0000)]
Include inkscape:connection-start and inkscape:connection-end in ID clash resolution.
(Fixes bug 256986.)

15 years agoupdated Russian translation
prokoudine [Mon, 11 Aug 2008 14:23:38 +0000 (14:23 +0000)]
updated Russian translation

15 years agoKhmer translations updated
sokhem [Mon, 11 Aug 2008 09:14:24 +0000 (09:14 +0000)]
Khmer translations updated

15 years agoMove all of the snapper code to 2geom
dvlierop2 [Mon, 11 Aug 2008 04:53:15 +0000 (04:53 +0000)]
Move all of the snapper code to 2geom

15 years agopatch from bug 169004
buliabyak [Mon, 11 Aug 2008 00:14:32 +0000 (00:14 +0000)]
patch from bug 169004

15 years agoclean up code slightly
ishmal [Sun, 10 Aug 2008 19:52:42 +0000 (19:52 +0000)]
clean up code slightly

15 years agoFix for ID clash resolution: avoid finding spurious references associated with clones...
sasilver [Sun, 10 Aug 2008 14:44:19 +0000 (14:44 +0000)]
Fix for ID clash resolution: avoid finding spurious references associated with clones (fixes bug 256498).

15 years agogtkmm-ify the 'Stroke style' tab of Fill and Stroke dialog
cilix42 [Sat, 9 Aug 2008 23:23:12 +0000 (23:23 +0000)]
gtkmm-ify the 'Stroke style' tab of Fill and Stroke dialog

15 years agomerge silveiro's and my changes
ishmal [Sat, 9 Aug 2008 20:06:35 +0000 (20:06 +0000)]
merge silveiro's and my changes

15 years agoAdded missing new files
joncruz [Sat, 9 Aug 2008 19:58:34 +0000 (19:58 +0000)]
Added missing new files

15 years agoA few more tests for svg-color
jaspervdg [Sat, 9 Aug 2008 15:50:54 +0000 (15:50 +0000)]
A few more tests for svg-color

15 years agoSmall change to build.xml to not create the build directory twice (does no harm,...
jaspervdg [Sat, 9 Aug 2008 09:27:59 +0000 (09:27 +0000)]
Small change to build.xml to not create the build directory twice (does no harm, but isn't needed either)

15 years agoSnap to intersections of any kind of path (were we previously only could snap to...
dvlierop2 [Fri, 8 Aug 2008 22:28:49 +0000 (22:28 +0000)]
Snap to intersections of any kind of path (were we previously only could snap to intersections of line-segments)

15 years agofix marker behavior for moveto-only paths
johanengelen [Fri, 8 Aug 2008 21:26:52 +0000 (21:26 +0000)]
fix marker behavior for moveto-only paths

15 years agoupdate 2geom to rev1516
johanengelen [Fri, 8 Aug 2008 20:33:01 +0000 (20:33 +0000)]
update 2geom to rev1516

15 years agoBuild.xml with check target. (Forgot to commit earlier.)
jaspervdg [Fri, 8 Aug 2008 20:27:55 +0000 (20:27 +0000)]
Build.xml with check target. (Forgot to commit earlier.)

15 years agoremove many unnecessary to_2geom and from_2geom calls
johanengelen [Fri, 8 Aug 2008 17:32:43 +0000 (17:32 +0000)]
remove many unnecessary to_2geom and from_2geom calls

15 years agoFixed svg-path (and display/curve) tests to properly handle closepath and made a...
jaspervdg [Fri, 8 Aug 2008 14:18:02 +0000 (14:18 +0000)]
Fixed svg-path (and display/curve) tests to properly handle closepath and made a check target.

15 years agomore messages marked for translation
prokoudine [Fri, 8 Aug 2008 10:25:54 +0000 (10:25 +0000)]
more messages marked for translation

15 years agoKhmer translations updated
sokhem [Fri, 8 Aug 2008 10:09:33 +0000 (10:09 +0000)]
Khmer translations updated

15 years agoKhmer translations updated
sokhem [Fri, 8 Aug 2008 09:14:05 +0000 (09:14 +0000)]
Khmer translations updated

15 years agopatch from bug 244940
buliabyak [Fri, 8 Aug 2008 02:47:03 +0000 (02:47 +0000)]
patch from bug 244940

15 years agoFix regression in object snapper which caused self-snapping
dvlierop2 [Thu, 7 Aug 2008 19:32:35 +0000 (19:32 +0000)]
Fix regression in object snapper which caused self-snapping

15 years agochange javafx output to 1.0 compiler syntax
ishmal [Thu, 7 Aug 2008 18:45:31 +0000 (18:45 +0000)]
change javafx output to 1.0 compiler syntax

15 years agoremove debug message
johanengelen [Thu, 7 Aug 2008 17:51:32 +0000 (17:51 +0000)]
remove debug message

15 years agotry to make LPE optimizations easier. example in LPE Bend
johanengelen [Thu, 7 Aug 2008 17:45:53 +0000 (17:45 +0000)]
try to make LPE optimizations easier. example in LPE Bend

15 years agoKhmer translation updated
sokhem [Thu, 7 Aug 2008 09:52:00 +0000 (09:52 +0000)]
Khmer translation updated

15 years agofix ambiguities by implicit NR::Matrix/Geom::Matrix cast.
johanengelen [Wed, 6 Aug 2008 22:43:13 +0000 (22:43 +0000)]
fix ambiguities by implicit NR::Matrix/Geom::Matrix cast.

15 years agoadd automatic conversion between Geom::Matrix and NR::Matrix. (added to NR::Matrix...
johanengelen [Wed, 6 Aug 2008 22:32:41 +0000 (22:32 +0000)]
add automatic conversion between Geom::Matrix and NR::Matrix. (added to NR::Matrix class). resolved some ambiguities caused by it.

15 years ago1) When pasting, use an offset that is a multiple of the grid pitch (got lost during...
dvlierop2 [Wed, 6 Aug 2008 21:28:34 +0000 (21:28 +0000)]
1) When pasting, use an offset that is a multiple of the grid pitch (got lost during a previous round of refactoring)
2) Refactor some of the pasting code

15 years agosrc/helper 2geomified
johanengelen [Wed, 6 Aug 2008 21:23:19 +0000 (21:23 +0000)]
src/helper 2geomified

15 years ago2Geom version of the path tests + some additional small changes.
jaspervdg [Wed, 6 Aug 2008 14:31:46 +0000 (14:31 +0000)]
2Geom version of the path tests + some additional small changes.

15 years agoImprove comment in pen-context.cpp
cilix42 [Wed, 6 Aug 2008 13:23:49 +0000 (13:23 +0000)]
Improve comment in pen-context.cpp

15 years agocleanup (remove obsolete code)
cilix42 [Wed, 6 Aug 2008 13:23:32 +0000 (13:23 +0000)]
cleanup (remove obsolete code)

15 years agoNew mode in pen tool to draw paraxial lines
cilix42 [Wed, 6 Aug 2008 13:23:09 +0000 (13:23 +0000)]
New mode in pen tool to draw paraxial lines

15 years agoEsc and Ctrl+Z in pencil tool should also cancel when we're drawing straight line...
cilix42 [Wed, 6 Aug 2008 13:22:19 +0000 (13:22 +0000)]
Esc and Ctrl+Z in pencil tool should also cancel when we're drawing straight line (in which case pc->is_drawing will be false)

15 years agoadd flashing line from clone to original on Shift+D
buliabyak [Wed, 6 Aug 2008 05:24:29 +0000 (05:24 +0000)]
add flashing line from clone to original on Shift+D

15 years agoadd dashed path option
buliabyak [Wed, 6 Aug 2008 05:20:51 +0000 (05:20 +0000)]
add dashed path option

15 years agoKhmer translation updated
sokhem [Wed, 6 Aug 2008 00:34:45 +0000 (00:34 +0000)]
Khmer translation updated

15 years agooptionally (default off) relink duplicated clones to the duplicated original
buliabyak [Tue, 5 Aug 2008 22:59:15 +0000 (22:59 +0000)]
optionally (default off) relink duplicated clones to the duplicated original

15 years agoNR::Maybe => boost::optional
johanengelen [Tue, 5 Aug 2008 22:40:31 +0000 (22:40 +0000)]
NR::Maybe  =>  boost::optional

15 years agocodedread's patch for bug 254850 (fixes handling of description field in Object Prope...
sasilver [Tue, 5 Aug 2008 19:23:02 +0000 (19:23 +0000)]
codedread's patch for bug 254850 (fixes handling of description field in Object Properties dialog when switching between an object with a description and one without a description with the dialog open).