Code

inkscape.git
17 years agoCleanup public/private, doxygen comments
ishmal [Mon, 12 Mar 2007 15:51:30 +0000 (15:51 +0000)]
Cleanup public/private, doxygen comments

17 years agoBuffer output for better reporting.
ishmal [Mon, 12 Mar 2007 14:09:49 +0000 (14:09 +0000)]
Buffer output for better reporting.

17 years agoAdd s few lines to the comments
ishmal [Mon, 12 Mar 2007 12:10:54 +0000 (12:10 +0000)]
Add s few lines to the comments

17 years agomove sp_document_done() out into verbs.cpp
acspike [Mon, 12 Mar 2007 04:31:44 +0000 (04:31 +0000)]
move sp_document_done() out into verbs.cpp

17 years agosend verb ids into history and remove casting errors
acspike [Mon, 12 Mar 2007 04:17:17 +0000 (04:17 +0000)]
send verb ids into history and remove casting errors

17 years agomove style reading/writing from SPItem up to SPObject
buliabyak [Mon, 12 Mar 2007 03:26:58 +0000 (03:26 +0000)]
move style reading/writing from SPItem up to SPObject

17 years agoadd verbs for unlocking and unhiding all objects globaly or within the current layer
acspike [Mon, 12 Mar 2007 03:26:13 +0000 (03:26 +0000)]
add verbs for unlocking and unhiding all objects globaly or within the current layer

17 years agosodipodi:docbase finally goes packing, along with a lauris comment
buliabyak [Mon, 12 Mar 2007 02:37:22 +0000 (02:37 +0000)]
sodipodi:docbase finally goes packing, along with a lauris comment

17 years agodisable empty enforcement for now
mental [Sun, 11 Mar 2007 23:12:38 +0000 (23:12 +0000)]
disable empty enforcement for now

17 years agoeliminate the use of sodipodi:docbase (use doc->base instead); emit warning when...
buliabyak [Sun, 11 Mar 2007 23:06:46 +0000 (23:06 +0000)]
eliminate the use of sodipodi:docbase (use doc->base instead); emit warning when falling back to sodipodi:absref; allow it to use, when base+href fails, just href as if it were absolute

17 years agoadd fixupHrefs right after import, so that images get correct relative xlink:href...
buliabyak [Sun, 11 Mar 2007 22:30:36 +0000 (22:30 +0000)]
add fixupHrefs right after import, so that images get correct relative xlink:href at once and not only after save as before (fixes 1267081)

17 years agodon't try to relativate hrefs here - it never works anyway, because we don't have...
buliabyak [Sun, 11 Mar 2007 21:54:37 +0000 (21:54 +0000)]
don't try to relativate hrefs here - it never works anyway, because we don't have the document's base dir (the temporary doc created here has docbase == NULL)

17 years agoargh, missed selection-chemistry somehow
mental [Sun, 11 Mar 2007 21:50:28 +0000 (21:50 +0000)]
argh, missed selection-chemistry somehow

17 years agoban empty rectangles entirely and remove isEmpty test
mental [Sun, 11 Mar 2007 21:41:42 +0000 (21:41 +0000)]
ban empty rectangles entirely and remove isEmpty test

17 years agoEliminate remaining sources of empty NR::Rects
mental [Sun, 11 Mar 2007 21:23:04 +0000 (21:23 +0000)]
Eliminate remaining sources of empty NR::Rects

17 years agoSwitch selection bounds and center to use NR::Maybe, addressing most of the
mental [Sun, 11 Mar 2007 19:57:07 +0000 (19:57 +0000)]
Switch selection bounds and center to use NR::Maybe, addressing most of the
recent bbox regressions.

17 years agoAdd ctrl+click to paint bucket to change clicked object's fill and stroke to current...
johncoswell [Sun, 11 Mar 2007 15:02:41 +0000 (15:02 +0000)]
Add ctrl+click to paint bucket to change clicked object's fill and stroke to current setting

17 years agofix 1368408
buliabyak [Sun, 11 Mar 2007 06:18:58 +0000 (06:18 +0000)]
fix 1368408

17 years agofix 1491639
buliabyak [Sun, 11 Mar 2007 06:08:06 +0000 (06:08 +0000)]
fix 1491639

17 years agofix 1656169
buliabyak [Sun, 11 Mar 2007 05:24:36 +0000 (05:24 +0000)]
fix 1656169

17 years agofix outline mode toggling with multiple views
buliabyak [Sun, 11 Mar 2007 04:02:46 +0000 (04:02 +0000)]
fix outline mode toggling with multiple views

17 years agodisplay busy cursor while filling
buliabyak [Sun, 11 Mar 2007 03:35:16 +0000 (03:35 +0000)]
display busy cursor while filling

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