Code

inkscape.git
15 years agoremoved unnecessary pointer, changed to by reference. (the pointer was not allowed...
johanengelen [Mon, 1 Sep 2008 23:04:44 +0000 (23:04 +0000)]
removed unnecessary pointer, changed to by reference. (the pointer was not allowed to be NULL, so reference is better)

15 years agoFixes to desktop file from patch. Bug #263233
joncruz [Mon, 1 Sep 2008 22:01:47 +0000 (22:01 +0000)]
Fixes to desktop file from patch. Bug #263233

15 years agofix assert when exporting bug 171849 file, make sure small patterns are exported...
buliabyak [Mon, 1 Sep 2008 20:54:33 +0000 (20:54 +0000)]
fix assert when exporting bug 171849 file, make sure small patterns are exported properly by scaling them up (to use integer width/height) and then down

15 years agoI don't have this function, must be a recent addition to glib? replaced by a more...
buliabyak [Mon, 1 Sep 2008 20:52:19 +0000 (20:52 +0000)]
I don't have this function, must be a recent addition to glib? replaced by a more standard one

15 years agoupdate 2geom (rev. 1569)
johanengelen [Mon, 1 Sep 2008 19:29:30 +0000 (19:29 +0000)]
update 2geom (rev. 1569)

15 years agoyet another update of ru.po
prokoudine [Mon, 1 Sep 2008 17:07:25 +0000 (17:07 +0000)]
yet another update of ru.po

15 years agoMove single-dot-creation function to a better location (and rename it accordingly)
cilix42 [Mon, 1 Sep 2008 15:45:39 +0000 (15:45 +0000)]
Move single-dot-creation function to a better location (and rename it accordingly)

15 years agoFixed missing return of value and misc return cleanup. Should be the proper fix for...
joncruz [Mon, 1 Sep 2008 08:30:08 +0000 (08:30 +0000)]
Fixed missing return of value and misc return cleanup. Should be the proper fix for the prior problems here.

15 years agoFix for missing define
joncruz [Mon, 1 Sep 2008 08:14:13 +0000 (08:14 +0000)]
Fix for missing define

15 years agoenable EPS export via cairo, use it instead of the old native one
buliabyak [Mon, 1 Sep 2008 01:30:46 +0000 (01:30 +0000)]
enable EPS export via cairo, use it instead of the old native one

15 years agofix names and mime types; cairo ps out now the default
buliabyak [Sun, 31 Aug 2008 21:55:16 +0000 (21:55 +0000)]
fix names and mime types; cairo ps out now the default

15 years agodisable old non-cairo ps export via print
buliabyak [Sun, 31 Aug 2008 21:49:53 +0000 (21:49 +0000)]
disable old non-cairo ps export via print

15 years agoremove cairo and experimental from the name; now this is THE pdf exporter
buliabyak [Sun, 31 Aug 2008 20:22:33 +0000 (20:22 +0000)]
remove cairo and experimental from the name; now this is THE pdf exporter

15 years agoproperly transform clippath: transform of the item using the clippath must also be...
buliabyak [Sun, 31 Aug 2008 20:04:13 +0000 (20:04 +0000)]
properly transform clippath: transform of the item using the clippath must also be applied

15 years agoremove unused include files and methods
johanengelen [Sun, 31 Aug 2008 14:52:06 +0000 (14:52 +0000)]
remove unused include files and methods

15 years agoremove unused variables
johanengelen [Sun, 31 Aug 2008 14:21:11 +0000 (14:21 +0000)]
remove unused variables

15 years agocairo-render-context extension implementation converted to 2geom
johanengelen [Sun, 31 Aug 2008 14:02:18 +0000 (14:02 +0000)]
cairo-render-context extension implementation converted to 2geom

15 years agotemporary fix for continuity exception
johanengelen [Sun, 31 Aug 2008 13:38:23 +0000 (13:38 +0000)]
temporary fix for continuity exception

15 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().

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

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

15 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

15 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

15 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

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

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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

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

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

15 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

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

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

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

15 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

15 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

15 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

15 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

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

15 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

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

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

15 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 :-/

15 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

15 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

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

15 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

15 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

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

15 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

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

15 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

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

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

15 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

15 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

15 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

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

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

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

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

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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

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