Code

inkscape.git
15 years agoNow it is possible to clear the list of documents in
JucaBlues [Sun, 11 Jan 2009 19:49:17 +0000 (19:49 +0000)]
Now it is possible to clear the list of documents in
File -> Open recent

Button added to the Interface page in Inkscape preferences dialog.

15 years agoAdd CMakeLists for the filters directory.
tweenk [Sun, 11 Jan 2009 19:48:45 +0000 (19:48 +0000)]
Add CMakeLists for the filters directory.

15 years agopromote default namespace for INX extension files
speleo3 [Sun, 11 Jan 2009 19:37:52 +0000 (19:37 +0000)]
promote default namespace for INX extension files

15 years ago * [INTL: sk] Slovak update by Ivan Masar
helix84 [Sun, 11 Jan 2009 19:14:34 +0000 (19:14 +0000)]
 * [INTL: sk] Slovak update by Ivan Masar

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Sun, 11 Jan 2009 19:12:43 +0000 (19:12 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoadded some messages to the user in the svgfonts dialog
JucaBlues [Sun, 11 Jan 2009 15:26:30 +0000 (15:26 +0000)]
added some messages to the user in the svgfonts dialog

15 years agoSnap from/to midpoints of a rectangle (SPRect)
dvlierop2 [Sun, 11 Jan 2009 12:31:10 +0000 (12:31 +0000)]
Snap from/to midpoints of a rectangle (SPRect)

15 years agoOptionally snap from/to midpoints of the edges of a bounding box
dvlierop2 [Sun, 11 Jan 2009 12:10:19 +0000 (12:10 +0000)]
Optionally snap from/to midpoints of the edges of a bounding box

15 years agoAdded a new toolbar with snapping controls
dvlierop2 [Sat, 10 Jan 2009 22:21:59 +0000 (22:21 +0000)]
Added a new toolbar with snapping controls

15 years agoFixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap...
jaspervdg [Sat, 10 Jan 2009 16:25:06 +0000 (16:25 +0000)]
Fixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap GdkPixbuf".

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Sat, 10 Jan 2009 08:00:58 +0000 (08:00 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoCmake: minor fixes
verbalshadow [Sat, 10 Jan 2009 01:00:09 +0000 (01:00 +0000)]
Cmake: minor fixes

15 years agoCmake: New FindGTK2
verbalshadow [Fri, 9 Jan 2009 20:22:29 +0000 (20:22 +0000)]
Cmake: New FindGTK2

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Fri, 9 Jan 2009 08:31:49 +0000 (08:31 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoCmake: Corrections for mistakes
verbalshadow [Fri, 9 Jan 2009 03:02:28 +0000 (03:02 +0000)]
Cmake: Corrections for mistakes

15 years agoCmake: restructure build files to be more like current build system. Should reduce...
verbalshadow [Fri, 9 Jan 2009 01:57:18 +0000 (01:57 +0000)]
Cmake: restructure build files to be more like current build system. Should reduce linking stage command for windows.

15 years agolittle change to meke extensions more testables
aurium [Fri, 9 Jan 2009 00:27:15 +0000 (00:27 +0000)]
little change to meke extensions more testables

15 years agofix build
johanengelen [Thu, 8 Jan 2009 12:13:12 +0000 (12:13 +0000)]
fix build

15 years agoswitch to using shape_editor, instead of separate knotholders and listeners; fixes...
buliabyak [Thu, 8 Jan 2009 05:37:37 +0000 (05:37 +0000)]
switch to using shape_editor, instead of separate knotholders and listeners; fixes a lot of crashes, simplifies code

15 years agomove shape_editor from node context to the parent class, event context
buliabyak [Thu, 8 Jan 2009 05:34:40 +0000 (05:34 +0000)]
move shape_editor from node context to the parent class, event context

15 years agosmall 2geomify
johanengelen [Wed, 7 Jan 2009 22:49:51 +0000 (22:49 +0000)]
small 2geomify

15 years agoupdate to 2geom rev.1773
johanengelen [Wed, 7 Jan 2009 22:00:50 +0000 (22:00 +0000)]
update to 2geom rev.1773
mostly bugfixes

15 years agoCmake: more fixes plus a patch for OSX paths by Henrik Gustafsson
verbalshadow [Wed, 7 Jan 2009 21:59:22 +0000 (21:59 +0000)]
Cmake: more fixes plus a patch for OSX paths by Henrik Gustafsson

15 years agoadded forgotten files, updated ru.po a bit
prokoudine [Wed, 7 Jan 2009 15:40:48 +0000 (15:40 +0000)]
added forgotten files, updated ru.po a bit

15 years agofix cmake version checking
johanengelen [Tue, 6 Jan 2009 23:12:32 +0000 (23:12 +0000)]
fix cmake version checking

15 years agoCmake: add missing file
verbalshadow [Tue, 6 Jan 2009 19:58:07 +0000 (19:58 +0000)]
Cmake: add missing file

15 years agonew Croatian translation from Davorin Šego
prokoudine [Tue, 6 Jan 2009 19:13:58 +0000 (19:13 +0000)]
new Croatian translation from Davorin Šego

15 years agoCmake: add missing file
verbalshadow [Tue, 6 Jan 2009 18:38:45 +0000 (18:38 +0000)]
Cmake: add missing file

15 years agoCmake: Fixed GioMM Include Directories
verbalshadow [Tue, 6 Jan 2009 18:37:53 +0000 (18:37 +0000)]
Cmake: Fixed GioMM Include Directories

15 years agopatch 276351, fix warning
buliabyak [Tue, 6 Jan 2009 16:13:13 +0000 (16:13 +0000)]
patch 276351, fix warning

15 years agofix crash when no glyph is selected at the svgfonts dialog
JucaBlues [Tue, 6 Jan 2009 15:51:51 +0000 (15:51 +0000)]
fix crash when no glyph is selected at the svgfonts dialog

15 years agoRemove utest
joncruz [Tue, 6 Jan 2009 07:13:59 +0000 (07:13 +0000)]
Remove utest

15 years agoWarning and whitespace cleanup.
joncruz [Tue, 6 Jan 2009 07:11:11 +0000 (07:11 +0000)]
Warning and whitespace cleanup.

15 years agoAnother week coding offline...
JucaBlues [Mon, 5 Jan 2009 23:49:00 +0000 (23:49 +0000)]
Another week coding offline...

* Adding Set Width (horiz-adv-x attribute) slider to the SVGFonts dialog.
* Fixed the order of some language options at the i18n preferences page.
* Fixed parsing and handling of u1 and u2 (CSS2 unicode range) attributes for kerning pair nodes
* Fixed a warning in helper-fns.h
* commented out unused variable in sp-font.cpp
* refactoring of nr-svgfonts.cpp
* using 1000 instead of horiz-adv-x when scaling the glyph coordinates. Probably should use a value based on units-per-em in the future. Or maybe accent-height,
cap-height, x-height... I don't know. I should study this subject a bit more first.

15 years agoRemoved two g_warning's I had used for debugging...
jaspervdg [Mon, 5 Jan 2009 11:44:45 +0000 (11:44 +0000)]
Removed two g_warning's I had used for debugging...

15 years agominor change to prevent double translation and inconsistency
theadib [Mon, 5 Jan 2009 10:30:12 +0000 (10:30 +0000)]
minor change to prevent double translation and inconsistency

15 years agomove option: interface language from INTERNATIONALISATION to INTERFACE page on prefer...
theadib [Mon, 5 Jan 2009 10:09:34 +0000 (10:09 +0000)]
move option: interface language from INTERNATIONALISATION to INTERFACE page on preferences dialogue

15 years agoCmake build fixes, minor
verbalshadow [Mon, 5 Jan 2009 00:38:29 +0000 (00:38 +0000)]
Cmake build fixes, minor

15 years ago(Partial) fix to nr-filter-image + some (small) changes to nr-filter-blend and nr...
jaspervdg [Sun, 4 Jan 2009 16:07:08 +0000 (16:07 +0000)]
(Partial) fix to nr-filter-image + some (small) changes to nr-filter-blend and nr-filter-composite.

15 years agocorrectly initialize vector in spitem.
johanengelen [Sun, 4 Jan 2009 03:56:10 +0000 (03:56 +0000)]
correctly initialize vector in spitem.

15 years ago2geomify marker viewbox
johanengelen [Sun, 4 Jan 2009 03:50:23 +0000 (03:50 +0000)]
2geomify marker viewbox

15 years agoa bit more cleanup
johanengelen [Sun, 4 Jan 2009 03:27:35 +0000 (03:27 +0000)]
a bit more cleanup

15 years agofix bbox calculation of markers
johanengelen [Sun, 4 Jan 2009 03:23:20 +0000 (03:23 +0000)]
fix bbox calculation of markers

15 years agofix possible crash
johanengelen [Sun, 4 Jan 2009 03:14:00 +0000 (03:14 +0000)]
fix possible crash

15 years agoclean up code a bit. especially remove obscure newing of a struct with C++ objects.
johanengelen [Sun, 4 Jan 2009 03:06:57 +0000 (03:06 +0000)]
clean up code a bit. especially remove obscure newing of a struct with C++ objects.

15 years agoapologies for our very fine windows build system
johanengelen [Sun, 4 Jan 2009 02:22:05 +0000 (02:22 +0000)]
apologies for our very fine windows build system

15 years agoupdate of sbasis-geometric.cpp (unitVector() was broken, which affects some lpe's)
jfbarraud [Sat, 3 Jan 2009 22:16:55 +0000 (22:16 +0000)]
update of sbasis-geometric.cpp (unitVector() was broken, which affects some lpe's)

15 years agorely on config file for enabling test effects
johanengelen [Sat, 3 Jan 2009 20:06:46 +0000 (20:06 +0000)]
rely on config file for enabling test effects

15 years agoadd #define LPE_ENABLE_TEST_EFFECTS to config.h for windows and cmake builds.
johanengelen [Sat, 3 Jan 2009 19:43:32 +0000 (19:43 +0000)]
add #define LPE_ENABLE_TEST_EFFECTS to config.h for windows and cmake builds.

15 years agoremove some of the lpe test define clauses. they are not needed. this in preparation...
johanengelen [Sat, 3 Jan 2009 19:28:10 +0000 (19:28 +0000)]
remove some of the lpe test define clauses. they are not needed. this in preparation for moving the define to config.h

15 years agoadded lpe-dynastroke, but hidden as experimental.
jfbarraud [Sat, 3 Jan 2009 01:40:34 +0000 (01:40 +0000)]
added lpe-dynastroke, but hidden as experimental.

15 years agoadd labels
buliabyak [Sat, 3 Jan 2009 01:37:25 +0000 (01:37 +0000)]
add labels

15 years agodisplay filter label, if any, in filtered item description
buliabyak [Sat, 3 Jan 2009 01:36:41 +0000 (01:36 +0000)]
display filter label, if any, in filtered item description

15 years agosome more filters, fixes, rearranges
buliabyak [Sat, 3 Jan 2009 01:34:46 +0000 (01:34 +0000)]
some more filters, fixes, rearranges

15 years agomake 'marker' property work (shorthand for start, mid and end markers); inkscape...
johanengelen [Fri, 2 Jan 2009 20:19:44 +0000 (20:19 +0000)]
make 'marker' property work (shorthand for start, mid and end markers); inkscape now passes svg testsuite painting-marker-03-f.svg

15 years agoimprove cairo path drawing
johanengelen [Fri, 2 Jan 2009 15:33:11 +0000 (15:33 +0000)]
improve cairo path drawing

15 years agofix bug in livarot where open paths are rendered as closed path when start == end...
johanengelen [Fri, 2 Jan 2009 15:16:26 +0000 (15:16 +0000)]
fix bug in livarot where open paths are rendered as closed path when start == end point. now svg testsuite paths-data-10-t.svg is rendered correctly

15 years agoMove filters into their own namespace Inkscape::Filters (from NR::)
johanengelen [Fri, 2 Jan 2009 12:18:25 +0000 (12:18 +0000)]
Move filters into their own namespace Inkscape::Filters  (from NR::)

15 years agoreorder LPE list
johanengelen [Fri, 2 Jan 2009 02:08:21 +0000 (02:08 +0000)]
reorder LPE list
disable test effects per default

15 years ago2geomification
johanengelen [Fri, 2 Jan 2009 00:50:38 +0000 (00:50 +0000)]
2geomification

15 years agoswitch nr-filter to 2geom
johanengelen [Thu, 1 Jan 2009 23:40:56 +0000 (23:40 +0000)]
switch nr-filter to 2geom

15 years agoremove old icon code that seems unused
johanengelen [Thu, 1 Jan 2009 23:14:09 +0000 (23:14 +0000)]
remove old icon code that seems unused

15 years agoremove redundant inclusion
johanengelen [Thu, 1 Jan 2009 23:08:44 +0000 (23:08 +0000)]
remove redundant inclusion

15 years agorevert 19261 partly, to fix toolbar icon loading on windows. disabled themed loading...
johanengelen [Thu, 1 Jan 2009 23:07:07 +0000 (23:07 +0000)]
revert 19261 partly, to fix toolbar icon loading on windows. disabled themed loading of that icon, but the 2 related icons next to it are not themed either. the themed icon does work on windows for the edit menu, so the problem lies in the differences between toolbar and menu icon loading i suppose.

15 years agofix crash when assigning a non-parseable preset filter
buliabyak [Thu, 1 Jan 2009 07:32:49 +0000 (07:32 +0000)]
fix crash when assigning a non-parseable preset filter

15 years agofix crash when ungrouping a group with set-then-unset filter
buliabyak [Thu, 1 Jan 2009 07:31:51 +0000 (07:31 +0000)]
fix crash when ungrouping a group with set-then-unset filter

15 years agoChange lcms transforms to match change of display buffer from RGB-24 to ARGB-32
joncruz [Wed, 31 Dec 2008 20:10:09 +0000 (20:10 +0000)]
Change lcms transforms to match change of display buffer from RGB-24 to ARGB-32

15 years agoWarning cleanup
joncruz [Wed, 31 Dec 2008 08:41:19 +0000 (08:41 +0000)]
Warning cleanup

15 years agoswitch nr-filter to 2geom
johanengelen [Wed, 31 Dec 2008 00:23:40 +0000 (00:23 +0000)]
switch nr-filter to 2geom

15 years agoget rid of a lot of no longer needed "libnr/nr-..." includes.
johanengelen [Tue, 30 Dec 2008 23:10:51 +0000 (23:10 +0000)]
get rid of a lot of no longer needed "libnr/nr-..." includes.

15 years agoget rid of a lot of no longer needed "libnr/nr-..." includes.
johanengelen [Tue, 30 Dec 2008 22:14:34 +0000 (22:14 +0000)]
get rid of a lot of no longer needed "libnr/nr-..." includes.

15 years agoadd possibility to change the UI language (gettext) in preferences dialogue
theAdib [Tue, 30 Dec 2008 20:33:13 +0000 (20:33 +0000)]
add possibility to change the UI language (gettext) in preferences dialogue

15 years agoRemove some obsolete from_2geom() calls
dvlierop2 [Tue, 30 Dec 2008 18:19:04 +0000 (18:19 +0000)]
Remove some obsolete from_2geom() calls

15 years agoRemove utest.
tweenk [Tue, 30 Dec 2008 16:19:18 +0000 (16:19 +0000)]
Remove utest.

15 years agoadjust page height to suit AutoCad
alvinpenner [Mon, 29 Dec 2008 23:08:47 +0000 (23:08 +0000)]
adjust page height to suit AutoCad

15 years agoBuild a single test executable on Linux to match Windows build system.
tweenk [Mon, 29 Dec 2008 22:47:57 +0000 (22:47 +0000)]
Build a single test executable on Linux to match Windows build system.

15 years agoFix bug #311736 (uninitialized variables resulted in weird snapping behaviour on...
dvlierop2 [Mon, 29 Dec 2008 21:33:02 +0000 (21:33 +0000)]
Fix bug #311736 (uninitialized variables resulted in weird snapping behaviour on windows)

15 years agoadded a "remove" context menu option for removing kerning pairs
JucaBlues [Mon, 29 Dec 2008 13:12:07 +0000 (13:12 +0000)]
added a "remove" context menu option for removing kerning pairs

15 years agofixing the upside-down glyph issue for the missing-glyph case (which I
JucaBlues [Mon, 29 Dec 2008 11:00:44 +0000 (11:00 +0000)]
fixing the upside-down glyph issue for the missing-glyph case (which I
had forgoten previously)

Also fixing a crash reported by prokoudine

15 years agofix crash, allow combine to work transparently on groups
buliabyak [Mon, 29 Dec 2008 05:31:53 +0000 (05:31 +0000)]
fix crash, allow combine to work transparently on groups

15 years agoadd utility for recursively replacing groups with their members in a list of objects
buliabyak [Mon, 29 Dec 2008 05:25:23 +0000 (05:25 +0000)]
add utility for recursively replacing groups with their members in a list of objects

15 years agocoding style
buliabyak [Mon, 29 Dec 2008 05:22:00 +0000 (05:22 +0000)]
coding style

15 years agoyet another ru.po update
prokoudine [Mon, 29 Dec 2008 02:21:27 +0000 (02:21 +0000)]
yet another ru.po update

15 years agoMore NR ==> Geom changes
verbalshadow [Sun, 28 Dec 2008 22:44:35 +0000 (22:44 +0000)]
More NR ==> Geom changes

15 years agoconvert NR to Geom
johanengelen [Sun, 28 Dec 2008 21:56:47 +0000 (21:56 +0000)]
convert NR to Geom

15 years agoconvert NR to Geom
johanengelen [Sun, 28 Dec 2008 21:50:27 +0000 (21:50 +0000)]
convert NR to Geom

15 years agoNow users can design a font within inkscape, save it and then open the
JucaBlues [Sun, 28 Dec 2008 18:35:14 +0000 (18:35 +0000)]
Now users can design a font within inkscape, save it and then open the
SVG file in Fontforge in order to export a truetype font (or other
system font formarts fontforge supports).
This improves previous workflow of font design using Inkscape which
involved creating one SVG for each glyph. Now user only needs to create
a single SVG file containing an SVGFont.

Glyph kerning settings for the font can also be defined withing Inkscape
itself with live preview. The kerning management still needs some
improvements but is currently functional at least.

Improvements in the SVGFonts dialog:

* In Global Settings tab you can define the font family name. Other
attributes should be added to this tab in the future.
* Glyphs tab allows the user to:
** see a list (combobox) of glyphs available in the currently selected
font.
** add/remove glyphs
** edit glyph name and unicode
** set the glyph curves based on a given path (selected from canvas).
Same feature for the missing glyph.
* Kerning tab allows user to:
** add new kerning pairs
** adjust kerning values of selected kerning pair
** live preview while adjusting the kerning values

Code refactoring:

* Inner classes DocumentProperties::SignalObserver and
FilterEffectsDialog::SignalObserver were duplicated code and another
instance would be needed in SVGFonts dialog. So, I moved it to
Inkscape::XML::SignalObserver (in helper-observer.{cpp,h})
* changed SPGlyph->glyph_name and SPGlyph->unicode from char* to
Glib::ustring
* added sp_remove_resource to the release method in sp-font.cpp
* glyph curves used to be stored (in d attribute) and rendered
upside-down. Now that bug is fixed.

Sorry about this huge commit. I got one week away from the Internet
during a xmas travel. The lack of 'net connection made me work more
intensely in Inkscape :-D

Felipe Sanches

15 years agoMakes sure a Gaussian filter is applied to premultiplied data.
jaspervdg [Sun, 28 Dec 2008 12:36:13 +0000 (12:36 +0000)]
Makes sure a Gaussian filter is applied to premultiplied data.

15 years agoEliminate unnecessary premultiplied boolean from nr-filter-colormatrix
jaspervdg [Sun, 28 Dec 2008 08:19:50 +0000 (08:19 +0000)]
Eliminate unnecessary premultiplied boolean from nr-filter-colormatrix

15 years agoexit message if first object has a sodipodi:type
alvinpenner [Sat, 27 Dec 2008 17:17:57 +0000 (17:17 +0000)]
exit message if first object has a sodipodi:type

15 years agoallow first selected object to be a group
alvinpenner [Sat, 27 Dec 2008 14:55:56 +0000 (14:55 +0000)]
allow first selected object to be a group

15 years agoadd support for quadratic Bezier
alvinpenner [Tue, 23 Dec 2008 02:27:45 +0000 (02:27 +0000)]
add support for quadratic Bezier

15 years agoSome accuracy improvements for nr-filter-colormatrix (including some changes to let...
jaspervdg [Mon, 22 Dec 2008 17:19:13 +0000 (17:19 +0000)]
Some accuracy improvements for nr-filter-colormatrix (including some changes to let it use premultiplied colors if possible) + author entry I forgot to add in revision 20391.

15 years agofix crash bug 310206
johanengelen [Mon, 22 Dec 2008 15:30:36 +0000 (15:30 +0000)]
fix crash bug 310206

15 years agoconvert LINE entity to LWPOLYLINE
alvinpenner [Sun, 21 Dec 2008 22:17:58 +0000 (22:17 +0000)]
convert LINE entity to LWPOLYLINE

15 years agorevert change of sp_item_i2d_affine in rev 20388, as it crashed command line use
speleo3 [Sun, 21 Dec 2008 01:03:08 +0000 (01:03 +0000)]
revert change of sp_item_i2d_affine in rev 20388, as it crashed command line use

15 years agoSome accuracy improvements for ComponentTransfer filters (should also be somewhat...
jaspervdg [Sat, 20 Dec 2008 16:53:19 +0000 (16:53 +0000)]
Some accuracy improvements for ComponentTransfer filters (should also be somewhat faster).

15 years agoFixes "disappearing gradients" problem discussed on mailing list and adds a few g_war...
jaspervdg [Sat, 20 Dec 2008 14:00:41 +0000 (14:00 +0000)]
Fixes "disappearing gradients" problem discussed on mailing list and adds a few g_warnings to component transfer type checks.

15 years agopropagate additional_affine into groups of clip/mask paths
speleo3 [Sat, 20 Dec 2008 10:23:02 +0000 (10:23 +0000)]
propagate additional_affine into groups of clip/mask paths

15 years agoobject-snapper.cpp
speleo3 [Sat, 20 Dec 2008 10:12:04 +0000 (10:12 +0000)]
object-snapper.cpp
 * fix snapping to clip/mask with parent transform
 * replace matrix_to_desktop call

sp-item.h
sp-item.cpp
 * improve snapping to clip/mask with parent transform
 * remove matrix_to_desktop/matrix_from_desktop
 * use desktop->doc2dt() with sp_item_i2d_affine(...)

desktop.h
desktop.cpp
 * new method: dt2doc()

selection-chemistry.cpp
 * remove awkward matrix_to_desktop(matrix_from_desktop(...)) calls