Code

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

17 years agoadd import from ocal feature
bdilly [Thu, 16 Aug 2007 12:19:21 +0000 (12:19 +0000)]
add import from ocal feature

17 years agoupdated Slovak translation in trunk
helix84 [Wed, 15 Aug 2007 21:07:40 +0000 (21:07 +0000)]
updated Slovak translation in trunk

17 years agoFixed blur not rotating with the object in some cases (bug 1762289)
kiirala [Wed, 15 Aug 2007 15:09:25 +0000 (15:09 +0000)]
Fixed blur not rotating with the object in some cases (bug 1762289)

17 years agoFixed a problem compiling 2geom/poly.h on 64-bit platform
kiirala [Wed, 15 Aug 2007 14:17:14 +0000 (14:17 +0000)]
Fixed a problem compiling 2geom/poly.h on 64-bit platform

17 years agoCommit LivePathEffect branch to trunk!
johanengelen [Tue, 14 Aug 2007 20:54:48 +0000 (20:54 +0000)]
Commit LivePathEffect branch to trunk!
(disabled extension/internal/bitmap/*.* in build.xml to fix compilation)

17 years agoFix for bug #1752113; added set_preview_widget_active(false) to FileSaveDialogImplGtk...
gorodish [Tue, 14 Aug 2007 20:18:09 +0000 (20:18 +0000)]
Fix for bug #1752113; added set_preview_widget_active(false) to FileSaveDialogImplGtk::show().  This avoids the crash when the dialog is deleted.

17 years agoUse passive voice in some tootips.
cmarqu [Tue, 14 Aug 2007 19:54:02 +0000 (19:54 +0000)]
Use passive voice in some tootips.

17 years agoAdd Christopher Brown.
cmarqu [Tue, 14 Aug 2007 18:01:07 +0000 (18:01 +0000)]
Add Christopher Brown.

17 years agoAdd Bruno Dilly.
cmarqu [Tue, 14 Aug 2007 17:58:59 +0000 (17:58 +0000)]
Add Bruno Dilly.

17 years agochanged strndup to its gtk version (g_strndup) because compilation other wise fails...
jiho-sf [Tue, 14 Aug 2007 16:40:18 +0000 (16:40 +0000)]
changed strndup to its gtk version (g_strndup) because compilation other wise fails on non-linux platforms

17 years agoFilter effects dialog:
nicholasbishop [Tue, 14 Aug 2007 09:00:10 +0000 (09:00 +0000)]
Filter effects dialog:

* Added autoscrolling during connection drag/drop. If a connection is dragged towards the top or bottom of the primitives treeview, the view will scroll with it.

17 years agoRolled back a couple of nasties from a bad patch...oops! Added author of the
kidproto [Tue, 14 Aug 2007 07:31:58 +0000 (07:31 +0000)]
Rolled back a couple of nasties from a bad patch...oops! Added author of the
last code, Jason Kivlighn from his patch to fix cc namespacing...

17 years agoApplied patches for default metadata and for fix on creative commons namespace.
kidproto [Tue, 14 Aug 2007 07:22:11 +0000 (07:22 +0000)]
Applied patches for default metadata and for fix on creative commons namespace.

17 years agoFilter effects dialog:
nicholasbishop [Tue, 14 Aug 2007 07:02:21 +0000 (07:02 +0000)]
Filter effects dialog:

* Added filter dialog controls for feFlood

17 years agoadded some more boilerplate code on feTurbulence.
jucablues [Tue, 14 Aug 2007 06:15:05 +0000 (06:15 +0000)]
added some more boilerplate code on feTurbulence.

17 years ago* incomplete feImage implementation.
jucablues [Tue, 14 Aug 2007 04:39:37 +0000 (04:39 +0000)]
* incomplete feImage implementation.
* contains a hardcoded href parameter. TODO: fix it.
* added a getter method to access arenaitem from FilterSlot.

17 years agotypo
amphi [Mon, 13 Aug 2007 20:08:21 +0000 (20:08 +0000)]
typo

17 years agocolor_randomize added
amphi [Mon, 13 Aug 2007 20:07:36 +0000 (20:07 +0000)]
color_randomize added

17 years agoAdded a clip path stack for PdfParser and a node stack for SvgBuilder needed for...
miklosh [Mon, 13 Aug 2007 16:48:30 +0000 (16:48 +0000)]
Added a clip path stack for PdfParser and a node stack for SvgBuilder needed for mask support later

17 years agoFilter effects dialog:
nicholasbishop [Mon, 13 Aug 2007 09:49:29 +0000 (09:49 +0000)]
Filter effects dialog:

* Fixed bad update of the matrix widget, which was causing gtk warnings/criticals.

17 years ago* moved some parameter inits from nr-filter-displacement-map to sp-fedisplacementmap
jucablues [Mon, 13 Aug 2007 00:48:58 +0000 (00:48 +0000)]
* moved some parameter inits from nr-filter-displacement-map to sp-fedisplacementmap
* fixed rederer bug on feDisplacementMap. (handling of input and output buffers with different sizes is a dificult
task. We should find out a way of making it cleaner)

17 years ago(no commit message)
luca_bruno [Sun, 12 Aug 2007 11:40:06 +0000 (11:40 +0000)]

17 years agoFilter effects dialog:
nicholasbishop [Sun, 12 Aug 2007 09:35:38 +0000 (09:35 +0000)]
Filter effects dialog:

* Changed SPFeTurbulence/FilterTurbulence to use an enum for the type field
* Added type setting to the filter dialog

17 years agoFilter effects dialog:
nicholasbishop [Sun, 12 Aug 2007 08:30:52 +0000 (08:30 +0000)]
Filter effects dialog:

* Fixed bad use of tree iterators; caused crashes when drag/dropping filter primitives

17 years agoFilter effects dialog:
nicholasbishop [Sun, 12 Aug 2007 07:16:39 +0000 (07:16 +0000)]
Filter effects dialog:

A couple bug fixes; the Link togglebutton for dual spinsliders now updates properly when switching between primitives. Also, the in2 attribute of feDisplacementMap is now properly checked when reordering primitives.

17 years agorevert jasper's way overzealous fix in png-write.cpp rev 13700; new fix in item_rende...
buliabyak [Sat, 11 Aug 2007 20:54:03 +0000 (20:54 +0000)]
revert jasper's way overzealous fix in png-write.cpp rev 13700; new fix in item_render prevents banding on export and scroll and is a lot less expensive

17 years ago r16217@tres: ted | 2007-08-10 10:36:27 -0700
gouldtj [Fri, 10 Aug 2007 17:38:51 +0000 (17:38 +0000)]
 r16217@tres:  ted | 2007-08-10 10:36:27 -0700
 ImageMagick effects patch from Chris Brown.  Google Summer of Code
 project.

17 years agofix 1767940
buliabyak [Fri, 10 Aug 2007 03:59:51 +0000 (03:59 +0000)]
fix 1767940