Code

inkscape.git
16 years agoFix patterns when scaled.
tavmjong [Sun, 31 Aug 2008 12:15:47 +0000 (12:15 +0000)]
Fix patterns when scaled.
Avoid pattern size change due to rounding errors in ceil().

16 years agoNR => Geom for context-fns
johanengelen [Sat, 30 Aug 2008 21:26:28 +0000 (21:26 +0000)]
NR => Geom for context-fns

16 years agoNR => Geom for arc-context
johanengelen [Sat, 30 Aug 2008 20:59:23 +0000 (20:59 +0000)]
NR => Geom for arc-context

16 years agoNR => Geom for (almost all of) event-context.h/.cpp
johanengelen [Sat, 30 Aug 2008 20:54:07 +0000 (20:54 +0000)]
NR => Geom for (almost all of) event-context.h/.cpp

16 years agoEliminate SP_ACTIVE_DESKTOP in the object-snapper
dvlierop2 [Sat, 30 Aug 2008 19:27:32 +0000 (19:27 +0000)]
Eliminate SP_ACTIVE_DESKTOP in the object-snapper

16 years ago * Some minor markup errors fixed
luca_bruno [Sat, 30 Aug 2008 08:58:30 +0000 (08:58 +0000)]
 * Some minor markup errors fixed

16 years ago * [INTL: NL] Updated dutch translation, by myckel and Benno Schulenberg (closes...
luca_bruno [Sat, 30 Aug 2008 08:54:35 +0000 (08:54 +0000)]
 * [INTL: NL] Updated dutch translation, by myckel and Benno Schulenberg (closes: 219475)

16 years agoFix regression in snapping to paths (which caused self-snapping)
dvlierop2 [Fri, 29 Aug 2008 17:27:26 +0000 (17:27 +0000)]
Fix regression in snapping to paths (which caused self-snapping)

16 years agoUlf Ericson's patch for implementing missing properties in the new pdf exporter
buliabyak [Fri, 29 Aug 2008 00:46:35 +0000 (00:46 +0000)]
Ulf Ericson's patch for implementing missing properties in the new pdf exporter

16 years agotemporarily, make pdf exporters switchable for testing
buliabyak [Fri, 29 Aug 2008 00:42:41 +0000 (00:42 +0000)]
temporarily, make pdf exporters switchable for testing

16 years agofix crash on trying to autosave with no documents (e.g. when inkscape was given a...
buliabyak [Thu, 28 Aug 2008 20:45:29 +0000 (20:45 +0000)]
fix crash on trying to autosave with no documents (e.g. when inkscape was given a wrong filename on the command line and hangs in the file-not-found dialog)

16 years agoFix snapping of spirals
dvlierop2 [Thu, 28 Aug 2008 19:59:11 +0000 (19:59 +0000)]
Fix snapping of spirals

16 years agoModify the parameters required for setting up the SnapManager
dvlierop2 [Thu, 28 Aug 2008 19:32:55 +0000 (19:32 +0000)]
Modify the parameters required for setting up the SnapManager

16 years agonull check fixes patch from bug 261475
buliabyak [Thu, 28 Aug 2008 18:35:16 +0000 (18:35 +0000)]
null check fixes patch from bug 261475

16 years agoadded missing semicolons in translatable messages
prokoudine [Thu, 28 Aug 2008 17:47:28 +0000 (17:47 +0000)]
added missing semicolons in translatable messages

16 years agoFixed clipboard code to properly load needed extensions. Fixes bug #171662
joncruz [Thu, 28 Aug 2008 15:56:26 +0000 (15:56 +0000)]
Fixed clipboard code to properly load needed extensions. Fixes bug #171662

16 years agoFixed crash due to use of uninitialized pointer
joncruz [Thu, 28 Aug 2008 11:59:25 +0000 (11:59 +0000)]
Fixed crash due to use of uninitialized pointer

16 years agoenable failOnError in TaskDelete
ishmal [Tue, 26 Aug 2008 14:02:46 +0000 (14:02 +0000)]
enable failOnError in TaskDelete

16 years agofixed bug in removeFile()
ishmal [Tue, 26 Aug 2008 03:29:49 +0000 (03:29 +0000)]
fixed bug in removeFile()

16 years agoCleanup of named icon background rendering and added pref for workaround
joncruz [Mon, 25 Aug 2008 11:41:38 +0000 (11:41 +0000)]
Cleanup of named icon background rendering and added pref for workaround

16 years agofix per SVG spec: bbox for paint servers must be exclusive of a stroke width etc...
buliabyak [Mon, 25 Aug 2008 02:10:17 +0000 (02:10 +0000)]
fix per SVG spec: bbox for paint servers must be exclusive of a stroke width etc., ie be geometric

16 years agowhitespace
buliabyak [Mon, 25 Aug 2008 01:53:17 +0000 (01:53 +0000)]
whitespace

16 years agoFix for Bug 238113 (preserve title/desc for various Inkscape operations)
jeff_schiller [Sun, 24 Aug 2008 13:16:51 +0000 (13:16 +0000)]
Fix for Bug 238113 (preserve title/desc for various Inkscape operations)

16 years agoadding my name as per discussions with Aaron Spike
alvinpenner [Sat, 23 Aug 2008 10:54:05 +0000 (10:54 +0000)]
adding my name as per discussions with Aaron Spike

16 years agoUpdate to sync metadata title to the document title.
jeff_schiller [Sat, 23 Aug 2008 06:16:49 +0000 (06:16 +0000)]
Update to sync metadata title to the document title.

16 years agoSupport for title and desc elements when serializing as Plain SVG.
jeff_schiller [Sat, 23 Aug 2008 06:13:23 +0000 (06:13 +0000)]
Support for title and desc elements when serializing as Plain SVG.

16 years agoHopefully fix for the recently experienced crashes when building with -O2. I don...
cilix42 [Fri, 22 Aug 2008 15:35:40 +0000 (15:35 +0000)]
Hopefully fix for the recently experienced crashes when building with -O2. I don't understand why it works, please have a look at this yourself (also see post on the mailing list).

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