Code

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

17 years agoFix typo
johanengelen [Mon, 26 Feb 2007 09:44:14 +0000 (09:44 +0000)]
Fix typo

17 years agoget rid of sp_repr_document wrapper function
mental [Mon, 26 Feb 2007 08:05:15 +0000 (08:05 +0000)]
get rid of sp_repr_document wrapper function

17 years agoCheck for GGO_UNHINTED not being defined
ishmal [Mon, 26 Feb 2007 06:01:54 +0000 (06:01 +0000)]
Check for GGO_UNHINTED not being defined

17 years agodead code removal
mental [Mon, 26 Feb 2007 04:58:41 +0000 (04:58 +0000)]
dead code removal

17 years agoUpdate.
cmarqu [Sun, 25 Feb 2007 21:53:18 +0000 (21:53 +0000)]
Update.

17 years agoTypofix ("canceled").
cmarqu [Sun, 25 Feb 2007 21:41:23 +0000 (21:41 +0000)]
Typofix ("canceled").

17 years agoUpdate, closes 1662426.
cmarqu [Sun, 25 Feb 2007 20:11:35 +0000 (20:11 +0000)]
Update, closes 1662426.

17 years agoRemove item handler from flood fill tool
johncoswell [Sun, 25 Feb 2007 16:34:50 +0000 (16:34 +0000)]
Remove item handler from flood fill tool

17 years agoFix some memory issues with food fill
johncoswell [Sun, 25 Feb 2007 16:33:09 +0000 (16:33 +0000)]
Fix some memory issues with food fill

17 years agoFix g_free crash
johncoswell [Sun, 25 Feb 2007 14:51:00 +0000 (14:51 +0000)]
Fix g_free crash

17 years agoForgot to free some of the pixel storage
johncoswell [Sun, 25 Feb 2007 13:58:53 +0000 (13:58 +0000)]
Forgot to free some of the pixel storage

17 years agoAdd ability to flood fill areas of contiguous color
johncoswell [Sun, 25 Feb 2007 13:35:57 +0000 (13:35 +0000)]
Add ability to flood fill areas of contiguous color

17 years agoPrevent flood fills from leaking out of fill area
johncoswell [Sun, 25 Feb 2007 12:44:15 +0000 (12:44 +0000)]
Prevent flood fills from leaking out of fill area

17 years ago r14551@tres: ted | 2007-02-24 15:22:47 -0800
gouldtj [Sun, 25 Feb 2007 06:54:05 +0000 (06:54 +0000)]
 r14551@tres:  ted | 2007-02-24 15:22:47 -0800
 Merging in the latest libwpg and some code chages to make it work with
 everything.

17 years agoAdd flood fill tool
johncoswell [Sun, 25 Feb 2007 06:04:46 +0000 (06:04 +0000)]
Add flood fill tool

17 years agoFactor out bpath_to_Path
johncoswell [Sun, 25 Feb 2007 06:03:32 +0000 (06:03 +0000)]
Factor out bpath_to_Path

17 years agomove a global to a class property; reduce the use of is_scrolling to prevent the...
buliabyak [Sun, 25 Feb 2007 05:46:48 +0000 (05:46 +0000)]
move a global to a class property; reduce the use of is_scrolling to prevent the lack-of-redraw issues

17 years agoadd 'hide all except selected' checkbox
buliabyak [Sun, 25 Feb 2007 01:33:07 +0000 (01:33 +0000)]
add 'hide all except selected' checkbox

17 years agopatch 1665648 by Diederik to snap to grid when drawing rectangles
buliabyak [Sat, 24 Feb 2007 21:29:58 +0000 (21:29 +0000)]
patch 1665648 by Diederik to snap to grid when drawing rectangles

17 years agofix 1666532
buliabyak [Sat, 24 Feb 2007 20:19:33 +0000 (20:19 +0000)]
fix 1666532

17 years agofix 1332884
buliabyak [Sat, 24 Feb 2007 19:34:32 +0000 (19:34 +0000)]
fix 1332884

17 years agosome more refactoring
buliabyak [Sat, 24 Feb 2007 19:21:04 +0000 (19:21 +0000)]
some more refactoring

17 years agomake selection_contains_both_clone_and_original reusable
buliabyak [Sat, 24 Feb 2007 18:45:44 +0000 (18:45 +0000)]
make selection_contains_both_clone_and_original reusable

17 years agofix crash when tracing with too small clones
buliabyak [Sat, 24 Feb 2007 17:55:20 +0000 (17:55 +0000)]
fix crash when tracing with too small clones

17 years agofix crash when tracing with too small clones
buliabyak [Sat, 24 Feb 2007 17:32:52 +0000 (17:32 +0000)]
fix crash when tracing with too small clones

17 years agoguaranteed to pan the canvas all the way from mouse-press point to mouse-release...
buliabyak [Sat, 24 Feb 2007 07:52:40 +0000 (07:52 +0000)]
guaranteed to pan the canvas all the way from mouse-press point to mouse-release point in any case, even if sometimes it fails to show the intermediate positions

17 years agoFixed crash when draw height was zero.
joncruz [Fri, 23 Feb 2007 06:50:34 +0000 (06:50 +0000)]
Fixed crash when draw height was zero.

17 years agoDisabling transientize callback - it's currently causing some data loss
bryce [Fri, 23 Feb 2007 06:04:58 +0000 (06:04 +0000)]
Disabling transientize callback - it's currently causing some data loss
when switching between windows.

17 years agoWhen selecting 'none', the marker wasn't getting removed from the line.
bryce [Fri, 23 Feb 2007 01:18:40 +0000 (01:18 +0000)]
When selecting 'none', the marker wasn't getting removed from the line.
This fixes that.

17 years agoadd commented-out cairo stroke rendering; refactoring
buliabyak [Thu, 22 Feb 2007 05:10:26 +0000 (05:10 +0000)]
add commented-out cairo stroke rendering; refactoring

17 years agofactor out some cairo-related helpers; add cairo clipping - commented out for now...
buliabyak [Wed, 21 Feb 2007 18:26:56 +0000 (18:26 +0000)]
factor out some cairo-related helpers; add cairo clipping - commented out for now due to a cairo bug

17 years agoAdjusting how items in the marker menu are selected, so the recently
bryce [Wed, 21 Feb 2007 10:03:55 +0000 (10:03 +0000)]
Adjusting how items in the marker menu are selected, so the recently
selected marker at the top of the menu shows as the selection.

17 years agoFix initialisation problem.
johanengelen [Wed, 21 Feb 2007 09:46:33 +0000 (09:46 +0000)]
Fix initialisation problem.

17 years agoFixes issue where a modified stock marker's preview image appears in the
bryce [Wed, 21 Feb 2007 09:32:19 +0000 (09:32 +0000)]
Fixes issue where a modified stock marker's preview image appears in the
marker dropdown with the same preview image as the unmodified stock
marker.  This adds the source document's uri to the cache index.

17 years agoAdding handler for switching documents, to regenerate the marker menus
bryce [Wed, 21 Feb 2007 08:08:27 +0000 (08:08 +0000)]
Adding handler for switching documents, to regenerate the marker menus

17 years agofix 1662589: increase blur margins so that the cutoff is not noticeable (now at 2...
buliabyak [Wed, 21 Feb 2007 04:52:54 +0000 (04:52 +0000)]
fix 1662589: increase blur margins so that the cutoff is not noticeable (now at 2.4*radius, it is at 3e-3; previously at 2*radius it was 1.8e-2 and quite visible)

17 years agoCrudely improve check-markup for { markup, fix translations with bugs in that...
cmarqu [Wed, 21 Feb 2007 02:33:25 +0000 (02:33 +0000)]
Crudely improve check-markup for { markup, fix translations with bugs in that area (dz and zh_TW).

17 years agoremove old *.mingw files
ishmal [Tue, 20 Feb 2007 21:08:02 +0000 (21:08 +0000)]
remove old *.mingw files

17 years agoremove old *.mingw files
ishmal [Tue, 20 Feb 2007 21:06:07 +0000 (21:06 +0000)]
remove old *.mingw files

17 years agoImprove null check
ishmal [Tue, 20 Feb 2007 21:03:56 +0000 (21:03 +0000)]
Improve null check

17 years agofully drop fixed_g_ascii_strtod hack
keescook [Tue, 20 Feb 2007 20:34:35 +0000 (20:34 +0000)]
fully drop fixed_g_ascii_strtod hack

17 years ago1664055
buliabyak [Tue, 20 Feb 2007 17:53:28 +0000 (17:53 +0000)]
1664055

17 years agoCompletes fix for 980157. Markers in current document's defs is now
bryce [Tue, 20 Feb 2007 08:57:15 +0000 (08:57 +0000)]
Completes fix for 980157.  Markers in current document's defs is now
shown in top of the marker dropdown menu.  When you select a marker from
the dropdown, all three menus are updated to show what you selected at
the top.

Note that to implement this, a marker cache is introduced, because
otherwise the regeneration of the menus would be noticeably too slow.
There is still a modest pause during the regeneration, but it's fairly
reasonable on my machine.

17 years agoMoving cache management code from .h to .cpp.
bryce [Tue, 20 Feb 2007 08:08:25 +0000 (08:08 +0000)]
Moving cache management code from .h to .cpp.
Making the marker dropdowns static so they can be updated.

17 years agoMoving functions from svg_preview_cache.h to a new .cpp
bryce [Tue, 20 Feb 2007 07:28:05 +0000 (07:28 +0000)]
Moving functions from svg_preview_cache.h to a new .cpp

17 years agoPartial fix for bug 980157.
bryce [Tue, 20 Feb 2007 06:01:42 +0000 (06:01 +0000)]
Partial fix for bug 980157.

This commit disables the code that prevents stock markers from appearing
at the top of the marker menu, as discussed in the bug report.

Additionally, this patch factors out the pixmap rendering code, which is
nearly identical to the rendering code in icon.cpp (and perhaps
elsewhere).

17 years agofix the order of searching for linked image file to match that of inkscape itself...
buliabyak [Tue, 20 Feb 2007 03:15:12 +0000 (03:15 +0000)]
fix the order of searching for linked image file to match that of inkscape itself: first href, only if it fails absref

17 years agoCleaned up DOS line ends that had snuck in.
joncruz [Mon, 19 Feb 2007 20:48:09 +0000 (20:48 +0000)]
Cleaned up DOS line ends that had snuck in.

17 years agoFixed unintialized variables and minor misc warnings
joncruz [Mon, 19 Feb 2007 18:10:02 +0000 (18:10 +0000)]
Fixed unintialized variables and minor misc warnings

17 years agonow at least the first opening of the first gtkmm dialog opens it in-place without...
buliabyak [Mon, 19 Feb 2007 08:21:40 +0000 (08:21 +0000)]
now at least the first opening of the first gtkmm dialog opens it in-place without jumping. still can't make it work for all cases.

17 years agospeed up default scrolling a bit
buliabyak [Mon, 19 Feb 2007 08:05:40 +0000 (08:05 +0000)]
speed up default scrolling a bit

17 years agomake sure scrolling acceleration does not hiccup on complex slow-rendering drawings...
buliabyak [Mon, 19 Feb 2007 08:04:52 +0000 (08:04 +0000)]
make sure scrolling acceleration does not hiccup on complex slow-rendering drawings by reducing time interval between events by the time of painting the slowest buffer on the canvas

17 years agosmooth panning: suppress painting for so long as scrolling events come one after...
buliabyak [Mon, 19 Feb 2007 07:08:11 +0000 (07:08 +0000)]
smooth panning: suppress painting for so long as scrolling events come one after the other; add comments on tiles array; make tile size a define; simplify work with tiles in paint(); remove redundant redraw requests in sp_canvas_scroll_to as it gets requested by expose event anyway

17 years agoNew dir for UI cache management code
bryce [Sun, 18 Feb 2007 23:02:50 +0000 (23:02 +0000)]
New dir for UI cache management code

17 years agoremove old workaround for a bug which seems to be fixed in latest gtk
buliabyak [Sun, 18 Feb 2007 20:11:23 +0000 (20:11 +0000)]
remove old workaround for a bug which seems to be fixed in latest gtk

17 years agoadded forward decl to fixed_g_ascii_strtod to fix compiler issue on WinXP
johanengelen [Sun, 18 Feb 2007 15:07:56 +0000 (15:07 +0000)]
added forward decl to fixed_g_ascii_strtod to fix compiler issue on WinXP

17 years agorelocated unix print dialog outside of extension call path
keescook [Sun, 18 Feb 2007 07:36:56 +0000 (07:36 +0000)]
relocated unix print dialog outside of extension call path

17 years agostandardize converting from number to string and back
buliabyak [Sun, 18 Feb 2007 05:47:11 +0000 (05:47 +0000)]
standardize converting from number to string and back

17 years agoreverse the order of markers, because since rev 13483 stroke-style.cpp reads markers...
buliabyak [Sun, 18 Feb 2007 03:04:17 +0000 (03:04 +0000)]
reverse the order of markers, because since rev 13483 stroke-style.cpp reads markers in direct order, not reversed as before

17 years agoFinishing fleshing out some design documentation for markers
bryce [Sun, 18 Feb 2007 02:48:41 +0000 (02:48 +0000)]
Finishing fleshing out some design documentation for markers

17 years agoseparate crash handlers, allow "in place" crashes to happen
keescook [Sun, 18 Feb 2007 01:49:47 +0000 (01:49 +0000)]
separate crash handlers, allow "in place" crashes to happen

17 years agoa bunch of cairo fixmes in anticipation of a more direct rendering with less intermed...
buliabyak [Sat, 17 Feb 2007 22:56:16 +0000 (22:56 +0000)]
a bunch of cairo fixmes in anticipation of a more direct rendering with less intermediate buffers and unpacked 32bit RGBA throughout