Code

inkscape.git
17 years agoChange tolerance to threshold
johncoswell [Sun, 11 Mar 2007 02:56:54 +0000 (02:56 +0000)]
Change tolerance to threshold

17 years agoMerge further bbox work
mental [Sat, 10 Mar 2007 20:54:38 +0000 (20:54 +0000)]
Merge further bbox work

17 years agofix setting knot->pos for node handles, but remove coords updating - now done in...
buliabyak [Sat, 10 Mar 2007 02:48:31 +0000 (02:48 +0000)]
fix setting knot->pos for node handles, but remove coords updating - now done in the knot when dragging

17 years agono need to update coords here, it's now done in any knot automatically
buliabyak [Sat, 10 Mar 2007 02:47:28 +0000 (02:47 +0000)]
no need to update coords here, it's now done in any knot automatically

17 years agonow all knots display x/y in statusbar while being dragged, fixes bug 1523580
buliabyak [Sat, 10 Mar 2007 02:45:40 +0000 (02:45 +0000)]
now all knots display x/y in statusbar while being dragged, fixes bug 1523580

17 years agoroll back a part of revision 12016, in an attempt to fix bug 1496718
cyreve [Fri, 9 Mar 2007 20:09:37 +0000 (20:09 +0000)]
roll back a part of revision 12016, in an attempt to fix bug 1496718

17 years agoAdd some code cleanup
ishmal [Fri, 9 Mar 2007 12:07:12 +0000 (12:07 +0000)]
Add some code cleanup

17 years agofix 1502621
buliabyak [Fri, 9 Mar 2007 07:30:32 +0000 (07:30 +0000)]
fix 1502621

17 years agofix crash
buliabyak [Fri, 9 Mar 2007 05:35:40 +0000 (05:35 +0000)]
fix crash

17 years agodo not return empty intersections any longer
mental [Fri, 9 Mar 2007 03:57:40 +0000 (03:57 +0000)]
do not return empty intersections any longer

17 years agocomment
buliabyak [Fri, 9 Mar 2007 02:31:28 +0000 (02:31 +0000)]
comment

17 years agouse STL std::min and std::max
mental [Fri, 9 Mar 2007 01:46:33 +0000 (01:46 +0000)]
use STL std::min and std::max

17 years agono need to use accessors here
mental [Fri, 9 Mar 2007 01:38:19 +0000 (01:38 +0000)]
no need to use accessors here

17 years agoWhoops, forgot to friend the methods I moved out of Rect
mental [Fri, 9 Mar 2007 01:32:29 +0000 (01:32 +0000)]
Whoops, forgot to friend the methods I moved out of Rect

17 years agoaddress type-punned pointer warning
mental [Fri, 9 Mar 2007 00:32:53 +0000 (00:32 +0000)]
address type-punned pointer warning

17 years agospecialize MaybeStorage for Rect, and start using reference maybes to
mental [Fri, 9 Mar 2007 00:25:51 +0000 (00:25 +0000)]
specialize MaybeStorage for Rect, and start using reference maybes to
avoid some copies

17 years agofix reference maybes by separate specialization
mental [Fri, 9 Mar 2007 00:25:36 +0000 (00:25 +0000)]
fix reference maybes by separate specialization

17 years agorework maybe so storage is customizable and can be optimized on a
mental [Thu, 8 Mar 2007 23:42:21 +0000 (23:42 +0000)]
rework maybe so storage is customizable and can be optimized on a

per-type basis

17 years agoAdd HSL options to paint bucket channels
johncoswell [Thu, 8 Mar 2007 23:27:53 +0000 (23:27 +0000)]
Add HSL options to paint bucket channels

17 years agowhen dragging center, defer repr updating and committing until ungrab; this makes...
buliabyak [Thu, 8 Mar 2007 22:38:25 +0000 (22:38 +0000)]
when dragging center, defer repr updating and committing until ungrab; this makes dragging faster. also remove superfluous reffing of objects while dragging

17 years agomake sure undoing center moves emits modified signal and is thus noticed by the seltrans
buliabyak [Thu, 8 Mar 2007 22:34:38 +0000 (22:34 +0000)]
make sure undoing center moves emits modified signal and is thus noticed by the seltrans

17 years agochanged curve->length to SP_CURVE_LENGTH(curve). Fixes bug 1676273.
ishmal [Thu, 8 Mar 2007 21:40:13 +0000 (21:40 +0000)]
changed curve->length to SP_CURVE_LENGTH(curve).  Fixes bug 1676273.

17 years agoupdate about shift+dragging rotation center
buliabyak [Thu, 8 Mar 2007 19:15:21 +0000 (19:15 +0000)]
update about shift+dragging rotation center

17 years agofix shift-dragging (no snap) of rotation center
buliabyak [Thu, 8 Mar 2007 19:10:29 +0000 (19:10 +0000)]
fix shift-dragging (no snap) of rotation center

17 years agoFixed interactive updating.
johanengelen [Thu, 8 Mar 2007 17:22:17 +0000 (17:22 +0000)]
Fixed interactive updating.

17 years agoFixed bug due to adding of new pointtype at the start of the enum which corrupted...
johanengelen [Thu, 8 Mar 2007 15:13:01 +0000 (15:13 +0000)]
Fixed bug due to adding of new pointtype at the start of the enum which corrupted indexing into the stop shapes and description array.

17 years agoAdd and adjust fill channels
johncoswell [Thu, 8 Mar 2007 10:58:12 +0000 (10:58 +0000)]
Add and adjust fill channels

17 years agoConverted star toobar to stock GTK+
joncruz [Thu, 8 Mar 2007 09:02:13 +0000 (09:02 +0000)]
Converted star toobar to stock GTK+

17 years agopaintbucket: rearrange controls, edit labels/tooltips
buliabyak [Thu, 8 Mar 2007 08:32:59 +0000 (08:32 +0000)]
paintbucket: rearrange controls, edit labels/tooltips

17 years agodo not offset if offset==0; display messages if success and if no path created becaus...
buliabyak [Thu, 8 Mar 2007 08:31:35 +0000 (08:31 +0000)]
do not offset if offset==0; display messages if success and if no path created because of too much inset

17 years agoexport nodes_in_path
buliabyak [Thu, 8 Mar 2007 08:29:39 +0000 (08:29 +0000)]
export nodes_in_path

17 years agomake offset independent of zoom
buliabyak [Thu, 8 Mar 2007 07:30:52 +0000 (07:30 +0000)]
make offset independent of zoom

17 years agomake default paintbucket offset 0
buliabyak [Thu, 8 Mar 2007 06:32:50 +0000 (06:32 +0000)]
make default paintbucket offset 0

17 years agoAdd units selector to offset and remove offset range limits
johncoswell [Thu, 8 Mar 2007 02:35:11 +0000 (02:35 +0000)]
Add units selector to offset and remove offset range limits

17 years agoFix what appears to be a copy&paste bug: ć was getting rendered as ˇc; changed it...
pjrm [Wed, 7 Mar 2007 12:26:13 +0000 (12:26 +0000)]
Fix what appears to be a copy&paste bug: ć was getting rendered as ˇc; changed it to ´c.

17 years agoimprove timing
ishmal [Wed, 7 Mar 2007 11:52:56 +0000 (11:52 +0000)]
improve timing

17 years agoBegin work on selectable color channels for paint bucket, starting with visible color...
johncoswell [Wed, 7 Mar 2007 11:38:45 +0000 (11:38 +0000)]
Begin work on selectable color channels for paint bucket, starting with visible colors and alpha

17 years agoa better fix: we don't need prev to hold opacity at all
buliabyak [Tue, 6 Mar 2007 23:39:08 +0000 (23:39 +0000)]
a better fix: we don't need prev to hold opacity at all

17 years agofix invalid access warning
buliabyak [Tue, 6 Mar 2007 23:10:58 +0000 (23:10 +0000)]
fix invalid access warning

17 years agoPurged unused variable
joncruz [Tue, 6 Mar 2007 07:14:07 +0000 (07:14 +0000)]
Purged unused variable

17 years agofix by dvlierop2 for snapping bugs 1579556 and 1579587
buliabyak [Mon, 5 Mar 2007 21:30:04 +0000 (21:30 +0000)]
fix by dvlierop2 for snapping bugs 1579556 and 1579587

17 years agopatch by Tavmjong to remove unnecessary flipping
buliabyak [Mon, 5 Mar 2007 16:33:23 +0000 (16:33 +0000)]
patch by Tavmjong to remove unnecessary flipping

17 years agoupdate JS
ishmal [Mon, 5 Mar 2007 10:34:59 +0000 (10:34 +0000)]
update JS

17 years agoAdding optional dialog preview. Implments RFE [ 1435276 ] switch preview on/off in...
joncruz [Mon, 5 Mar 2007 09:06:27 +0000 (09:06 +0000)]
Adding optional dialog preview. Implments RFE [ 1435276 ] switch preview on/off in filedialogs

17 years agoAdding optional dialog preview. Implments RFE [ 1435276 ] switch preview on/off in...
joncruz [Mon, 5 Mar 2007 08:41:37 +0000 (08:41 +0000)]
Adding optional dialog preview. Implments RFE [ 1435276 ] switch preview on/off in filedialogs

17 years agofix NR::Maybe typos
mental [Mon, 5 Mar 2007 06:07:39 +0000 (06:07 +0000)]
fix NR::Maybe typos

17 years agoSeparate NRRect and NR::Rect a bit further; the goal is to get to the point where...
mental [Mon, 5 Mar 2007 05:50:20 +0000 (05:50 +0000)]
Separate NRRect and NR::Rect a bit further; the goal is to get to the point where there is no way to create an empty NR::Rect

17 years agoclean up operators/constructors, and give reference-maybes a more compact
mental [Mon, 5 Mar 2007 05:22:48 +0000 (05:22 +0000)]
clean up operators/constructors, and give reference-maybes a more compact
representation

17 years agofix copyright year
mental [Mon, 5 Mar 2007 05:22:41 +0000 (05:22 +0000)]
fix copyright year

17 years agoclean up reference version of maybe, and add == and != operators
mental [Sun, 4 Mar 2007 23:16:18 +0000 (23:16 +0000)]
clean up reference version of maybe, and add == and != operators

17 years agoProbably a fix for [ 1665735 ] [ 1673205 ] [ 1667584 ]. Testing required though.
johanengelen [Sun, 4 Mar 2007 23:10:23 +0000 (23:10 +0000)]
Probably a fix for [ 1665735 ] [ 1673205 ] [ 1667584 ]. Testing required though.

17 years agoWarning cleanup of unused variables
joncruz [Sun, 4 Mar 2007 22:53:48 +0000 (22:53 +0000)]
Warning cleanup of unused variables

17 years agoclean to delete config.h
theadib [Sun, 4 Mar 2007 21:51:55 +0000 (21:51 +0000)]
clean to delete config.h

17 years agocomment on bbox types
buliabyak [Sun, 4 Mar 2007 20:21:39 +0000 (20:21 +0000)]
comment on bbox types

17 years agomore NR::Maybe<NR::Rect> work
mental [Sun, 4 Mar 2007 19:07:06 +0000 (19:07 +0000)]
more NR::Maybe<NR::Rect> work

17 years agoreturn plain rect for union in all situations where a plain rect is given
mental [Sun, 4 Mar 2007 19:06:59 +0000 (19:06 +0000)]
return plain rect for union in all situations where a plain rect is given

17 years agoremove remaining use of assume in nr-rect.cpp
mental [Sun, 4 Mar 2007 19:06:52 +0000 (19:06 +0000)]
remove remaining use of assume in nr-rect.cpp

17 years agoreturn plain rect if both union arguments are also plain rects
mental [Sun, 4 Mar 2007 19:06:46 +0000 (19:06 +0000)]
return plain rect if both union arguments are also plain rects

17 years agocommunicate bbox type via flags for now
mental [Sun, 4 Mar 2007 19:06:40 +0000 (19:06 +0000)]
communicate bbox type via flags for now

17 years agoadapt code to new Maybe/bbox regime
mental [Sun, 4 Mar 2007 19:06:34 +0000 (19:06 +0000)]
adapt code to new Maybe/bbox regime

17 years agoreplace use of invokeBbox in flood fill tool
mental [Sun, 4 Mar 2007 19:06:16 +0000 (19:06 +0000)]
replace use of invokeBbox in flood fill tool

17 years agoswitch from invokeBbox to getBounds (need to fix problems with empty
mental [Sun, 4 Mar 2007 19:06:11 +0000 (19:06 +0000)]
switch from invokeBbox to getBounds (need to fix problems with empty
rect handling, though)

17 years agoimplement new API via wrapper for now
mental [Sun, 4 Mar 2007 19:05:50 +0000 (19:05 +0000)]
implement new API via wrapper for now

17 years agoSketch out new bbox API
mental [Sun, 4 Mar 2007 19:05:45 +0000 (19:05 +0000)]
Sketch out new bbox API

17 years agoConvert union and intersection to use NR::Maybe<NR::Rect>
mental [Sun, 4 Mar 2007 19:05:38 +0000 (19:05 +0000)]
Convert union and intersection to use NR::Maybe<NR::Rect>

17 years agoredo NR::Maybe to be less clever
mental [Sun, 4 Mar 2007 04:23:10 +0000 (04:23 +0000)]
redo NR::Maybe to be less clever

17 years agodelivarotify picking; restore the old pick code, fix it to work with stroke width...
buliabyak [Sun, 4 Mar 2007 02:43:33 +0000 (02:43 +0000)]
delivarotify picking; restore the old pick code, fix it to work with stroke width and with markers; do not pick fill in outline mode

17 years agomake conversions away from NR::Maybe explicit
mental [Sun, 4 Mar 2007 02:08:21 +0000 (02:08 +0000)]
make conversions away from NR::Maybe explicit

17 years agoremove debug messages that sneaked in
ishmal [Sat, 3 Mar 2007 23:00:32 +0000 (23:00 +0000)]
remove debug messages that sneaked in

17 years agoadd line number to Element
ishmal [Sat, 3 Mar 2007 22:59:22 +0000 (22:59 +0000)]
add line number to Element

17 years agoimprove error messages
ishmal [Sat, 3 Mar 2007 22:31:09 +0000 (22:31 +0000)]
improve error messages

17 years agoverbify esc to deselect; enable esc and ctrl-z to cancel drawing in calligraphic
buliabyak [Sat, 3 Mar 2007 22:04:04 +0000 (22:04 +0000)]
verbify esc to deselect; enable esc and ctrl-z to cancel drawing in calligraphic

17 years agomodify touchabout target
ishmal [Sat, 3 Mar 2007 20:53:27 +0000 (20:53 +0000)]
modify touchabout target

17 years agoBrought back checkbox and to also append filename upon "save" being hit
joncruz [Sat, 3 Mar 2007 20:51:35 +0000 (20:51 +0000)]
Brought back checkbox and to also append filename upon "save" being hit

17 years agoMore cleanup of piping. Add ccompiler listing.
ishmal [Sat, 3 Mar 2007 20:39:24 +0000 (20:39 +0000)]
More cleanup of piping.  Add ccompiler listing.

17 years agoenable esc and ctrl-z to cancel drawing
buliabyak [Sat, 3 Mar 2007 19:29:46 +0000 (19:29 +0000)]
enable esc and ctrl-z to cancel drawing

17 years agoAdd <touch> . Fix piping again.
ishmal [Sat, 3 Mar 2007 19:23:27 +0000 (19:23 +0000)]
Add <touch> .  Fix piping again.

17 years agofix bug 1672619
buliabyak [Sat, 3 Mar 2007 17:21:20 +0000 (17:21 +0000)]
fix bug 1672619

17 years agofix for automake 1.10 from Pierre-Luc Auclair (and jiho)
keescook [Sat, 3 Mar 2007 16:21:20 +0000 (16:21 +0000)]
fix for automake 1.10 from Pierre-Luc Auclair (and jiho)

17 years agoi18n cleanup and adding extension in more cases
joncruz [Sat, 3 Mar 2007 09:10:49 +0000 (09:10 +0000)]
i18n cleanup and adding extension in more cases

17 years agothe SP_IS_GAUSSIANBLUR fix is not only for shapes. fixme: this boilerplate definitely...
buliabyak [Sat, 3 Mar 2007 07:18:21 +0000 (07:18 +0000)]
the SP_IS_GAUSSIANBLUR fix is not only for shapes. fixme: this boilerplate definitely needs to be factored out

17 years agofix warning when creating a mask which is the first item in defs
buliabyak [Sat, 3 Mar 2007 06:33:55 +0000 (06:33 +0000)]
fix warning when creating a mask which is the first item in defs

17 years agoAdd the file extension even when the prior name has no extension already
joncruz [Sat, 3 Mar 2007 06:09:04 +0000 (06:09 +0000)]
Add the file extension even when the prior name has no extension already

17 years agoSpeedup when switching types by avoiding setting to a directory we are already set to
joncruz [Sat, 3 Mar 2007 05:53:38 +0000 (05:53 +0000)]
Speedup when switching types by avoiding setting to a directory we are already set to

17 years agoimplement proper picking (by the frame and diagonals) in outline mode
buliabyak [Sat, 3 Mar 2007 05:47:53 +0000 (05:47 +0000)]
implement proper picking (by the frame and diagonals) in outline mode

17 years agorestore rendering markers in outline mode
buliabyak [Sat, 3 Mar 2007 03:42:31 +0000 (03:42 +0000)]
restore rendering markers in outline mode

17 years agodecouple click and drag release handlers to fix bug where zooming in by middle button...
buliabyak [Sat, 3 Mar 2007 03:27:01 +0000 (03:27 +0000)]
decouple click and drag release handlers to fix bug where zooming in by middle button sometimes caused unwanted scrolling

17 years agomess with naming a little bit and quiet compiler warnings about unhandled
mental [Sat, 3 Mar 2007 02:53:21 +0000 (02:53 +0000)]
mess with naming a little bit and quiet compiler warnings about unhandled
cases

17 years agoFactor out bitmap scanline check into separate function
johncoswell [Sat, 3 Mar 2007 01:12:09 +0000 (01:12 +0000)]
Factor out bitmap scanline check into separate function

17 years agoAdd user-selectable paint bucket path offset size
johncoswell [Sat, 3 Mar 2007 00:37:56 +0000 (00:37 +0000)]
Add user-selectable paint bucket path offset size

17 years agomade it callable by other extensions. the workaround is sorta ugly, but it should...
amphi [Fri, 2 Mar 2007 21:57:40 +0000 (21:57 +0000)]
made it callable by other extensions. the workaround is sorta ugly, but it should do the trick for now.

17 years agoblind fix for endianness, needs testing by someone on a big-endian machine
buliabyak [Fri, 2 Mar 2007 19:39:26 +0000 (19:39 +0000)]
blind fix for endianness, needs testing by someone on a big-endian machine

17 years agocairoify image outlines
buliabyak [Fri, 2 Mar 2007 19:10:34 +0000 (19:10 +0000)]
cairoify image outlines

17 years agoadd TODO/FIXME comment to adjust tempfile names after we require a GTK greater than...
acspike [Fri, 2 Mar 2007 17:19:33 +0000 (17:19 +0000)]
add TODO/FIXME comment to adjust tempfile names after we require a GTK greater than 2.11.4

17 years agofix an error in rounding negative coords
buliabyak [Fri, 2 Mar 2007 17:10:33 +0000 (17:10 +0000)]
fix an error in rounding negative coords

17 years agofix comment to match code
acspike [Fri, 2 Mar 2007 17:06:37 +0000 (17:06 +0000)]
fix comment to match code
comment said "sp_ext_" code was changed to "ink_ext_"

17 years agofix result piping from shelled-out commands on win32
ishmal [Fri, 2 Mar 2007 16:46:19 +0000 (16:46 +0000)]
fix result piping from shelled-out commands on win32

17 years agofix mental's typo! found purely by chance
buliabyak [Fri, 2 Mar 2007 15:38:23 +0000 (15:38 +0000)]
fix mental's typo! found purely by chance

17 years agopatch the RGBA/BGRA incompatibility (until we're not using cairo throughout)
buliabyak [Fri, 2 Mar 2007 14:56:25 +0000 (14:56 +0000)]
patch the RGBA/BGRA incompatibility (until we're not using cairo throughout)

17 years agoted's fix
buliabyak [Fri, 2 Mar 2007 14:36:37 +0000 (14:36 +0000)]
ted's fix