Code

inkscape.git
16 years agoTemporary fix LPE "2Geom not implemented" crash when pasting paths with 'A' in it...
johanengelen [Sun, 26 Aug 2007 20:12:59 +0000 (20:12 +0000)]
Temporary fix LPE "2Geom not implemented" crash when pasting paths with 'A' in it (arcs)
The code should be removed when 2geom is capable of handling 'A' parameters.

16 years agoVarious small cleanups
cilix42 [Sun, 26 Aug 2007 17:56:46 +0000 (17:56 +0000)]
Various small cleanups

16 years agoRewrite of z-order code for 3D boxes, first stage (hopefully this is finally the...
cilix42 [Sun, 26 Aug 2007 17:16:03 +0000 (17:16 +0000)]
Rewrite of z-order code for 3D boxes, first stage (hopefully this is finally the right approach)

16 years ago2 LPE things:
johanengelen [Sun, 26 Aug 2007 12:44:19 +0000 (12:44 +0000)]
2 LPE things:
* Add changed signal to LPE PathParameter
* removed origin parameter from path along path as it is not necessary any more

16 years agoRename "Skeletal Strokes" LPE to "Path along path" to better describe what it does.
johanengelen [Sat, 25 Aug 2007 21:24:25 +0000 (21:24 +0000)]
Rename "Skeletal Strokes" LPE to "Path along path" to better describe what it does.

16 years agoAdd #define to disable "test" LPE's
johanengelen [Sat, 25 Aug 2007 21:15:55 +0000 (21:15 +0000)]
Add #define to disable "test" LPE's

16 years agoremove obsolete set
buliabyak [Fri, 24 Aug 2007 18:43:01 +0000 (18:43 +0000)]
remove obsolete set

16 years agoCorrect default preferences for 3D boxes to avoid ugly line joins when using stroke
cilix42 [Fri, 24 Aug 2007 13:17:19 +0000 (13:17 +0000)]
Correct default preferences for 3D boxes to avoid ugly line joins when using stroke

16 years agoa hack to prevent the redraw of the entire area when a no-fill ctrlrect is deleted
buliabyak [Fri, 24 Aug 2007 04:15:47 +0000 (04:15 +0000)]
a hack to prevent the redraw of the entire area when a no-fill ctrlrect is deleted

16 years agodo not request redraw if an item has zero dimensions; also remove redundant redraw...
buliabyak [Fri, 24 Aug 2007 02:24:09 +0000 (02:24 +0000)]
do not request redraw if an item has zero dimensions; also remove redundant redraw in sp_canvas_item_construct

16 years agoinitialize rect to 0,0,0,0 and do not redraw until dimensions are set; this removes...
buliabyak [Fri, 24 Aug 2007 02:19:06 +0000 (02:19 +0000)]
initialize rect to 0,0,0,0 and do not redraw until dimensions are set; this removes another reason for flicker at 0.0

16 years agodo not redraw until moved for the first time; this fixes the flicker at 0,0 whenever...
buliabyak [Fri, 24 Aug 2007 01:58:15 +0000 (01:58 +0000)]
do not redraw until moved for the first time; this fixes the flicker at 0,0 whenever a new ctrl is created

16 years agothird patch from Dennis Lin (with my tweaks) - great simplification and optimization...
buliabyak [Thu, 23 Aug 2007 22:31:56 +0000 (22:31 +0000)]
third patch from Dennis Lin (with my tweaks) - great simplification and optimization of sp-canvas

16 years agoremove slowest_buffer - we no longer use it in sp-canvas
buliabyak [Thu, 23 Aug 2007 22:27:38 +0000 (22:27 +0000)]
remove slowest_buffer - we no longer use it in sp-canvas

16 years agoadd too-high-precision warning, transientize, copyediting, cosmetic
buliabyak [Thu, 23 Aug 2007 21:12:34 +0000 (21:12 +0000)]
add too-high-precision warning, transientize, copyediting, cosmetic

16 years agoinitialize page number and preview
buliabyak [Thu, 23 Aug 2007 16:10:58 +0000 (16:10 +0000)]
initialize page number and preview

16 years agoAdded two missing files to POTFILES.in so that LPE and OCAL dialogs
prokoudine [Thu, 23 Aug 2007 11:52:15 +0000 (11:52 +0000)]
Added two missing files to POTFILES.in so that LPE and OCAL dialogs
can be added to PO files now.

16 years agoClear Cairo surface to white before rendering preview
miklosh [Thu, 23 Aug 2007 11:23:22 +0000 (11:23 +0000)]
Clear Cairo surface to white before rendering preview

16 years agoAvoid transforming a group with an already set clip-path
miklosh [Thu, 23 Aug 2007 09:52:05 +0000 (09:52 +0000)]
Avoid transforming a group with an already set clip-path

16 years agoDisplay the total number of pages next to the page number spinbutton
miklosh [Thu, 23 Aug 2007 09:50:28 +0000 (09:50 +0000)]
Display the total number of pages next to the page number spinbutton

16 years agozoom entry field has moved from left to right. Correcting tutorial.
bryce [Tue, 21 Aug 2007 16:04:35 +0000 (16:04 +0000)]
zoom entry field has moved from left to right.  Correcting tutorial.

16 years agodefine gradient vector size in terms of bits
mental [Tue, 21 Aug 2007 15:06:43 +0000 (15:06 +0000)]
define gradient vector size in terms of bits

16 years agofix typo
mental [Tue, 21 Aug 2007 14:41:51 +0000 (14:41 +0000)]
fix typo

16 years agoincrease gradient noise slightly
mental [Tue, 21 Aug 2007 14:30:30 +0000 (14:30 +0000)]
increase gradient noise slightly

16 years agoexperimental: add some noise to the gradient function
mental [Tue, 21 Aug 2007 03:46:10 +0000 (03:46 +0000)]
experimental: add some noise to the gradient function

16 years agofactor out gradient index calculation
mental [Tue, 21 Aug 2007 03:26:39 +0000 (03:26 +0000)]
factor out gradient index calculation

16 years agounify linear and radial gradients in same file (with appropriate note
mental [Tue, 21 Aug 2007 03:26:32 +0000 (03:26 +0000)]
unify linear and radial gradients in same file (with appropriate note
about license) in preparation for refactoring

16 years agogobble more of motion events; make statusbar messages immediate for better visual...
buliabyak [Tue, 21 Aug 2007 01:37:25 +0000 (01:37 +0000)]
gobble more of motion events; make statusbar messages immediate for better visual feedback

16 years agoadd colon before value description
buliabyak [Tue, 21 Aug 2007 01:33:17 +0000 (01:33 +0000)]
add colon before value description

16 years agofix [ 1742638 ] Extrude returns error
acspike [Tue, 21 Aug 2007 01:17:49 +0000 (01:17 +0000)]
fix [ 1742638 ] Extrude returns error

16 years agoadd Affect: label, fill in presets for shape tools
buliabyak [Tue, 21 Aug 2007 01:14:55 +0000 (01:14 +0000)]
add Affect: label, fill in presets for shape tools

16 years agoadd Affect: label
buliabyak [Tue, 21 Aug 2007 01:14:03 +0000 (01:14 +0000)]
add Affect: label

16 years agomake zoom value update immediate
buliabyak [Tue, 21 Aug 2007 00:01:21 +0000 (00:01 +0000)]
make zoom value update immediate

16 years agoEnable center-dragging of boxes in Z direction by using Shift
cilix42 [Mon, 20 Aug 2007 18:55:18 +0000 (18:55 +0000)]
Enable center-dragging of boxes in Z direction by using Shift

16 years agosmall fix in export to ocal gnome_vfs function calls
bdilly [Mon, 20 Aug 2007 17:49:02 +0000 (17:49 +0000)]
small fix in export to ocal gnome_vfs function calls

16 years agoEliminate a number of compile warnings
cilix42 [Mon, 20 Aug 2007 12:53:40 +0000 (12:53 +0000)]
Eliminate a number of compile warnings

16 years agoAvoid 'flashing' between front and rear face during initial dragging process of 3D...
cilix42 [Mon, 20 Aug 2007 12:20:43 +0000 (12:20 +0000)]
Avoid 'flashing' between front and rear face during initial dragging process of 3D boxes

16 years agoFilter effects dialog:
nicholasbishop [Mon, 20 Aug 2007 11:19:17 +0000 (11:19 +0000)]
Filter effects dialog:

* A couple small corrections to settings colors in the filter dialog

16 years agoUse the embedded thumbnails for preview when poppler-cairo is not available
miklosh [Mon, 20 Aug 2007 10:55:39 +0000 (10:55 +0000)]
Use the embedded thumbnails for preview when poppler-cairo is not available

16 years agoadded import/export preferences category
bdilly [Mon, 20 Aug 2007 08:35:25 +0000 (08:35 +0000)]
added import/export preferences category

16 years agocommitted patch 1777220 by John Faith to fix compilation of Inkscape on OS X 10.3...
jiho-sf [Mon, 20 Aug 2007 07:48:49 +0000 (07:48 +0000)]
committed patch 1777220 by John Faith to fix compilation of Inkscape on OS X 10.3 (Panther)

g_return_val_if_fail(fabs(denom) > 1e-6, NR::Nothing());

is apparently causing gcc 3.3 to fail (OS X 10.3) with the error:

line-geometry.cpp: In member function `virtual NR::Maybe<NR::Point>
Box3D::Line::intersect(const Box3D::Line&)':
line-geometry.cpp:57: error: parse error before `;' token

If the NR::Nothing() is simply broken out as its own variable instead of
including it in g_return_val_if_fail(), then the file compiles. The root
cause is not known, but I assume this is a gcc bug.

This was the only source change needed for building svn 15634 for OS X
10.3.

16 years agogobble motion events when dragging selection - looks like with recent gtk, this does...
buliabyak [Mon, 20 Aug 2007 05:52:44 +0000 (05:52 +0000)]
gobble motion events when dragging selection - looks like with recent gtk, this does not lose grab anymore

16 years agomerge of dialog and impl classes of ocaldialogs
bdilly [Mon, 20 Aug 2007 04:09:10 +0000 (04:09 +0000)]
merge of dialog and impl classes of ocaldialogs

16 years agofix 1777084
buliabyak [Mon, 20 Aug 2007 01:38:47 +0000 (01:38 +0000)]
fix 1777084

16 years agosearch and reset buttons added to ocal related features. fixed signals in import...
bdilly [Mon, 20 Aug 2007 01:24:18 +0000 (01:24 +0000)]
search and reset buttons added to ocal related features. fixed signals in import from ocal dialog.

16 years agospeed up node and handle dragging by gobbling unprocessed motion events
buliabyak [Sun, 19 Aug 2007 23:48:50 +0000 (23:48 +0000)]
speed up node and handle dragging by gobbling unprocessed motion events

16 years agoadjust function parameters for the now present proper quoting behavior; this fix...
acspike [Sun, 19 Aug 2007 22:58:25 +0000 (22:58 +0000)]
adjust function parameters for the now present proper quoting behavior; this fix may need to be pushed out into inkex, stripping double quotes off of all string parameters before handing them to the scripts

16 years agoDisable the page selector when there's only one page
miklosh [Sun, 19 Aug 2007 22:32:56 +0000 (22:32 +0000)]
Disable the page selector when there's only one page

16 years agoAdded checks for pixbuf/pixmap allocation failure
miklosh [Sun, 19 Aug 2007 22:25:50 +0000 (22:25 +0000)]
Added checks for pixbuf/pixmap allocation failure

16 years agoRemoved left-in debug stuff which caused frenzy
miklosh [Sun, 19 Aug 2007 22:18:33 +0000 (22:18 +0000)]
Removed left-in debug stuff which caused frenzy

16 years agoAdd libpoppler-cairo, and correct the link order
ishmal [Sun, 19 Aug 2007 21:09:05 +0000 (21:09 +0000)]
Add libpoppler-cairo, and correct the link order

16 years agoFixed some compiler warnings
miklosh [Sun, 19 Aug 2007 20:48:55 +0000 (20:48 +0000)]
Fixed some compiler warnings

16 years agoAdd default value stuff for LPE parameters
johanengelen [Sun, 19 Aug 2007 20:34:48 +0000 (20:34 +0000)]
Add default value stuff for LPE parameters

16 years agoRemove the clipping path emitted before the 'sh' operator since that same path is...
miklosh [Sun, 19 Aug 2007 20:09:08 +0000 (20:09 +0000)]
Remove the clipping path emitted before the 'sh' operator since that same path is filled later

16 years agoupdate keys.svg
mental [Sun, 19 Aug 2007 18:59:06 +0000 (18:59 +0000)]
update keys.svg

16 years agorebuild keys.html
mental [Sun, 19 Aug 2007 18:57:40 +0000 (18:57 +0000)]
rebuild keys.html

16 years agoupdate actual key shortcut for inflate mode
mental [Sun, 19 Aug 2007 18:56:55 +0000 (18:56 +0000)]
update actual key shortcut for inflate mode

16 years agoRenaming some labels in the snapping tab
dvlierop2 [Sun, 19 Aug 2007 18:46:26 +0000 (18:46 +0000)]
Renaming some labels in the snapping tab

16 years agoFix remaining references to blow.
mental [Sun, 19 Aug 2007 18:37:17 +0000 (18:37 +0000)]
Fix remaining references to blow.

16 years agoCorrected image mask generation
miklosh [Sun, 19 Aug 2007 18:35:04 +0000 (18:35 +0000)]
Corrected image mask generation

16 years agoNeed to link with libcairo.dll.a rather than cairo.lib
ishmal [Sun, 19 Aug 2007 18:01:27 +0000 (18:01 +0000)]
Need to link with libcairo.dll.a rather than cairo.lib

16 years agoTurn off default object snapping
dvlierop2 [Sun, 19 Aug 2007 16:58:10 +0000 (16:58 +0000)]
Turn off default object snapping

16 years agoAdded autoconf checks for poppler-cairo and cairo-ft which are needed for PDF preview...
miklosh [Sun, 19 Aug 2007 16:23:36 +0000 (16:23 +0000)]
Added autoconf checks for poppler-cairo and cairo-ft which are needed for PDF preview to work

16 years agoRelocated the code that adds a link to the example folder inside from file.cpp to...
joelholdsworth [Sun, 19 Aug 2007 13:25:39 +0000 (13:25 +0000)]
Relocated the code that adds a link to the example folder inside from file.cpp to filedialogimpl-gtkmm.cpp

16 years ago* Fixed path-along-path with correct filling now! (2geom fix)
johanengelen [Sun, 19 Aug 2007 13:18:04 +0000 (13:18 +0000)]
* Fixed path-along-path with correct filling now! (2geom fix)
* sp_shape_update_effect is now called much less than before.

16 years agoAdded a PDF import settings dialog
miklosh [Sun, 19 Aug 2007 12:50:15 +0000 (12:50 +0000)]
Added a PDF import settings dialog

16 years agoforgot to add lpe-skeleton files to SVN...
johanengelen [Sun, 19 Aug 2007 12:24:42 +0000 (12:24 +0000)]
forgot to add lpe-skeleton files to SVN...

16 years agoFixed a typo and an off-by-one error
miklosh [Sun, 19 Aug 2007 12:20:35 +0000 (12:20 +0000)]
Fixed a typo and an off-by-one error

16 years agoRequire a pageBox in the constructor for GfxState so that we do not always need to...
miklosh [Sun, 19 Aug 2007 11:42:24 +0000 (11:42 +0000)]
Require a pageBox in the constructor for GfxState so that we do not always need to specify a cropbox

16 years agosearch button and description label add to import from ocal dialog
bdilly [Sun, 19 Aug 2007 09:43:12 +0000 (09:43 +0000)]
search button and description label add to import from ocal dialog

16 years agofixing the ocal dialogs bug
bdilly [Sun, 19 Aug 2007 05:04:46 +0000 (05:04 +0000)]
fixing the ocal dialogs bug

16 years agonaming: avoid unintentional double-meanings (part 2)
mental [Sun, 19 Aug 2007 03:53:09 +0000 (03:53 +0000)]
naming: avoid unintentional double-meanings (part 2)

16 years agonaming: avoid unintentional double-meanings (part 1)
mental [Sun, 19 Aug 2007 03:44:51 +0000 (03:44 +0000)]
naming: avoid unintentional double-meanings (part 1)

16 years agoFilter effects dialog:
nicholasbishop [Sun, 19 Aug 2007 02:47:27 +0000 (02:47 +0000)]
Filter effects dialog:

* The selection dots in the filter dialog should update when the blend or blur is changed in the fill/stroke dialog.

16 years agoFilter effects dialog:
nicholasbishop [Sun, 19 Aug 2007 01:08:03 +0000 (01:08 +0000)]
Filter effects dialog:

feMerge fix; adding a new input should only happen if the user's drag motion points to a valid input primitive

16 years agoFilter effects dialog:
nicholasbishop [Sun, 19 Aug 2007 01:02:43 +0000 (01:02 +0000)]
Filter effects dialog:

Lots of fixes for the light source controls for feDiffuseLighting and feSpecularLighting:
* Corrected feDistantLight name (was feDistanceLight)
* Corrected elevation attribute (was using azimuth)
* Corrected visibility of the light control widgets when changing filter primitives
* Changed the light source type combobox to show nothing if a filter light primitive has no light source

16 years agofix build for boost and imagemagick
ishmal [Sun, 19 Aug 2007 01:01:08 +0000 (01:01 +0000)]
fix build for boost and imagemagick

16 years agoSeparated the OCAL import and export dialogs into their own source file - ocaldialogs...
joelholdsworth [Sun, 19 Aug 2007 00:29:36 +0000 (00:29 +0000)]
Separated the OCAL import and export dialogs into their own source file - ocaldialogs.cpp and ocaldialogs.h

16 years agoAdded the ability to set the precision of gradient mesh approximation in PdfParser
miklosh [Sat, 18 Aug 2007 23:55:17 +0000 (23:55 +0000)]
Added the ability to set the precision of gradient mesh approximation in PdfParser

16 years agopatch by Dennis Lin: optionally for debugging paint the rect-to-redraw yellow
buliabyak [Sat, 18 Aug 2007 22:36:06 +0000 (22:36 +0000)]
patch by Dennis Lin: optionally for debugging paint the rect-to-redraw yellow

16 years agopatch by Dennis Lin: use Gdk::Region for repaint
buliabyak [Sat, 18 Aug 2007 22:06:48 +0000 (22:06 +0000)]
patch by Dennis Lin: use Gdk::Region for repaint

16 years agoFixed the name of Open Clip Art Library in the verbs file...
kidproto [Sat, 18 Aug 2007 21:34:13 +0000 (21:34 +0000)]
Fixed the name of Open Clip Art Library in the verbs file...

16 years agoif there's no icon, create a toggle button with text label
buliabyak [Sat, 18 Aug 2007 18:53:41 +0000 (18:53 +0000)]
if there's no icon, create a toggle button with text label

16 years agoImproved handling bounding boxes and rotated/skewed coordinates in filters
kiirala [Sat, 18 Aug 2007 11:00:22 +0000 (11:00 +0000)]
Improved handling bounding boxes and rotated/skewed coordinates in filters

16 years agoDoh! Sorry for breaking compile (always test!)
mgsloan [Sat, 18 Aug 2007 02:22:48 +0000 (02:22 +0000)]
Doh! Sorry for breaking compile (always test!)

16 years agoFixing a possible segfault in the sbasis to path code (also committed to 2geom))
mgsloan [Sat, 18 Aug 2007 02:17:00 +0000 (02:17 +0000)]
Fixing a possible segfault in the sbasis to path code (also committed to 2geom))

16 years agofew changes in import from ocal dialog
bdilly [Sat, 18 Aug 2007 00:47:39 +0000 (00:47 +0000)]
few changes in import from ocal dialog

16 years agoFixed 2geom sbasis to path (also committed to 2geom svn)
mgsloan [Fri, 17 Aug 2007 23:30:30 +0000 (23:30 +0000)]
Fixed 2geom sbasis to path (also committed to 2geom svn)

16 years agoAdd lpe-skeleton for easy implementation!
johanengelen [Fri, 17 Aug 2007 23:00:17 +0000 (23:00 +0000)]
Add lpe-skeleton for easy implementation!

16 years agoupdated Slovak translation in trunk, removed obsolete fuzzy strings
helix84 [Fri, 17 Aug 2007 22:22:10 +0000 (22:22 +0000)]
updated Slovak translation in trunk, removed obsolete fuzzy strings

16 years agoFix LPE:
johanengelen [Fri, 17 Aug 2007 20:30:10 +0000 (20:30 +0000)]
Fix LPE:
* add default values for parameters
* remove text for LPE_INVALID
* update example for skel strokes
* clean a bit of the code

16 years agoEnable center-dragging of boxes ('in perspective') within the XY-plane
cilix42 [Fri, 17 Aug 2007 18:42:23 +0000 (18:42 +0000)]
Enable center-dragging of boxes ('in perspective') within the XY-plane

16 years agoFix skel-strokes example.
johanengelen [Fri, 17 Aug 2007 18:32:27 +0000 (18:32 +0000)]
Fix skel-strokes example.

16 years agoDraw perspective lines for infinite VPs, too (they are updated during scrolling or...
cilix42 [Fri, 17 Aug 2007 16:22:23 +0000 (16:22 +0000)]
Draw perspective lines for infinite VPs, too (they are updated during scrolling or zooming); don't create knots for infinite VPs on the canvas

16 years agoMake sure style is invalidated when setting fill/stroke color in text objects
miklosh [Fri, 17 Aug 2007 12:46:51 +0000 (12:46 +0000)]
Make sure style is invalidated when setting fill/stroke color in text objects

16 years agoMoved the code for updating the text matrix to where it belongs
miklosh [Fri, 17 Aug 2007 12:36:23 +0000 (12:36 +0000)]
Moved the code for updating the text matrix to where it belongs

16 years agoOptimized text output by not repeating glyph coordinates when they are identical
miklosh [Fri, 17 Aug 2007 12:06:38 +0000 (12:06 +0000)]
Optimized text output by not repeating glyph coordinates when they are identical

16 years agoAdded initial transparency group and softmask support
miklosh [Fri, 17 Aug 2007 11:18:05 +0000 (11:18 +0000)]
Added initial transparency group and softmask support

16 years agofixed pix_data buffer width on feTurbulence
jucablues [Fri, 17 Aug 2007 11:13:43 +0000 (11:13 +0000)]
fixed pix_data buffer width on feTurbulence

16 years ago * Better labels and icons for OCAL import/export
luca_bruno [Fri, 17 Aug 2007 09:08:43 +0000 (09:08 +0000)]
 * Better labels and icons for OCAL import/export