Code

inkscape.git
16 years agoFix to bug with export-width and export-height due to errno not being reset during...
johncliff [Wed, 20 Aug 2008 21:01:27 +0000 (21:01 +0000)]
Fix to bug with export-width and export-height due to errno not being reset during strtoul.
See jabber logs at 4pm 8/20/08

16 years agoMake lpe-ruler work for arbitrary paths, not just line segments
cilix42 [Tue, 19 Aug 2008 19:37:49 +0000 (19:37 +0000)]
Make lpe-ruler work for arbitrary paths, not just line segments

16 years agoFix LP #258604 (incorrect direction in tutorial-basic.svg); also fix this in a couple...
cilix42 [Tue, 19 Aug 2008 18:05:00 +0000 (18:05 +0000)]
Fix LP #258604 (incorrect direction in tutorial-basic.svg); also fix this in a couple of other languages

16 years agoDon't display canvas text (length info) in lpe-ruler any more; add many more options
cilix42 [Tue, 19 Aug 2008 17:52:18 +0000 (17:52 +0000)]
Don't display canvas text (length info) in lpe-ruler any more; add many more options

16 years agofixed a typo
prokoudine [Tue, 19 Aug 2008 16:23:21 +0000 (16:23 +0000)]
fixed a typo

16 years agoDeactivate unit selector when measuring info is off
cilix42 [Tue, 19 Aug 2008 13:37:37 +0000 (13:37 +0000)]
Deactivate unit selector when measuring info is off

16 years agoApply instant-LPEs _before_ adding new items to selection (so that they can be taken...
cilix42 [Tue, 19 Aug 2008 13:36:55 +0000 (13:36 +0000)]
Apply instant-LPEs _before_ adding new items to selection (so that they can be taken into account on new items)

16 years agoAdd convenience button to open LPE dialog (e.g., to adapt construction parameters...
cilix42 [Mon, 18 Aug 2008 18:42:37 +0000 (18:42 +0000)]
Add convenience button to open LPE dialog (e.g., to adapt construction parameters numerically)

16 years agoAttempt to fix crashes in geometry tool which I don't see :-/
cilix42 [Mon, 18 Aug 2008 18:23:58 +0000 (18:23 +0000)]
Attempt to fix crashes in geometry tool which I don't see :-/

16 years agoDon't unnecessarily block button press
cilix42 [Mon, 18 Aug 2008 18:04:54 +0000 (18:04 +0000)]
Don't unnecessarily block button press

16 years agoOption to display measuring info in geometry tool
cilix42 [Mon, 18 Aug 2008 17:41:57 +0000 (17:41 +0000)]
Option to display measuring info in geometry tool

16 years agoFix end type combo box
cilix42 [Mon, 18 Aug 2008 16:22:33 +0000 (16:22 +0000)]
Fix end type combo box

16 years agosince all values are 0..1, shifting gamma up must use power<1 so that the values...
buliabyak [Mon, 18 Aug 2008 14:21:27 +0000 (14:21 +0000)]
since all values are 0..1, shifting gamma up must use power<1 so that the values are actually increased by it

16 years agoadded a new LPE and a new regular extension
prokoudine [Mon, 18 Aug 2008 13:26:18 +0000 (13:26 +0000)]
added a new LPE and a new regular extension
to the list of translatables

16 years agoFix shortcut for geometry tool
cilix42 [Mon, 18 Aug 2008 00:52:42 +0000 (00:52 +0000)]
Fix shortcut for geometry tool

16 years agoTemporarily hide icon for geometry tool
cilix42 [Mon, 18 Aug 2008 00:49:23 +0000 (00:49 +0000)]
Temporarily hide icon for geometry tool

16 years agoAdd shortcut for geometry tool
cilix42 [Mon, 18 Aug 2008 00:49:07 +0000 (00:49 +0000)]
Add shortcut for geometry tool

16 years agoAdd mirror symmetry to geometry tool
cilix42 [Mon, 18 Aug 2008 00:48:51 +0000 (00:48 +0000)]
Add mirror symmetry to geometry tool

16 years agoRemove debugging messages
cilix42 [Mon, 18 Aug 2008 00:48:37 +0000 (00:48 +0000)]
Remove debugging messages

16 years agoCheck whether we are really in LPEToolContext in sp_lpetool_toolbox_sel_changed()
cilix42 [Mon, 18 Aug 2008 00:48:08 +0000 (00:48 +0000)]
Check whether we are really in LPEToolContext in sp_lpetool_toolbox_sel_changed()

16 years agoAdd function to cancel wait-for-LPE mode in pen context
cilix42 [Mon, 18 Aug 2008 00:47:52 +0000 (00:47 +0000)]
Add function to cancel wait-for-LPE mode in pen context

16 years agonoop: reorder options for lpe-line-segment
cilix42 [Mon, 18 Aug 2008 00:47:36 +0000 (00:47 +0000)]
noop: reorder options for lpe-line-segment

16 years agoToggle button in geometry toolbar to set limiting bounding box for LPELineSegment
cilix42 [Mon, 18 Aug 2008 00:47:13 +0000 (00:47 +0000)]
Toggle button in geometry toolbar to set limiting bounding box for LPELineSegment

16 years agoSome debugging messages
cilix42 [Mon, 18 Aug 2008 00:46:44 +0000 (00:46 +0000)]
Some debugging messages

16 years agoAdd action to change the end type of line segments if an item has LPELineSegment...
cilix42 [Mon, 18 Aug 2008 00:46:24 +0000 (00:46 +0000)]
Add action to change the end type of line segments if an item has LPELineSegment applied; this is for demonstration purposes because later it would be nice if we could change widgets interactively.

16 years agoIcon for lpe-mirror-symmetry
cilix42 [Mon, 18 Aug 2008 00:45:59 +0000 (00:45 +0000)]
Icon for lpe-mirror-symmetry

16 years agoSimply display 'none' in the icon for 'all inactive' mode (this is until we have...
cilix42 [Mon, 18 Aug 2008 00:45:42 +0000 (00:45 +0000)]
Simply display 'none' in the icon for 'all inactive' mode (this is until we have found a better icon or the mode is removed)

16 years agonoop: wording
cilix42 [Mon, 18 Aug 2008 00:45:25 +0000 (00:45 +0000)]
noop: wording

16 years agoRemaining icons
cilix42 [Mon, 18 Aug 2008 00:45:08 +0000 (00:45 +0000)]
Remaining icons

16 years agoApply a geometric construction directly to selected item if the LPE supports it
cilix42 [Mon, 18 Aug 2008 00:44:51 +0000 (00:44 +0000)]
Apply a geometric construction directly to selected item if the LPE supports it

16 years agoLet acceptsNumClicks() distinguish between invalid LPE and valid ones that expect...
cilix42 [Mon, 18 Aug 2008 00:44:23 +0000 (00:44 +0000)]
Let acceptsNumClicks() distinguish between invalid LPE and valid ones that expect zero clicks

16 years agonoop: wording
cilix42 [Mon, 18 Aug 2008 00:44:06 +0000 (00:44 +0000)]
noop: wording

16 years agoAbsorb all mouse clicks (and flash a warning on the status bar) when no subtool is...
cilix42 [Mon, 18 Aug 2008 00:43:46 +0000 (00:43 +0000)]
Absorb all mouse clicks (and flash a warning on the status bar) when no subtool is activated

16 years agoSwitch back to all_inactive mode after applying a geometric LPE
cilix42 [Mon, 18 Aug 2008 00:43:27 +0000 (00:43 +0000)]
Switch back to all_inactive mode after applying a geometric LPE

16 years agoAdd button whether to display limiting bounding box; add 'all inactive' toggle button...
cilix42 [Mon, 18 Aug 2008 00:43:01 +0000 (00:43 +0000)]
Add button whether to display limiting bounding box; add 'all inactive' toggle button as a workaround that not all toggle buttons can be inactive in an EgeSelectOneAction

16 years agoSlightly enlarge icon for geometric tool
cilix42 [Mon, 18 Aug 2008 00:42:31 +0000 (00:42 +0000)]
Slightly enlarge icon for geometric tool

16 years agoDraw limiting bounding box in geometriy tool
cilix42 [Mon, 18 Aug 2008 00:42:15 +0000 (00:42 +0000)]
Draw limiting bounding box in geometriy tool

16 years agoRemove commented parts of code
cilix42 [Mon, 18 Aug 2008 00:41:59 +0000 (00:41 +0000)]
Remove commented parts of code

16 years agoTwo more subtools
cilix42 [Mon, 18 Aug 2008 00:41:44 +0000 (00:41 +0000)]
Two more subtools

16 years agoremove commented includes; #ifdef HAVE_CONFIG_H
cilix42 [Mon, 18 Aug 2008 00:41:31 +0000 (00:41 +0000)]
remove commented includes; #ifdef HAVE_CONFIG_H

16 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

16 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

16 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

16 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

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

16 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

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

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

16 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

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

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

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

16 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

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

16 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

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

16 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

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

16 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

16 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

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

16 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

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

16 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

16 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()

16 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

16 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

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

16 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

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

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

16 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

16 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

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

16 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

16 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

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

16 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

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

16 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

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

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

16 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

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

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

16 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+

16 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

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

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

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

16 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

16 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

16 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

16 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

16 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

16 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/

16 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

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

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

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