Code

inkscape.git
17 years agoadded missing " character at end of a line. Sorry, my mistake on
jucablues [Mon, 6 Aug 2007 01:12:13 +0000 (01:12 +0000)]
added missing " character at end of a line. Sorry, my mistake on
previous commit...

17 years agoFilter effects dialog:
nicholasbishop [Mon, 6 Aug 2007 00:58:34 +0000 (00:58 +0000)]
Filter effects dialog:

* Added controls for scale and channel selection to the filter dialog for feDisplacementMap

17 years agoAdded my name to AUTHORS list
jucablues [Mon, 6 Aug 2007 00:57:21 +0000 (00:57 +0000)]
Added my name to AUTHORS list
Updated aboutbox.cpp
Also corrected the ordering of names: alphabetic by surname

17 years agoFilter effects:
nicholasbishop [Mon, 6 Aug 2007 00:24:31 +0000 (00:24 +0000)]
Filter effects:

* Added edge mode setting to the filter dialog
* Changed type of edgeMode in SPFeConvolveMatrix to use the enum type

17 years agoStore a global list of existing perspectives; for each perspective hold a list of...
cilix42 [Mon, 6 Aug 2007 00:07:25 +0000 (00:07 +0000)]
Store a global list of existing perspectives; for each perspective hold a list of associated boxes; explicitly pass perspectives as arguments when creating PLs

17 years agoFilter effects dialog:
nicholasbishop [Sun, 5 Aug 2007 23:56:17 +0000 (23:56 +0000)]
Filter effects dialog:

* Added control for the values attribute of feColorMatrix; shows a matrix or a slider depending on the value of the type attribute.
* Added a frame shadow around the matrix used by feColorMatrix and feConvolveMatrix.

17 years agorefactoring:
jucablues [Sun, 5 Aug 2007 20:22:48 +0000 (20:22 +0000)]
refactoring:

*using CLAMP_D_TO_U8
*Changed edgeMode field of ConvolveMatrix filter to use an enum rather than a plain int

17 years agoupdated Slovak translation in trunk
helix84 [Sun, 5 Aug 2007 18:24:00 +0000 (18:24 +0000)]
updated Slovak translation in trunk

17 years agopartial update of Slovak in trunk
helix84 [Sun, 5 Aug 2007 16:59:52 +0000 (16:59 +0000)]
partial update of Slovak in trunk

17 years agoFilter effects:
nicholasbishop [Sun, 5 Aug 2007 06:23:46 +0000 (06:23 +0000)]
Filter effects:

* Changed type field of ColorMatrix filter to use an enum rather than a plain int
* Added control for the ColorMatrix type to the filter dialog

17 years agofeColorMatrix filter primitive implementation
jucablues [Sun, 5 Aug 2007 05:07:59 +0000 (05:07 +0000)]
feColorMatrix filter primitive implementation

17 years agoFilter effects dialog:
nicholasbishop [Sun, 5 Aug 2007 03:51:14 +0000 (03:51 +0000)]
Filter effects dialog:

* Added a class to show a checkbutton setting
* Added most of the settings for feTurbulence

17 years agoadding files that were missing on my previous commit
jucablues [Sun, 5 Aug 2007 01:19:50 +0000 (01:19 +0000)]
adding files that were missing on my previous commit

17 years agoUse Dia's new homepage address.
cmarqu [Sat, 4 Aug 2007 23:39:58 +0000 (23:39 +0000)]
Use Dia's new homepage address.

17 years agoUse Dia's new homepage address.
cmarqu [Sat, 4 Aug 2007 23:39:34 +0000 (23:39 +0000)]
Use Dia's new homepage address.

17 years agoFix some things that pofilter found.
cmarqu [Sat, 4 Aug 2007 23:30:56 +0000 (23:30 +0000)]
Fix some things that pofilter found.

17 years agoAdded 3D box keyboard shortcut to right handed illustration keyboard layout
johncoswell [Sat, 4 Aug 2007 18:10:58 +0000 (18:10 +0000)]
Added 3D box keyboard shortcut to right handed illustration keyboard layout

17 years agoVersion generated from it.po.
cmarqu [Sat, 4 Aug 2007 14:14:55 +0000 (14:14 +0000)]
Version generated from it.po.

17 years ago * [it] a better term
luca_bruno [Sat, 4 Aug 2007 11:06:02 +0000 (11:06 +0000)]
 * [it] a better term

17 years agoMake snapping to the item's transformation center optional, but not yet available...
dvlierop2 [Sat, 4 Aug 2007 09:10:17 +0000 (09:10 +0000)]
Make snapping to the item's transformation center optional, but not yet available in the snapping preferences dialog

17 years agosetting of attributes and default values for feColorMatrix.
jucablues [Sat, 4 Aug 2007 06:50:50 +0000 (06:50 +0000)]
setting of attributes and default values for feColorMatrix.

refactornig: moved read_kernel_matrix to helper-fns.h and renamed it to
helperfns_read_vector. Used it on sp-fecolormatrix.cpp

17 years agoboilerplate code for the remaining filters. My next commits will
jucablues [Sat, 4 Aug 2007 04:18:36 +0000 (04:18 +0000)]
boilerplate code for the remaining filters. My next commits will
probably deal with setting default attribute values for these filters

17 years agoboiler plate code for feTile
jucablues [Fri, 3 Aug 2007 22:06:30 +0000 (22:06 +0000)]
boiler plate code for feTile

17 years agoRearrange snapping preferences, put distinction between paths and nodes back in,...
dvlierop2 [Fri, 3 Aug 2007 19:59:25 +0000 (19:59 +0000)]
Rearrange snapping preferences, put distinction between paths and nodes back in, and a bit of refactoring

17 years agofix compile
buliabyak [Thu, 2 Aug 2007 23:53:16 +0000 (23:53 +0000)]
fix compile

17 years agoFilter effects dialog:
nicholasbishop [Wed, 1 Aug 2007 20:33:00 +0000 (20:33 +0000)]
Filter effects dialog:

Removed unused header file.

17 years agoRenamed various classes:
joelholdsworth [Wed, 1 Aug 2007 19:39:05 +0000 (19:39 +0000)]
Renamed various classes:
FileDialogBase -> FileDialogBaseGtk
FileOpenDialogImpl -> FileOpenDialogImplGtk
FileSaveDialogImpl -> FileSaveDialogImplGtk
FileExportDialog -> FileExportDialogImpl

17 years agoThese files were separated out from filedialog.cpp and filedialog.h, so to facilitate...
joelholdsworth [Wed, 1 Aug 2007 18:50:30 +0000 (18:50 +0000)]
These files were separated out from filedialog.cpp and filedialog.h, so to facilitate a Win32 verion of these impls

17 years agoBroken filedialog into filedialog and filedialogimpl-gtkmm in preparation for a Win32...
joelholdsworth [Wed, 1 Aug 2007 18:48:44 +0000 (18:48 +0000)]
Broken filedialog into filedialog and filedialogimpl-gtkmm in preparation for a Win32 implementation of the file dialogs

17 years agoRedirected opening of AI files to the poppler-based PDF import extension
miklosh [Wed, 1 Aug 2007 11:00:23 +0000 (11:00 +0000)]
Redirected opening of AI files to the poppler-based PDF import extension

17 years agoFilter effects dialog:
nicholasbishop [Wed, 1 Aug 2007 00:05:47 +0000 (00:05 +0000)]
Filter effects dialog:

* Added light source controls for feDiffuseLighting and feSpecularLighting.

17 years agoCommit updates from 1762537 (vi.po) and 1757359 (nl.po).
cmarqu [Tue, 31 Jul 2007 23:27:52 +0000 (23:27 +0000)]
Commit updates from 1762537 (vi.po) and 1757359 (nl.po).

17 years agoFilter effects dialog:
nicholasbishop [Tue, 31 Jul 2007 06:21:42 +0000 (06:21 +0000)]
Filter effects dialog:

* Added a "Link" toggle to the DualSpinSlider widget, when active the two values will be set equal to eachother.
* Added DualSpinButtons (for attributes that have an optional number, similar to DualSpinSlider but without the gtkscale)
* Added MultiSpinButtons (for showing multiple spinbuttons together but with different attributes)

17 years agoForgot to advance text position when skipping the first space
miklosh [Mon, 30 Jul 2007 17:23:38 +0000 (17:23 +0000)]
Forgot to advance text position when skipping the first space

17 years agoType3 fonts do not have a name set so default to 'Arial'
miklosh [Mon, 30 Jul 2007 17:09:28 +0000 (17:09 +0000)]
Type3 fonts do not have a name set so default to 'Arial'

17 years agoAdded image mask support
miklosh [Mon, 30 Jul 2007 16:10:47 +0000 (16:10 +0000)]
Added image mask support

17 years agoDo not flip non-top-level images
miklosh [Mon, 30 Jul 2007 12:05:53 +0000 (12:05 +0000)]
Do not flip non-top-level images

17 years agoDo not set inkscape:groupmode for sub-page objects (eg. patterns)
miklosh [Mon, 30 Jul 2007 12:02:57 +0000 (12:02 +0000)]
Do not set inkscape:groupmode for sub-page objects (eg. patterns)

17 years agoUse the font matrix for Type3 fonts only
miklosh [Mon, 30 Jul 2007 11:34:18 +0000 (11:34 +0000)]
Use the font matrix for Type3 fonts only

17 years agoalways zoom out on rmb
buliabyak [Mon, 30 Jul 2007 01:09:54 +0000 (01:09 +0000)]
always zoom out on rmb

17 years agoadd ui for mousewheel zoom and space pan
buliabyak [Sun, 29 Jul 2007 23:20:05 +0000 (23:20 +0000)]
add ui for mousewheel zoom and space pan

17 years agooptionally zoom with mousewheel without modifiers
buliabyak [Sun, 29 Jul 2007 23:19:05 +0000 (23:19 +0000)]
optionally zoom with mousewheel without modifiers

17 years agoadd more rotation snaps
buliabyak [Sun, 29 Jul 2007 19:46:28 +0000 (19:46 +0000)]
add more rotation snaps

17 years agodue to the order of processing events, we must disable lmb handling in children conte...
buliabyak [Sun, 29 Jul 2007 19:18:19 +0000 (19:18 +0000)]
due to the order of processing events, we must disable lmb handling in children contexts so that parent event context can handle it for space panning

17 years agooptional panning by space
buliabyak [Sun, 29 Jul 2007 05:30:40 +0000 (05:30 +0000)]
optional panning by space

17 years agodifferentiate the SP_ITEM_REFERENCE_FLAGS, even though it is not currently used
buliabyak [Sun, 29 Jul 2007 05:30:04 +0000 (05:30 +0000)]
differentiate the SP_ITEM_REFERENCE_FLAGS, even though it is not currently used

17 years agonow this is the correct way to avoid nested updates, instead of the hack i recently...
buliabyak [Sun, 29 Jul 2007 05:27:33 +0000 (05:27 +0000)]
now this is the correct way to avoid nested updates, instead of the hack i recently removed from sptspan set method

17 years agoadd setter for first x/y pair
buliabyak [Sun, 29 Jul 2007 05:26:04 +0000 (05:26 +0000)]
add setter for first x/y pair

17 years agoFilter effects dialog:
nicholasbishop [Sun, 29 Jul 2007 05:09:02 +0000 (05:09 +0000)]
Filter effects dialog:

Removed debug cout

17 years agoFilter effects dialog:
nicholasbishop [Sun, 29 Jul 2007 04:48:08 +0000 (04:48 +0000)]
Filter effects dialog:

* feMergeNodes can be deleted by clicking the input without dragging.
* feMergeNodes can be added using a special empty input at the bottom of primitive.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 22:43:17 +0000 (22:43 +0000)]
Filter effects dialog:

* Added basic support for feMerge. Nodes can't be added or deleted yet, but the value of their "in" attributes can be edited using drag/drop as with other filters.

17 years agopass the geometric bbox flag when taking bbox for clipping; unfortunately this still...
buliabyak [Sat, 28 Jul 2007 21:03:56 +0000 (21:03 +0000)]
pass the geometric bbox flag when taking bbox for clipping; unfortunately this still does not fix the clip-by-clone crash, now it crashes in the show method instead of bbox...

17 years agoModification of the parameters/return value of SPDesktop::getToplevel
joelholdsworth [Sat, 28 Jul 2007 20:08:47 +0000 (20:08 +0000)]
Modification of the parameters/return value of SPDesktop::getToplevel

17 years ago1) Changes to snapping preferences dialog
dvlierop2 [Sat, 28 Jul 2007 15:47:49 +0000 (15:47 +0000)]
1) Changes to snapping preferences dialog
2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes
3) Renaming of some constants to improve readability

17 years agoSet top-level groups as layers with the name of the PDF document
miklosh [Sat, 28 Jul 2007 14:31:25 +0000 (14:31 +0000)]
Set top-level groups as layers with the name of the PDF document

17 years agoReworked text state handling so that now SvgBuilder keeps track of the current text...
miklosh [Sat, 28 Jul 2007 13:49:57 +0000 (13:49 +0000)]
Reworked text state handling so that now SvgBuilder keeps track of the current text position

17 years agoGtkmm-ified the desktop window object, and modified the file dialogs so that they...
joelholdsworth [Sat, 28 Jul 2007 12:32:01 +0000 (12:32 +0000)]
Gtkmm-ified the desktop window object, and modified the file dialogs so that they are correctly parented

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 08:51:54 +0000 (08:51 +0000)]
Filter effects dialog:

* Added settings for feDiffuseLighting.
* Added color buttons for feDiffuseLighting and feSpecularLighting.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 04:34:13 +0000 (04:34 +0000)]
Filter effects dialog:

* Changed lower limit of gaussian blur to 0.01, as the value 0 makes the result blank
* Corrected a couple of sp_document_done calls

17 years agofix off-by-one with line drawing
mental [Sat, 28 Jul 2007 03:03:40 +0000 (03:03 +0000)]
fix off-by-one with line drawing

17 years agonudge things over by a pixel to make them line up
mental [Sat, 28 Jul 2007 02:46:04 +0000 (02:46 +0000)]
nudge things over by a pixel to make them line up

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 01:55:25 +0000 (01:55 +0000)]
Filter effects dialog:

* Limited the upper bounds of the feConvolveMatrix attributes targetX and targetY so that they match the value of Order.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 01:26:13 +0000 (01:26 +0000)]
Filter effects dialog:

* A couple corrections to the way the vertical inputs are displayed and handled.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 00:57:35 +0000 (00:57 +0000)]
Filter effects dialog:

* Added settings widgets for feConvolveMatrix's target attribute
* Changed the order attribute to show both spin widgets on the same row

17 years agoVarious small cleanups and optimizations to Paint Bucket tool.
johncoswell [Fri, 27 Jul 2007 23:29:21 +0000 (23:29 +0000)]
Various small cleanups and optimizations to Paint Bucket tool.

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 22:09:16 +0000 (22:09 +0000)]
Filter effects dialog:

* Changed drawing of vertical input bars to make them stick to the right side of the treeview.

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 21:49:35 +0000 (21:49 +0000)]
Filter effects dialog:

* For the Order attribute of feConvolveMatrix, show only the spin control, not the slider

17 years agoAdding a sample file demonstrating the use of tref to share/examples.
gbanaszk [Fri, 27 Jul 2007 15:58:56 +0000 (15:58 +0000)]
Adding a sample file demonstrating the use of tref to share/examples.

17 years agocosmetic improvement to standard filter input bar rendering
mental [Fri, 27 Jul 2007 07:39:39 +0000 (07:39 +0000)]
cosmetic improvement to standard filter input bar rendering

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 05:44:24 +0000 (05:44 +0000)]
Filter effects dialog:

* Double-clicking a filter now applies it to the selection
* Updating filter settings widgets no longer updates the filter primitive

17 years agorefactoring: gathering some commonly copy'n'pasted functions on a common
jucablues [Fri, 27 Jul 2007 04:23:10 +0000 (04:23 +0000)]
refactoring: gathering some commonly copy'n'pasted functions on a common
header

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 03:30:53 +0000 (03:30 +0000)]
Filter effects dialog:

First commit of improvements to the dialog discussed on the dev list. The dialog now tracks the selection and selects the appropriate filter, as well as displaying a small icon to indicate what filter(s) are applied to the selection.

17 years agopatch 1750206 by Bruno Dilly - bdilly
jucablues [Fri, 27 Jul 2007 03:18:38 +0000 (03:18 +0000)]
patch 1750206 by Bruno Dilly - bdilly
Remove "cout" from on_changed() of PrefCombo

17 years agoadded helper methods NumberOptNumber::numIsSet() and
jucablues [Fri, 27 Jul 2007 03:07:02 +0000 (03:07 +0000)]
added helper methods NumberOptNumber::numIsSet() and
NumberOptNumber::optNumIsSet()
using it for default attribute values in feTubulence and
feConvolvematrix

feDisplacementMap scale parameter variable is a double

17 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

17 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

17 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

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

17 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

17 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

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

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

17 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

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

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

17 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

17 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

17 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

17 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

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

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

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

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

17 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

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

17 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

17 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

17 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

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

17 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