Code

inkscape.git
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

17 years agocreate/destroy the cairo_t for all items to render into (currently used only in outli...
buliabyak [Fri, 2 Mar 2007 06:56:21 +0000 (06:56 +0000)]
create/destroy the cairo_t for all items to render into (currently used only in outline mode)

17 years agooutline mode: render into the passed cairo_t
buliabyak [Fri, 2 Mar 2007 06:56:10 +0000 (06:56 +0000)]
outline mode: render into the passed cairo_t

17 years agoeliminate caching and temp buffers for cairo outline mode
buliabyak [Fri, 2 Mar 2007 06:55:55 +0000 (06:55 +0000)]
eliminate caching and temp buffers for cairo outline mode

17 years agoSwitched from deferred extension appending to live extension swapping in the dialog
joncruz [Fri, 2 Mar 2007 05:06:08 +0000 (05:06 +0000)]
Switched from deferred extension appending to live extension swapping in the dialog

17 years agoAllow for filling of only visible parts of the bounded area, presenting a warning...
johncoswell [Fri, 2 Mar 2007 03:00:25 +0000 (03:00 +0000)]
Allow for filling of only visible parts of the bounded area, presenting a warning when this occurs

17 years agoRemove some unnecessary code
johncoswell [Thu, 1 Mar 2007 23:49:39 +0000 (23:49 +0000)]
Remove some unnecessary code

17 years agoSlovak translation update
cwebb [Thu, 1 Mar 2007 18:56:30 +0000 (18:56 +0000)]
Slovak translation update

17 years agoleave the selection alone on mouse down.
acspike [Thu, 1 Mar 2007 18:23:54 +0000 (18:23 +0000)]
leave the selection alone on mouse down.
This prevents selecting nodes on drag and still allows them to be selected on click.

17 years agojasper's patch for bug 1666430; see that patch for why we should ignore the compile...
buliabyak [Thu, 1 Mar 2007 16:40:41 +0000 (16:40 +0000)]
jasper's patch for bug 1666430; see that patch for why we should ignore the compile warnings

17 years agowhen listing verbs, use description when available, remove superfluous quotes
buliabyak [Thu, 1 Mar 2007 16:23:52 +0000 (16:23 +0000)]
when listing verbs, use description when available, remove superfluous quotes

17 years agoadd accessor for tip (description)
buliabyak [Thu, 1 Mar 2007 16:23:17 +0000 (16:23 +0000)]
add accessor for tip (description)

17 years ago(hopefully) fixed build on linux, added missing isnormal.h
schwarzenberg [Thu, 1 Mar 2007 14:55:54 +0000 (14:55 +0000)]
(hopefully) fixed build on linux, added missing isnormal.h

17 years agocommited Solaris 2.8 / gcc-3.2.3 fixes
schwarzenberg [Thu, 1 Mar 2007 09:43:25 +0000 (09:43 +0000)]
commited Solaris 2.8 / gcc-3.2.3 fixes

17 years ago r14651@tres: ted | 2007-02-28 23:23:41 -0800
gouldtj [Thu, 1 Mar 2007 07:24:10 +0000 (07:24 +0000)]
 r14651@tres:  ted | 2007-02-28 23:23:41 -0800
 Wow, lost namespacing too.  Err, SVK.

17 years ago r14649@tres: ted | 2007-02-28 23:21:44 -0800
gouldtj [Thu, 1 Mar 2007 07:21:46 +0000 (07:21 +0000)]
 r14649@tres:  ted | 2007-02-28 23:21:44 -0800
 Somehow that didn't get deleted.

17 years ago(no commit message)
gouldtj [Thu, 1 Mar 2007 07:15:29 +0000 (07:15 +0000)]

17 years ago r14632@tres: ted | 2007-02-28 23:12:58 -0800
gouldtj [Thu, 1 Mar 2007 07:15:16 +0000 (07:15 +0000)]
 r14632@tres:  ted | 2007-02-28 23:12:58 -0800
 Splitting out the command line action class to try and leave SOME
 dependencies out of main.cpp.

17 years ago r14584@tres: ted | 2007-02-28 20:01:52 -0800
gouldtj [Thu, 1 Mar 2007 07:14:41 +0000 (07:14 +0000)]
 r14584@tres:  ted | 2007-02-28 20:01:52 -0800
 Effects now register two different verbs.  One is the same one they've
 always registered and one is the same ID with ".nopref" added to it.
 This one executes the effect without the prefrences dialog.  Default
 values will be used.

17 years ago r14583@tres: ted | 2007-02-28 19:29:48 -0800
gouldtj [Thu, 1 Mar 2007 07:14:33 +0000 (07:14 +0000)]
 r14583@tres:  ted | 2007-02-28 19:29:48 -0800
 Selection is working too!

17 years ago r14582@tres: ted | 2007-02-28 19:07:35 -0800
gouldtj [Thu, 1 Mar 2007 07:14:26 +0000 (07:14 +0000)]
 r14582@tres:  ted | 2007-02-28 19:07:35 -0800
 Oh Yeah!  Verbs work!

17 years ago r14581@tres: ted | 2007-02-27 19:36:54 -0800
gouldtj [Thu, 1 Mar 2007 07:14:18 +0000 (07:14 +0000)]
 r14581@tres:  ted | 2007-02-27 19:36:54 -0800
 Calling everything on the command line.  Good stopping point.

17 years ago r14579@tres: ted | 2007-02-27 19:00:22 -0800
gouldtj [Thu, 1 Mar 2007 07:14:09 +0000 (07:14 +0000)]
 r14579@tres:  ted | 2007-02-27 19:00:22 -0800
 Adding in an extension init in arguably the wrong place, but it does
 make the code much more readable.  I guess that makes it the right place
 then doesn't it? ;)

17 years ago r14578@tres: ted | 2007-02-27 18:59:35 -0800
gouldtj [Thu, 1 Mar 2007 07:14:01 +0000 (07:14 +0000)]
 r14578@tres:  ted | 2007-02-27 18:59:35 -0800
 Protecting against the posibility of the INKSCAPE variable being NULL

17 years ago r14577@tres: ted | 2007-02-27 18:51:05 -0800
gouldtj [Thu, 1 Mar 2007 07:13:50 +0000 (07:13 +0000)]
 r14577@tres:  ted | 2007-02-27 18:51:05 -0800
 Filling in the list function to list all the verbs for the command line
 option --verb-list

17 years ago r14576@tres: ted | 2007-02-26 23:29:13 -0800
gouldtj [Thu, 1 Mar 2007 07:13:43 +0000 (07:13 +0000)]
 r14576@tres:  ted | 2007-02-26 23:29:13 -0800
 Basic construction in place to --verb-list

17 years agoAPI change: render methods now take a cairo_t (not yet used)
buliabyak [Thu, 1 Mar 2007 06:19:16 +0000 (06:19 +0000)]
API change: render methods now take a cairo_t (not yet used)

17 years ago * packaging/macosx/native-gtk/build-gtk.sh: Some updates to the script
mjwybrow [Thu, 1 Mar 2007 04:27:42 +0000 (04:27 +0000)]
*  packaging/macosx/native-gtk/build-gtk.sh: Some updates to the script
       to reflect the fact that gnome have switched from CVS to SVN.  Also,
       some changes to use the same script for building the Universal
       Inkscape package.

17 years agorender text in outline mode via cairo (still no endian-safe); factor out helper functions
buliabyak [Thu, 1 Mar 2007 04:15:17 +0000 (04:15 +0000)]
render text in outline mode via cairo (still no endian-safe); factor out helper functions

17 years agoFix massive point queueing and tolerance issue
johncoswell [Thu, 1 Mar 2007 03:58:45 +0000 (03:58 +0000)]
Fix massive point queueing and tolerance issue

17 years agoOptimize flood algorithm to only scan adjacent runs once
johncoswell [Thu, 1 Mar 2007 01:51:13 +0000 (01:51 +0000)]
Optimize flood algorithm to only scan adjacent runs once

17 years agoRe-add deleted preference setting for paint bucket tolerance
johncoswell [Wed, 28 Feb 2007 04:53:56 +0000 (04:53 +0000)]
Re-add deleted preference setting for paint bucket tolerance

17 years agorefactor sp_svg_transform_write to return a dynamically-allocated string
mental [Wed, 28 Feb 2007 04:34:21 +0000 (04:34 +0000)]
refactor sp_svg_transform_write to return a dynamically-allocated string
-- dynamic allocation won't hurt you, but buffer overruns will!

17 years agoFix layer transform issue
johncoswell [Wed, 28 Feb 2007 03:14:00 +0000 (03:14 +0000)]
Fix layer transform issue

17 years agoFix issue with adding traced path to a layer with a transform
johncoswell [Wed, 28 Feb 2007 01:50:21 +0000 (01:50 +0000)]
Fix issue with adding traced path to a layer with a transform

17 years agoChange paint bucket tolerance toolbar to use percentages rather than color channel...
johncoswell [Wed, 28 Feb 2007 01:38:55 +0000 (01:38 +0000)]
Change paint bucket tolerance toolbar to use percentages rather than color channel distance

17 years agoAdd paint bucket tolerance setting and toolbar widget to control tolerance
johncoswell [Tue, 27 Feb 2007 23:28:03 +0000 (23:28 +0000)]
Add paint bucket tolerance setting and toolbar widget to control tolerance

17 years agoget rid of sp_repr_document_root and (commented) sp_repr_duplicate
mental [Tue, 27 Feb 2007 15:20:01 +0000 (15:20 +0000)]
get rid of sp_repr_document_root and (commented) sp_repr_duplicate

17 years agoincrease padding
buliabyak [Tue, 27 Feb 2007 06:37:51 +0000 (06:37 +0000)]
increase padding

17 years agoadd paintbucket cursor
buliabyak [Tue, 27 Feb 2007 06:18:45 +0000 (06:18 +0000)]
add paintbucket cursor

17 years agomore comments
buliabyak [Tue, 27 Feb 2007 05:50:17 +0000 (05:50 +0000)]
more comments

17 years agoadded new paint bucket; changed some colors; resaved with less precision and whitespace
buliabyak [Tue, 27 Feb 2007 05:48:54 +0000 (05:48 +0000)]
added new paint bucket; changed some colors; resaved with less precision and whitespace

17 years agoRemove debug code from flood-context.cpp
johncoswell [Tue, 27 Feb 2007 04:21:46 +0000 (04:21 +0000)]
Remove debug code from flood-context.cpp

17 years agomore comments on cairo's and our own woes
buliabyak [Tue, 27 Feb 2007 03:37:57 +0000 (03:37 +0000)]
more comments on cairo's and our own woes

17 years agoAdjusted flood fill padding
johncoswell [Tue, 27 Feb 2007 03:33:19 +0000 (03:33 +0000)]
Adjusted flood fill padding

17 years agoFlood fill render area now taken from desktop view area and zoom level
johncoswell [Tue, 27 Feb 2007 03:30:27 +0000 (03:30 +0000)]
Flood fill render area now taken from desktop view area and zoom level

17 years agodropping debian directory totally
keescook [Tue, 27 Feb 2007 02:34:09 +0000 (02:34 +0000)]
dropping debian directory totally

17 years agoadd paint bucket
buliabyak [Mon, 26 Feb 2007 21:30:56 +0000 (21:30 +0000)]
add paint bucket

17 years agowarn if unable to fill an unbounded area
buliabyak [Mon, 26 Feb 2007 20:43:43 +0000 (20:43 +0000)]
warn if unable to fill an unbounded area

17 years agorename flood to paintbucket, copyedit
buliabyak [Mon, 26 Feb 2007 19:32:23 +0000 (19:32 +0000)]
rename flood to paintbucket, copyedit

17 years agomove flood under calligraphic
buliabyak [Mon, 26 Feb 2007 17:47:32 +0000 (17:47 +0000)]
move flood under calligraphic

17 years agoadd some obligatory shortcuts
buliabyak [Mon, 26 Feb 2007 17:46:38 +0000 (17:46 +0000)]
add some obligatory shortcuts