Code

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

17 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

17 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

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

17 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.

17 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

17 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

17 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

17 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.

17 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

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

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

17 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

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

17 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

17 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

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

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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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.

17 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

17 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

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

17 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.

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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

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

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

17 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

17 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

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

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

17 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

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

17 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

17 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

17 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.

17 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

17 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...

17 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

17 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

17 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

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

17 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)

17 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)

17 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.

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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...

17 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

17 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

17 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!)

17 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))

17 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

17 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)

17 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!

17 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

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoFilter effects dialog:
nicholasbishop [Fri, 17 Aug 2007 04:41:39 +0000 (04:41 +0000)]
Filter effects dialog:

* Added most of the settings for feComponentTransfer to the filter dialog (still haven't done the table attribute)

17 years agofixing export to ocal uri
bdilly [Fri, 17 Aug 2007 04:32:01 +0000 (04:32 +0000)]
fixing export to ocal uri

17 years agoFilter effects dialog:
nicholasbishop [Fri, 17 Aug 2007 03:02:39 +0000 (03:02 +0000)]
Filter effects dialog:

* Added stored values for each of the different value types in feColorMatrix. Switching the type in the filter dialog now shows a separate value for each.

17 years agoupdate piglatin translation
mental [Fri, 17 Aug 2007 02:55:38 +0000 (02:55 +0000)]
update piglatin translation

17 years agoReword transform toggle tooltips based on user feedback regarding the
mental [Fri, 17 Aug 2007 02:33:09 +0000 (02:33 +0000)]
Reword transform toggle tooltips based on user feedback regarding the
frequent confusion about what they do

17 years agofirst implementation of feTurbulence renderer
jucablues [Thu, 16 Aug 2007 23:51:13 +0000 (23:51 +0000)]
first implementation of feTurbulence renderer

17 years agoavoid crash described in bug report [ 1762588 ] crash: feOffset with
jucablues [Thu, 16 Aug 2007 16:50:59 +0000 (16:50 +0000)]
avoid crash described in bug report [ 1762588 ] crash: feOffset with
input StrokePaint or FillPaint

17 years agoRemember last used style for single 3D box faces (also fixes bug with wrongly assigne...
cilix42 [Thu, 16 Aug 2007 14:50:40 +0000 (14:50 +0000)]
Remember last used style for single 3D box faces (also fixes bug with wrongly assigned faces for duplicated boxes, e.g.)

17 years agoDon't use lowercase keyboard shortcuts in 3D box tool
cilix42 [Thu, 16 Aug 2007 14:34:54 +0000 (14:34 +0000)]
Don't use lowercase keyboard shortcuts in 3D box tool

17 years agoSlightly better status bar message for Ctrl+dragging
cilix42 [Thu, 16 Aug 2007 14:32:57 +0000 (14:32 +0000)]
Slightly better status bar message for Ctrl+dragging

17 years agoCtrl+dragging constrains movement of 3D box handles to prolongations of the edges...
cilix42 [Thu, 16 Aug 2007 14:24:56 +0000 (14:24 +0000)]
Ctrl+dragging constrains movement of 3D box handles to prolongations of the edges or diagonals

17 years agoRemove second option for resizing 3D boxes (now we have 8 handles; the four front...
cilix42 [Thu, 16 Aug 2007 14:09:05 +0000 (14:09 +0000)]
Remove second option for resizing 3D boxes (now we have 8 handles; the four front ones resize in XY-plane, the four rear ones along the Z axis)