Code

inkscape.git
16 years agoFix Bug 1653629 : we can know start inkscape without key file
jrreinhard [Thu, 26 Jul 2007 20:25:47 +0000 (20:25 +0000)]
Fix Bug 1653629 : we can know start inkscape without key file

16 years agoImproved svg input and output for lighting effects and lights
jrreinhard [Thu, 26 Jul 2007 19:05:15 +0000 (19:05 +0000)]
Improved svg input and output for lighting effects and lights

16 years agoAdded support for feMerge filter priitive
kiirala [Thu, 26 Jul 2007 11:38:36 +0000 (11:38 +0000)]
Added support for feMerge filter priitive

16 years agoSpinSlider:
nicholasbishop [Thu, 26 Jul 2007 09:08:25 +0000 (09:08 +0000)]
SpinSlider:

If the digits value is set to zero, truncate the value when setting the attribute so it is an int, rather than a double.

16 years agoAdded attr-widgets, missing from my last commit
nicholasbishop [Thu, 26 Jul 2007 08:27:43 +0000 (08:27 +0000)]
Added attr-widgets, missing from my last commit

16 years agoboiler plate code for feTurbulence:
jucablues [Thu, 26 Jul 2007 08:02:07 +0000 (08:02 +0000)]
boiler plate code for feTurbulence:
*reading attributes and setting default values

same for some more attributes on convolve matrix filter

alphabetical ordering on Makefile_insert and on nr-filter.cpp #includes

16 years agoFilter effects dialog:
nicholasbishop [Thu, 26 Jul 2007 07:06:41 +0000 (07:06 +0000)]
Filter effects dialog:

This is a large commit that greatly simplifies the creation and use of all the filter settings in the dialog.

* Added AttrWidget class to provide an interface for the settings widgets. Allows the widget to read and write to an attribute.
* Modified the ComboBoxEnum, SpinSlider, and ConvolveMatrix widgets to use AttrWidget, more to follow.
* Removed lots of specific filter settings code in favor of the more generic system.

16 years agoadd 3d tool
buliabyak [Thu, 26 Jul 2007 05:23:20 +0000 (05:23 +0000)]
add 3d tool

16 years agoinkscape.xml and default.xml must be the same
buliabyak [Thu, 26 Jul 2007 05:05:53 +0000 (05:05 +0000)]
inkscape.xml and default.xml must be the same

16 years agofeImage boilerplate code.
jucablues [Thu, 26 Jul 2007 03:08:18 +0000 (03:08 +0000)]
feImage boilerplate code.

16 years agoimproving displacement map renderer.
jucablues [Thu, 26 Jul 2007 02:00:51 +0000 (02:00 +0000)]
improving displacement map renderer.

16 years agoReworked text output to create <text> nodes on text matrix changes rather than on...
miklosh [Wed, 25 Jul 2007 17:04:19 +0000 (17:04 +0000)]
Reworked text output to create <text> nodes on text matrix changes rather than on every font update

16 years agoAdd 2 new object snapping modes: bbox to bbox, and nodes to bbox
dvlierop2 [Wed, 25 Jul 2007 12:19:44 +0000 (12:19 +0000)]
Add 2 new object snapping modes: bbox to bbox, and nodes to bbox

16 years agoAdd a method to create a rectangular curve
dvlierop2 [Wed, 25 Jul 2007 12:12:23 +0000 (12:12 +0000)]
Add a method to create a rectangular curve

16 years agoSnapping the transformation origin should also work for paths, not only for shapes
dvlierop2 [Wed, 25 Jul 2007 12:07:39 +0000 (12:07 +0000)]
Snapping the transformation origin should also work for paths, not only for shapes

16 years agoRetrieve preferences outside the for-loop, not inside.
dvlierop2 [Wed, 25 Jul 2007 12:01:37 +0000 (12:01 +0000)]
Retrieve preferences outside the for-loop, not inside.

16 years agoAdded example of lighting effects
kiirala [Wed, 25 Jul 2007 08:35:40 +0000 (08:35 +0000)]
Added example of lighting effects

16 years agoDisplacementMap filter boilerplate code + renderer draft implementation.
jucablues [Wed, 25 Jul 2007 07:12:49 +0000 (07:12 +0000)]
DisplacementMap filter boilerplate code + renderer draft implementation.
General setting of attributes and default values.

renderer method is still not correct. Needs some more effort.

16 years agoSmall polishing.
cmarqu [Tue, 24 Jul 2007 22:22:08 +0000 (22:22 +0000)]
Small polishing.

16 years agoModified CSS font style and text matrix setting to work with TrueType fonts
miklosh [Tue, 24 Jul 2007 18:21:51 +0000 (18:21 +0000)]
Modified CSS font style and text matrix setting to work with TrueType fonts

16 years agoSet the xml:space attribute on <svg> once rather than on every <text>
miklosh [Tue, 24 Jul 2007 17:12:04 +0000 (17:12 +0000)]
Set the xml:space attribute on <svg> once rather than on every <text>

16 years agoFixed rendering glitch in bicubic scaler
kiirala [Tue, 24 Jul 2007 12:48:54 +0000 (12:48 +0000)]
Fixed rendering glitch in bicubic scaler

16 years agoFixed a memory leak in lighting effects rendering
kiirala [Tue, 24 Jul 2007 12:47:31 +0000 (12:47 +0000)]
Fixed a memory leak in lighting effects rendering

16 years agofix makefile for case change of CXX dir
johanengelen [Tue, 24 Jul 2007 09:20:38 +0000 (09:20 +0000)]
fix makefile for case change of CXX dir

16 years agoFilter effects dialog:
nicholasbishop [Tue, 24 Jul 2007 04:27:01 +0000 (04:27 +0000)]
Filter effects dialog:

* Added filtereffects to the preferences-skeleton so that the dialog size is saved and restored.

16 years agoFilter effects dialog:
nicholasbishop [Mon, 23 Jul 2007 21:26:50 +0000 (21:26 +0000)]
Filter effects dialog:

* Fixed misnamed primitive input (BackgroundImage was incorrectly called BackgroundGraphic)
* Removed the filter primitive input comboboxes in favor of drag-and-drop. The standard inputs are shown as vertical text to the right.
* Various minor improvements to the drawing of filter connections

16 years agoPatch by Felipe Sanches: fixed transparent lines in feConvolveMatrix output
kiirala [Mon, 23 Jul 2007 19:09:12 +0000 (19:09 +0000)]
Patch by Felipe Sanches: fixed transparent lines in feConvolveMatrix output

16 years agoAdded tiling pattern support
miklosh [Mon, 23 Jul 2007 18:02:43 +0000 (18:02 +0000)]
Added tiling pattern support

16 years agoRemoved transform from <svg> and corrected matrix multiplication order in PdfParser...
miklosh [Mon, 23 Jul 2007 14:05:39 +0000 (14:05 +0000)]
Removed transform from <svg> and corrected matrix multiplication order in PdfParser::opConcat

16 years agoPatch by Jean-René Reinhard: better SVG compliance for lighting effects
kiirala [Mon, 23 Jul 2007 08:12:06 +0000 (08:12 +0000)]
Patch by Jean-René Reinhard: better SVG compliance for lighting effects

16 years agoremoving kerns also trims multi-value x attribute; allow it to work on tspans as...
buliabyak [Mon, 23 Jul 2007 06:31:01 +0000 (06:31 +0000)]
removing kerns also trims multi-value x attribute; allow it to work on tspans as well

16 years agoremove age-old optimization which fails to update display when undoing removing manua...
buliabyak [Mon, 23 Jul 2007 06:00:22 +0000 (06:00 +0000)]
remove age-old optimization which fails to update display when undoing removing manual kerns

16 years agoAdded some heuristics to set CSS font-style and font-weight from PDF font names when...
miklosh [Sun, 22 Jul 2007 20:07:18 +0000 (20:07 +0000)]
Added some heuristics to set CSS font-style and font-weight from PDF font names when these properties are not available from poppler

16 years agoFilter effects dialog:
nicholasbishop [Sun, 22 Jul 2007 19:46:00 +0000 (19:46 +0000)]
Filter effects dialog:

Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix.

16 years agotspan statusbar description
buliabyak [Sun, 22 Jul 2007 18:04:51 +0000 (18:04 +0000)]
tspan statusbar description

16 years agotspan statusbar description
buliabyak [Sun, 22 Jul 2007 18:03:54 +0000 (18:03 +0000)]
tspan statusbar description

16 years agoAdded xml:space=preserve attribute on <text> nodes and sodipodi:role=line attribute...
miklosh [Sun, 22 Jul 2007 12:28:23 +0000 (12:28 +0000)]
Added xml:space=preserve attribute on <text> nodes and sodipodi:role=line attribute on <tspan> nodes to ease text editing

16 years agoUse the #RRGGBB color format instead of rgb() since most extensions don't support...
miklosh [Sun, 22 Jul 2007 11:08:27 +0000 (11:08 +0000)]
Use the #RRGGBB color format instead of rgb() since most extensions don't support the latter

16 years agoFurther development of the PDF import module: continued pruning of PdfParser.cpp...
miklosh [Sat, 21 Jul 2007 17:59:49 +0000 (17:59 +0000)]
Further development of the PDF import module: continued pruning of PdfParser.cpp, added basic text and image support and did some coding style
adjustments.

16 years agoAdded a missing link in making the filterRes attribute work
kiirala [Sat, 21 Jul 2007 07:00:28 +0000 (07:00 +0000)]
Added a missing link in making the filterRes attribute work

16 years agoPatch from Felipe Sanches: support for feConvolveMatrix filter primitive
kiirala [Fri, 20 Jul 2007 20:19:00 +0000 (20:19 +0000)]
Patch from Felipe Sanches: support for feConvolveMatrix filter primitive

16 years agoPatch from Jean-René Reinhard: support for feDiffuseLighting and
kiirala [Fri, 20 Jul 2007 19:50:41 +0000 (19:50 +0000)]
Patch from Jean-René Reinhard: support for feDiffuseLighting and
feSpecularLighting filter primitives

16 years agoUpdated the gtkmmified fill and stroke dialog with the filter effects
gustav_b [Fri, 20 Jul 2007 19:28:05 +0000 (19:28 +0000)]
Updated the gtkmmified fill and stroke dialog with the filter effects
changes done in the current f&s dialog. I'll probably make the gtkmmified one
default pretty soon to avoid double work...

16 years agoCleaned up logic of sp_te_delete to adhere to UI/logic layering.
gbanaszk [Wed, 18 Jul 2007 18:33:13 +0000 (18:33 +0000)]
Cleaned up logic of sp_te_delete to adhere to UI/logic layering.

16 years agomake all-inkscape-files the default filter instead of all-images (do we need that...
buliabyak [Wed, 18 Jul 2007 16:33:53 +0000 (16:33 +0000)]
make all-inkscape-files the default filter instead of all-images (do we need that at all? MIME has some pretty strange notions of what is an image and what not)

16 years agoUse Inkscape's own code to write coordinates to svg (much nicer fix than commit ...
cilix42 [Wed, 18 Jul 2007 02:23:47 +0000 (02:23 +0000)]
Use Inkscape's own code to write coordinates to svg (much nicer fix than commit #15449)

16 years agoMake string conversion of box coordinates locale-independent (fixes bug with language...
cilix42 [Wed, 18 Jul 2007 00:23:49 +0000 (00:23 +0000)]
Make string conversion of box coordinates locale-independent (fixes bug with languages that use comma instead of decimal point)

16 years agoAnother newly 'discovered' translator.
cmarqu [Tue, 17 Jul 2007 22:35:38 +0000 (22:35 +0000)]
Another newly 'discovered' translator.

16 years agoFilter effects dialog:
nicholasbishop [Tue, 17 Jul 2007 19:14:51 +0000 (19:14 +0000)]
Filter effects dialog:

* Enable duplicating filters (from the popup menu)

16 years agoA few additions to ensure that editing trefs is not allowed (and doesn't cause a...
gbanaszk [Tue, 17 Jul 2007 17:39:06 +0000 (17:39 +0000)]
A few additions to ensure that editing trefs is not allowed (and doesn't cause a crash).  Also allows all trefs within a selection to be 'unlinked'.

16 years agoUnfuzzied
luca_bruno [Tue, 17 Jul 2007 13:12:40 +0000 (13:12 +0000)]
Unfuzzied

16 years agoFilter effects dialog:
nicholasbishop [Tue, 17 Jul 2007 07:22:28 +0000 (07:22 +0000)]
Filter effects dialog:

* Enables drag-and-drop reordering for filter primitives. Removes any connection conflicts caused by reordering.

16 years agoFilter effects dialog:
nicholasbishop [Tue, 17 Jul 2007 02:27:39 +0000 (02:27 +0000)]
Filter effects dialog:

* Prevent filter primitive connections to primitives that come after the selected primitive.

16 years agoAdd two newly 'discovered' translators, sorry guys.
cmarqu [Mon, 16 Jul 2007 22:42:16 +0000 (22:42 +0000)]
Add two newly 'discovered' translators, sorry guys.

16 years agoFilter effects dialog:
nicholasbishop [Mon, 16 Jul 2007 22:24:23 +0000 (22:24 +0000)]
Filter effects dialog:

* A coule bug fixes; attempting to connect the first filter primitive to another is no longer allowed, same for attempting to connect the input of a filter primitive to its own result. Still todo is preventing a connection to a later primitive.

16 years agofix compiler warning on ordering of init in uri-references.cpp
johanengelen [Mon, 16 Jul 2007 18:55:32 +0000 (18:55 +0000)]
fix compiler warning on ordering of init in uri-references.cpp

16 years agoadd text replace
buliabyak [Mon, 16 Jul 2007 18:42:05 +0000 (18:42 +0000)]
add text replace

16 years agoFilter effects dialog:
nicholasbishop [Mon, 16 Jul 2007 06:58:23 +0000 (06:58 +0000)]
Filter effects dialog:

* Made a lot of strings translatable
* Fixed the filter primitive input settings to work more like other ComboBoxEnums.

16 years agosimplify
buliabyak [Sun, 15 Jul 2007 15:00:23 +0000 (15:00 +0000)]
simplify

16 years agofix crash with empty parameter string
buliabyak [Sun, 15 Jul 2007 14:49:36 +0000 (14:49 +0000)]
fix crash with empty parameter string

16 years agoUpdate.
cmarqu [Sun, 15 Jul 2007 14:37:03 +0000 (14:37 +0000)]
Update.

16 years agoUpdate with strings from current sources.
cmarqu [Sun, 15 Jul 2007 13:39:27 +0000 (13:39 +0000)]
Update with strings from current sources.

16 years agoMake strings translatable.
cmarqu [Sun, 15 Jul 2007 13:36:03 +0000 (13:36 +0000)]
Make strings translatable.

16 years agoadded forgotten text_replace.inx, added updated translation into Russian
prokoudine [Sun, 15 Jul 2007 13:22:14 +0000 (13:22 +0000)]
added forgotten text_replace.inx, added updated translation into Russian

16 years agofix replace to work with non-ascii text
buliabyak [Sun, 15 Jul 2007 05:39:21 +0000 (05:39 +0000)]
fix replace to work with non-ascii text

16 years agotext replace
buliabyak [Sun, 15 Jul 2007 03:29:51 +0000 (03:29 +0000)]
text replace

16 years agoAdd poppler
ishmal [Sun, 15 Jul 2007 00:45:31 +0000 (00:45 +0000)]
Add poppler

16 years agoUse poppler
ishmal [Sun, 15 Jul 2007 00:44:39 +0000 (00:44 +0000)]
Use poppler

16 years agoFixed assertion failure with some unset parameters for feComposite & feOffset
kiirala [Sat, 14 Jul 2007 21:54:16 +0000 (21:54 +0000)]
Fixed assertion failure with some unset parameters for feComposite & feOffset

16 years agoFilter effects:
nicholasbishop [Sat, 14 Jul 2007 20:55:43 +0000 (20:55 +0000)]
Filter effects:

* As coded by Johan Engelen, made the filter-effect-enums code more generic; the data and conversion classes are now in src/util, filter-specific data is in filter-enums.h

* Improved filter_add_primitive so that default values are filled in appropriately to prevent errors or possible crashes

16 years agoMove check for unlinked paths of 3D box faces to the correct location
cilix42 [Sat, 14 Jul 2007 16:46:20 +0000 (16:46 +0000)]
Move check for unlinked paths of 3D box faces to the correct location

16 years agoWrite distinguished corners of 3D boxes to the svg representation from which the...
cilix42 [Sat, 14 Jul 2007 14:51:56 +0000 (14:51 +0000)]
Write distinguished corners of 3D boxes to the svg representation from which the box can be recomputed.
This is used to fix several bugs related to the editing of boxes resulting from cloning, undo operations or newly opened documents (we had stray pointers to SPPaths before that made Inkscape crash).

16 years agoFilter effects dialog:
nicholasbishop [Fri, 13 Jul 2007 21:29:20 +0000 (21:29 +0000)]
Filter effects dialog:

* Added new combobox for setting the "in2" attribute in the same way as was already possible for the "in" attribute.
* Setting in or in2 to Default now unsets that attribute

16 years agoFilter effects dialog:
nicholasbishop [Fri, 13 Jul 2007 04:43:40 +0000 (04:43 +0000)]
Filter effects dialog:

* Improved spacing of input connections for primitives with multiple inputs
* Added basic support for display of feMerge connections. Doesn't yet display the actual connections since feMergeNodes aren't supported yet.

16 years agofix bug #1752969 division by zero in fractalize
popolon2 [Thu, 12 Jul 2007 22:42:04 +0000 (22:42 +0000)]
fix bug #1752969 division by zero in fractalize

16 years agoswitch back to cairo pdf importer temporarily
buliabyak [Thu, 12 Jul 2007 21:38:19 +0000 (21:38 +0000)]
switch back to cairo pdf importer temporarily

16 years agostupid syntax mistake
jiho-sf [Thu, 12 Jul 2007 21:01:30 +0000 (21:01 +0000)]
stupid syntax mistake

16 years ago- added an "all" action that does everything which needs to be done to compiled Inksc...
jiho-sf [Thu, 12 Jul 2007 20:59:57 +0000 (20:59 +0000)]
- added an "all" action that does everything which needs to be done to compiled Inkscape from SVN regularly
- updated help message
- enabled the prefix option (don't know why it was commented)

16 years agoUpped the required version for poppler.
miklosh [Thu, 12 Jul 2007 18:16:49 +0000 (18:16 +0000)]
Upped the required version for poppler.

16 years agoEnable the poppler-based PDF import extension by default.
miklosh [Thu, 12 Jul 2007 18:02:54 +0000 (18:02 +0000)]
Enable the poppler-based PDF import extension by default.

16 years agoInitial commit of native poppler-based PDF import.
miklosh [Thu, 12 Jul 2007 17:05:34 +0000 (17:05 +0000)]
Initial commit of native poppler-based PDF import.

16 years agofix for panning and zooming into area in 3D box tool (root_handler of event_context...
cilix42 [Thu, 12 Jul 2007 11:34:32 +0000 (11:34 +0000)]
fix for panning and zooming into area in 3D box tool (root_handler of event_context was not called in some cases)

16 years agoFilter effects dialog:
nicholasbishop [Thu, 12 Jul 2007 03:56:39 +0000 (03:56 +0000)]
Filter effects dialog:

* Added controls for the composite filter primitive (operator and k1-k4).
* Simplified setting the filter attributes to remove duplicated code common for spinsliders and comboboxenums

16 years agobug 1243190: add tref element support; limited editing support thus far (patch by...
cyreve [Wed, 11 Jul 2007 21:44:47 +0000 (21:44 +0000)]
bug 1243190: add tref element support; limited editing support thus far (patch by gbanaszk)

16 years agoMove 3D axis manipulation functions to separate file
cilix42 [Wed, 11 Jul 2007 08:01:56 +0000 (08:01 +0000)]
Move 3D axis manipulation functions to separate file

16 years agoapparently filter-dialog cpp file wasn't added to translatable ones as well :)
prokoudine [Tue, 10 Jul 2007 22:53:31 +0000 (22:53 +0000)]
apparently filter-dialog cpp file wasn't added to translatable ones as well :)

16 years agoadded forgotten file to POTFILES.in
prokoudine [Tue, 10 Jul 2007 22:24:08 +0000 (22:24 +0000)]
added forgotten file to POTFILES.in

16 years agog2png extension was removed from SVN, but not from POTFILES.in
prokoudine [Tue, 10 Jul 2007 21:07:45 +0000 (21:07 +0000)]
g2png extension was removed from SVN, but not from POTFILES.in

In other words...

Дедушка умер, а дело живёт
Лучше бы было наоборот

:)

16 years agopatch by gorodish, fixes bug 1692611 (win32 EMF crash)
scislac [Tue, 10 Jul 2007 20:39:45 +0000 (20:39 +0000)]
patch by gorodish, fixes bug 1692611 (win32 EMF crash)

16 years agopatch 1741941
buliabyak [Tue, 10 Jul 2007 20:29:40 +0000 (20:29 +0000)]
patch 1741941

16 years agoadd item handler so that right-click works over an item; fixes 1751318
buliabyak [Tue, 10 Jul 2007 20:20:27 +0000 (20:20 +0000)]
add item handler so that right-click works over an item; fixes 1751318

16 years agoshorter and less assuming status message - note that effects are used among other...
buliabyak [Tue, 10 Jul 2007 18:47:07 +0000 (18:47 +0000)]
shorter and less assuming status message - note that effects are used among other things for help menu items

16 years agomove filters dialog to where it makes more sense
buliabyak [Tue, 10 Jul 2007 18:32:51 +0000 (18:32 +0000)]
move filters dialog to where it makes more sense

16 years agomove the box tool back where it belongs, in shapes
buliabyak [Tue, 10 Jul 2007 18:32:06 +0000 (18:32 +0000)]
move the box tool back where it belongs, in shapes

16 years agoa slightly more exciting 3d box tool
buliabyak [Tue, 10 Jul 2007 18:31:09 +0000 (18:31 +0000)]
a slightly more exciting 3d box tool

16 years agoupdate for new extensions
buliabyak [Tue, 10 Jul 2007 17:06:16 +0000 (17:06 +0000)]
update for new extensions

16 years agoadd color replacer
buliabyak [Tue, 10 Jul 2007 15:53:35 +0000 (15:53 +0000)]
add color replacer

16 years agoDifferent default styles for non-parallel 3D box faces
cilix42 [Tue, 10 Jul 2007 14:07:52 +0000 (14:07 +0000)]
Different default styles for non-parallel 3D box faces

16 years agoCreate all 3D box faces in the beginning (fixes resizing bug; first step towards...
cilix42 [Tue, 10 Jul 2007 13:58:55 +0000 (13:58 +0000)]
Create all 3D box faces in the beginning (fixes resizing bug; first step towards correct handling of degenerate boxes)

16 years agoMore 3D auxiliary/convenience functions
cilix42 [Tue, 10 Jul 2007 13:50:59 +0000 (13:50 +0000)]
More 3D auxiliary/convenience functions